Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

Fdi.h

Library

Cabinet.lib

DLL

Cabinet.dll

See also

FDICABINETINFO
FDICreate
FDITruncateCabinet

 

 

Show:
© 2017 Microsoft