Export (0) Print
Expand All

ISpRecognizer3::GetActiveCategory (SAPI 5.4)

Speech API 5.4
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

ValueDescription
S_OKFunction completed successfully.
E_POINTERThe memory that ppCategory points to cannot be written to.FAILED(hr)Appropriate error message.

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."

Show:
© 2014 Microsoft