-
Notifications
You must be signed in to change notification settings - Fork 0
/
SpeechLib_TLB.pas
9867 lines (8913 loc) · 396 KB
/
SpeechLib_TLB.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
unit SpeechLib_TLB;
// ************************************************************************ //
// WARNING
// -------
// The types declared in this file were generated from data read from a
// Type Library. If this type library is explicitly or indirectly (via
// another type library referring to this type library) re-imported, or the
// 'Refresh' command of the Type Library Editor activated while editing the
// Type Library, the contents of this file will be regenerated and all
// manual modifications will be lost.
// ************************************************************************ //
// $Rev: 52393 $
// File generated on 10.09.2013 15:37:03 from Type Library described below.
// ************************************************************************ //
// Type Lib: C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll (1)
// LIBID: {C866CA3A-32F7-11D2-9602-00C04F8EE628}
// LCID: 0
// Helpfile:
// HelpString: Microsoft Speech Object Library
// DepndLst:
// (1) v2.0 stdole, (C:\WINDOWS\system32\stdole2.tlb)
// SYS_KIND: SYS_WIN32
// Errors:
// Hint: Parameter 'Object' of ISpeechObjectToken.CreateInstance changed to 'Object_'
// Hint: Parameter 'Object' of ISpeechObjectToken.IsUISupported changed to 'Object_'
// Hint: Parameter 'Object' of ISpeechObjectToken.DisplayUI changed to 'Object_'
// Hint: Symbol 'Type' renamed to 'type_'
// Hint: Parameter 'Type' of ISpeechVoice.Skip changed to 'Type_'
// Hint: Parameter 'Type' of ISpeechRecognizer.GetFormat changed to 'Type_'
// Hint: Parameter 'Type' of ISpeechGrammarRuleState.AddWordTransition changed to 'Type_'
// Hint: Parameter 'Type' of ISpeechGrammarRuleState.AddSpecialTransition changed to 'Type_'
// Hint: Parameter 'Type' of ISpeechGrammarRuleStateTransition.Type changed to 'Type_'
// Hint: Parameter 'Property' of ISpeechPhraseProperties.Item changed to 'Property_'
// Error creating palette bitmap of (TSpNotifyTranslator) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpObjectTokenCategory) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpObjectToken) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpResourceManager) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpStreamFormatConverter) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpMMAudioEnum) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpMMAudioIn) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpMMAudioOut) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpRecPlayAudio) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpStream) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpVoice) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpSharedRecoContext) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpInprocRecognizer) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpSharedRecognizer) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpLexicon) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpUnCompressedLexicon) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpCompressedLexicon) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpPhoneConverter) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpNullPhoneConverter) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpTextSelectionInformation) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpPhraseInfoBuilder) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpAudioFormat) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpWaveFormatEx) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpInProcRecoContext) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpCustomStream) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpFileStream) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// Error creating palette bitmap of (TSpMemoryStream) : Server C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.dll contains no icons
// ************************************************************************ //
{$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers.
{$WARN SYMBOL_PLATFORM OFF}
{$WRITEABLECONST ON}
{$VARPROPSETTER ON}
{$ALIGN 4}
interface
uses Winapi.Windows, System.Classes, System.Variants, Vcl.OleServer, Winapi.ActiveX;
// *********************************************************************//
// GUIDS declared in the TypeLibrary. Following prefixes are used:
// Type Libraries : LIBID_xxxx
// CoClasses : CLASS_xxxx
// DISPInterfaces : DIID_xxxx
// Non-DISP interfaces: IID_xxxx
// *********************************************************************//
const
// TypeLibrary Major and minor versions
SpeechLibMajorVersion = 5;
SpeechLibMinorVersion = 0;
LIBID_SpeechLib: TGUID = '{C866CA3A-32F7-11D2-9602-00C04F8EE628}';
IID_ISpeechDataKey: TGUID = '{CE17C09B-4EFA-44D5-A4C9-59D9585AB0CD}';
IID_ISpeechObjectToken: TGUID = '{C74A3ADC-B727-4500-A84A-B526721C8B8C}';
IID_ISpeechObjectTokenCategory: TGUID = '{CA7EAC50-2D01-4145-86D4-5AE7D70F4469}';
IID_ISpeechObjectTokens: TGUID = '{9285B776-2E7B-4BC0-B53E-580EB6FA967F}';
IID_ISpeechAudioBufferInfo: TGUID = '{11B103D8-1142-4EDF-A093-82FB3915F8CC}';
IID_ISpeechAudioStatus: TGUID = '{C62D9C91-7458-47F6-862D-1EF86FB0B278}';
IID_ISpeechAudioFormat: TGUID = '{E6E9C590-3E18-40E3-8299-061F98BDE7C7}';
IID_ISpeechWaveFormatEx: TGUID = '{7A1EF0D5-1581-4741-88E4-209A49F11A10}';
IID_ISpeechBaseStream: TGUID = '{6450336F-7D49-4CED-8097-49D6DEE37294}';
IID_ISpeechFileStream: TGUID = '{AF67F125-AB39-4E93-B4A2-CC2E66E182A7}';
IID_ISpeechMemoryStream: TGUID = '{EEB14B68-808B-4ABE-A5EA-B51DA7588008}';
IID_ISpeechCustomStream: TGUID = '{1A9E9F4F-104F-4DB8-A115-EFD7FD0C97AE}';
IID_ISpeechAudio: TGUID = '{CFF8E175-019E-11D3-A08E-00C04F8EF9B5}';
IID_ISpeechMMSysAudio: TGUID = '{3C76AF6D-1FD7-4831-81D1-3B71D5A13C44}';
IID_ISpeechVoice: TGUID = '{269316D8-57BD-11D2-9EEE-00C04F797396}';
IID_ISpeechVoiceStatus: TGUID = '{8BE47B07-57F6-11D2-9EEE-00C04F797396}';
DIID__ISpeechVoiceEvents: TGUID = '{A372ACD1-3BEF-4BBD-8FFB-CB3E2B416AF8}';
IID_ISpeechRecognizer: TGUID = '{2D5F1C0C-BD75-4B08-9478-3B11FEA2586C}';
IID_ISpeechRecognizerStatus: TGUID = '{BFF9E781-53EC-484E-BB8A-0E1B5551E35C}';
IID_ISpeechRecoContext: TGUID = '{580AA49D-7E1E-4809-B8E2-57DA806104B8}';
IID_ISpeechRecoGrammar: TGUID = '{B6D6F79F-2158-4E50-B5BC-9A9CCD852A09}';
IID_ISpeechGrammarRules: TGUID = '{6FFA3B44-FC2D-40D1-8AFC-32911C7F1AD1}';
IID_ISpeechGrammarRule: TGUID = '{AFE719CF-5DD1-44F2-999C-7A399F1CFCCC}';
IID_ISpeechGrammarRuleState: TGUID = '{D4286F2C-EE67-45AE-B928-28D695362EDA}';
IID_ISpeechGrammarRuleStateTransitions: TGUID = '{EABCE657-75BC-44A2-AA7F-C56476742963}';
IID_ISpeechGrammarRuleStateTransition: TGUID = '{CAFD1DB1-41D1-4A06-9863-E2E81DA17A9A}';
IID_ISpeechTextSelectionInformation: TGUID = '{3B9C7E7A-6EEE-4DED-9092-11657279ADBE}';
IID_ISpeechRecoResult: TGUID = '{ED2879CF-CED9-4EE6-A534-DE0191D5468D}';
IID_ISpeechRecoResultTimes: TGUID = '{62B3B8FB-F6E7-41BE-BDCB-056B1C29EFC0}';
IID_ISpeechPhraseInfo: TGUID = '{961559CF-4E67-4662-8BF0-D93F1FCD61B3}';
IID_ISpeechPhraseRule: TGUID = '{A7BFE112-A4A0-48D9-B602-C313843F6964}';
IID_ISpeechPhraseRules: TGUID = '{9047D593-01DD-4B72-81A3-E4A0CA69F407}';
IID_ISpeechPhraseProperties: TGUID = '{08166B47-102E-4B23-A599-BDB98DBFD1F4}';
IID_ISpeechPhraseProperty: TGUID = '{CE563D48-961E-4732-A2E1-378A42B430BE}';
IID_ISpeechPhraseElements: TGUID = '{0626B328-3478-467D-A0B3-D0853B93DDA3}';
IID_ISpeechPhraseElement: TGUID = '{E6176F96-E373-4801-B223-3B62C068C0B4}';
IID_ISpeechPhraseReplacements: TGUID = '{38BC662F-2257-4525-959E-2069D2596C05}';
IID_ISpeechPhraseReplacement: TGUID = '{2890A410-53A7-4FB5-94EC-06D4998E3D02}';
IID_ISpeechPhraseAlternates: TGUID = '{B238B6D5-F276-4C3D-A6C1-2974801C3CC2}';
IID_ISpeechPhraseAlternate: TGUID = '{27864A2A-2B9F-4CB8-92D3-0D2722FD1E73}';
DIID__ISpeechRecoContextEvents: TGUID = '{7B8FCB42-0E9D-4F00-A048-7B04D6179D3D}';
IID_ISpeechLexicon: TGUID = '{3DA7627A-C7AE-4B23-8708-638C50362C25}';
IID_ISpeechLexiconWords: TGUID = '{8D199862-415E-47D5-AC4F-FAA608B424E6}';
IID_ISpeechLexiconWord: TGUID = '{4E5B933C-C9BE-48ED-8842-1EE51BB1D4FF}';
IID_ISpeechLexiconPronunciations: TGUID = '{72829128-5682-4704-A0D4-3E2BB6F2EAD3}';
IID_ISpeechLexiconPronunciation: TGUID = '{95252C5D-9E43-4F4A-9899-48EE73352F9F}';
IID_ISpeechPhraseInfoBuilder: TGUID = '{3B151836-DF3A-4E0A-846C-D2ADC9334333}';
IID_ISpeechPhoneConverter: TGUID = '{C3E4F353-433F-43D6-89A1-6A62A7054C3D}';
IID_ISpNotifySink: TGUID = '{259684DC-37C3-11D2-9603-00C04F8EE628}';
IID_ISpNotifyTranslator: TGUID = '{ACA16614-5D3D-11D2-960E-00C04F8EE628}';
CLASS_SpNotifyTranslator: TGUID = '{E2AE5372-5D40-11D2-960E-00C04F8EE628}';
IID_ISpDataKey: TGUID = '{14056581-E16C-11D2-BB90-00C04F8EE6C0}';
IID_ISpObjectTokenCategory: TGUID = '{2D3D3845-39AF-4850-BBF9-40B49780011D}';
CLASS_SpObjectTokenCategory: TGUID = '{A910187F-0C7A-45AC-92CC-59EDAFB77B53}';
IID_IEnumSpObjectTokens: TGUID = '{06B64F9E-7FDA-11D2-B4F2-00C04F797396}';
IID_ISpObjectToken: TGUID = '{14056589-E16C-11D2-BB90-00C04F8EE6C0}';
CLASS_SpObjectToken: TGUID = '{EF411752-3736-4CB4-9C8C-8EF4CCB58EFE}';
IID_IServiceProvider: TGUID = '{6D5140C1-7436-11CE-8034-00AA006009FA}';
IID_ISpResourceManager: TGUID = '{93384E18-5014-43D5-ADBB-A78E055926BD}';
CLASS_SpResourceManager: TGUID = '{96749373-3391-11D2-9EE3-00C04F797396}';
IID_ISequentialStream: TGUID = '{0C733A30-2A1C-11CE-ADE5-00AA0044773D}';
IID_IStream: TGUID = '{0000000C-0000-0000-C000-000000000046}';
IID_ISpStreamFormat: TGUID = '{BED530BE-2606-4F4D-A1C0-54C5CDA5566F}';
IID_ISpStreamFormatConverter: TGUID = '{678A932C-EA71-4446-9B41-78FDA6280A29}';
CLASS_SpStreamFormatConverter: TGUID = '{7013943A-E2EC-11D2-A086-00C04F8EF9B5}';
CLASS_SpMMAudioEnum: TGUID = '{AB1890A0-E91F-11D2-BB91-00C04F8EE6C0}';
IID_ISpNotifySource: TGUID = '{5EFF4AEF-8487-11D2-961C-00C04F8EE628}';
IID_ISpEventSource: TGUID = '{BE7A9CCE-5F9E-11D2-960F-00C04F8EE628}';
IID_ISpEventSink: TGUID = '{BE7A9CC9-5F9E-11D2-960F-00C04F8EE628}';
IID_ISpObjectWithToken: TGUID = '{5B559F40-E952-11D2-BB91-00C04F8EE6C0}';
IID_ISpAudio: TGUID = '{C05C768F-FAE8-4EC2-8E07-338321C12452}';
IID_ISpMMSysAudio: TGUID = '{15806F6E-1D70-4B48-98E6-3B1A007509AB}';
CLASS_SpMMAudioIn: TGUID = '{CF3D2E50-53F2-11D2-960C-00C04F8EE628}';
CLASS_SpMMAudioOut: TGUID = '{A8C680EB-3D32-11D2-9EE7-00C04F797396}';
CLASS_SpRecPlayAudio: TGUID = '{FEE225FC-7AFD-45E9-95D0-5A318079D911}';
IID_ISpStream: TGUID = '{12E3CCA9-7518-44C5-A5E7-BA5A79CB929E}';
CLASS_SpStream: TGUID = '{715D9C59-4442-11D2-9605-00C04F8EE628}';
IID_ISpVoice: TGUID = '{6C44DF74-72B9-4992-A1EC-EF996E0422D4}';
CLASS_SpVoice: TGUID = '{96749377-3391-11D2-9EE3-00C04F797396}';
IID_ISpRecoContext: TGUID = '{F740A62F-7C15-489E-8234-940A33D9272D}';
CLASS_SpSharedRecoContext: TGUID = '{47206204-5ECA-11D2-960F-00C04F8EE628}';
IID_ISpProperties: TGUID = '{5B4FB971-B115-4DE1-AD97-E482E3BF6EE4}';
IID_ISpRecognizer: TGUID = '{C2B5F241-DAA0-4507-9E16-5A1EAA2B7A5C}';
IID_ISpPhrase: TGUID = '{1A5C0354-B621-4B5A-8791-D306ED379E53}';
IID_ISpGrammarBuilder: TGUID = '{8137828F-591A-4A42-BE58-49EA7EBAAC68}';
IID_ISpRecoGrammar: TGUID = '{2177DB29-7F45-47D0-8554-067E91C80502}';
IID_ISpRecoResult: TGUID = '{20B053BE-E235-43CD-9A2A-8D17A48B7842}';
IID_ISpPhraseAlt: TGUID = '{8FCEBC98-4E49-4067-9C6C-D86A0E092E3D}';
CLASS_SpInprocRecognizer: TGUID = '{41B89B6B-9399-11D2-9623-00C04F8EE628}';
CLASS_SpSharedRecognizer: TGUID = '{3BEE4890-4FE9-4A37-8C1E-5E7E12791C1F}';
IID_ISpLexicon: TGUID = '{DA41A7C2-5383-4DB2-916B-6C1719E3DB58}';
CLASS_SpLexicon: TGUID = '{0655E396-25D0-11D3-9C26-00C04F8EF87C}';
CLASS_SpUnCompressedLexicon: TGUID = '{C9E37C15-DF92-4727-85D6-72E5EEB6995A}';
CLASS_SpCompressedLexicon: TGUID = '{90903716-2F42-11D3-9C26-00C04F8EF87C}';
IID_ISpPhoneConverter: TGUID = '{8445C581-0CAC-4A38-ABFE-9B2CE2826455}';
CLASS_SpPhoneConverter: TGUID = '{9185F743-1143-4C28-86B5-BFF14F20E5C8}';
CLASS_SpNullPhoneConverter: TGUID = '{455F24E9-7396-4A16-9715-7C0FDBE3EFE3}';
CLASS_SpTextSelectionInformation: TGUID = '{0F92030A-CBFD-4AB8-A164-FF5985547FF6}';
CLASS_SpPhraseInfoBuilder: TGUID = '{C23FC28D-C55F-4720-8B32-91F73C2BD5D1}';
CLASS_SpAudioFormat: TGUID = '{9EF96870-E160-4792-820D-48CF0649E4EC}';
CLASS_SpWaveFormatEx: TGUID = '{C79A574C-63BE-44B9-801F-283F87F898BE}';
CLASS_SpInProcRecoContext: TGUID = '{73AD6842-ACE0-45E8-A4DD-8795881A2C2A}';
CLASS_SpCustomStream: TGUID = '{8DBEF13F-1948-4AA8-8CF0-048EEBED95D8}';
CLASS_SpFileStream: TGUID = '{947812B3-2AE1-4644-BA86-9E90DED7EC91}';
CLASS_SpMemoryStream: TGUID = '{5FB7EF7D-DFF4-468A-B6B7-2FCBD188F994}';
// *********************************************************************//
// Declaration of Enumerations defined in Type Library
// *********************************************************************//
// Constants for enum SpeechDataKeyLocation
type
SpeechDataKeyLocation = TOleEnum;
const
SDKLDefaultLocation = $00000000;
SDKLCurrentUser = $00000001;
SDKLLocalMachine = $00000002;
SDKLCurrentConfig = $00000005;
// Constants for enum SpeechTokenContext
type
SpeechTokenContext = TOleEnum;
const
STCInprocServer = $00000001;
STCInprocHandler = $00000002;
STCLocalServer = $00000004;
STCRemoteServer = $00000010;
STCAll = $00000017;
// Constants for enum SpeechTokenShellFolder
type
SpeechTokenShellFolder = TOleEnum;
const
STSF_AppData = $0000001A;
STSF_LocalAppData = $0000001C;
STSF_CommonAppData = $00000023;
STSF_FlagCreate = $00008000;
// Constants for enum SpeechAudioState
type
SpeechAudioState = TOleEnum;
const
SASClosed = $00000000;
SASStop = $00000001;
SASPause = $00000002;
SASRun = $00000003;
// Constants for enum SpeechAudioFormatType
type
SpeechAudioFormatType = TOleEnum;
const
SAFTDefault = $FFFFFFFF;
SAFTNoAssignedFormat = $00000000;
SAFTText = $00000001;
SAFTNonStandardFormat = $00000002;
SAFTExtendedAudioFormat = $00000003;
SAFT8kHz8BitMono = $00000004;
SAFT8kHz8BitStereo = $00000005;
SAFT8kHz16BitMono = $00000006;
SAFT8kHz16BitStereo = $00000007;
SAFT11kHz8BitMono = $00000008;
SAFT11kHz8BitStereo = $00000009;
SAFT11kHz16BitMono = $0000000A;
SAFT11kHz16BitStereo = $0000000B;
SAFT12kHz8BitMono = $0000000C;
SAFT12kHz8BitStereo = $0000000D;
SAFT12kHz16BitMono = $0000000E;
SAFT12kHz16BitStereo = $0000000F;
SAFT16kHz8BitMono = $00000010;
SAFT16kHz8BitStereo = $00000011;
SAFT16kHz16BitMono = $00000012;
SAFT16kHz16BitStereo = $00000013;
SAFT22kHz8BitMono = $00000014;
SAFT22kHz8BitStereo = $00000015;
SAFT22kHz16BitMono = $00000016;
SAFT22kHz16BitStereo = $00000017;
SAFT24kHz8BitMono = $00000018;
SAFT24kHz8BitStereo = $00000019;
SAFT24kHz16BitMono = $0000001A;
SAFT24kHz16BitStereo = $0000001B;
SAFT32kHz8BitMono = $0000001C;
SAFT32kHz8BitStereo = $0000001D;
SAFT32kHz16BitMono = $0000001E;
SAFT32kHz16BitStereo = $0000001F;
SAFT44kHz8BitMono = $00000020;
SAFT44kHz8BitStereo = $00000021;
SAFT44kHz16BitMono = $00000022;
SAFT44kHz16BitStereo = $00000023;
SAFT48kHz8BitMono = $00000024;
SAFT48kHz8BitStereo = $00000025;
SAFT48kHz16BitMono = $00000026;
SAFT48kHz16BitStereo = $00000027;
SAFTTrueSpeech_8kHz1BitMono = $00000028;
SAFTCCITT_ALaw_8kHzMono = $00000029;
SAFTCCITT_ALaw_8kHzStereo = $0000002A;
SAFTCCITT_ALaw_11kHzMono = $0000002B;
SAFTCCITT_ALaw_11kHzStereo = $0000002C;
SAFTCCITT_ALaw_22kHzMono = $0000002D;
SAFTCCITT_ALaw_22kHzStereo = $0000002E;
SAFTCCITT_ALaw_44kHzMono = $0000002F;
SAFTCCITT_ALaw_44kHzStereo = $00000030;
SAFTCCITT_uLaw_8kHzMono = $00000031;
SAFTCCITT_uLaw_8kHzStereo = $00000032;
SAFTCCITT_uLaw_11kHzMono = $00000033;
SAFTCCITT_uLaw_11kHzStereo = $00000034;
SAFTCCITT_uLaw_22kHzMono = $00000035;
SAFTCCITT_uLaw_22kHzStereo = $00000036;
SAFTCCITT_uLaw_44kHzMono = $00000037;
SAFTCCITT_uLaw_44kHzStereo = $00000038;
SAFTADPCM_8kHzMono = $00000039;
SAFTADPCM_8kHzStereo = $0000003A;
SAFTADPCM_11kHzMono = $0000003B;
SAFTADPCM_11kHzStereo = $0000003C;
SAFTADPCM_22kHzMono = $0000003D;
SAFTADPCM_22kHzStereo = $0000003E;
SAFTADPCM_44kHzMono = $0000003F;
SAFTADPCM_44kHzStereo = $00000040;
SAFTGSM610_8kHzMono = $00000041;
SAFTGSM610_11kHzMono = $00000042;
SAFTGSM610_22kHzMono = $00000043;
SAFTGSM610_44kHzMono = $00000044;
// Constants for enum SpeechStreamSeekPositionType
type
SpeechStreamSeekPositionType = TOleEnum;
const
SSSPTRelativeToStart = $00000000;
SSSPTRelativeToCurrentPosition = $00000001;
SSSPTRelativeToEnd = $00000002;
// Constants for enum SpeechStreamFileMode
type
SpeechStreamFileMode = TOleEnum;
const
SSFMOpenForRead = $00000000;
SSFMOpenReadWrite = $00000001;
SSFMCreate = $00000002;
SSFMCreateForWrite = $00000003;
// Constants for enum SpeechRunState
type
SpeechRunState = TOleEnum;
const
SRSEDone = $00000001;
SRSEIsSpeaking = $00000002;
// Constants for enum SpeechVoiceEvents
type
SpeechVoiceEvents = TOleEnum;
const
SVEStartInputStream = $00000002;
SVEEndInputStream = $00000004;
SVEVoiceChange = $00000008;
SVEBookmark = $00000010;
SVEWordBoundary = $00000020;
SVEPhoneme = $00000040;
SVESentenceBoundary = $00000080;
SVEViseme = $00000100;
SVEAudioLevel = $00000200;
SVEPrivate = $00008000;
SVEAllEvents = $000083FE;
// Constants for enum SpeechVoicePriority
type
SpeechVoicePriority = TOleEnum;
const
SVPNormal = $00000000;
SVPAlert = $00000001;
SVPOver = $00000002;
// Constants for enum SpeechVoiceSpeakFlags
type
SpeechVoiceSpeakFlags = TOleEnum;
const
SVSFDefault = $00000000;
SVSFlagsAsync = $00000001;
SVSFPurgeBeforeSpeak = $00000002;
SVSFIsFilename = $00000004;
SVSFIsXML = $00000008;
SVSFIsNotXML = $00000010;
SVSFPersistXML = $00000020;
SVSFNLPSpeakPunc = $00000040;
SVSFNLPMask = $00000040;
SVSFVoiceMask = $0000007F;
SVSFUnusedFlags = $FFFFFF80;
// Constants for enum SpeechVisemeFeature
type
SpeechVisemeFeature = TOleEnum;
const
SVF_None = $00000000;
SVF_Stressed = $00000001;
SVF_Emphasis = $00000002;
// Constants for enum SpeechVisemeType
type
SpeechVisemeType = TOleEnum;
const
SVP_0 = $00000000;
SVP_1 = $00000001;
SVP_2 = $00000002;
SVP_3 = $00000003;
SVP_4 = $00000004;
SVP_5 = $00000005;
SVP_6 = $00000006;
SVP_7 = $00000007;
SVP_8 = $00000008;
SVP_9 = $00000009;
SVP_10 = $0000000A;
SVP_11 = $0000000B;
SVP_12 = $0000000C;
SVP_13 = $0000000D;
SVP_14 = $0000000E;
SVP_15 = $0000000F;
SVP_16 = $00000010;
SVP_17 = $00000011;
SVP_18 = $00000012;
SVP_19 = $00000013;
SVP_20 = $00000014;
SVP_21 = $00000015;
// Constants for enum SpeechRecognizerState
type
SpeechRecognizerState = TOleEnum;
const
SRSInactive = $00000000;
SRSActive = $00000001;
SRSActiveAlways = $00000002;
SRSInactiveWithPurge = $00000003;
// Constants for enum SpeechInterference
type
SpeechInterference = TOleEnum;
const
SINone = $00000000;
SINoise = $00000001;
SINoSignal = $00000002;
SITooLoud = $00000003;
SITooQuiet = $00000004;
SITooFast = $00000005;
SITooSlow = $00000006;
// Constants for enum SpeechRecoEvents
type
SpeechRecoEvents = TOleEnum;
const
SREStreamEnd = $00000001;
SRESoundStart = $00000002;
SRESoundEnd = $00000004;
SREPhraseStart = $00000008;
SRERecognition = $00000010;
SREHypothesis = $00000020;
SREBookmark = $00000040;
SREPropertyNumChange = $00000080;
SREPropertyStringChange = $00000100;
SREFalseRecognition = $00000200;
SREInterference = $00000400;
SRERequestUI = $00000800;
SREStateChange = $00001000;
SREAdaptation = $00002000;
SREStreamStart = $00004000;
SRERecoOtherContext = $00008000;
SREAudioLevel = $00010000;
SREPrivate = $00040000;
SREAllEvents = $0005FFFF;
// Constants for enum SpeechRecoContextState
type
SpeechRecoContextState = TOleEnum;
const
SRCS_Disabled = $00000000;
SRCS_Enabled = $00000001;
// Constants for enum SpeechRetainedAudioOptions
type
SpeechRetainedAudioOptions = TOleEnum;
const
SRAONone = $00000000;
SRAORetainAudio = $00000001;
// Constants for enum SpeechGrammarState
type
SpeechGrammarState = TOleEnum;
const
SGSEnabled = $00000001;
SGSDisabled = $00000000;
SGSExclusive = $00000003;
// Constants for enum SpeechRuleAttributes
type
SpeechRuleAttributes = TOleEnum;
const
SRATopLevel = $00000001;
SRADefaultToActive = $00000002;
SRAExport = $00000004;
SRAImport = $00000008;
SRAInterpreter = $00000010;
SRADynamic = $00000020;
// Constants for enum SpeechGrammarRuleStateTransitionType
type
SpeechGrammarRuleStateTransitionType = TOleEnum;
const
SGRSTTEpsilon = $00000000;
SGRSTTWord = $00000001;
SGRSTTRule = $00000002;
SGRSTTDictation = $00000003;
SGRSTTWildcard = $00000004;
SGRSTTTextBuffer = $00000005;
// Constants for enum SpeechGrammarWordType
type
SpeechGrammarWordType = TOleEnum;
const
SGDisplay = $00000000;
SGLexical = $00000001;
SGPronounciation = $00000002;
// Constants for enum SpeechSpecialTransitionType
type
SpeechSpecialTransitionType = TOleEnum;
const
SSTTWildcard = $00000001;
SSTTDictation = $00000002;
SSTTTextBuffer = $00000003;
// Constants for enum SpeechLoadOption
type
SpeechLoadOption = TOleEnum;
const
SLOStatic = $00000000;
SLODynamic = $00000001;
// Constants for enum SpeechRuleState
type
SpeechRuleState = TOleEnum;
const
SGDSInactive = $00000000;
SGDSActive = $00000001;
SGDSActiveWithAutoPause = $00000003;
// Constants for enum SpeechWordPronounceable
type
SpeechWordPronounceable = TOleEnum;
const
SWPUnknownWordUnpronounceable = $00000000;
SWPUnknownWordPronounceable = $00000001;
SWPKnownWordPronounceable = $00000002;
// Constants for enum SpeechEngineConfidence
type
SpeechEngineConfidence = TOleEnum;
const
SECLowConfidence = $FFFFFFFF;
SECNormalConfidence = $00000000;
SECHighConfidence = $00000001;
// Constants for enum SpeechDisplayAttributes
type
SpeechDisplayAttributes = TOleEnum;
const
SDA_No_Trailing_Space = $00000000;
SDA_One_Trailing_Space = $00000002;
SDA_Two_Trailing_Spaces = $00000004;
SDA_Consume_Leading_Spaces = $00000008;
// Constants for enum SpeechDiscardType
type
SpeechDiscardType = TOleEnum;
const
SDTProperty = $00000001;
SDTReplacement = $00000002;
SDTRule = $00000004;
SDTDisplayText = $00000008;
SDTLexicalForm = $00000010;
SDTPronunciation = $00000020;
SDTAudio = $00000040;
SDTAlternates = $00000080;
SDTAll = $000000FF;
// Constants for enum SpeechBookmarkOptions
type
SpeechBookmarkOptions = TOleEnum;
const
SBONone = $00000000;
SBOPause = $00000001;
// Constants for enum SpeechFormatType
type
SpeechFormatType = TOleEnum;
const
SFTInput = $00000000;
SFTSREngine = $00000001;
// Constants for enum SpeechRecognitionType
type
SpeechRecognitionType = TOleEnum;
const
SRTStandard = $00000000;
SRTAutopause = $00000001;
SRTEmulated = $00000002;
// Constants for enum SpeechLexiconType
type
SpeechLexiconType = TOleEnum;
const
SLTUser = $00000001;
SLTApp = $00000002;
// Constants for enum SpeechWordType
type
SpeechWordType = TOleEnum;
const
SWTAdded = $00000001;
SWTDeleted = $00000002;
// Constants for enum SpeechPartOfSpeech
type
SpeechPartOfSpeech = TOleEnum;
const
SPSNotOverriden = $FFFFFFFF;
SPSUnknown = $00000000;
SPSNoun = $00001000;
SPSVerb = $00002000;
SPSModifier = $00003000;
SPSFunction = $00004000;
SPSInterjection = $00005000;
// Constants for enum DISPID_SpeechDataKey
type
DISPID_SpeechDataKey = TOleEnum;
const
DISPID_SDKSetBinaryValue = $00000001;
DISPID_SDKGetBinaryValue = $00000002;
DISPID_SDKSetStringValue = $00000003;
DISPID_SDKGetStringValue = $00000004;
DISPID_SDKSetLongValue = $00000005;
DISPID_SDKGetlongValue = $00000006;
DISPID_SDKOpenKey = $00000007;
DISPID_SDKCreateKey = $00000008;
DISPID_SDKDeleteKey = $00000009;
DISPID_SDKDeleteValue = $0000000A;
DISPID_SDKEnumKeys = $0000000B;
DISPID_SDKEnumValues = $0000000C;
// Constants for enum DISPID_SpeechObjectToken
type
DISPID_SpeechObjectToken = TOleEnum;
const
DISPID_SOTId = $00000001;
DISPID_SOTDataKey = $00000002;
DISPID_SOTCategory = $00000003;
DISPID_SOTGetDescription = $00000004;
DISPID_SOTSetId = $00000005;
DISPID_SOTGetAttribute = $00000006;
DISPID_SOTCreateInstance = $00000007;
DISPID_SOTRemove = $00000008;
DISPID_SOTGetStorageFileName = $00000009;
DISPID_SOTRemoveStorageFileName = $0000000A;
DISPID_SOTIsUISupported = $0000000B;
DISPID_SOTDisplayUI = $0000000C;
DISPID_SOTMatchesAttributes = $0000000D;
// Constants for enum DISPID_SpeechObjectTokens
type
DISPID_SpeechObjectTokens = TOleEnum;
const
DISPID_SOTsCount = $00000001;
DISPID_SOTsItem = $00000000;
DISPID_SOTs_NewEnum = $FFFFFFFC;
// Constants for enum DISPID_SpeechObjectTokenCategory
type
DISPID_SpeechObjectTokenCategory = TOleEnum;
const
DISPID_SOTCId = $00000001;
DISPID_SOTCDefault = $00000002;
DISPID_SOTCSetId = $00000003;
DISPID_SOTCGetDataKey = $00000004;
DISPID_SOTCEnumerateTokens = $00000005;
// Constants for enum DISPID_SpeechAudioFormat
type
DISPID_SpeechAudioFormat = TOleEnum;
const
DISPID_SAFType = $00000001;
DISPID_SAFGuid = $00000002;
DISPID_SAFGetWaveFormatEx = $00000003;
DISPID_SAFSetWaveFormatEx = $00000004;
// Constants for enum DISPID_SpeechBaseStream
type
DISPID_SpeechBaseStream = TOleEnum;
const
DISPID_SBSFormat = $00000001;
DISPID_SBSRead = $00000002;
DISPID_SBSWrite = $00000003;
DISPID_SBSSeek = $00000004;
// Constants for enum DISPID_SpeechAudio
type
DISPID_SpeechAudio = TOleEnum;
const
DISPID_SAStatus = $000000C8;
DISPID_SABufferInfo = $000000C9;
DISPID_SADefaultFormat = $000000CA;
DISPID_SAVolume = $000000CB;
DISPID_SABufferNotifySize = $000000CC;
DISPID_SAEventHandle = $000000CD;
DISPID_SASetState = $000000CE;
// Constants for enum DISPID_SpeechMMSysAudio
type
DISPID_SpeechMMSysAudio = TOleEnum;
const
DISPID_SMSADeviceId = $0000012C;
DISPID_SMSALineId = $0000012D;
DISPID_SMSAMMHandle = $0000012E;
// Constants for enum DISPID_SpeechFileStream
type
DISPID_SpeechFileStream = TOleEnum;
const
DISPID_SFSOpen = $00000064;
DISPID_SFSClose = $00000065;
// Constants for enum DISPID_SpeechCustomStream
type
DISPID_SpeechCustomStream = TOleEnum;
const
DISPID_SCSBaseStream = $00000064;
// Constants for enum DISPID_SpeechMemoryStream
type
DISPID_SpeechMemoryStream = TOleEnum;
const
DISPID_SMSSetData = $00000064;
DISPID_SMSGetData = $00000065;
// Constants for enum DISPID_SpeechAudioStatus
type
DISPID_SpeechAudioStatus = TOleEnum;
const
DISPID_SASFreeBufferSpace = $00000001;
DISPID_SASNonBlockingIO = $00000002;
DISPID_SASState = $00000003;
DISPID_SASCurrentSeekPosition = $00000004;
DISPID_SASCurrentDevicePosition = $00000005;
// Constants for enum DISPID_SpeechAudioBufferInfo
type
DISPID_SpeechAudioBufferInfo = TOleEnum;
const
DISPID_SABIMinNotification = $00000001;
DISPID_SABIBufferSize = $00000002;
DISPID_SABIEventBias = $00000003;
// Constants for enum DISPID_SpeechWaveFormatEx
type
DISPID_SpeechWaveFormatEx = TOleEnum;
const
DISPID_SWFEFormatTag = $00000001;
DISPID_SWFEChannels = $00000002;
DISPID_SWFESamplesPerSec = $00000003;
DISPID_SWFEAvgBytesPerSec = $00000004;
DISPID_SWFEBlockAlign = $00000005;
DISPID_SWFEBitsPerSample = $00000006;
DISPID_SWFEExtraData = $00000007;
// Constants for enum DISPID_SpeechVoice
type
DISPID_SpeechVoice = TOleEnum;
const
DISPID_SVStatus = $00000001;
DISPID_SVVoice = $00000002;
DISPID_SVAudioOutput = $00000003;
DISPID_SVAudioOutputStream = $00000004;
DISPID_SVRate = $00000005;
DISPID_SVVolume = $00000006;
DISPID_SVAllowAudioOuputFormatChangesOnNextSet = $00000007;
DISPID_SVEventInterests = $00000008;
DISPID_SVPriority = $00000009;
DISPID_SVAlertBoundary = $0000000A;
DISPID_SVSyncronousSpeakTimeout = $0000000B;
DISPID_SVSpeak = $0000000C;
DISPID_SVSpeakStream = $0000000D;
DISPID_SVPause = $0000000E;
DISPID_SVResume = $0000000F;
DISPID_SVSkip = $00000010;
DISPID_SVGetVoices = $00000011;
DISPID_SVGetAudioOutputs = $00000012;
DISPID_SVWaitUntilDone = $00000013;
DISPID_SVSpeakCompleteEvent = $00000014;
DISPID_SVIsUISupported = $00000015;
DISPID_SVDisplayUI = $00000016;
// Constants for enum DISPID_SpeechVoiceStatus
type
DISPID_SpeechVoiceStatus = TOleEnum;
const
DISPID_SVSCurrentStreamNumber = $00000001;
DISPID_SVSLastStreamNumberQueued = $00000002;
DISPID_SVSLastResult = $00000003;
DISPID_SVSRunningState = $00000004;
DISPID_SVSInputWordPosition = $00000005;
DISPID_SVSInputWordLength = $00000006;
DISPID_SVSInputSentencePosition = $00000007;
DISPID_SVSInputSentenceLength = $00000008;
DISPID_SVSLastBookmark = $00000009;
DISPID_SVSLastBookmarkId = $0000000A;
DISPID_SVSPhonemeId = $0000000B;
DISPID_SVSVisemeId = $0000000C;
// Constants for enum DISPID_SpeechVoiceEvent
type
DISPID_SpeechVoiceEvent = TOleEnum;
const
DISPID_SVEStreamStart = $00000001;
DISPID_SVEStreamEnd = $00000002;
DISPID_SVEVoiceChange = $00000003;
DISPID_SVEBookmark = $00000004;
DISPID_SVEWord = $00000005;
DISPID_SVEPhoneme = $00000006;
DISPID_SVESentenceBoundary = $00000007;
DISPID_SVEViseme = $00000008;
DISPID_SVEAudioLevel = $00000009;
DISPID_SVEEnginePrivate = $0000000A;
// Constants for enum DISPID_SpeechRecognizer
type
DISPID_SpeechRecognizer = TOleEnum;
const
DISPID_SRRecognizer = $00000001;
DISPID_SRAllowAudioInputFormatChangesOnNextSet = $00000002;
DISPID_SRAudioInput = $00000003;
DISPID_SRAudioInputStream = $00000004;
DISPID_SRIsShared = $00000005;
DISPID_SRState = $00000006;
DISPID_SRStatus = $00000007;
DISPID_SRProfile = $00000008;
DISPID_SREmulateRecognition = $00000009;
DISPID_SRCreateRecoContext = $0000000A;
DISPID_SRGetFormat = $0000000B;
DISPID_SRSetPropertyNumber = $0000000C;
DISPID_SRGetPropertyNumber = $0000000D;
DISPID_SRSetPropertyString = $0000000E;
DISPID_SRGetPropertyString = $0000000F;
DISPID_SRIsUISupported = $00000010;
DISPID_SRDisplayUI = $00000011;
DISPID_SRGetRecognizers = $00000012;
DISPID_SVGetAudioInputs = $00000013;
DISPID_SVGetProfiles = $00000014;
// Constants for enum DISPID_SpeechRecognizerStatus
type
DISPID_SpeechRecognizerStatus = TOleEnum;
const
DISPID_SRSAudioStatus = $00000001;
DISPID_SRSCurrentStreamPosition = $00000002;
DISPID_SRSCurrentStreamNumber = $00000003;
DISPID_SRSNumberOfActiveRules = $00000004;
DISPID_SRSClsidEngine = $00000005;
DISPID_SRSSupportedLanguages = $00000006;
// Constants for enum DISPID_SpeechRecoContext
type
DISPID_SpeechRecoContext = TOleEnum;
const
DISPID_SRCRecognizer = $00000001;
DISPID_SRCAudioInInterferenceStatus = $00000002;
DISPID_SRCRequestedUIType = $00000003;
DISPID_SRCVoice = $00000004;
DISPID_SRAllowVoiceFormatMatchingOnNextSet = $00000005;
DISPID_SRCVoicePurgeEvent = $00000006;
DISPID_SRCEventInterests = $00000007;
DISPID_SRCCmdMaxAlternates = $00000008;
DISPID_SRCState = $00000009;
DISPID_SRCRetainedAudio = $0000000A;
DISPID_SRCRetainedAudioFormat = $0000000B;
DISPID_SRCPause = $0000000C;
DISPID_SRCResume = $0000000D;
DISPID_SRCCreateGrammar = $0000000E;
DISPID_SRCCreateResultFromMemory = $0000000F;
DISPID_SRCBookmark = $00000010;
DISPID_SRCSetAdaptationData = $00000011;
// Constants for enum DISPIDSPRG
type
DISPIDSPRG = TOleEnum;
const
DISPID_SRGId = $00000001;
DISPID_SRGRecoContext = $00000002;
DISPID_SRGState = $00000003;
DISPID_SRGRules = $00000004;
DISPID_SRGReset = $00000005;
DISPID_SRGCommit = $00000006;
DISPID_SRGCmdLoadFromFile = $00000007;
DISPID_SRGCmdLoadFromObject = $00000008;
DISPID_SRGCmdLoadFromResource = $00000009;
DISPID_SRGCmdLoadFromMemory = $0000000A;
DISPID_SRGCmdLoadFromProprietaryGrammar = $0000000B;
DISPID_SRGCmdSetRuleState = $0000000C;
DISPID_SRGCmdSetRuleIdState = $0000000D;
DISPID_SRGDictationLoad = $0000000E;
DISPID_SRGDictationUnload = $0000000F;
DISPID_SRGDictationSetState = $00000010;
DISPID_SRGSetWordSequenceData = $00000011;
DISPID_SRGSetTextSelection = $00000012;
DISPID_SRGIsPronounceable = $00000013;
// Constants for enum DISPID_SpeechRecoContextEvents
type
DISPID_SpeechRecoContextEvents = TOleEnum;
const
DISPID_SRCEStartStream = $00000001;
DISPID_SRCEEndStream = $00000002;
DISPID_SRCEBookmark = $00000003;
DISPID_SRCESoundStart = $00000004;
DISPID_SRCESoundEnd = $00000005;
DISPID_SRCEPhraseStart = $00000006;
DISPID_SRCERecognition = $00000007;
DISPID_SRCEHypothesis = $00000008;
DISPID_SRCEPropertyNumberChange = $00000009;
DISPID_SRCEPropertyStringChange = $0000000A;
DISPID_SRCEFalseRecognition = $0000000B;
DISPID_SRCEInterference = $0000000C;
DISPID_SRCERequestUI = $0000000D;
DISPID_SRCERecognizerStateChange = $0000000E;
DISPID_SRCEAdaptation = $0000000F;
DISPID_SRCERecognitionForOtherContext = $00000010;
DISPID_SRCEAudioLevel = $00000011;
DISPID_SRCEEnginePrivate = $00000012;
// Constants for enum DISPID_SpeechGrammarRule
type
DISPID_SpeechGrammarRule = TOleEnum;
const
DISPID_SGRAttributes = $00000001;
DISPID_SGRInitialState = $00000002;
DISPID_SGRName = $00000003;
DISPID_SGRId = $00000004;
DISPID_SGRClear = $00000005;
DISPID_SGRAddResource = $00000006;
DISPID_SGRAddState = $00000007;
// Constants for enum DISPID_SpeechGrammarRules
type
DISPID_SpeechGrammarRules = TOleEnum;
const
DISPID_SGRsCount = $00000001;
DISPID_SGRsDynamic = $00000002;
DISPID_SGRsAdd = $00000003;
DISPID_SGRsCommit = $00000004;
DISPID_SGRsCommitAndSave = $00000005;
DISPID_SGRsFindRule = $00000006;
DISPID_SGRsItem = $00000000;
DISPID_SGRs_NewEnum = $FFFFFFFC;
// Constants for enum DISPID_SpeechGrammarRuleState
type
DISPID_SpeechGrammarRuleState = TOleEnum;
const
DISPID_SGRSRule = $00000001;
DISPID_SGRSTransitions = $00000002;
DISPID_SGRSAddWordTransition = $00000003;
DISPID_SGRSAddRuleTransition = $00000004;
DISPID_SGRSAddSpecialTransition = $00000005;
// Constants for enum DISPID_SpeechGrammarRuleStateTransitions
type
DISPID_SpeechGrammarRuleStateTransitions = TOleEnum;
const
DISPID_SGRSTsCount = $00000001;
DISPID_SGRSTsItem = $00000000;
DISPID_SGRSTs_NewEnum = $FFFFFFFC;
// Constants for enum DISPID_SpeechGrammarRuleStateTransition
type
DISPID_SpeechGrammarRuleStateTransition = TOleEnum;
const
DISPID_SGRSTType = $00000001;
DISPID_SGRSTText = $00000002;
DISPID_SGRSTRule = $00000003;
DISPID_SGRSTWeight = $00000004;
DISPID_SGRSTPropertyName = $00000005;
DISPID_SGRSTPropertyId = $00000006;
DISPID_SGRSTPropertyValue = $00000007;
DISPID_SGRSTNextState = $00000008;
// Constants for enum DISPIDSPTSI
type
DISPIDSPTSI = TOleEnum;
const
DISPIDSPTSI_ActiveOffset = $00000001;
DISPIDSPTSI_ActiveLength = $00000002;
DISPIDSPTSI_SelectionOffset = $00000003;
DISPIDSPTSI_SelectionLength = $00000004;
// Constants for enum DISPID_SpeechRecoResult
type
DISPID_SpeechRecoResult = TOleEnum;
const
DISPID_SRRRecoContext = $00000001;
DISPID_SRRTimes = $00000002;
DISPID_SRRAudioFormat = $00000003;
DISPID_SRRPhraseInfo = $00000004;
DISPID_SRRAlternates = $00000005;
DISPID_SRRAudio = $00000006;
DISPID_SRRSpeakAudio = $00000007;
DISPID_SRRSaveToMemory = $00000008;
DISPID_SRRDiscardResultInfo = $00000009;