comctl32/edit: Notify IME on caret position, format_rect and font changes.
[wine.git] / include / sperror.h
blobcd8ed9b948d9ddfec554e96e97f3dcaf9f6c833f
1 /*
2 * Speech API (SAPI) Errors.
4 * Copyright (C) 2017 Huw Davies
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef SPError_h
22 #define SPError_h
24 #include <winerror.h>
26 #define SP_END_OF_STREAM 0x00045005
27 #define SP_INSUFFICIENT_DATA 0x0004500b
28 #define SP_AUDIO_PAUSED 0x00045010
29 #define SP_AUDIO_CONVERSION_ENABLED 0x00045015
30 #define SP_NO_HYPOTHESIS_AVAILABLE 0x00045016
31 #define SP_ALREADY_IN_LEX 0x00045018
32 #define SP_LEX_NOTHING_TO_SYNC 0x0004501a
33 #define SP_REQUEST_PENDING 0x00045026
34 #define SP_NO_PARSE_FOUND 0x0004502c
35 #define SP_UNSUPPORTED_ON_STREAM_INPUT 0x00045034
36 #define SP_WORD_EXISTS_WITHOUT_PRONUNCIATION 0x00045037
37 #define SP_RECOGNIZER_INACTIVE 0x0004504e
38 #define SP_PARTIAL_PARSE_FOUND 0x00045053
39 #define SP_NO_RULE_ACTIVE 0x00045055
40 #define SP_STREAM_UNINITIALIZED 0x00045057
41 #define SP_AUDIO_STOPPED 0x00045065
42 #define SP_COMPLETE_BUT_EXTENDABLE 0x00045074
43 #define SP_NO_RULES_TO_ACTIVATE 0x0004507b
44 #define SP_NO_WORDENTRY_NOTIFICATION 0x0004507c
45 #define S_LIMIT_REACHED 0x0004507f
46 #define S_NOTSUPPORTED 0x00045080
48 #define SPERR_UNINITIALIZED 0x80045001
49 #define SPERR_ALREADY_INITIALIZED 0x80045002
50 #define SPERR_INVALID_FLAGS 0x80045004
51 #define SPERR_DEVICE_BUSY 0x80045006
52 #define SPERR_DEVICE_NOT_SUPPORTED 0x80045007
53 #define SPERR_DEVICE_NOT_ENABLED 0x80045008
54 #define SPERR_NO_DRIVER 0x80045009
55 #define SPERR_FILE_MUST_BE_UNICODE 0x8004500a
56 #define SPERR_INVALID_PHRASE_ID 0x8004500c
57 #define SPERR_BUFFER_TOO_SMALL 0x8004500d
58 #define SPERR_FORMAT_NOT_SPECIFIED 0x8004500e
59 #define SPERR_AUDIO_STOPPED 0x8004500f
60 #define SPERR_RULE_NOT_FOUND 0x80045011
61 #define SPERR_TTS_ENGINE_EXCEPTION 0x80045012
62 #define SPERR_TTS_NLP_EXCEPTION 0x80045013
63 #define SPERR_ENGINE_BUSY 0x80045014
64 #define SPERR_CANT_CREATE 0x80045017
65 #define SPERR_NOT_IN_LEX 0x80045019
66 #define SPERR_LEX_VERY_OUT_OF_SYNC 0x8004501b
67 #define SPERR_UNDEFINED_FORWARD_RULE_REF 0x8004501c
68 #define SPERR_EMPTY_RULE 0x8004501d
69 #define SPERR_GRAMMAR_COMPILER_INTERNAL_ERROR 0x8004501e
70 #define SPERR_RULE_NOT_DYNAMIC 0x8004501f
71 #define SPERR_DUPLICATE_RULE_NAME 0x80045020
72 #define SPERR_DUPLICATE_RESOURCE_NAME 0x80045021
73 #define SPERR_TOO_MANY_GRAMMARS 0x80045022
74 #define SPERR_CIRCULAR_REFERENCE 0x80045023
75 #define SPERR_INVALID_IMPORT 0x80045024
76 #define SPERR_INVALID_WAV_FILE 0x80045025
77 #define SPERR_ALL_WORDS_OPTIONAL 0x80045027
78 #define SPERR_INSTANCE_CHANGE_INVALID 0x80045028
79 #define SPERR_RULE_NAME_ID_CONFLICT 0x80045029
80 #define SPERR_NO_RULES 0x8004502a
81 #define SPERR_CIRCULAR_RULE_REF 0x8004502b
82 #define SPERR_INVALID_HANDLE 0x8004502d
83 #define SPERR_REMOTE_CALL_TIMED_OUT 0x8004502e
84 #define SPERR_AUDIO_BUFFER_OVERFLOW 0x8004502f
85 #define SPERR_NO_AUDIO_DATA 0x80045030
86 #define SPERR_DEAD_ALTERNATE 0x80045031
87 #define SPERR_HIGH_LOW_CONFIDENCE 0x80045032
88 #define SPERR_INVALID_FORMAT_STRING 0x80045033
89 #define SPERR_APPLEX_READ_ONLY 0x80045035
90 #define SPERR_NO_TERMINATING_RULE_PATH 0x80045036
91 #define SPERR_STREAM_CLOSED 0x80045038
92 #define SPERR_NO_MORE_ITEMS 0x80045039
93 #define SPERR_NOT_FOUND 0x8004503a
94 #define SPERR_INVALID_AUDIO_STATE 0x8004503b
95 #define SPERR_GENERIC_MMSYS_ERROR 0x8004503c
96 #define SPERR_MARSHALER_EXCEPTION 0x8004503d
97 #define SPERR_NOT_DYNAMIC_GRAMMAR 0x8004503e
98 #define SPERR_AMBIGUOUS_PROPERTY 0x8004503f
99 #define SPERR_INVALID_REGISTRY_KEY 0x80045040
100 #define SPERR_INVALID_TOKEN_ID 0x80045041
101 #define SPERR_XML_BAD_SYNTAX 0x80045042
102 #define SPERR_XML_RESOURCE_NOT_FOUND 0x80045043
103 #define SPERR_TOKEN_IN_USE 0x80045044
104 #define SPERR_TOKEN_DELETED 0x80045045
105 #define SPERR_MULTI_LINGUAL_NOT_SUPPORTED 0x80045046
106 #define SPERR_EXPORT_DYNAMIC_RULE 0x80045047
107 #define SPERR_STGF_ERROR 0x80045048
108 #define SPERR_WORDFORMAT_ERROR 0x80045049
109 #define SPERR_STREAM_NOT_ACTIVE 0x8004504a
110 #define SPERR_ENGINE_RESPONSE_INVALID 0x8004504b
111 #define SPERR_SR_ENGINE_EXCEPTION 0x8004504c
112 #define SPERR_STREAM_POS_INVALID 0x8004504d
113 #define SPERR_REMOTE_CALL_ON_WRONG_THREAD 0x8004504f
114 #define SPERR_REMOTE_PROCESS_TERMINATED 0x80045050
115 #define SPERR_REMOTE_PROCESS_ALREADY_RUNNING 0x80045051
116 #define SPERR_LANGID_MISMATCH 0x80045052
117 #define SPERR_NOT_TOPLEVEL_RULE 0x80045054
118 #define SPERR_LEX_REQUIRES_COOKIE 0x80045056
119 #define SPERR_UNSUPPORTED_LANG 0x80045059
120 #define SPERR_VOICE_PAUSED 0x8004505a
121 #define SPERR_AUDIO_BUFFER_UNDERFLOW 0x8004505b
122 #define SPERR_AUDIO_STOPPED_UNEXPECTEDLY 0x8004505c
123 #define SPERR_NO_WORD_PRONUNCIATION 0x8004505d
124 #define SPERR_ALTERNATES_WOULD_BE_INCONSISTENT 0x8004505e
125 #define SPERR_NOT_SUPPORTED_FOR_SHARED_RECOGNIZER 0x8004505f
126 #define SPERR_TIMEOUT 0x80045060
127 #define SPERR_REENTER_SYNCHRONIZE 0x80045061
128 #define SPERR_STATE_WITH_NO_ARCS 0x80045062
129 #define SPERR_NOT_ACTIVE_SESSION 0x80045063
130 #define SPERR_ALREADY_DELETED 0x80045064
131 #define SPERR_RECOXML_GENERATION_FAIL 0x80045066
132 #define SPERR_SML_GENERATION_FAIL 0x80045067
133 #define SPERR_NOT_PROMPT_VOICE 0x80045068
134 #define SPERR_ROOTRULE_ALREADY_DEFINED 0x80045069
135 #define SPERR_SCRIPT_DISALLOWED 0x80045070
136 #define SPERR_REMOTE_CALL_TIMED_OUT_START 0x80045071
137 #define SPERR_REMOTE_CALL_TIMED_OUT_CONNECT 0x80045072
138 #define SPERR_SECMGR_CHANGE_NOT_ALLOWED 0x80045073
139 #define SPERR_FAILED_TO_DELETE_FILE 0x80045075
140 #define SPERR_SHARED_ENGINE_DISABLED 0x80045076
141 #define SPERR_RECOGNIZER_NOT_FOUND 0x80045077
142 #define SPERR_AUDIO_NOT_FOUND 0x80045078
143 #define SPERR_NO_VOWEL 0x80045079
144 #define SPERR_UNSUPPORTED_PHONEME 0x8004507a
145 #define SPERR_WORD_NEEDS_NORMALIZATION 0x8004507d
146 #define SPERR_CANNOT_NORMALIZE 0x8004507e
147 #define SPERR_TOPIC_NOT_ADAPTABLE 0x80045081
148 #define SPERR_PHONEME_CONVERSION 0x80045082
149 #define SPERR_NOT_SUPPORTED_FOR_INPROC_RECOGNIZER 0x80045083
150 #define SPERR_OVERLOAD 0x80045084
151 #define SPERR_LEX_INVALID_DATA 0x80045085
152 #define SPERR_CFG_INVALID_DATA 0x80045086
153 #define SPERR_LEX_UNEXPECTED_FORMAT 0x80045087
154 #define SPERR_STRING_TOO_LONG 0x80045088
155 #define SPERR_STRING_EMPTY 0x80045089
156 #define SPERR_NON_WORD_TRANSITION 0x80045090
157 #define SPERR_SISR_ATTRIBUTES_NOT_ALLOWED 0x80045091
158 #define SPERR_SISR_MIXED_NOT_ALLOWED 0x80045092
159 #define SPERR_VOICE_NOT_FOUND 0x80045093
161 #endif /* SPError_h */