ClusterDecrypt function (resapi.h)
Decrypts Checkpointing data for a Cryptographic Service Provider (CSP).
Syntax
DWORD ClusterDecrypt(
[in] HCLUSCRYPTPROVIDER hClusCryptProvider,
[in] PBYTE pCryptInput,
[in] DWORD cbCryptInput,
[out] PBYTE *ppCryptOutput,
[out] PDWORD pcbCryptOutput
);
Parameters
[in] hClusCryptProvider
A HCLUSCRYPTPROVIDER structure that contains a handle to the CSP.
[in] pCryptInput
A pointer to the data to decrypt.
[in] cbCryptInput
The total number of bytes in the data pointed to by the pCryptInput parameter.
[out] ppCryptOutput
A pointer to a buffer that receives the decrypted data.
[out] 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
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2012 R2 |
Target Platform | Windows |
Header | resapi.h |
Library | ResUtils.lib |
DLL | ResUtils.dll |