---
name: "RSAENH_CPGetProvParam"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/RSAENH_CPGetProvParam"
---

# RSAENH\_CPGetProvParam(3w)

## NAME

**RSAENH\_CPGetProvParam** (RSAENH.@)

## SYNOPSIS

BOOL RSAENH\_CPGetProvParam\
  (\
   HCRYPTPROV *hProv*,\
   DWORD      *dwParam*,\
   BYTE\*      *pbData*,\
   DWORD\*     *pdwDataLen*,\
   DWORD      *dwFlags*\
  )

## DESCRIPTION

Query a **CSP** parameter.

## PARAMS

*hProv* **\[In\]**  The key container that is to be queried.

*dwParam* **\[In\]**  Specifies the parameter that is to be queried.

*pbData* **\[In\]**  Pointer to the buffer where the parameter value will be stored.

*pdwDataLen* **\[In/Out\]**  I: Buffer length at *pbData*, O: Length of the parameter value.

*dwFlags* **\[In\]**  CRYPT\_FIRST: Start enumeration (for PP\_ENUMALGS{\_EX}).

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**

**NOTES:** Defined *dwParam* types:

**-** PP\_CONTAINER: Name of the key container.

**-** PP\_NAME: Name of the cryptographic service provider.

**-** PP\_SIG\_KEYSIZE\_INC: **RSA** signature keywidth granularity in bits.

**-** PP\_KEYX\_KEYSIZE\_INC: **RSA** key-exchange keywidth granularity in bits.

**-** PP\_ENUMALGS{\_EX}: Query provider capabilities.

## 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"**.
