Freigeben über


ISpDataKey::GetStringValue (Windows CE 5.0)

Send Feedback

This method gets the string value from a specified token.

HRESULT GetStringValue(  const WCHAR* pszValueName,   WCHAR** ppszValue);

Parameters

  • pszValueName
    [in] Pointer to a null-terminated string specifying the registry key name. If this value is NULL, the method retrieves the default value of the token.
  • ppszValue
    [out] Address of a pointer to a null-terminated string specifying the value of the token.

Return Values

The following table shows the possible return values.

Value Description
S_OK Function completed successfully.
E_INVALIDARG pszValueName is invalid or bad.
E_POINTER ppszValue is invalid or bad.
SPERR_NOT_FOUND Registry file not found.
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.