Share via


SpGetDescription

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This function gets the text description associated with the specified object token.

Syntax

inline HRESULT SpGetDescription(
  ISpObjectToken* pObjToken,
  WCHAR** ppszDescription,
  LANGID* Language = SpGetUserDefaultUILanguage()
);

Parameters

  • pObjToken
    [in] Pointer to an object implementing ISpObjectToken for the object token corresponding to the target resource.
  • ppszDescription
    [out] Address of a pointer to a null-terminated string describing the target resource.
  • Language
    [in] Optional pointer to the language identifier for the resource. If the value is omitted, the default language will be used.

Return Value

This helper function calls ISpDataKey::GetStringValue. See the return values for that method.

Requirements

Header sphelper.h
Library sapilib.lib
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

SAPI Functions