ISpDataKey::SetStringValue (Windows CE 5.0)

Send Feedback

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

ISpDataKey | SAPI Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.