ICEnroll4::addExtensionToRequest method

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

The addExtensionToRequest method adds an extension to the request. This method was first defined in the ICEnroll4 interface.

Syntax


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

Parameters

Flags [in]

Specifies whether the extension is critical. If TRUE, the extension being added is critical. If FALSE, it is not critical.

Note that TRUE is defined (in a Microsoft header file) for C/C++ programmers as one, while Visual Basic defines the True keyword as negative one. As a result, Visual Basic developers must use one (instead of True) to set this parameter to TRUE. However, to set this parameter to FALSE, Visual Basic developers can use zero or False.

strName [in]

The object identifier (OID) that represents the extension name.

strValue [in]

The base64-encoded or binary extension value.

Return value

VB

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

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:
© 2014 Microsoft