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 "bcrypt.h". https://source.winehq.org/source/include/bcrypt.h

Implemented in "dlls/advapi32/crypt.c". https://source.winehq.org/source/dlls/advapi32/crypt.c

Debug channel "crypt".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Apr 2024.