CertRemoveStoreFromCollection function (wincrypt.h)

The CertRemoveStoreFromCollection function removes a sibling certificate store from a collection store.

Syntax

void CertRemoveStoreFromCollection(
  [in] HCERTSTORE hCollectionStore,
  [in] HCERTSTORE hSiblingStore
);

Parameters

[in] hCollectionStore

A handle of the collection certificate store.

[in] hSiblingStore

Handle of the sibling certificate store to be removed from the collection store.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps | UWP apps]
Minimum supported server Windows Server 2003 [desktop apps | UWP apps]
Target Platform Windows
Header wincrypt.h
Library Crypt32.lib
DLL Crypt32.dll

See also

CertAddStoreToCollection

CertOpenStore

Certificate Store Functions