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.


HRESULT addExtensionToRequestWStr(
  [in] LONG             Flags,
  [in] LPCWSTR          pwszName,
  [in] PCRYPT_DATA_BLOB pblobValue


[in] Flags

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

[in] pwszName

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

[in] 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.


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