ISpDataKey::SetStringValue (Windows Embedded CE 6.0)
1/6/2010
This method sets the string value information for a specified token.
Syntax
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 Value
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
Header | sapi.h, sapi.idl |
Library | sapilib.lib |
Windows Embedded CE | Windows CE .NET 4.1 and later |