Partager via


CertDuplicateStore (Compact 2013)

3/28/2014

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

See Also

Reference

Certificates Functions