CryptCATClose function (mscat.h)

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

The CryptCATClose function closes a catalog handle opened previously by the CryptCATOpen function. This function has no associated import library. You must use the LoadLibrary and GetProcAddress functions to dynamically link to Wintrust.dll.


BOOL CryptCATClose(
  [in] HANDLE hCatalog


[in] hCatalog

Handle opened previously by a call to the CryptCATOpen function.

Return value

The return value is TRUE if the function succeeds; FALSE if the function fails.


Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header mscat.h
Library Wintrust.lib
DLL Wintrust.dll

See also