CertUnregisterSystemStore function (wincrypt.h)
The CertUnregisterSystemStore function unregisters a specified system store.
Syntax
BOOL CertUnregisterSystemStore(
[in] const void *pvSystemStore,
[in] DWORD dwFlags
);
Parameters
[in] pvSystemStore
Identifies the system store to be unregistered. It points either to a null-terminated Unicode string or to a CERT_SYSTEM_STORE_RELOCATE_PARA structure. For information about using the structure and on appending a ServiceName or ComputerName to the end of the system store name string, see CertRegisterSystemStore.
[in] dwFlags
The high word of the dwFlags parameter specifies the location of the system store. For information about defined high-word flags and on appending ServiceName, UserNames, and ComputerNames to the end of the system store name, see CertRegisterSystemStore.
The following low-word values are also defined and can be combined with high-word values using a bitwise-OR operation.
Value | Meaning |
---|---|
|
The system store is not in its default registry location and pvSystemStore must be a pointer to a CERT_SYSTEM_STORE_RELOCATE_PARA structure. |
|
The system store is deleted after it has been unregistered. |
Return value
If the function succeeds, the return value is TRUE.
If the function fails, the return value is FALSE.
Requirements
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | wincrypt.h |
Library | Crypt32.lib |
DLL | Crypt32.dll |
See also
Feedback
Submit and view feedback for