---
name: "FDIIsCabinet"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/FDIIsCabinet"
---

# FDIIsCabinet(3w)

## 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"**.

Implemented in **"dlls/cabinet/fdi.c"**.

Debug channel **"cabinet"**.
