PCLUSTER_DECRYPT callback function

Decrypts Checkpointing data for a Cryptographic Service Provider (CSP).

Syntax

PCLUSTER_DECRYPT PclusterDecrypt;

DWORD PclusterDecrypt(
  HCLUSCRYPTPROVIDER hClusCryptProvider,
  PBYTE pCryptInput,
  DWORD cbCryptInput,
  PBYTE *ppCryptOutput,
  PDWORD pcbCryptOutput
)
{...}

Parameters

hClusCryptProvider

A HCLUSCRYPTPROVIDER structure that contains a handle to the CSP.

pCryptInput

A pointer to the data to decrypt.

cbCryptInput

The total number of bytes in the data pointed to by the pCryptInput parameter.

*ppCryptOutput

A pointer to a buffer that receives the decrypted data.

pcbCryptOutput

The total number of bytes in the data pointed to by the ppCryptOutput parameter.

Return Value

If the operation completes successfully, this function returns ERROR_SUCCESS; otherwise, it returns a system error code.

Requirements

   
Windows version None supported Windows Server 2012 R2
Target Platform Windows
Header resapi.h

See Also

Cryptography Functions