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 string value information for a specified token.
HRESULT SetStringValue( const WCHAR* pszValueName, const WCHAR* pszValue);
Parameters
- pszValueName
[in] Pointer to a null-terminated string specifying the name of the string value to set. If this value is NULL, the method uses the default value of the token. - pszValue
[in] Pointer to a null-terminated string specifying the string value to set.
Return Values
The following table shows the possible return values.
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_INVALIDARG | Either pszValueName or pszValue is invalid or bad. |
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