The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
FDITruncateCabinet function
The FDITruncateCabinet function truncates a cabinet file starting at the specified folder number.
Syntax
BOOL WINAPI FDITruncateCabinet( _In_ HFDI hfdi, _In_ LPSTR *pszCabinetName, _In_ USHORT iFolderToDelete );
Parameters
- hfdi [in]
-
A valid FDI context handle returned by the FDICreate function.
- pszCabinetName [in]
-
The full cabinet filename.
- iFolderToDelete [in]
-
The index of the first folder to delete.
Return value
If the function succeeds, it returns TRUE; otherwise, FALSE.
Extended error information is provided in the ERF structure used to create the FDI context.
Requirements
|
Header |
|
|---|---|
|
Library |
|
|
DLL |
|
See also
Show: