Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method sets the binary data for a token.
HRESULT SetData( const WCHAR* pszValueName, ULONG cbData, const BYTE* pData);
Parameters
- pszValueName
[in] Pointer to a null-terminated string specifying the name of the key value. - cbData
[in] Size of the pData parameter. - pData
[in] Pointer to the buffer containing the binary data to set.
Return Values
The following table shows the possible return values.
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_INVALIDARG | Either pszValueName or pData is an invalid or bad pointer. |
FAILED(hr) | Appropriate error message. |
Requirements
OS Versions: Windows CE .NET 4.1 and later.
Header: sapi.h, sapi.idl.
Link Library: Sapilib.lib.
See Also
Send Feedback on this topic to the authors