ICEnroll4::getProviderType method

[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(
  [in]   BSTR strProvName,
  [out]  LONG *plProvType
);

Parameters

strProvName [in]

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

plProvType [out]

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]

End of client support

Windows XP

End of server support

Windows Server 2003

Header

Xenroll.h

Library

Uuid.lib

DLL

Xenroll.dll

IID

IID_ICEnroll4 is defined as c1f1188a-2eb5-4a80-841b-7e729a356d90

See also

ICEnroll4
CEnroll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft