FILE_IN_CABINET_INFO_A structure (setupapi.h)

The FILE_IN_CABINET_INFO structure provides information about a file found in the cabinet. The SetupIterateCabinet function sends this structure as one of the parameters when it sends a SPFILENOTIFY_FILEINCABINET notification to the cabinet callback routine.

Syntax

typedef struct _FILE_IN_CABINET_INFO_A {
  PCSTR NameInCabinet;
  DWORD FileSize;
  DWORD Win32Error;
  WORD  DosDate;
  WORD  DosTime;
  WORD  DosAttribs;
  CHAR  FullTargetName[MAX_PATH];
} FILE_IN_CABINET_INFO_A, *PFILE_IN_CABINET_INFO_A;

Members

NameInCabinet

File name as it exists within the cabinet file.

FileSize

Uncompressed size of the file in the cabinet, in bytes.

Win32Error

If an error occurs, this member is the system error code. If no error has occurred, it is NO_ERROR.

DosDate

Date that the file was last saved.

DosTime

MS-DOS time stamp of the file in the cabinet.

DosAttribs

Attributes of the file in the cabinet.

FullTargetName[MAX_PATH]

Target path and file name.

Remarks

Note

The setupapi.h header defines FILE_IN_CABINET_INFO as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header setupapi.h

See also

CABINET_INFO

Overview

Structures