Share via


CertDuplicateStore (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

HCERTSTORE WINAPI CertDuplicateStore(
  HCERTSTORE hCertStore
);

Parameters

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

Return Value

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

Header wincrypt.h
Library crypt32.lib
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

Certificates Functions