CryptCATAdminReleaseCatalogContext function (mscat.h)
[The CryptCATAdminReleaseCatalogContext function is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
The CryptCATAdminReleaseCatalogContext function releases a handle to a catalog context previously returned by the CryptCATAdminAddCatalog function. This function has no associated import library. You must use the LoadLibrary and GetProcAddress functions to dynamically link to Wintrust.dll.
Syntax
BOOL CryptCATAdminReleaseCatalogContext(
[in] HCATADMIN hCatAdmin,
[in] HCATINFO hCatInfo,
[in] DWORD dwFlags
);
Parameters
[in] hCatAdmin
Valid handle previously assigned by the CryptCATAdminAcquireContext function.
[in] hCatInfo
Valid handle previously assigned by the CryptCATAdminAddCatalog function or the CryptCATAdminEnumCatalogFromHash function.
[in] dwFlags
This parameter is reserved for future use and must be set to zero.
Return value
The return value is TRUE if the function succeeds; FALSE if the function fails.
Requirements
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 |