ISpRecognizer3::GetCategory (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

ISpRecognizer3::GetCategory

New in Microsoft Speech Platform

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

Value Description
S_OK Function completed successfully.
E_POINTER Memory referenced by ppCategory cannot be written to.
FAILED(hr) Appropriate error message.