ISpRecognizer3::GetCategory (SAPI 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

Value
S_OK
E_POINTER
FAILED(hr)