IEnroll4::addAttributeToRequestWStr method (xenroll.h)
[This method is no longer available for use as of Windows Server 2008 and Windows Vista.]
The addAttributeToRequestWStr method adds an attribute to the certificate request. This method was first defined in the IEnroll4 interface.
Syntax
HRESULT addAttributeToRequestWStr(
[in] LONG Flags,
[in] LPCWSTR pwszName,
[in] PCRYPT_DATA_BLOB pblobValue
);
Parameters
[in] Flags
This parameter is reserved for future use and must be set to zero.
[in] pwszName
A pointer to a null-terminated wide character string that represents the object identifier (OID) for the attribute name.
[in] pblobValue
A pointer to a CRYPT_DATA_BLOB structure that represents the attribute value.
Return value
None
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 |