TfSapiObject enumeration (ctffunc.h)
Elements of the TfSapiObject enumeration are used with the ITfFnGetSAPIObject::Get method to specify a specific type of Speech API (SAPI) object.
Syntax
typedef enum __MIDL___MIDL_itf_ctffunc_0000_0011_0001 {
GETIF_RESMGR = 0,
GETIF_RECOCONTEXT = 0x1,
GETIF_RECOGNIZER = 0x2,
GETIF_VOICE = 0x3,
GETIF_DICTGRAM = 0x4,
GETIF_RECOGNIZERNOINIT = 0x5
} TfSapiObject;
Constants
GETIF_RESMGR Value: 0 Specifies an ISpResourceManager object. |
GETIF_RECOCONTEXT Value: 0x1 Specifies an ISpRecoContext object. |
GETIF_RECOGNIZER Value: 0x2 Specifies an ISpRecognizer object. |
GETIF_VOICE Value: 0x3 Specifies an ISpVoice object. |
GETIF_DICTGRAM Value: 0x4 Specifies an ISpRecoGrammar object. |
GETIF_RECOGNIZERNOINIT Value: 0x5 Specifies an ISpRecognizer object. SAPI will not be initialized if it is not already. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Header | ctffunc.h |
Redistributable | TSF 1.0 on Windows 2000 Professional |