Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

IEnroll4::AddCertTypeToRequestWStr method

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

The AddCertTypeToRequestWStr method adds a certificate template to a request (used to support the enterprise certification authority (CA)). This method was first defined by the IEnroll2 interface.

The AddCertTypeToRequestWStr method is an advanced topic that is associated with the Microsoft Certificate Services enterprise Policy Module. Its use is not recommended for most applications.

The phrase "certificate type" is synonymous with "certificate template."

Syntax


HRESULT AddCertTypeToRequestWStr(
  [in] LPWSTR szw
);

Parameters

szw [in]

Fully qualified name of the certificate template which is being added to the certificate request. This value is interpreted by the certification authority.

Return value

The return value is an HRESULT, with S_OK returned if the call is successful.

Remarks

This method can be called multiple times if more than one certificate template is desired for the request.

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_IEnroll4 is defined as f8053fe5-78f4-448f-a0db-41d61b73446b

See also

IEnroll4

 

 

Community Additions

ADD
Show:
© 2015 Microsoft