CloseClusterCryptProvider function (resapi.h)

Closes a handle to a Cryptographic Service Provider (CSP). The PCLOSE_CLUSTER_CRYPT_PROVIDER type defines a pointer to this function.

Syntax

DWORD CloseClusterCryptProvider(
  [in] HCLUSCRYPTPROVIDER hClusCryptProvider
);

Parameters

[in] hClusCryptProvider

A HCLUSCRYPTPROVIDER structure that contains a handle to a CSP.

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

See also

Cryptography Functions

OpenClusterCryptProvider