FDITruncateCabinet (CABINET.24)
BOOL FDITruncateCabinet ( HFDI hfdi, char* pszCabinetName, USHORT iFolderToDelete )
Removes all folders of a cabinet file after and including the specified folder number.
hfdi | [In] | Handle to the FDI context. |
pszCabinetName | [In] | Filename of the cabinet. |
iFolderToDelete | [In] | Index of the first folder to delete. |
Success: TRUE.
Failure: FALSE.
The PFNWRITE function supplied to FDICreate must truncate the file at the current position if the number of bytes to write is 0.
Declared in "include/fdi.h". gitlab.winehq.org/wine/wine/blob/master/include/fdi.h
Implemented in "dlls/cabinet/fdi.c". gitlab.winehq.org/wine/wine/blob/master/dlls/cabinet/fdi.c
Debug channel "cabinet".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.