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

# CryptSetProviderA(3w)

## NAME

**CryptSetProviderA** (ADVAPI32.@)

## SYNOPSIS

BOOL CryptSetProviderA\
  (\
   LPCSTR *pszProvName*,\
   DWORD  *dwProvType*\
  )

## DESCRIPTION

Specifies the current user's default **CSP**.

## PARAMS

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

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

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**

## IMPLEMENTATION

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

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

Debug channel **"crypt"**.
