FDITruncateCabinet3w
Usage
BOOL FDITruncateCabinet
(
HFDI hfdi,
char* pszCabinetName,
USHORT iFolderToDelete
)
Overview
Removes all folders of a cabinet file after and including the specified folder number.
Params
hfdi [In] Handle to the FDI context.
pszCabinetName [In] Filename of the cabinet.
iFolderToDelete [In] Index of the first folder to delete.
Returns
Success: TRUE.
Failure: FALSE.
Notes
The PFNWRITE function supplied to FDICreate must truncate the file at the current position if the number of bytes to write is 0.
Implementation
Declared in "fdi.h".
Implemented in "dlls/cabinet/fdi.c".
Debug channel "cabinet".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.