Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft Speech API 5.4
ISpRecognizer3::GetActiveCategory
New in SAPI 5.4
ISpRecognizer3::GetActiveCategory gets the currently active recognizer category.
HRESULT GetActiveCategory(ISpRecoCategory **ppCategory
);
Parameters
- ppCategory
[out] A pointer to a memory location that contains the address of an ISpRecoCategory instance.
Return values
Value |
S_OK |
E_POINTER |
Remarks
A value of NULL for **ppCategory indicates that the recognizer is in both command and dictation mode. That is, the recognizer waits for either dictation (free text) or a command such as "start Notepad."