FDIIsCabinet function
The FDIIsCabinet function determines whether a file is a cabinet and, if it is, returns information about it.
Syntax
BOOL FDIIsCabinet( _In_ HFDI hfdi, _In_ INT_PTR hf, _Inout_ PFDICABINETINFO pfdici );
Parameters
- hfdi [in]
-
A valid FDI context handle returned by FDICreate.
- hf [in]
-
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.
- pfdici [in, out]
-
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
|
Minimum supported client |
Windows 2000 Professional [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps | Windows Store apps] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also