source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/agterr.h@ 1167

Last change on this file since 1167 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 5.0 KB
RevLine 
[1166]1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6#ifndef _AgentError_h_
7#define _AgentError_h_
8
9#define AGENTERROR(x) MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,(x)+0x2000)
10#define AGENTWARNING(x) MAKE_SCODE(SEVERITY_SUCCESS,FACILITY_ITF,(x)+0x2000)
11#define AGENTREQERROR(x) MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,(x)+0x2100)
12#define AGENTPROVIDERERROR(x) MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,(x)+0x2200)
13#define AGENTVOICEERROR(x) MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,(x)+0x2300)
14#define AGENTAUDIOERROR(x) MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,(x)+0x2400)
15#define AGENTCTLERROR(x) MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,(x)+0x2500)
16#define AGENTEXTERROR(x) MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,(x)+0x2600)
17
18#define AGENTERR_CLIENTINVALID AGENTERROR(1)
19#define AGENTERR_CHARACTERINVALID AGENTERROR(2)
20#define AGENTERR_ANIMATIONNOTFOUND AGENTERROR(3)
21#define AGENTERR_STATENOTFOUND AGENTERROR(4)
22#define AGENTERR_AUDIONOTFOUND AGENTERROR(5)
23#define AGENTERR_COMMANDNOTFOUND AGENTERROR(6)
24#define AGENTERR_COMMANDALREADYINUSE AGENTERROR(7)
25#define AGENTERR_MENUNOTFOUND AGENTERROR(8)
26#define AGENTERR_LOSTCONNECTION AGENTERROR(9)
27#define AGENTERR_CHARACTERNOTVISIBLE AGENTERROR(10)
28#define AGENTERR_CHARACTERALREADYLOADED AGENTERROR(11)
29#define AGENTERR_NOBALLOON AGENTERROR(12)
30#define AGENTERR_NOCOMMANDSWINDOW AGENTERROR(13)
31#define AGENTERR_INVALIDPREPARETYPE AGENTERROR(14)
32#define AGENTERR_INVALIDANIMATION AGENTERROR(15)
33#define AGENTERR_CANTMOVEDURINGDRAG AGENTERROR(16)
34#define AGENTERR_CHARACTERNOTACTIVE AGENTERROR(17)
35#define AGENTERR_LANGUAGENOTFOUND AGENTERROR(18)
36#define AGENTERR_TTSLANGUAGENOTFOUND AGENTERROR(19)
37#define AGENTERR_SRLANGUAGENOTFOUND AGENTERROR(20)
38#define AGENTERR_LANGUAGEMISMATCH AGENTERROR(21)
39#define AGENTERR_SPEAKINGDISABLED AGENTERROR(22)
40#define AGENTERR_NOCHARACTERS AGENTERROR(23)
41#define AGENTERR_DEFAULTCHARACTER AGENTERROR(24)
42
43#define AGENTWARNING_TTSENGINENOTFOUND AGENTWARNING(1)
44#define AGENTWARNING_ONLYCLIENT AGENTWARNING(2)
45
46#define AGENTREQERR_OBJECTNOTFOUND AGENTREQERROR(1)
47#define AGENTREQERR_OBJECTINVALID AGENTREQERROR(2)
48#define AGENTREQERR_CANTSTOPOTHERS AGENTREQERROR(3)
49#define AGENTREQERR_CANTINTERRUPTSELF AGENTREQERROR(4)
50#define AGENTREQERR_CANTWAITONSELF AGENTREQERROR(5)
51#define AGENTREQERR_INVALIDBOOKMARK AGENTREQERROR(6)
52#define AGENTREQERR_SUSPENDED AGENTREQERROR(7)
53#define AGENTREQERR_REMOVED AGENTREQERROR(8)
54
55#define IS_INTERRUPT_ERROR(hRes) ((hRes >= AGENTREQERR_INTERRUPTEDLISTENKEY) && (hRes <= AGENTREQERR_INTERRUPTEDUSER))
56
57#define AGENTREQERR_INTERRUPTEDLISTENKEY AGENTREQERROR(10)
58#define AGENTREQERR_INTERRUPTEDHEARING AGENTREQERROR(11)
59#define AGENTREQERR_INTERRUPTEDCODE AGENTREQERROR(12)
60#define AGENTREQERR_INTERRUPTEDUSER AGENTREQERROR(13)
61
62#define AGENTREQERR_INVALIDLASTTAG AGENTREQERROR(14)
63
64#define AGENTPROVERROR_INIT AGENTPROVIDERERROR(1)
65#define AGENTPROVERROR_CHARACTERVERSION AGENTPROVIDERERROR(2)
66#define AGENTPROVERROR_VERSION AGENTPROVIDERERROR(3)
67#define AGENTPROVERROR_MAGIC AGENTPROVIDERERROR(4)
68#define AGENTPROVERROR_CHARACTERINVALID AGENTPROVIDERERROR(5)
69#define AGENTPROVERROR_WAVEINVALID AGENTPROVIDERERROR(6)
70#define AGENTPROVERROR_WAVECORRUPT AGENTPROVIDERERROR(7)
71#define AGENTPROVERROR_MMIO AGENTPROVIDERERROR(8)
72#define AGENTPROVERROR_PROTOCOL AGENTPROVIDERERROR(9)
73
74#define AGENTAUDIOERROR_DEVICE AGENTAUDIOERROR(1)
75#define AGENTAUDIOERROR_TTSENUMERATOR AGENTAUDIOERROR(2)
76#define AGENTAUDIOERROR_TTSSELECT AGENTAUDIOERROR(3)
77#define AGENTAUDIOERROR_TTSREGISTER AGENTAUDIOERROR(4)
78#define AGENTAUDIOERROR_TTSUNEXPECTED AGENTAUDIOERROR(5)
79#define AGENTAUDIOERROR_LWVINIT AGENTAUDIOERROR(6)
80#define AGENTAUDIOERROR_LWVREGISTER AGENTAUDIOERROR(7)
81#define AGENTAUDIOERROR_LWVUNEXPECTED AGENTAUDIOERROR(8)
82
83#define AGENTCTLERROR_NOEVENTSAVAILABLE AGENTCTLERROR(1)
84#define AGENTCTLERROR_SERVERINIT AGENTCTLERROR(2)
85#define AGENTCTLERROR_LANGUAGE AGENTCTLERROR(3)
86
87#define AGENTVOICEERROR_COULDNTSTARTDEVICE AGENTVOICEERROR(1)
88#define AGENTVOICEERROR_NOTINSTALLED AGENTVOICEERROR(2)
89#define AGENTVOICEERROR_NOTINITIALIZED AGENTVOICEERROR(3)
90#define AGENTVOICEERROR_INVALIDMENU AGENTVOICEERROR(4)
91#define AGENTVOICEERROR_UNCLOSEDALTERNATIVE AGENTVOICEERROR(5)
92#define AGENTVOICEERROR_UNCLOSEDOPTIONAL AGENTVOICEERROR(6)
93#define AGENTVOICEERROR_UNEXPECTEDENDOFALTERNATIVE AGENTVOICEERROR(7)
94#define AGENTVOICEERROR_UNEXPECTEDENDOFOPTIONAL AGENTVOICEERROR(8)
95#define AGENTVOICEERROR_UNEXPECTEDALTERNATIVE AGENTVOICEERROR(9)
96#define AGENTVOICEERROR_NOSRMODE AGENTVOICEERROR(10)
97#define AGENTVOICEERROR_SRMODENOTFOUND AGENTVOICEERROR(11)
98#define AGENTVOICEERROR_SPEECHDISABLED AGENTVOICEERROR(12)
99#define AGENTVOICEERROR_UNEXPECTEDENDOFREPEAT AGENTVOICEERROR(13)
100#define AGENTVOICEERROR_UNCLOSEDREPEAT AGENTVOICEERROR(14)
101#define AGENTVOICEERROR_UNEXPECTEDREPEAT AGENTVOICEERROR(15)
102
103#define AGENTEXTERROR_EXTNOTFOUND AGENTEXTERROR(1)
104#define AGENTEXTERROR_INVALIDCLIENT AGENTEXTERROR(2)
105#endif
Note: See TracBrowser for help on using the repository browser.