Scroll to navigation

CryptGetUserKey(3w) Wine API CryptGetUserKey(3w)

NAME

CryptGetUserKey (ADVAPI32.@)

SYNOPSIS

BOOL CryptGetUserKey
(
HCRYPTPROV hProv,
DWORD dwKeySpec,
HCRYPTKEY* phUserKey
)
 

DESCRIPTION

Gets a handle of one of a user's two public/private key pairs.
 

PARAMS

hProv [In] Handle of a CSP.
dwKeySpec [In] Private key to use.
phUserKey [Out] Pointer to the handle of the retrieved keys.
 

RETURNS

Success: TRUE
Failure: FALSE
 

IMPLEMENTATION

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