ICEnroll4::addNameValuePairToRequest method (xenroll.h)

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

The addNameValuePairToRequest method adds an unauthenticated name-value string pair to the request. This method was first defined in the ICEnroll4 interface.

Syntax

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

Parameters

[in] Flags

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

[in] strName

The name portion of the name-value pair.

[in] strValue

The value portion of the name-value pair.

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

Requirement Value
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