Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The FDIIsCabinet function determines whether a file is a cabinet and, if it is, returns information about it.
Syntax
BOOL DIAMONDAPI FDIIsCabinet(
[in] HFDI hfdi,
[in] INT_PTR hf,
[in, out] PFDICABINETINFO pfdici
);
Parameters
[in] hfdi
A valid FDI context handle returned by FDICreate.
[in] hf
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.
[in, out] pfdici
Pointer to an FDICABINETINFO structure that receives the cabinet details, in the event the file is actually a cabinet.
Return value
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Target Platform | Windows |
Header | fdi.h |
Library | Cabinet.lib |
DLL | Cabinet.dll |