Share via


CertDuplicateStore

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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
Windows Mobile Windows Mobile Version 5.0 and later