IEnroll4::addExtensionToRequestWStr method (xenroll.h)

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

The addExtensionToRequestWStr method adds an extension to the request. This method was first defined in the IEnroll4 interface.

Syntax

HRESULT addExtensionToRequestWStr(
  LONG             Flags,
  LPCWSTR          pwszName,
  PCRYPT_DATA_BLOB pblobValue
);

Parameters

Flags

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

pwszName

A pointer to a null-terminated wide character string that represents the Object Identifier (OID) for the extension name.

pblobValue

A pointer to a CRYPT_DATA_BLOB structure that represents the extension value.

Return value

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]
Target Platform Windows
Header xenroll.h
Library Uuid.lib
DLL Xenroll.dll

See also

IEnroll4