NAME

FDIIsCabinet  (CABINET.21)

SYNOPSIS

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

DESCRIPTION

Informs the caller as to whether or not the provided file handle is really a cabinet or not, filling out the provided PFDICABINETINFO structure with information about the cabinet. Brief explanations of the elements of this structure are available as comments accompanying its definition in Wine's include/fdi.h.

PARAMS

hfdi [In] An HFDI from FDICreate.
hf [In] The file handle about which the caller inquires.
pfdici [IO] Pointer to a PFDICABINETINFO structure which will be filled out with information about the cabinet file indicated by hf if, indeed, it is determined to be a cabinet.

RETURNS

TRUE if the file is a cabinet. The information pointed to by pfdici will be provided. FALSE if the file is not a cabinet, or if an error was encountered while processing the cabinet. The PERF structure provided to FDICreate can be queried for more error information.

INCLUDES

fdi.c

IMPLEMENTATION

Declared in "fdi.h". https://source.winehq.org/source/include/fdi.h

Implemented in "dlls/cabinet/fdi.c". https://source.winehq.org/source/dlls/cabinet/fdi.c

Debug channel "cabinet".


Copyright © 2021 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Oct 2021.