VerifyCatalogFile function

[This function is not supported and should not be used.]

Verifies a single catalog file.

Syntax

DWORD VerifyCatalogFile(
   LPCTSTR CatalogFullPath
);

Parameters

CatalogFullPath

The fully qualified path of the catalog file to be verified.

Return value

If the function succeeds, it returns ERROR_SUCCESS; otherwise, it returns the error from WinVerifyTrust.

If the catalog is an Authenticode-signed catalog, this function returns ERROR_AUTHENTICODE_TRUSTED_PUBLISHER if it succeeds; otherwise, it returns ERROR_AUTHENTICODE_TRUST_NOT_ESTABLISHED.

If the function is unable to determine whether the publisher is trusted, it may also return ERROR_UNIDENTIFIED_ERROR.

Remarks

This function has no associated import library or header file; you must call it using the LoadLibrary and GetProcAddress functions.

Requirements

Requirement Value
DLL
Setupapi.dll