Share via


Helper SpSetDefaultTokenForCategoryId (SAPI 5.3)

Microsoft Speech API 5.3

SpSetDefaultTokenForCategoryId

SpSetDefaultTokenForCategoryId sets the default token for the specified category ID.

Found in: sphelper.h

  
    inline HRESULT SpSetDefaultTokenForCategoryId(
   const WCHAR      *pszCategoryId,
   ISpObjectToken   *pToken
);

Parameters

  • pszCategoryId
    [in] The null-terminated string for the category ID.
  • pToken
    [in] The token to be set as the default for the category ID.

Return values

Value
S_OK
FAILED (hr)