ISCrdEnr::CSPCount property

The CSPCount property retrieves the number of cryptographic service providers (CSPs).

This property is read-only.

Syntax

HRESULT get_CSPCount(
   LONG *pVal
);

Property value

The number of CSPs.

Error codes

If the method succeeds, the method returns S_OK.

If the method fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows Server 2003 [desktop apps only]
DLL
Scrdenrl.dll
IID
IID_ISCrdEnr is defined as 753988a1-1357-436d-9cf5-f089bdd67d64

See also

ISCrdEnr

ISCrdEnr::CSPName

ISCrdEnr::enumCSPName