ICEnroll4::addExtensionToRequest method (xenroll.h)
[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
[in] Flags
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.
[in] strName
The object identifier (OID) that represents the extension name.
[in] strValue
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
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 |