CertDuplicateStore (Windows CE 5.0)
This function duplicates a store handle by incrementing the store's reference count.
HCERTSTORE WINAPI CertDuplicateStore(HCERTSTOREhCertStore);
[in] Handle to the certificate store for which the reference count is being incremented.
Currently, a copy is not made of the handle and the returned handle is the same as the handle that was input. If NULL is passed in, the called function will raise an access violation exception.
OS Versions: Windows CE 3.0 and later.
Link Library: Crypt32.lib.
Send Feedback on this topic to the authors