Expand Minimize
EN
Tätä sisältöä ei ole saatavilla kielelläsi. Tässä on englanninkielinen versio.

PFN_CDF_PARSE_ERROR_CALLBACK function pointer

The PFN_CDF_PARSE_ERROR_CALLBACK function is called for Catalog Definition Function errors while parsing a catalog definition file (CDF).

Syntax


typedef void ( WINAPI *PFN_CDF_PARSE_ERROR_CALLBACK)(
  _In_  DWORD dwErrorArea,
  _In_  DWORD dwLocalError,
  _In_  WCHAR *pwszLine
);

Parameters

dwErrorArea [in]

A value that indicates in which area of the CDF the error occurred.

dwLocalError [in]

A value that indicates the type of error.

pwszLine [in]

A pointer to a null-terminated string that contains the CDF line in which the error occurred.

Return value

This function pointer does not return a value.

Remarks

The dwErrorArea parameter can have the following possible values.

ValueDescription
CRYPTCAT_E_AREA_HEADERThe header section of the CDF
CRYPTCAT_E_AREA_MEMBERA member file entry in the CatalogFiles section of the CDF
CRYPTCAT_E_AREA_ATTRIBUTEAn attribute entry in the CDF

 

The dwLocalError parameter can have the following possible values.

ValueDescription
CRYPTCAT_E_CDF_UNSUPPORTEDThe function does not support the attribute.
CRYPTCAT_E_CDF_DUPLICATEThe file member already exists.
CRYPTCAT_E_CDF_TAGNOTFOUNDThe CatalogHeader or Name tag is missing.
CRYPTCAT_E_CDF_MEMBER_FILE_PATHThe member file name or path is missing.
CRYPTCAT_E_CDF_MEMBER_INDIRECTDATAThe function failed to create a hash of the member subject.
CRYPTCAT_E_CDF_MEMBER_FILENOTFOUNDThe function failed to find the member file.
CRYPTCAT_E_CDF_BAD_GUID_CONVThe function failed to convert the subject string to a GUID.
CRYPTCAT_E_CDF_ATTR_TOOFEWVALUESThe attribute line is missing one or more elements of its composition including type, object identifier (OID) or name, or value.
CRYPTCAT_E_CDF_ATTR_TYPECOMBOThe attribute contains an invalid OID, or the combination of type, name or OID, and value is not valid.

 

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Mscat.h

See also

Catalog Definition Function

 

 

Yhteisösisältö

Lisää
Näytä:
© 2014 Microsoft