ICEnroll4::getProviderType method (xenroll.h)

[This method is no longer available for use as of Windows Server 2008 and Windows Vista.]

The getProviderType method retrieves the type of the specified cryptographic service provider (CSP). This method was first defined in the ICEnroll4 interface.

Syntax

HRESULT getProviderType(
  BSTR strProvName,
  LONG *plProvType
);

Parameters

strProvName

A string value that specifies the name of the CSP whose type is being requested.

plProvType

A pointer to LONG value that receives the CSP type. The CSP type is one of the following values.

  • PROV_DH_SCHANNEL
  • PROV_DSS
  • PROV_DSS_DH
  • PROV_FORTEZZA
  • PROV_MS_EXCHANGE
  • PROV_RSA_FULL
  • PROV_RSA_SCHANNEL
  • PROV_RSA_SIG
  • PROV_SSL

Return value

C++

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.

VB

A value that represents the provider type for the provider specified by strProvName. This can be one of the following values.
  • PROV_RSA_FULL
  • PROV_RSA_SIG
  • PROV_DSS
  • PROV_FORTEZZA
  • PROV_MS_EXCHANGE
  • PROV_SSL
  • PROV_RSA_SCHANNEL
  • PROV_DSS_DH
  • PROV_DH_SCHANNEL

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header xenroll.h
Library Uuid.lib
DLL Xenroll.dll

See also

CEnroll

ICEnroll4