Export (0) Print
Expand All
Expand Minimize

CryptCATAdminResolveCatalogPath function

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

The CryptCATAdminResolveCatalogPath function retrieves the fully qualified path of the specified catalog.

Note  This function has no associated import library. You must use the LoadLibrary and GetProcAddress functions to dynamically link to Wintrust.dll.

Syntax


BOOL WINAPI CryptCATAdminResolveCatalogPath(
  _In_     HCATADMIN hCatAdmin,
  _In_     WCHAR *pwszCatalogFile,
  _Inout_  CATALOG_INFO *psCatInfo,
  _In_     DWORD dwFlags
);

Parameters

hCatAdmin [in]

A handle that was previously assigned by the CryptCATAdminAcquireContext function.

pwszCatalogFile [in]

The name of the catalog file for which to retrieve the fully qualified path.

psCatInfo [in, out]

A pointer to the CATALOG_INFO structure. This value cannot be NULL. Upon return from this function, the wszCatalogFile member of the CATALOG_INFO structure contains the catalog file name.

dwFlags [in]

This parameter is reserved and must be set to zero.

Return value

Returns nonzero if successful or zero otherwise.

For extended error information, call the GetLastError function. For a complete list of error codes provided by the operating system, see System Error Codes.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Mscat.h

DLL

Wintrust.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft