Helper SpSetDefaultTokenIdForCategoryId (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

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

ValueDescription
S_OKFunction completed successfully.
FAILED (hr)Appropriate error message.
Show: