BOOL CertDeleteCTLFromStore( PCCTL_CONTEXT pCtlContext );
A pointer to the CTL_CONTEXT structure to be deleted.
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.
||The store was opened read-only, and a delete operation is not allowed.|
All subsequent get or find operations for the CTL in this store fail. However, memory allocated for the CTL is not freed until all duplicated contexts have also been freed.
The pCtlContext parameter is always freed by this function by using CertFreeCTLContext, even for an error.
|Minimum supported client||Windows XP [desktop apps | UWP apps]|
|Minimum supported server||Windows Server 2003 [desktop apps | UWP apps]|