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

# CryptSetProviderExW(3w)

## NAME

**CryptSetProviderExW** (ADVAPI32.@)

## SYNOPSIS

BOOL CryptSetProviderExW\
  (\
   LPCWSTR *pszProvName*,\
   DWORD   *dwProvType*,\
   DWORD\*  *pdwReserved*,\
   DWORD   *dwFlags*\
  )

## DESCRIPTION

Specifies the default **CSP**.

## PARAMS

*pszProvName* **\[In\]**  Name of the new default **CSP**.

*dwProvType* **\[In\]**  Provider type of the **CSP**.

*pdwReserved* **\[In\]**  Reserved for future use and must be **NULL**.

*dwFlags* **\[In\]**  See **MSDN** Doc.

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**

## IMPLEMENTATION

Declared in **"wincrypt.h"**.

Implemented in **"dlls/advapi32/crypt.c"**.

Debug channel **"crypt"**.
