CryptGetDefaultProviderW(3w)

NAME

CryptGetDefaultProviderW (ADVAPI32.@)

SYNOPSIS

BOOL CryptGetDefaultProviderW
 (
  DWORD  dwProvType,
  DWORD* pdwReserved,
  DWORD  dwFlags,
  LPWSTR pszProvName,
  DWORD* pcbProvName
 )

DESCRIPTION

Finds the default CSP of a certain provider type.

PARAMS

dwProvType [In] Provider type to look for.

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

dwFlags [In] CRYPT_MACHINE_DEFAULT/USER_DEFAULT.

pszProvName [Out] Name of the default CSP.

pcbProvName [In/Out] Size of pszProvName.

RETURNS

Success: TRUE

Failure: FALSE.

NOTES

If pszProvName is NULL, pcbProvName will hold the size of the buffer for memory allocation purposes on return.

IMPLEMENTATION

Defined in "wincrypt.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/advapi32/crypt.c".

Debug channel "crypt".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout