ISpRecognizer3::GetCategory (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

ISpRecognizer3::GetCategory

New in SAPI 5.4

ISpRecognizer3::GetCategory gets a category of the specified type.


HRESULT GetCategory(
   SPCATEGORYTYPE   categoryType,
   ISpRecoCategory        **ppCategory   
);

Parameters

categoryType
[in] The category type, a value in the SPCATEGORYTYPE enumeration.
pRecoCategory
[out] A pointer to a memory location that contains the address of an ISpRecoCategory instance.

Return values

ValueDescription
S_OKFunction completed successfully.
E_POINTERMemory referenced by ppCategory cannot be written to.
FAILED(hr)Appropriate error message.
Show: