FDIIsCabinet function

The FDIIsCabinet function determines whether a file is a cabinet and, if it is, returns information about it.

Syntax

BOOL DIAMONDAPI FDIIsCabinet(
  HFDI            hfdi,
  INT_PTR         hf,
  PFDICABINETINFO pfdici
);

Parameters

hfdi

A valid FDI context handle returned by FDICreate.

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.

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

   
Windows version Windows 2000 Professional [desktop apps UWP apps] Windows 2000 Server [desktop apps UWP apps]
Target Platform Windows
Header fdi.h
Library Cabinet.lib
DLL Cabinet.dll

See Also

FDICABINETINFO

FDICreate

FDITruncateCabinet