1 package speech.types; 3 4 import com4j.*; 5 6 9 @IID("{F740A62F-7C15-489E-8234-940A33D9272D}") 10 public interface ISpRecoContext extends ISpEventSource { 11 @VTID(13) 12 ISpRecognizer getRecognizer(); 13 14 @VTID(16) 15 void getMaxAlternates( 16 Holder<Integer > pcAlternates); 17 18 @VTID(17) 19 void setMaxAlternates( 20 int cAlternates); 21 22 @VTID(22) 23 void setAdaptationData( 24 @MarshalAs(NativeType.Unicode) java.lang.String pAdaptationData, 25 int cch); 26 27 @VTID(23) 28 void pause( 29 int dwReserved); 30 31 @VTID(24) 32 void resume( 33 int dwReserved); 34 35 @VTID(25) 36 void setVoice( 37 ISpVoice pVoice, 38 int fAllowFormatChanges); 39 40 @VTID(26) 41 ISpVoice getVoice(); 42 43 @VTID(29) 44 void setContextState( 45 SPCONTEXTSTATE eContextState); 46 47 @VTID(30) 48 void getContextState( 49 Holder<SPCONTEXTSTATE> peContextState); 50 51 } 52 | Popular Tags |