Reference

RSAENH_CPDuplicateKey(3w)

NAME

RSAENH_CPDuplicateKey (RSAENH.@)

SYNOPSIS

BOOL RSAENH_CPDuplicateKey
(
HCRYPTPROV hUID,
HCRYPTKEY hKey,
DWORD* pdwReserved,
DWORD dwFlags,
HCRYPTKEY* phKey
)

DESCRIPTION

Clones a key object including its current state.

PARAMS

hUID [In] Handle to the key container the hash belongs to.

hKey [In] Handle to the key object to be cloned.

pdwReserved [In] Reserved. Must be NULL.

dwFlags [In] No flags are currently defined. Must be 0.

phHash [Out] Handle to the cloned key object.

RETURNS

Success: TRUE.

Failure: FALSE.

IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in "dlls/rsaenh/rsaenh.c".

Debug channel "crypt".

History