Windows Dev Center

ICEnroll4::addAttributeToRequest method

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

The addAttributeToRequest method adds an attribute to the certificate request. This method was first defined in the ICEnroll4 interface.

Syntax


HRESULT addAttributeToRequest(
  [in] LONG Flags,
  [in] BSTR strName,
  [in] BSTR strValue
);

Parameters

Flags [in]

This parameter is reserved for future use and must be set to zero.

strName [in]

An object identifier (OID) that represents the attribute name.

strValue [in]

A base64-encoded or binary attribute value.

Return value

VB

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

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft