Helper SpSetDefaultTokenIdForCategoryId (SAPI 5.4)

Microsoft Speech API 5.4

SpSetDefaultTokenIdForCategoryId

SpSetDefaultTokenIdForCategoryId sets a specific token ID as the default for the specified category ID.

Found in: sphelper.h

  
inline HRESULT SpSetDefaultTokenIdForCategoryId(
   const WCHAR    *pszCategoryId,
   const WCHAR    *pszTokenId
);

Parameters

  • pszCategoryId
    [in] The null-terminated token ID string.
  • pszTokenId
    [in] The null-terminated token ID that will be set as default token ID for this specific category.

Return values

Value
S_OK
FAILED (hr)