CertFreeCRLContext function
The CertFreeCRLContext function frees a certificate revocation list (CRL) context by decrementing its reference count. When the reference count goes to zero, CertFreeCRLContext frees the memory used by a CRL context.
To free a context obtained by a get, duplicate, or create function, call the appropriate free function. To free a context obtained by a find or enumerate function, either pass it in as the previous context parameter to a subsequent invocation of the function, or call the appropriate free function. For more information, see the reference topic for the function that obtains the context.
Syntax
BOOL WINAPI CertFreeCRLContext( _In_ PCCRL_CONTEXT pCrlContext );
Parameters
- pCrlContext [in]
-
A pointer to the CRL_CONTEXT to be freed.
Return value
The function always returns TRUE.
Examples
See Example C Program: Certificate Store Operations.
Requirements
|
Minimum supported client |
Windows XP [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps | Windows Store apps] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also