CryptDuplicateKey.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

CryptDuplicateKey (ADVAPI32.@)

SYNOPSIS

BOOL CryptDuplicateKey
 (
  HCRYPTKEY  hKey,
  DWORD*     pdwReserved,
  DWORD      dwFlags,
  HCRYPTKEY* phKey
 )

DESCRIPTION

Duplicate a key and the key's state.

PARAMS

hKey [In] Handle of the key to copy.

pdwReserved [In] Reserved for future use and must be NULL.

dwFlags [In] Reserved for future use and must be zero.

phKey [In] Address of the handle to the duplicated key.

RETURNS

Success: TRUE

Failure: FALSE

IMPLEMENTATION

Defined in "wincrypt.h".

Implemented in "dlls/advapi32/crypt.c".

Debug channel "crypt".