CertDeleteCRLFromStore function
The CertDeleteCRLFromStore function deletes the specified certificate revocation list (CRL) context from the certificate store.
Syntax
BOOL WINAPI CertDeleteCRLFromStore( _In_ PCCRL_CONTEXT pCrlContext );
Parameters
- pCrlContext [in]
-
A pointer to the CRL_CONTEXT structure to be deleted.
Return value
If the function succeeds, the return value is TRUE.
If the function fails, the return value is FALSE. For extended error information, call GetLastError. One possible error code is the following.
| Return code | Description |
|---|---|
|
The store was opened read-only, and a delete operation is not allowed. |
Remarks
All subsequent get or find operations for the CRL in this store fail. However, memory allocated for the CRL is not freed until all duplicated contexts have also been freed.
The pCrlContext parameter is always freed by this function by using CertFreeCRLContext, even for an error.
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