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