Share via


CertDuplicateStore

This function duplicates a store handle by incrementing the store's reference count.

HCERTSTORE WINAPI CertDuplicateStore(
  HCERTSTORE hCertStore
);

Parameters

  • hCertStore
    [in] Handle to the certificate store for which the reference count is being incremented.

Return Values

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.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Wincrypt.h.
Link Library: Crypt32.lib.

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.