#ifndef _ERRORMOD_H #define _ERRORMOD_H // IFKERNEL API's #define API_IFK_ALLOCBUF 0x0040 #define API_IFK_FREEBUF 0x0080 #define API_IFK_MAKEBUFWRITABLE 0x00c0 #define API_IFK_SHAREBUF 0x0100 #define API_IFK_SPLITBUF 0x0140 #define API_IFK_IFGLOBALALLOC 0x1000 #define API_IFK_IFGLOBALFREE 0x1040 #define API_IFK_CREATEIFPIPE 0x2000 #define API_IFK_DELETEIFPIPE 0x2040 #define API_IFK_OPENIFPIPE 0x2080 #define API_IFK_CLOSEIFPIPE 0x20c0 #define API_IFK_REQREADFROMIFPIPE 0x2100 #define API_IFK_REQWRITETOIFPIPE 0x2140 #define API_IFK_NEWMEMUNIT 0x3040 #define API_IFK_POSTMESSAGE 0x4000 #define API_IFK_GETMESSAGE 0x4040 #define API_IFK_PEEKMESSAGE 0x4080 #define API_IFK_BROADCASTMESSAGE 0x40c0 #define API_IFK_CREATEPROCESS 0x5000 #define API_IFK_TERMINATEAPP 0x5040 #define API_IFK_GETIFPROCWINDOW 0x5080 #define API_IFK_SETIFPROCPRIORITY 0x50C0 #define API_IFK_GETIFPROCPRIORITY 0x5100 #define API_IFK_CREATEMUTEX 0x6000 #define API_IFK_RELEASEMUTEX 0x6040 #define API_IFK_CREATEEVENT 0x6080 #define API_IFK_SETEVENT 0x60c0 #define API_IFK_WAITFORSINGLEOBJECT 0x6100 #define API_IFK_FREESYNCOBJECT 0x6140 #define API_IFK_GETSETEVENTPARAM 0x6180 #define API_IFK_IFSETTIMER 0x7000 //IFSCAN APIs (High level scanner driver: error codes in prnscn.h) #define API_OPENSCANNER 0x0040 #define API_CLOSESCANNER 0x0080 #define API_STARTSCANJOB 0x00c0 #define API_ENDSCANJOB 0x0100 #define API_CONTINUESCANJOB 0x0200 #define API_ABORTSCANJOB 0x0300 #define API_GETSCANNERSTATUS 0x0400 #define API_GETSCANNERPAPERINFO 0x0500 #define API_GETSCANIMAGEINFO 0x0600 #define API_GETSCANNERCAPS 0x0700 #define API_GETSCANNERCUSTOMCAPS 0x0800 #define API_COMPLETESCANPAGE 0x0900 #define API_GETSCANDEVICEINFO 0x0a00 #define API_SELECTSCANDEVICE 0x0b00 #define API_SCANDEVICEMODE 0x0c00 #define API_INITIFSCAN 0x0d00 #define API_SCANDIAGNOSTICJOB 0x0e00 #define API_GETDEVINFOFROMID 0x0f00 #define API_GETDEVINFOFROMSTR 0x1000 #define API_GETDEVDEFAULTMODE 0x1100 #define API_SCANNERPREFEED 0x1200 #define API_STARTCOPYJOB 0x1300 #define API_ENDCOPYJOB 0x1400 //IFPRINT (high level printer drivers api: error codes in prnscn.h) #define API_SELECTPRINTDEVICE 0x0a00 #define API_GETPRINTDEVICEINFO 0x0900 #define API_PRINTDEVICEMODE 0x0b00 #define API_PRINTDIAGNOSTICJOB 0x0c00 #define API_CHECKPRINTERSTATUS 0x0d00 //Awreport(the report engine) #define API_AWREPORTMESSAGE 0x0a00 //Remote Access APIs (Remote Access Apis) //IPX #define API_PSINIT 0x0040 #define API_INITIATEBIND 0x0080 //MAC #define API_MACINIT 0x0040 //Renderer APIs #define API_RENDEROPEN 0x0040 #define API_RENDEREXECUTE 0x0080 #define API_RENDERCLOSE 0x00c0 // Message pump events disguised as APIs // APICODE BITS | ERRCODE BITS #define API_JOBMESSAGE 0x0040 // 0000 0000 01 | 00 0000 #define API_JOBCOMPLETE 0x0080 // 0000 0000 10 | 00 0000 #define API_JOBERRCOMPLETE 0x00C0 // 0000 0000 11 | 00 0000 #define API_MPJOBCANCEL 0x0100 #define API_MPREJECTMSG 0x0140 #define API_MPANSWER 0x0180 #define API_MPTRANSPORT 0x01C0 #define API_MPPOLLRETRIEVE 0x0200 #define API_MPDEST 0x0240 // WINDOWS MODULE API's #define WERR_OK 0x0 #define WERR_GETVERSION 0x40 #define WERR_GETFREESPACE 0x80 #define WERR_GETCURRENTPDB 0xC0 #define WERR_GETWINDOWSDIRECTORY 0x100 #define WERR_GETSYSTEMDIRECTORY 0x140 #define WERR_GETFREESYSTEMRESOURCES 0x180 #define WERR_GETWINFLAGS 0x1C0 #define WERR_GETDOSENVIRONMENT 0x200 #define WERR_GETCURRENTTIME 0x240 #define WERR_GETTICKCOUNT 0x280 #define WERR_GETTIMERRESOLUTION 0x2C0 #define WERR_LOGERROR 0x300 #define WERR_LOGPARAMERROR 0x340 #define WERR_GETWINDEBUGINFO 0x380 #define WERR_SETWINDEBUGINFO 0x3C0 #define WERR_FATALEXIT 0x400 #define WERR_FATALAPPEXIT 0x440 #define WERR_EXITWINDOWS 0x480 #define WERR_EXITWINDOWSEXEC 0x4C0 #define WERR_DEBUGBREAK 0x500 #define WERR_OUTPUTDEBUGSTRING 0x540 #define WERR_SETERRORMODE 0x580 #define WERR_ISBADREADPTR 0x5C0 #define WERR_ISBADWRITEPTR 0x600 #define WERR_ISBADHUGEREADPTR 0x640 #define WERR_ISBADHUGEWRITEPTR 0x680 #define WERR_ISBADCODEPTR 0x6C0 #define WERR_ISBADSTRINGPTR 0x700 #define WERR_PROFINSCHK 0x740 #define WERR_PROFSETUP 0x780 #define WERR_PROFSAMPRATE 0x7C0 #define WERR_PROFSTART 0x800 #define WERR_PROFSTOP 0x840 #define WERR_PROFCLEAR 0x880 #define WERR_PROFFLUSH 0x8C0 #define WERR_PROFFINISH 0x900 #define WERR_CATCH 0x940 #define WERR_THROW 0x980 #define WERR_SWITCHSTACKBACK 0x9C0 #define WERR_SWITCHSTACKTO 0xA00 #define WERR_LOADMODULE 0xA40 #define WERR_FREEMODULE 0xA80 #define WERR_LOADLIBRARY 0xAC0 #define WERR_FREELIBRARY 0xB00 #define WERR_WINEXEC 0xB40 #define WERR_GETMODULEHANDLE 0xB80 #define WERR_GETMODULEUSAGE 0xBC0 #define WERR_GETMODULEFILENAME 0xC00 #define WERR_GETPROCADDRESS 0xC40 #define WERR_GETINSTANCEDATA 0xC80 #define WERR_GETCODEHANDLE 0xCC0 #define WERR_GETCODEINFO 0xD00 #define WERR_MAKEPROCINSTANCE 0xD40 #define WERR_FREEPROCINSTANCE 0xD80 #define WERR_SETSWAPAREASIZE 0xDC0 #define WERR_SWAPRECORDING 0xE00 #define WERR_VALIDATECODESEGMENTS 0xE40 #define WERR_GETNUMTASKS 0xE80 #define WERR_ISTASK 0xEC0 #define WERR_GETCURRENTTASK 0xF00 #define WERR_YIELD 0xF40 #define WERR_DIRECTEDYIELD 0xF80 #define WERR_GLOBALALLOC 0xFC0 #define WERR_GLOBALREALLOC 0x1000 #define WERR_GLOBALFREE 0x1040 #define WERR_GLOBALDOSALLOC 0x1080 #define WERR_GLOBALDOSFREE 0x10C0 #define WERR_GLOBALLOCK 0x1100 //#define WERR_GLOBALLOCK 0x1140 #define WERR_GLOBALUNLOCK 0x1180 #define WERR_GLOBALSIZE 0x11C0 #define WERR_GLOBALHANDLE 0x1200 #define WERR_GLOBALFLAGS 0x1240 #define WERR_GLOBALWIRE 0x1280 //#define WERR_GLOBALWIRE 0x12C0 #define WERR_GLOBALUNWIRE 0x1300 #define WERR_GLOBALPAGELOCK 0x1340 #define WERR_GLOBALPAGEUNLOCK 0x1380 #define WERR_GLOBALFIX 0x13C0 #define WERR_GLOBALUNFIX 0x1400 #define WERR_GLOBALLRUNEWEST 0x1440 #define WERR_GLOBALLRUOLDEST 0x1480 #define WERR_GLOBALCOMPACT 0x14C0 #define WERR_GLOBALNOTIFY 0x1500 #define WERR_LOCKSEGMENT 0x1540 #define WERR_UNLOCKSEGMENT 0x1580 #define WERR_ALLOCSELECTOR 0x15C0 #define WERR_FREESELECTOR 0x1600 #define WERR_ALLOCDSTOCSALIAS 0x1640 #define WERR_PRESTOCHANGOSELECTOR 0x1680 #define WERR_GETSELECTORBASE 0x16C0 #define WERR_SETSELECTORBASE 0x1700 #define WERR_GETSELECTORLIMIT 0x1740 #define WERR_SETSELECTORLIMIT 0x1780 #define WERR_LIMITEMSPAGES 0x17C0 #define WERR_VALIDATEFREESPACES 0x1800 #define WERR_LOCALALLOC 0x1840 #define WERR_LOCALREALLOC 0x1880 #define WERR_LOCALFREE 0x18C0 #define WERR_LOCALLOCK 0x1900 //#define WERR_LOCALLOCK 0x1940 #define WERR_LOCALUNLOCK 0x1980 #define WERR_LOCALSIZE 0x19C0 #define WERR_LOCALHANDLE 0x1A00 //#define WERR_LOCALHANDLE 0x1A40 #define WERR_LOCALFLAGS 0x1A80 #define WERR_LOCALINIT 0x1AC0 #define WERR_LOCALCOMPACT 0x1B00 #define WERR_LOCALSHRINK 0x1B40 #define WERR_OPENFILE 0x1B80 #define WERR__LOPEN 0x1BC0 #define WERR__LCREAT 0x1C00 #define WERR__LCLOSE 0x1C40 #define WERR__LLSEEK 0x1C80 #define WERR__LREAD 0x1CC0 #define WERR__LWRITE 0x1D00 #define WERR__HREAD 0x1D40 #define WERR__HWRITE 0x1D80 #define WERR_GETTEMPFILENAME 0x1DC0 #define WERR_GETTEMPDRIVE 0x1E00 #define WERR_GETDRIVETYPE 0x1E40 #define WERR_SETHANDLECOUNT 0x1E80 #define WERR_WNETADDCONNECTION 0x1EC0 #define WERR_WNETGETCONNECTION 0x1F00 #define WERR_WNETCANCELCONNECTION 0x1F40 #define WERR_FINDRESOURCE 0x1F80 #define WERR_LOADRESOURCE 0x1FC0 #define WERR_FREERESOURCE 0x2000 #define WERR_LOCKRESOURCE 0x2040 //#define WERR_LOCKRESOURCE 0x2080 #define WERR_SIZEOFRESOURCE 0x20C0 #define WERR_ACCESSRESOURCE 0x2100 #define WERR_ALLOCRESOURCE 0x2140 #define WERR_SETRESOURCEHANDLER 0x2180 #define WERR_INITATOMTABLE 0x21C0 #define WERR_ADDATOM 0x2200 #define WERR_DELETEATOM 0x2240 #define WERR_FINDATOM 0x2280 #define WERR_GETATOMNAME 0x22C0 #define WERR_GLOBALADDATOM 0x2300 #define WERR_GLOBALDELETEATOM 0x2340 #define WERR_GLOBALFINDATOM 0x2380 #define WERR_GLOBALGETATOMNAME 0x23C0 #define WERR_GETATOMHANDLE 0x2400 #define WERR_GETPROFILEINT 0x2440 #define WERR_GETPROFILESTRING 0x2480 #define WERR_WRITEPROFILESTRING 0x24C0 #define WERR_GETPRIVATEPROFILEINT 0x2500 #define WERR_GETPRIVATEPROFILESTRING 0x2540 #define WERR_WRITEPRIVATEPROFILESTRING 0x2580 #define WERR_ANSITOOEM 0x25C0 #define WERR_OEMTOANSI 0x2600 #define WERR_ANSITOOEMBUFF 0x2640 #define WERR_OEMTOANSIBUFF 0x2680 #define WERR_ANSINEXT 0x26C0 #define WERR_ANSIPREV 0x2700 #define WERR_ANSIUPPER 0x2740 #define WERR_ANSILOWER 0x2780 #define WERR_ANSIUPPERBUFF 0x27C0 #define WERR_ANSILOWERBUFF 0x2800 #define WERR_ISCHARALPHA 0x2840 #define WERR_ISCHARALPHANUMERIC 0x2880 #define WERR_ISCHARUPPER 0x28C0 #define WERR_ISCHARLOWER 0x2900 #define WERR_LSTRCMP 0x2940 #define WERR_LSTRCMPI 0x2980 #define WERR_LSTRCPY 0x29C0 #define WERR_LSTRCAT 0x2A00 #define WERR_LSTRLEN 0x2A40 #define WERR_LSTRCPYN 0x2A80 #define WERR_HMEMCPY 0x2AC0 #define WERR_ISDBCSLEADBYTE 0x2B00 #define WERR_LOADSTRING 0x2B40 #define WERR_OEMKEYSCAN 0x2B80 #define WERR_VKKEYSCAN 0x2BC0 #define WERR_GETKEYBOARDTYPE 0x2C00 #define WERR_MAPVIRTUALKEY 0x2C40 #define WERR_GETKBCODEPAGE 0x2C80 #define WERR_GETKEYNAMETEXT 0x2CC0 #define WERR_TOASCII 0x2D00 #define WERR_CREATEDC 0x2D40 #define WERR_CREATEIC 0x2D80 #define WERR_CREATECOMPATIBLEDC 0x2DC0 #define WERR_DELETEDC 0x2E00 #define WERR_GETDCORG 0x2E40 #define WERR_SAVEDC 0x2E80 #define WERR_RESTOREDC 0x2EC0 #define WERR_SETENVIRONMENT 0x2F00 #define WERR_GETENVIRONMENT 0x2F40 #define WERR_MULDIV 0x2F80 #define WERR_SETBOUNDSRECT 0x2FC0 #define WERR_GETBOUNDSRECT 0x3000 #define WERR_GETDEVICECAPS 0x3040 #define WERR_SETMAPMODE 0x3080 #define WERR_GETMAPMODE 0x30C0 #define WERR_SETWINDOWORG 0x3100 #define WERR_GETWINDOWORG 0x3140 #define WERR_SETWINDOWEXT 0x3180 #define WERR_GETWINDOWEXT 0x31C0 #define WERR_OFFSETWINDOWORG 0x3200 #define WERR_SCALEWINDOWEXT 0x3240 #define WERR_SETVIEWPORTORG 0x3280 #define WERR_GETVIEWPORTORG 0x32C0 #define WERR_SETVIEWPORTEXT 0x3300 #define WERR_GETVIEWPORTEXT 0x3340 #define WERR_OFFSETVIEWPORTORG 0x3380 #define WERR_SCALEVIEWPORTEXT 0x33C0 #define WERR_SETWINDOWORGEX 0x3400 #define WERR_GETWINDOWORGEX 0x3440 #define WERR_SETWINDOWEXTEX 0x3480 #define WERR_GETWINDOWEXTEX 0x34C0 #define WERR_OFFSETWINDOWORGEX 0x3500 #define WERR_SCALEWINDOWEXTEX 0x3540 #define WERR_SETVIEWPORTEXTEX 0x3580 #define WERR_GETVIEWPORTEXTEX 0x35C0 #define WERR_SETVIEWPORTORGEX 0x3600 #define WERR_GETVIEWPORTORGEX 0x3640 #define WERR_OFFSETVIEWPORTORGEX 0x3680 #define WERR_SCALEVIEWPORTEXTEX 0x36C0 #define WERR_DPTOLP 0x3700 #define WERR_LPTODP 0x3740 #define WERR_GETNEARESTCOLOR 0x3780 #define WERR_GETSYSCOLOR 0x37C0 #define WERR_SETSYSCOLORS 0x3800 #define WERR_GETSTOCKOBJECT 0x3840 #define WERR_ISGDIOBJECT 0x3880 #define WERR_DELETEOBJECT 0x38C0 #define WERR_SELECTOBJECT 0x3900 #define WERR_GETOBJECT 0x3940 #define WERR_UNREALIZEOBJECT 0x3980 #define WERR_ENUMOBJECTS 0x39C0 //#define WERR_ENUMOBJECTS 0x3A00 #define WERR_CREATEPEN 0x3A40 #define WERR_CREATEPENINDIRECT 0x3A80 #define WERR_CREATESOLIDBRUSH 0x3AC0 #define WERR_CREATEHATCHBRUSH 0x3B00 #define WERR_CREATEPATTERNBRUSH 0x3B40 #define WERR_CREATEDIBPATTERNBRUSH 0x3B80 #define WERR_CREATEBRUSHINDIRECT 0x3BC0 #define WERR_SETBRUSHORG 0x3C00 #define WERR_GETBRUSHORG 0x3C40 #define WERR_GETBRUSHORGEX 0x3C80 #define WERR_CREATERECTRGN 0x3CC0 #define WERR_CREATERECTRGNINDIRECT 0x3D00 #define WERR_CREATEELLIPTICRGNINDIRECT 0x3D40 #define WERR_CREATEELLIPTICRGN 0x3D80 #define WERR_CREATEPOLYGONRGN 0x3DC0 #define WERR_CREATEPOLYPOLYGONRGN 0x3E00 #define WERR_CREATEROUNDRECTRGN 0x3E40 #define WERR_SETRECTRGN 0x3E80 #define WERR_COMBINERGN 0x3EC0 #define WERR_EQUALRGN 0x3F00 #define WERR_OFFSETRGN 0x3F40 #define WERR_GETRGNBOX 0x3F80 #define WERR_RECTINREGION 0x3FC0 #define WERR_PTINREGION 0x4000 #define WERR_CREATEPALETTE 0x4040 #define WERR_SELECTPALETTE 0x4080 #define WERR_REALIZEPALETTE 0x40C0 #define WERR_UPDATECOLORS 0x4100 #define WERR_ANIMATEPALETTE 0x4140 #define WERR_SETPALETTEENTRIES 0x4180 #define WERR_GETPALETTEENTRIES 0x41C0 #define WERR_GETNEARESTPALETTEINDEX 0x4200 #define WERR_RESIZEPALETTE 0x4240 #define WERR_GETSYSTEMPALETTEENTRIES 0x4280 #define WERR_GETSYSTEMPALETTEUSE 0x42C0 #define WERR_SETSYSTEMPALETTEUSE 0x4300 #define WERR_SELECTCLIPRGN 0x4340 #define WERR_GETCLIPBOX 0x4380 #define WERR_INTERSECTCLIPRECT 0x43C0 #define WERR_OFFSETCLIPRGN 0x4400 #define WERR_EXCLUDECLIPRECT 0x4440 #define WERR_PTVISIBLE 0x4480 #define WERR_RECTVISIBLE 0x44C0 #define WERR_MOVETO 0x4500 #define WERR_GETCURRENTPOSITION 0x4540 #define WERR_MOVETOEX 0x4580 #define WERR_GETCURRENTPOSITIONEX 0x45C0 #define WERR_LINETO 0x4600 #define WERR_POLYLINE 0x4640 #define WERR_LINEDDA 0x4680 #define WERR_RECTANGLE 0x46C0 #define WERR_ROUNDRECT 0x4700 #define WERR_ELLIPSE 0x4740 #define WERR_ARC 0x4780 #define WERR_CHORD 0x47C0 #define WERR_PIE 0x4800 #define WERR_POLYGON 0x4840 #define WERR_POLYPOLYGON 0x4880 #define WERR_SETPOLYFILLMODE 0x48C0 #define WERR_GETPOLYFILLMODE 0x4900 #define WERR_FLOODFILL 0x4940 #define WERR_EXTFLOODFILL 0x4980 #define WERR_FILLRGN 0x49C0 #define WERR_FRAMERGN 0x4A00 #define WERR_INVERTRGN 0x4A40 #define WERR_PAINTRGN 0x4A80 #define WERR_FILLRECT 0x4AC0 #define WERR_FRAMERECT 0x4B00 #define WERR_INVERTRECT 0x4B40 #define WERR_DRAWFOCUSRECT 0x4B80 #define WERR_TEXTOUT 0x4BC0 #define WERR_TABBEDTEXTOUT 0x4C00 #define WERR_EXTTEXTOUT 0x4C40 #define WERR_GETTEXTEXTENT 0x4C80 #define WERR_GETTABBEDTEXTEXTENT 0x4CC0 #define WERR_GETTEXTEXTENTPOINT 0x4D00 #define WERR_DRAWTEXT 0x4D40 #define WERR_GRAYSTRING 0x4D80 #define WERR_GETCHARWIDTH 0x4DC0 #define WERR_SETTEXTCOLOR 0x4E00 #define WERR_GETTEXTCOLOR 0x4E40 #define WERR_SETBKCOLOR 0x4E80 #define WERR_GETBKCOLOR 0x4EC0 #define WERR_SETBKMODE 0x4F00 #define WERR_GETBKMODE 0x4F40 #define WERR_SETTEXTALIGN 0x4F80 #define WERR_GETTEXTALIGN 0x4FC0 #define WERR_SETTEXTCHARACTEREXTRA 0x5000 #define WERR_GETTEXTCHARACTEREXTRA 0x5040 #define WERR_SETTEXTJUSTIFICATION 0x5080 #define WERR_CREATEFONT 0x50C0 #define WERR_CREATEFONTINDIRECT 0x5100 #define WERR_SETMAPPERFLAGS 0x5140 #define WERR_ADDFONTRESOURCE 0x5180 #define WERR_REMOVEFONTRESOURCE 0x51C0 #define WERR_GETTEXTFACE 0x5200 #define WERR_GETASPECTRATIOFILTER 0x5240 #define WERR_GETASPECTRATIOFILTEREX 0x5280 #define WERR_GETTEXTMETRICS 0x52C0 #define WERR_GETOUTLINETEXTMETRICS 0x5300 #define WERR_ENUMFONTFAMILIES 0x5340 #define WERR_ENUMFONTS 0x5380 //#define WERR_ENUMFONTS 0x53C0 //#define WERR_ENUMFONTFAMILIES 0x5400 #define WERR_GETFONTDATA 0x5440 #define WERR_CREATESCALABLEFONTRESOURCE 0x5480 #define WERR_GETGLYPHOUTLINE 0x54C0 #define WERR_GETCHARABCWIDTHS 0x5500 #define WERR_GETKERNINGPAIRS 0x5540 #define WERR_GETRASTERIZERCAPS 0x5580 #define WERR_CREATEBITMAP 0x55C0 #define WERR_CREATEBITMAPINDIRECT 0x5600 #define WERR_CREATECOMPATIBLEBITMAP 0x5640 #define WERR_CREATEDISCARDABLEBITMAP 0x5680 #define WERR_CREATEDIBITMAP 0x56C0 #define WERR_LOADBITMAP 0x5700 #define WERR_BITBLT 0x5740 #define WERR_PATBLT 0x5780 #define WERR_STRETCHBLT 0x57C0 #define WERR_STRETCHDIBITS 0x5800 #define WERR_SETPIXEL 0x5840 #define WERR_GETPIXEL 0x5880 #define WERR_SETSTRETCHBLTMODE 0x58C0 #define WERR_GETSTRETCHBLTMODE 0x5900 #define WERR_SETBITMAPDIMENSION 0x5940 #define WERR_GETBITMAPDIMENSION 0x5980 #define WERR_SETBITMAPDIMENSIONEX 0x59C0 #define WERR_GETBITMAPDIMENSIONEX 0x5A00 #define WERR_SETROP2 0x5A40 #define WERR_GETROP2 0x5A80 #define WERR_SETBITMAPBITS 0x5AC0 #define WERR_GETBITMAPBITS 0x5B00 #define WERR_SETDIBITS 0x5B40 #define WERR_GETDIBITS 0x5B80 #define WERR_SETDIBITSTODEVICE 0x5BC0 #define WERR_CREATEMETAFILE 0x5C00 #define WERR_CLOSEMETAFILE 0x5C40 #define WERR_GETMETAFILE 0x5C80 #define WERR_DELETEMETAFILE 0x5CC0 #define WERR_COPYMETAFILE 0x5D00 #define WERR_PLAYMETAFILE 0x5D40 #define WERR_GETMETAFILEBITS 0x5D80 #define WERR_SETMETAFILEBITS 0x5DC0 #define WERR_SETMETAFILEBITSBETTER 0x5E00 #define WERR_PLAYMETAFILERECORD 0x5E40 #define WERR_ENUMMETAFILE 0x5E80 #define WERR_STARTDOC 0x5EC0 #define WERR_STARTPAGE 0x5F00 #define WERR_ENDPAGE 0x5F40 #define WERR_ENDDOC 0x5F80 #define WERR_ABORTDOC 0x5FC0 #define WERR_SETABORTPROC 0x6000 #define WERR_SPOOLFILE 0x6040 #define WERR_QUERYABORT 0x6080 #define WERR_ESCAPE 0x60C0 #define WERR_GETSYSTEMMETRICS 0x6100 #define WERR_GETDOUBLECLICKTIME 0x6140 #define WERR_SETDOUBLECLICKTIME 0x6180 #define WERR_SYSTEMPARAMETERSINFO 0x61C0 #define WERR_SETRECT 0x6200 #define WERR_SETRECTEMPTY 0x6240 #define WERR_COPYRECT 0x6280 #define WERR_ISRECTEMPTY 0x62C0 #define WERR_EQUALRECT 0x6300 #define WERR_INTERSECTRECT 0x6340 #define WERR_UNIONRECT 0x6380 #define WERR_SUBTRACTRECT 0x63C0 #define WERR_OFFSETRECT 0x6400 #define WERR_INFLATERECT 0x6440 #define WERR_PTINRECT 0x6480 #define WERR_REGISTERWINDOWMESSAGE 0x64C0 #define WERR_GETMESSAGE 0x6500 #define WERR_PEEKMESSAGE 0x6540 #define WERR_WAITMESSAGE 0x6580 #define WERR_GETMESSAGEPOS 0x65C0 #define WERR_GETMESSAGETIME 0x6600 #define WERR_GETMESSAGEEXTRAINFO 0x6640 #define WERR_TRANSLATEMESSAGE 0x6680 #define WERR_DISPATCHMESSAGE 0x66C0 #define WERR_SETMESSAGEQUEUE 0x6700 #define WERR_GETINPUTSTATE 0x6740 #define WERR_GETQUEUESTATUS 0x6780 #define WERR_POSTMESSAGE 0x67C0 #define WERR_SENDMESSAGE 0x6800 #define WERR_POSTAPPMESSAGE 0x6840 #define WERR_REPLYMESSAGE 0x6880 #define WERR_INSENDMESSAGE 0x68C0 #define WERR_CALLMSGFILTER 0x6900 #define WERR_POSTQUITMESSAGE 0x6940 #define WERR_REGISTERCLASS 0x6980 #define WERR_UNREGISTERCLASS 0x69C0 #define WERR_GETCLASSINFO 0x6A00 #define WERR_GETCLASSNAME 0x6A40 #define WERR_GETCLASSWORD 0x6A80 #define WERR_SETCLASSWORD 0x6AC0 #define WERR_GETCLASSLONG 0x6B00 #define WERR_SETCLASSLONG 0x6B40 #define WERR_ISWINDOW 0x6B80 #define WERR_CREATEWINDOWEX 0x6BC0 #define WERR_CREATEWINDOW 0x6C00 #define WERR_DESTROYWINDOW 0x6C40 #define WERR_GETWINDOWTASK 0x6C80 #define WERR_ISCHILD 0x6CC0 #define WERR_GETPARENT 0x6D00 #define WERR_SETPARENT 0x6D40 #define WERR_ISWINDOWVISIBLE 0x6D80 #define WERR_SHOWWINDOW 0x6DC0 #define WERR_ENABLEWINDOW 0x6E00 #define WERR_ISWINDOWENABLED 0x6E40 #define WERR_SETWINDOWTEXT 0x6E80 #define WERR_GETWINDOWTEXT 0x6EC0 #define WERR_GETWINDOWTEXTLENGTH 0x6F00 #define WERR_GETWINDOWWORD 0x6F40 #define WERR_SETWINDOWWORD 0x6F80 #define WERR_GETWINDOWLONG 0x6FC0 #define WERR_SETWINDOWLONG 0x7000 #define WERR_GETCLIENTRECT 0x7040 #define WERR_GETWINDOWRECT 0x7080 #define WERR_GETWINDOWPLACEMENT 0x70C0 #define WERR_SETWINDOWPLACEMENT 0x7100 #define WERR_SETWINDOWPOS 0x7140 #define WERR_BEGINDEFERWINDOWPOS 0x7180 #define WERR_DEFERWINDOWPOS 0x71C0 #define WERR_ENDDEFERWINDOWPOS 0x7200 #define WERR_MOVEWINDOW 0x7240 #define WERR_BRINGWINDOWTOTOP 0x7280 #define WERR_DEFWINDOWPROC 0x72C0 #define WERR_CALLWINDOWPROC 0x7300 //#define WERR_CALLWINDOWPROC 0x7340 #define WERR_ADJUSTWINDOWRECT 0x7380 #define WERR_ADJUSTWINDOWRECTEX 0x73C0 #define WERR_FLASHWINDOW 0x7400 #define WERR_SHOWOWNEDPOPUPS 0x7440 #define WERR_OPENICON 0x7480 #define WERR_CLOSEWINDOW 0x74C0 #define WERR_ANYPOPUP 0x7500 #define WERR_ISICONIC 0x7540 #define WERR_ISZOOMED 0x7580 #define WERR_CLIENTTOSCREEN 0x75C0 #define WERR_SCREENTOCLIENT 0x7600 #define WERR_MAPWINDOWPOINTS 0x7640 #define WERR_WINDOWFROMPOINT 0x7680 #define WERR_CHILDWINDOWFROMPOINT 0x76C0 #define WERR_GETDESKTOPWINDOW 0x7700 #define WERR_FINDWINDOW 0x7740 #define WERR_ENUMWINDOWS 0x7780 #define WERR_ENUMCHILDWINDOWS 0x77C0 #define WERR_ENUMTASKWINDOWS 0x7800 #define WERR_GETTOPWINDOW 0x7840 #define WERR_GETWINDOW 0x7880 #define WERR_GETNEXTWINDOW 0x78C0 #define WERR_SETPROP 0x7900 #define WERR_GETPROP 0x7940 #define WERR_REMOVEPROP 0x7980 #define WERR_ENUMPROPS 0x79C0 #define WERR_GETDC 0x7A00 #define WERR_RELEASEDC 0x7A40 #define WERR_GETWINDOWDC 0x7A80 #define WERR_GETDCEX 0x7AC0 #define WERR_BEGINPAINT 0x7B00 #define WERR_ENDPAINT 0x7B40 #define WERR_UPDATEWINDOW 0x7B80 #define WERR_EXCLUDEUPDATERGN 0x7BC0 #define WERR_LOCKWINDOWUPDATE 0x7C00 #define WERR_GETUPDATERECT 0x7C40 #define WERR_GETUPDATERGN 0x7C80 #define WERR_INVALIDATERECT 0x7CC0 #define WERR_VALIDATERECT 0x7D00 #define WERR_INVALIDATERGN 0x7D40 #define WERR_VALIDATERGN 0x7D80 #define WERR_REDRAWWINDOW 0x7DC0 #define WERR_SCROLLWINDOW 0x7E00 #define WERR_SCROLLDC 0x7E40 #define WERR_SCROLLWINDOWEX 0x7E80 #define WERR_SETACTIVEWINDOW 0x7EC0 #define WERR_GETACTIVEWINDOW 0x7F00 #define WERR_GETLASTACTIVEPOPUP 0x7F40 #define WERR_SETFOCUS 0x7F80 #define WERR_GETFOCUS 0x7FC0 #define WERR_GETKEYSTATE 0x8000 #define WERR_GETASYNCKEYSTATE 0x8040 #define WERR_GETKEYBOARDSTATE 0x8080 #define WERR_SETKEYBOARDSTATE 0x80C0 #define WERR_SETCAPTURE 0x8100 #define WERR_RELEASECAPTURE 0x8140 #define WERR_GETCAPTURE 0x8180 #define WERR_SWAPMOUSEBUTTON 0x81C0 #define WERR_GETSYSMODALWINDOW 0x8200 #define WERR_SETSYSMODALWINDOW 0x8240 #define WERR_SETTIMER 0x8280 #define WERR_KILLTIMER 0x82C0 #define WERR_LOADACCELERATORS 0x8300 #define WERR_TRANSLATEACCELERATOR 0x8340 #define WERR_ISMENU 0x8380 #define WERR_CREATEMENU 0x83C0 #define WERR_CREATEPOPUPMENU 0x8400 #define WERR_LOADMENU 0x8440 #define WERR_LOADMENUINDIRECT 0x8480 #define WERR_DESTROYMENU 0x84C0 #define WERR_GETMENU 0x8500 #define WERR_SETMENU 0x8540 #define WERR_GETSYSTEMMENU 0x8580 #define WERR_DRAWMENUBAR 0x85C0 #define WERR_HILITEMENUITEM 0x8600 #define WERR_INSERTMENU 0x8640 #define WERR_APPENDMENU 0x8680 #define WERR_MODIFYMENU 0x86C0 #define WERR_REMOVEMENU 0x8700 #define WERR_DELETEMENU 0x8740 #define WERR_CHANGEMENU 0x8780 #define WERR_ENABLEMENUITEM 0x87C0 #define WERR_CHECKMENUITEM 0x8800 #define WERR_GETSUBMENU 0x8840 #define WERR_GETMENUITEMCOUNT 0x8880 #define WERR_GETMENUITEMID 0x88C0 #define WERR_GETMENUSTRING 0x8900 #define WERR_GETMENUSTATE 0x8940 #define WERR_SETMENUITEMBITMAPS 0x8980 #define WERR_GETMENUCHECKMARKDIMENSIONS 0x89C0 #define WERR_TRACKPOPUPMENU 0x8A00 #define WERR_SETSCROLLPOS 0x8A40 #define WERR_GETSCROLLPOS 0x8A80 #define WERR_SETSCROLLRANGE 0x8AC0 #define WERR_GETSCROLLRANGE 0x8B00 #define WERR_SHOWSCROLLBAR 0x8B40 #define WERR_ENABLESCROLLBAR 0x8B80 #define WERR_OPENCLIPBOARD 0x8BC0 #define WERR_CLOSECLIPBOARD 0x8C00 #define WERR_EMPTYCLIPBOARD 0x8C40 #define WERR_GETOPENCLIPBOARDWINDOW 0x8C80 #define WERR_GETCLIPBOARDOWNER 0x8CC0 #define WERR_SETCLIPBOARDVIEWER 0x8D00 #define WERR_GETCLIPBOARDVIEWER 0x8D40 #define WERR_SETCLIPBOARDDATA 0x8D80 #define WERR_GETCLIPBOARDDATA 0x8DC0 #define WERR_ISCLIPBOARDFORMATAVAILABLE 0x8E00 #define WERR_GETPRIORITYCLIPBOARDFORMAT 0x8E40 #define WERR_REGISTERCLIPBOARDFORMAT 0x8E80 #define WERR_COUNTCLIPBOARDFORMATS 0x8EC0 #define WERR_ENUMCLIPBOARDFORMATS 0x8F00 #define WERR_GETCLIPBOARDFORMATNAME 0x8F40 #define WERR_CHANGECLIPBOARDCHAIN 0x8F80 #define WERR_LOADCURSOR 0x8FC0 #define WERR_CREATECURSOR 0x9000 #define WERR_DESTROYCURSOR 0x9040 #define WERR_COPYCURSOR 0x9080 #define WERR_SHOWCURSOR 0x90C0 #define WERR_SETCURSORPOS 0x9100 #define WERR_GETCURSORPOS 0x9140 #define WERR_SETCURSOR 0x9180 #define WERR_GETCURSOR 0x91C0 #define WERR_CLIPCURSOR 0x9200 #define WERR_GETCLIPCURSOR 0x9240 #define WERR_LOADICON 0x9280 #define WERR_CREATEICON 0x92C0 #define WERR_DESTROYICON 0x9300 #define WERR_COPYICON 0x9340 #define WERR_DRAWICON 0x9380 #define WERR_MESSAGEBOX 0x93C0 #define WERR_MESSAGEBEEP 0x9400 #define WERR_CREATECARET 0x9440 #define WERR_DESTROYCARET 0x9480 #define WERR_SETCARETPOS 0x94C0 #define WERR_GETCARETPOS 0x9500 #define WERR_HIDECARET 0x9540 #define WERR_SHOWCARET 0x9580 #define WERR_GETCARETBLINKTIME 0x95C0 #define WERR_SETCARETBLINKTIME 0x9600 #define WERR_DEFFRAMEPROC 0x9640 #define WERR_DEFMDICHILDPROC 0x9680 #define WERR_TRANSLATEMDISYSACCEL 0x96C0 #define WERR_ARRANGEICONICWINDOWS 0x9700 #define WERR_ISDIALOGMESSAGE 0x9740 #define WERR_DEFDLGPROC 0x9780 #define WERR_CREATEDIALOG 0x97C0 #define WERR_CREATEDIALOGINDIRECT 0x9800 #define WERR_CREATEDIALOGPARAM 0x9840 #define WERR_CREATEDIALOGINDIRECTPARAM 0x9880 #define WERR_DIALOGBOX 0x98C0 #define WERR_DIALOGBOXINDIRECT 0x9900 #define WERR_DIALOGBOXPARAM 0x9940 #define WERR_DIALOGBOXINDIRECTPARAM 0x9980 #define WERR_ENDDIALOG 0x99C0 #define WERR_GETDLGCTRLID 0x9A00 #define WERR_GETDLGITEM 0x9A40 #define WERR_SENDDLGITEMMESSAGE 0x9A80 #define WERR_SETDLGITEMINT 0x9AC0 #define WERR_GETDLGITEMINT 0x9B00 #define WERR_SETDLGITEMTEXT 0x9B40 #define WERR_GETDLGITEMTEXT 0x9B80 #define WERR_CHECKDLGBUTTON 0x9BC0 #define WERR_CHECKRADIOBUTTON 0x9C00 #define WERR_ISDLGBUTTONCHECKED 0x9C40 #define WERR_GETNEXTDLGGROUPITEM 0x9C80 #define WERR_GETNEXTDLGTABITEM 0x9CC0 #define WERR_MAPDIALOGRECT 0x9D00 #define WERR_GETDIALOGBASEUNITS 0x9D40 #define WERR_DLGDIRLIST 0x9D80 #define WERR_DLGDIRSELECT 0x9DC0 #define WERR_DLGDIRLISTCOMBOBOX 0x9E00 #define WERR_DLGDIRSELECTCOMBOBOX 0x9E40 #define WERR_DLGDIRSELECTEX 0x9E80 #define WERR_DLGDIRSELECTCOMBOBOXEX 0x9EC0 #define WERR_SETWINDOWSHOOK 0x9F00 #define WERR_DEFHOOKPROC 0x9F40 //#define WERR_SETWINDOWSHOOK 0x9F80 //#define WERR_DEFHOOKPROC 0x9FC0 #define WERR_UNHOOKWINDOWSHOOK 0xA000 #define WERR_SETWINDOWSHOOKEX 0xA040 #define WERR_UNHOOKWINDOWSHOOKEX 0xA080 #define WERR_CALLNEXTHOOKEX 0xA0C0 #define WERR_ENABLEHARDWAREINPUT 0xA100 #define WERR_QUERYSENDMESSAGE 0xA140 #define WERR_LOCKINPUT 0xA180 #define WERR_GETSYSTEMDEBUGSTATE 0xA1C0 #define WERR_WINHELP 0xA200 #define WERR_OPENSOUND 0xA240 #define WERR_CLOSESOUND 0xA280 #define WERR_STARTSOUND 0xA2C0 #define WERR_STOPSOUND 0xA300 #define WERR_SETVOICEQUEUESIZE 0xA340 #define WERR_SETVOICENOTE 0xA380 #define WERR_SETVOICEACCENT 0xA3C0 #define WERR_SETVOICEENVELOPE 0xA400 #define WERR_SETVOICESOUND 0xA440 #define WERR_SETVOICETHRESHOLD 0xA480 #define WERR_GETTHRESHOLDEVENT 0xA4C0 #define WERR_GETTHRESHOLDSTATUS 0xA500 #define WERR_SETSOUNDNOISE 0xA540 #define WERR_WAITSOUNDSTATE 0xA580 #define WERR_SYNCALLVOICES 0xA5C0 #define WERR_COUNTVOICENOTES 0xA600 #define WERR_BUILDCOMMDCB 0xA640 #define WERR_OPENCOMM 0xA680 #define WERR_CLOSECOMM 0xA6C0 #define WERR_READCOMM 0xA700 #define WERR_WRITECOMM 0xA740 #define WERR_UNGETCOMMCHAR 0xA780 #define WERR_FLUSHCOMM 0xA7C0 #define WERR_TRANSMITCOMMCHAR 0xA800 #define WERR_SETCOMMSTATE 0xA840 #define WERR_GETCOMMSTATE 0xA880 #define WERR_GETCOMMERROR 0xA8C0 #define WERR_SETCOMMBREAK 0xA900 #define WERR_CLEARCOMMBREAK 0xA940 #define WERR_SETCOMMEVENTMASK 0xA980 #define WERR_GETCOMMEVENTMASK 0xA9C0 #define WERR_ESCAPECOMMFUNCTION 0xAA00 #define WERR_ENABLECOMMNOTIFICATION 0xAA40 #define WERR_WVSPRINTF 0xAA80 #define WERR_DEFDRIVERPROC 0xAAC0 #define WERR_OPENDRIVER 0xAB00 #define WERR_CLOSEDRIVER 0xAB40 #define WERR_SENDDRIVERMESSAGE 0xAB80 #define WERR_GETDRIVERMODULEHANDLE 0xABC0 #define WERR_GETNEXTDRIVER 0xAC00 #define WERR_GETDRIVERINFO 0xAC40 #endif // _ERRORMOD_H