Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

CRYPTCATCDF structure

[The CRYPTCATCDF structure is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

The CRYPTCATCDF structure contains information used to create a signed catalog file (.cat) from a catalog definition file (CDF). This structure is used by the MakeCat tool.

Syntax


typedef struct CRYPTCATCDF_ {
  DWORD  cbStruct;
  HANDLE hFile;
  DWORD  dwCurFilePos;
  DWORD  dwLastMemberOffset;
  BOOL   fEOF;
  LPWSTR pwszResultDir;
  HANDLE hCATStore;
} CRYPTCATCDF;

Members

cbStruct

The size, in bytes, of this structure.

hFile

A handle to the catalog definition file (.cdf).

dwCurFilePos

A value that specifies the current position of the parser measured in bytes from the beginning of the catalog definition file.

dwLastMemberOffset

A value that specifies the number of bytes to the position of the last member parsed in the catalog definition file.

fEOF

An integer that indicates whether the parser finished reading the file. TRUE indicates that the last read operation returned zero bytes.

pwszResultDir

A pointer to a null-terminated string that contains the name of a directory where the catalog file (.cat) will be written.

hCATStore

A handle to the catalog file (.cat).

Remarks

A parser can update dwCurFilePos and dwLastMemberOffset as it reads the CDF. A user-defined callback function can use this information for recoverable parse errors in the CDF.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Mscat.h

See also

MakeCat
CryptCATCDFClose
CryptCATCDFEnumAttributesWithCDFTag
CryptCATCDFEnumCatAttributes
CryptCATCDFEnumMembersByCDFTagEx
CryptCATCDFOpen

 

 

Community Additions

ADD
Show:
© 2015 Microsoft