UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:wincrypt.CertDeleteCTLFromStore |
CertDeleteCTLFromStore function (wincrypt.h) |
The CertDeleteCTLFromStore function deletes the specified certificate trust list (CTL) context from a certificate store. |
|
security\certdeletectlfromstore.htm |
security |
e24d3445-8929-463a-b771-1f25f4e999b5 |
12/05/2018 |
CertDeleteCTLFromStore, CertDeleteCTLFromStore function [Security], _crypto2_certdeletectlfromstore, security.certdeletectlfromstore, wincrypt/CertDeleteCTLFromStore |
wincrypt.h |
Windows |
Windows XP [desktop apps \| UWP apps] |
Windows Server 2003 [desktop apps \| UWP apps] |
Crypt32.lib |
Crypt32.dll |
Windows |
19H1 |
|
|
|
|
|
|
The CertDeleteCTLFromStore function deletes the specified certificate trust list (CTL) context from a certificate store.
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.
Return code | Description |
---|---|
|
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.