The FDIIsCabinet function determines whether a file is a cabinet and, if it is, returns information about it.
BOOL DIAMONDAPI FDIIsCabinet( HFDI hfdi, INT_PTR hf, PFDICABINETINFO pfdici );
A valid FDI context handle returned by FDICreate.
An application-defined value to keep track of the opened file. This value must be of the same type as values used by the File I/O functions passed to FDICreate.
Pointer to an FDICABINETINFO structure that receives the cabinet details, in the event the file is actually a cabinet.
If the file is a cabinet, the function returns TRUE ; otherwise, FALSE.
Extended error information is provided in the ERF structure used to create the FDI context.
|Windows version||Windows 2000 Professional [desktop apps||UWP apps] Windows 2000 Server [desktop apps||UWP apps]|