Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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_RESMGRValue: 0 Specifies an ISpResourceManager object. | 
| GETIF_RECOCONTEXTValue: 0x1 Specifies an ISpRecoContext object. | 
| GETIF_RECOGNIZERValue: 0x2 Specifies an ISpRecognizer object. | 
| GETIF_VOICEValue: 0x3 Specifies an ISpVoice object. | 
| GETIF_DICTGRAMValue: 0x4 Specifies an ISpRecoGrammar object. | 
| GETIF_RECOGNIZERNOINITValue: 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 |