Microsoft Speech Platform
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
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_POINTER | ppTokenCategory is invalid or bad. |
SPERR_UNINITIALIZED | Token does not have a category. |
FAILED(hr) | Appropriate error message. |