CryptCATAdminReleaseContext function

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

The CryptCATAdminReleaseContext function releases the handle previously assigned by the CryptCATAdminAcquireContext function. This function has no associated import library. You must use the LoadLibrary and GetProcAddress functions to dynamically link to Wintrust.dll.

Syntax

BOOL CryptCATAdminReleaseContext(
  IN HCATADMIN hCatAdmin,
  IN DWORD     dwFlags
);

Parameters

hCatAdmin

Catalog administrator context handle previously assigned by a call to the CryptCATAdminAcquireContext function.

dwFlags

Not used; set to zero.

Return Value

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

Requirements

   
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

CryptCATAdminAcquireContext