TfSapiObject enumeration

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 tagTfSapiObject { 
  GETIF_RESMGR            = 0x0,
  GETIF_RECOCONTEXT       = 0x1,
  GETIF_RECOGNIZER        = 0x2,
  GETIF_VOICE             = 0x3,
  GETIF_DICTGRAM          = 0x4,
  GETIF_RECOGNIZERNOINIT  = 0x5
} TfSapiObject;

Constants

GETIF_RESMGR

Specifies an ISpResourceManager object.

GETIF_RECOCONTEXT

Specifies an ISpRecoContext object.

GETIF_RECOGNIZER

Specifies an ISpRecognizer object.

GETIF_VOICE

Specifies an ISpVoice object.

GETIF_DICTGRAM

Specifies an ISpRecoGrammar object.

GETIF_RECOGNIZERNOINIT

Specifies an ISpRecognizer object. SAPI will not be initialized if it is not already.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Redistributable

TSF 1.0 on Windows 2000 Professional

Header

Ctffunc.h

IDL

Ctffunc.idl

See also

ITfFnGetSAPIObject::Get

 

 

Community Additions

ADD
Show:
© 2014 Microsoft