ISpObjectToken::GetCategory (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

ISpObjectToken::GetCategory

ISpObjectToken::GetCategory retrieves the category for a specified token if one is available.


HRESULT GetCategory(
   ISpObjectTokenCategory   **ppTokenCategory
);

Parameters

ppTokenCategory
[out] The category interface for the token. ppTokenCategory must be freed when no longer required.

Return values

ValueDescription
S_OKFunction completed successfully.
E_POINTERppTokenCategory is invalid or bad.
SPERR_UNINITIALIZEDToken does not have a category.
FAILED(hr)Appropriate error message.
Show: