Share via


Helper SpGetDescription (SAPI 5.3)

Microsoft Speech API 5.3

SpGetDescription

SpGetDescription passes back the textual description associated with the specified token.

Found in: sphelper.h

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

Parameters

  • pObjToken
    [in] The object token of the target resource.
  • ppszDescription
    [out] A null-terminated string containing the resource description.
  • Language
    [in] The language ID for the resource. Language is optional and if omitted the default language will be used.

Return values

This helper function calls ISpDataKey::GetStringValue. See those return values.