Helper SpSetDefaultTokenForCategoryId (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

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 Description
S_OK Function completed successfully.
FAILED (hr) Appropriate error message.