Scroll to navigation

CryptDuplicateKey(3w) Wine API CryptDuplicateKey(3w)

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

Declared in "wincrypt.h".
Implemented in "dlls/advapi32/crypt.c".
Debug channel "crypt".
Oct 2012 Wine API