CryptGetAsyncParam function (wincrypt.h)

Sets an async parameter value.

Syntax

BOOL CryptGetAsyncParam(
  HCRYPTASYNC                     hAsync,
  LPSTR                           pszParamOid,
  LPVOID                          *ppvParam,
  PFN_CRYPT_ASYNC_PARAM_FREE_FUNC *ppfnFree
);

Parameters

hAsync

An async handle.

pszParamOid

The parameter ID.

ppvParam

Receives the parameter value.

ppfnFree

A callback function called when the parameter is freed.

Return value

S_OK on success.

Requirements

   
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header wincrypt.h