CryptEnumProviderTypesW.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

CryptEnumProviderTypesW (ADVAPI32.@)

SYNOPSIS

BOOL CryptEnumProviderTypesW
 (
  DWORD  dwIndex,
  DWORD* pdwReserved,
  DWORD  dwFlags,
  DWORD* pdwProvType,
  LPWSTR pszTypeName,
  DWORD* pcbTypeName
 )

DESCRIPTION

Retrieves the next type of CSP supported.

PARAMS

dwIndex [In] Index of the next provider to be enumerated.

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

dwFlags [In] Reserved for future use and must be zero.

pdwProvType [Out] DWORD designating the type of the provider.

pszTypeName [Out] Buffer that receives data from the provider type.

pcbTypeName [In/Out] Specifies the size of pszTypeName. Contains the number of bytes stored in the buffer on return.

RETURNS

Success: TRUE

Failure: FALSE.

NOTES

If pszTypeName is NULL, CryptEnumProviderTypesW sets the size of the name for memory allocation purposes.

IMPLEMENTATION

Defined in "wincrypt.h".

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

Debug channel "crypt".