LPWORD TYPEDEF PTR WORD
enum MACRO Consts:VARARG
%	FOR parm,<Consts>
	%	parm equ curr_id
	;%	echo @CatStr(<parm>,<=>,%curr_id)
	;%	echo @CatStr(<#define >,<parm>,< >,%curr_id)
		curr_id=curr_id+1
	ENDM
ENDM
enf MACRO Consts:VARARG 
%   FOR parm,<Consts>
	%	parm equ (1 shl curr_id)
	;%	echo @CatStr(<parm>,<=>,%(1 shl curr_id))
	;%	echo @CatStr(<#define >,<parm>,< >,%(1 shl curr_id))
		curr_id=curr_id+1
    ENDM
ENDM
dstr MACRO ControlNames:VARARG
%	FOR ControlName,<ControlNames>
		DEFINE_STRING CATSTR <_>,<ControlName>,< db ">,<ControlName>,<",0>
	%	DEFINE_STRING
		DEFINE_STRING CATSTR <ControlName>,< equ !<addr _>,<ControlName>,<!>>
	%	DEFINE_STRING
	ENDM
ENDM
bpx macro
	call IsDebuggerPresent
	test eax,eax
	jz $+3
	int 3
endm
IFDEF WIN32
	STRUCT_ALIGN	equ 4
ELSE
	STRUCT_ALIGN	equ 8
ENDIF
POWORD TYPEDEF PTR OWORD
WCHAR TYPEDEF WORD
LPWCHAR TYPEDEF PTR WCHAR
ATOM TYPEDEF WORD
bptr equ <byte ptr>
wptr equ <word ptr>
dptr equ <dword ptr>
qptr equ <qword ptr>
optr equ <oword ptr>
HBRUSH TYPEDEF PTR
HCURSOR	TYPEDEF PTR
HICON TYPEDEF PTR
FILE TYPEDEF PTR
LONG64 TYPEDEF QWORD
UINT64 TYPEDEF QWORD
HFONT TYPEDEF PTR BYTE
ANYARGS	TYPEDEF PROTO :VARARG
PANYARGS TYPEDEF PTR ANYARGS
HANDLE TYPEDEF PTR
HRESULT TYPEDEF DWORD
PVOID TYPEDEF PTR
HINSTANCE TYPEDEF PVOID
LPVOID TYPEDEF PVOID
HMODULE TYPEDEF PVOID
BOOL TYPEDEF DWORD
ULONG TYPEDEF DWORD
COLORREF TYPEDEF DWORD
HINTERNET TYPEDEF QWORD
BOOLEAN TYPEDEF BYTE
PULONG TYPEDEF PTR DWORD
__int64 TYPEDEF QWORD
ARG0 TYPEDEF PROTO
ULONG64 TYPEDEF QWORD
PULONG64 TYPEDEF PTR ULONG64
LPSTR TYPEDEF PTR BYTE
LPPSTR TYPEDEF PTR LPSTR
PWSTR TYPEDEF PTR WORD
USHORT TYPEDEF WORD
u_char	TYPEDEF BYTE
u_short	TYPEDEF WORD
u_int	TYPEDEF DWORD
long	TYPEDEF DWORD
LONG	TYPEDEF DWORD
u_long	TYPEDEF DWORD
CHAR	TYPEDEF BYTE
char	TYPEDEF BYTE
CCHAR	TYPEDEF BYTE
UCHAR	TYPEDEF BYTE
PCHAR	TYPEDEF PTR BYTE
PBYTE	TYPEDEF PTR BYTE
ULONGLONG TYPEDEF QWORD
LONGLONG TYPEDEF QWORD
USHORT	TYPEDEF WORD
PUSHORT	TYPEDEF PTR WORD
UINT	TYPEDEF DWORD
PSECURITY_DESCRIPTOR	TYPEDEF PTR BYTE
USN		TYPEDEF QWORD
PULARGE_INTEGER	TYPEDEF PTR ULARGE_INTEGER
DWORDLONG		TYPEDEF QWORD
PDWORDLONG		TYPEDEF PTR QWORD
CSHORT			TYPEDEF WORD
LPCTSTR			TYPEDEF PTR BYTE
LPARAM			TYPEDEF PVOID
HWND			TYPEDEF HANDLE
WPARAM			TYPEDEF PVOID
LF_FACESIZE		equ 32
HDC				TYPEDEF HANDLE
LPBYTE			TYPEDEF PTR BYTE
LPTSTR			TYPEDEF PTR WORD
LPDWORD			TYPEDEF PTR DWORD
CFHookProc TYPEDEF PROTO hdlg:HWND,uiMsg:UINT,wParam:WPARAM,lParam:LPARAM
LPCFHOOKPROC	TYPEDEF PTR CFHookProc
OFNHookProcOldStyle TYPEDEF PROTO hdlg:HWND,uiMsg:UINT,wParam:WPARAM,lParam:LPARAM
LPOFNHOOKPROC	TYPEDEF PTR OFNHookProcOldStyle
ThreadProc	TYPEDEF PROTO lpParameter:LPVOID
LPTHREAD_START_ROUTINE	TYPEDEF PTR ThreadProc
ULONG_PTR	TYPEDEF PVOID
SYSTEM_POWER_STATE	TYPEDEF DWORD
DWORD_PTR		TYPEDEF QWORD
HLOCAL			TYPEDEF HANDLE
PCSTR			TYPEDEF PTR BYTE
PSTR			TYPEDEF PTR BYTE
PCWSTR			TYPEDEF PTR WORD
WindowProc	TYPEDEF PROTO hwnd:HWND,uMsg:UINT,wParam:WPARAM,lParam:LPARAM
WNDPROC		TYPEDEF PTR WindowProc
curr_id=0
FACILITY_NT_BIT	equ 10000000h
INT16	TYPEDEF SWORD
UINT16	TYPEDEF WORD
HRESULT_FROM_NT MACRO _NT:REQ
	EXITM<((HRESULT) PTR ((_NT) OR FACILITY_NT_BIT))>
ENDM
enum PowerSystemUnspecified	;0
enum PowerSystemWorking		;1
enum PowerSystemSleeping1	;2
enum PowerSystemSleeping2	;3
enum PowerSystemSleeping3	;4
enum PowerSystemHibernate	;5
enum PowerSystemShutdown	;6
enum PowerSystemMaximum		;7
LOGBRUSH STRUC
	lbStyle	UINT ?
	lbColor	COLORREF ?
	lbHatch	LONG ?
LOGBRUSH ENDS
PLOGBRUSH	TYPEDEF PTR LOGBRUSH
curr_id=1
enum EXCEPTION_DEBUG_EVENT		;1
enum CREATE_THREAD_DEBUG_EVENT	;2
enum CREATE_PROCESS_DEBUG_EVENT	;3
enum EXIT_THREAD_DEBUG_EVENT	;4
enum EXIT_PROCESS_DEBUG_EVENT	;5
enum LOAD_DLL_DEBUG_EVENT		;6
enum UNLOAD_DLL_DEBUG_EVENT		;7
enum OUTPUT_DEBUG_STRING_EVENT	;8
enum RIP_EVENT					;9
LARGE_INTEGER UNION
    STRUCT
		LowPart  DWORD ?
		HighPart DWORD ?
	ENDS
	QuadPart QWORD ?
LARGE_INTEGER ENDS
EXCEPTION_MAXIMUM_PARAMETERS	equ 15
RIP_INFO STRUC
	dwError	DWORD ?
	dwType	DWORD ?
RIP_INFO ENDS
LPRIP_INFO	TYPEDEF PTR RIP_INFO
OUTPUT_DEBUG_STRING_INFO STRUC
	lpDebugStringData	LPSTR ?
	fUnicode			WORD ?
	nDebugStringLength	WORD ?
OUTPUT_DEBUG_STRING_INFO ENDS
LPOUTPUT_DEBUG_STRING_INFO	TYPEDEF PTR OUTPUT_DEBUG_STRING_INFO
UNLOAD_DLL_DEBUG_INFO STRUC
	lpBaseOfDll	LPVOID ?
UNLOAD_DLL_DEBUG_INFO ENDS
LPUNLOAD_DLL_DEBUG_INFO	TYPEDEF PTR UNLOAD_DLL_DEBUG_INFO
LOAD_DLL_DEBUG_INFO STRUC
	hFile					HANDLE ?
	lpBaseOfDll				LPVOID ?
	dwDebugInfoFileOffset	DWORD ?
	nDebugInfoSize			DWORD ?
	lpImageName				LPVOID ?
	fUnicode				WORD ?
LOAD_DLL_DEBUG_INFO ENDS
LPLOAD_DLL_DEBUG_INFO	TYPEDEF PTR LOAD_DLL_DEBUG_INFO
EXIT_PROCESS_DEBUG_INFO STRUC
	dwExitCode	DWORD ?
EXIT_PROCESS_DEBUG_INFO ENDS
LPEXIT_PROCESS_DEBUG_INFO	TYPEDEF PTR EXIT_PROCESS_DEBUG_INFO
EXIT_THREAD_DEBUG_INFO STRUC
	dwExitCode	DWORD ?
EXIT_THREAD_DEBUG_INFO ENDS
LPEXIT_THREAD_DEBUG_INFO	TYPEDEF PTR EXIT_THREAD_DEBUG_INFO
CREATE_PROCESS_DEBUG_INFO STRUC
	hFile					HANDLE ?
	hProcess				HANDLE ?
	hThread					HANDLE ?
	lpBaseOfImage			LPVOID ?
	dwDebugInfoFileOffset	DWORD ?
	nDebugInfoSize			DWORD ?
	lpThreadLocalBase		LPVOID ?
	lpStartAddress			LPTHREAD_START_ROUTINE ?
	lpImageName				LPVOID ?
	fUnicode				WORD ?
CREATE_PROCESS_DEBUG_INFO ENDS
LPCREATE_PROCESS_DEBUG_INFO	TYPEDEF PTR CREATE_PROCESS_DEBUG_INFO
CREATE_THREAD_DEBUG_INFO STRUC
	hThread				HANDLE ?
	lpThreadLocalBase	LPVOID ?
	lpStartAddress		LPTHREAD_START_ROUTINE ?
CREATE_THREAD_DEBUG_INFO ENDS
LPCREATE_THREAD_DEBUG_INFO	TYPEDEF PTR CREATE_THREAD_DEBUG_INFO
EXCEPTION_RECORD32 STRUC
	ExceptionCode			DWORD ?
	ExceptionFlags			DWORD ?
	ExceptionRecord			DWORD ?
	ExceptionAddress		DWORD ?
	NumberParameters		DWORD ?
	ExceptionInformation	DWORD EXCEPTION_MAXIMUM_PARAMETERS dup(?)
EXCEPTION_RECORD32 ENDS
PEXCEPTION_RECORD32	TYPEDEF PTR EXCEPTION_RECORD32
PEXCEPTION_RECORD	TYPEDEF PVOID
EXCEPTION_RECORD STRUC
	ExceptionCode			DWORD ?
	ExceptionFlags			DWORD ?
	ExceptionRecord			PEXCEPTION_RECORD ?
    ExceptionAddress		PVOID ?
	NumberParameters		DWORD ?
							DWORD ?
	ExceptionInformation	ULONG_PTR EXCEPTION_MAXIMUM_PARAMETERS dup(?)
EXCEPTION_RECORD ENDS
EXCEPTION_DEBUG_INFO STRUC
	ExceptionRecord	EXCEPTION_RECORD{}
	dwFirstChance	DWORD ?
EXCEPTION_DEBUG_INFO ENDS
LPEXCEPTION_DEBUG_INFO	TYPEDEF PTR EXCEPTION_DEBUG_INFO
DEBUG_EVENT STRUC
	dwDebugEventCode	DWORD ?
	dwProcessId			DWORD ?
	dwThreadId			DWORD ?
						DWORD ?
	UNION
		Exception			EXCEPTION_DEBUG_INFO{}
		CreateThread		CREATE_THREAD_DEBUG_INFO{}
		CreateProcessInfo	CREATE_PROCESS_DEBUG_INFO{}
		ExitThread			EXIT_THREAD_DEBUG_INFO{}
		ExitProcess			EXIT_PROCESS_DEBUG_INFO{}
		LoadDll				LOAD_DLL_DEBUG_INFO{}
		UnloadDll			UNLOAD_DLL_DEBUG_INFO{}
		DebugString			OUTPUT_DEBUG_STRING_INFO{}
		RipInfo				RIP_INFO{}
	ENDS
DEBUG_EVENT ENDS
LPDEBUG_EVENT	TYPEDEF PTR DEBUG_EVENT
LUID STRUC
	LowPart		DWORD ?
	HighPart	LONG ?
LUID ENDS
PLUID	TYPEDEF PTR LUID
LUID_AND_ATTRIBUTES STRUC
	Luid		LUID{}
	Attributes	DWORD ?
LUID_AND_ATTRIBUTES	ENDS
PLUID_AND_ATTRIBUTES	TYPEDEF PTR LUID_AND_ATTRIBUTES
TOKEN_PRIVILEGES STRUC
	PrivilegeCount	DWORD ?
	Privileges		LUID_AND_ATTRIBUTES{}
TOKEN_PRIVILEGES ENDS
PTOKEN_PRIVILEGES	TYPEDEF PTR TOKEN_PRIVILEGES
WAIT_TIMEOUT		equ 102h
WAIT_IO_COMPLETION	equ 0C0h
CRITICAL_SECTION STRUC
	DebugInfo		PVOID ?
	LockCount		LONG ?
	RecursionCount	LONG ?
	OwningThread	HANDLE ?
	LockSemaphore	HANDLE ?
	SpinCount		DWORD ?
					DWORD ?
CRITICAL_SECTION ENDS
LPCRITICAL_SECTION	TYPEDEF PTR CRITICAL_SECTION
SYSTEM_INFO STRUC
	UNION
		dwOemId	DWORD ?
		STRUC     
			wProcessorArchitecture	WORD ?
			wReserved				WORD ?
		ENDS
    ENDS
	dwPageSize						DWORD ?
									DWORD ?
	lpMinimumApplicationAddress		LPVOID ?
	lpMaximumApplicationAddress		LPVOID ?
	dwActiveProcessorMask			DWORD_PTR ?
	dwNumberOfProcessors			DWORD ?
	dwProcessorType					DWORD ?
	dwAllocationGranularity			DWORD ?
	wProcessorLevel					WORD ?
	wProcessorRevision				WORD ?
SYSTEM_INFO ENDS
LPSYSTEM_INFO	TYPEDEF PTR SYSTEM_INFO
OPENFILENAME STRUC
	lStructSize			DWORD 2 dup(?)
	hwndOwner			HWND ?
	hInstance			HINSTANCE ?
	lpstrFilter			LPCTSTR ?
	lpstrCustomFilter	LPTSTR ?
	nMaxCustFilter		DWORD ?
	nFilterIndex		DWORD ?
	lpstrFile	 		LPTSTR ?
	nMaxFile			DWORD 2 dup(?)
	lpstrFileTitle		LPTSTR ?
	nMaxFileTitle		DWORD 2 dup(?)
	lpstrInitialDir		LPCTSTR ?
	lpstrTitle			LPCTSTR ?
	Flags				DWORD ?
	nFileOffset			WORD ?
	nFileExtension		WORD ?
	lpstrDefExt			LPCTSTR ?
	lCustData			LPARAM ?
	lpfnHook			LPOFNHOOKPROC ?
	lpTemplateName		LPCTSTR ?
	pvReserved			PVOID ?
	dwReserved			DWORD ?
	FlagsEx				DWORD ?
OPENFILENAME ENDS
LPOPENFILENAME	TYPEDEF PTR OPENFILENAME
curr_id=0
enum SystemPowerPolicyAc			;00
enum SystemPowerPolicyDc			;01
enum VerifySystemPolicyAc			;02
enum VerifySystemPolicyDc			;03
enum SystemPowerCapabilities		;04
enum SystemBatteryState				;05
curr_id=8
enum SystemPowerPolicyCurrent		;08
enum AdministratorPowerPolicy		;09
enum SystemReserveHiberFile			;10
enum ProcessorInformation			;11
enum SystemPowerInformation			;12
curr_id=14
enum LastWakeTime					;14
enum LastSleepTime					;15
enum SystemExecutionState			;16
curr_id=18
enum ProcessorPowerPolicyAc			;18
enum ProcessorPowerPolicyDc			;19
enum VerifyProcessorPowerPolicyAc	;20
enum VerifyProcessorPowerPolicyDc	;21
enum ProcessorPowerPolicyCurrent	;22
BATTERY_REPORTING_SCALE STRUC
	Granularity	ULONG ?
	Capacity	ULONG ?
BATTERY_REPORTING_SCALE ENDS
PBATTERY_REPORTING_SCALE	TYPEDEF PTR BATTERY_REPORTING_SCALE
SYSTEM_POWER_CAPABILITIES STRUC 
	PowerButtonPresent		BOOLEAN ?
	SleepButtonPresent		BOOLEAN ?
	LidPresent				BOOLEAN ?
	SystemS1				BOOLEAN ?
	SystemS2		 		BOOLEAN ?
	SystemS3				BOOLEAN ?
	SystemS4				BOOLEAN ?
	SystemS5	 			BOOLEAN ?
	HiberFilePresent		BOOLEAN ?
	FullWake	 			BOOLEAN ? 
	VideoDimPresent			BOOLEAN ?
	ApmPresent				BOOLEAN ?
	UpsPresent				BOOLEAN ?
	ThermalControl			BOOLEAN ?
	ProcessorThrottle		BOOLEAN ?
	ProcessorMinThrottle	BYTE ?
	ProcessorMaxThrottle	BYTE ? 
	FastSystemS4	  		BOOLEAN ?
	spare2					BYTE 3 dup(?)
	DiskSpinDown	  		BOOLEAN ?
	spare3					BYTE 8 dup(?) 
	SystemBatteriesPresent	BOOLEAN ?
	BatteriesAreShortTerm	BOOLEAN ?
	BatteryScale			BATTERY_REPORTING_SCALE 3 dup({})
	AcOnLineWake			SYSTEM_POWER_STATE ?
	SoftLidWake				SYSTEM_POWER_STATE ?
	RtcWake					SYSTEM_POWER_STATE ?
	MinDeviceWakeState		SYSTEM_POWER_STATE ?
	DefaultLowLatencyWake	SYSTEM_POWER_STATE ?
SYSTEM_POWER_CAPABILITIES ENDS
PSYSTEM_POWER_CAPABILITIES	TYPEDEF PTR SYSTEM_POWER_CAPABILITIES
PROCESSOR_POWER_INFORMATION STRUC
	Number				ULONG ?
	MaxMhz	 			ULONG ? 
	CurrentMhz			ULONG ?  
	MhzLimit	 		ULONG ?
	MaxIdleState		ULONG ?
	CurrentIdleState	ULONG ?
PROCESSOR_POWER_INFORMATION ENDS
PPROCESSOR_POWER_INFORMATION	TYPEDEF PTR PROCESSOR_POWER_INFORMATION
LOGFONTA STRUCT
  lfHeight          DWORD      ?
  lfWidth           DWORD      ?
  lfEscapement      DWORD      ?
  lfOrientation     DWORD      ?
  lfWeight          DWORD      ?
  lfItalic          BYTE      ?
  lfUnderline       BYTE      ?
  lfStrikeOut       BYTE      ?
  lfCharSet         BYTE      ?
  lfOutPrecision    BYTE      ?
  lfClipPrecision   BYTE      ?
  lfQuality         BYTE      ?
  lfPitchAndFamily  BYTE      ?
  lfFaceName        BYTE LF_FACESIZE dup(?)
  					BYTE 4 dup(?)
LOGFONTA ENDS
LOGFONT TYPEDEF LOGFONTA
LPLOGFONT	TYPEDEF PTR LOGFONT
CHOOSEFONTA STRUC
	lStructSize		DWORD ?
					DWORD ?
	hwndOwner		HWND ?
	hDC				HDC ?
	lpLogFont		LPLOGFONT ?
	iPointSize		UINT ?
	Flags			DWORD ?
	rgbColors		COLORREF ?
					DWORD ?
	lCustData		LPARAM ?
	lpfnHook		LPCFHOOKPROC ?
	lpTemplateName	LPSTR ?
	hInstance		HINSTANCE ?
	lpszStyle		LPSTR ?
	nFontType		WORD ?
					WORD ?
	nSizeMin		UINT ?
	nSizeMax		UINT ?
					DWORD ?
CHOOSEFONTA ENDS
CHOOSEFONT		TYPEDEF CHOOSEFONTA
LPCHOOSEFONT	TYPEDEF PTR CHOOSEFONT
CHARRANGE STRUC
	cpMin	LONG ?
	cpMax	LONG ?
CHARRANGE ENDS
TEXTRANGE STRUC
	chrg		CHARRANGE{}
	lpstrText	LPSTR ?
TEXTRANGE ENDS
CHARFORMAT STRUC
	cbSize			UINT ?
	dwMask			DWORD ?
	dwEffects		DWORD ?
	yHeight			LONG ?
	yOffset			LONG ?
	crTextColor		COLORREF ?
	bCharSet		BYTE ?
	bPitchAndFamily	BYTE 3 dup(?)
	szFaceName		BYTE LF_FACESIZE dup(?)
CHARFORMAT ENDS
MDICREATESTRUCTA STRUC
	szClass		LPCTSTR ?
	szTitle		LPCTSTR ?
	hOwner		HANDLE ?
	x			ULONG ?
	y			ULONG ?
	lx			ULONG ?
	ly			ULONG ?
	style		DWORD ?
	Reserved	DWORD ?
	lParam		LPARAM ?
MDICREATESTRUCTA ENDS
MDICREATESTRUCT TYPEDEF MDICREATESTRUCTA
LPMDICREATESTRUCT TYPEDEF PTR MDICREATESTRUCT
CLIENTCREATESTRUCT STRUC
	hWindowMenu		HANDLE ?
	idFirstChild	UINT ?
	Reserved		DWORD ?
CLIENTCREATESTRUCT ENDS
LPCLIENTCREATESTRUCT TYPEDEF PTR CLIENTCREATESTRUCT
IPAddr STRUC
	UNION S_un
		STRUC S_un_b
			s_b1	u_char ?
			s_b2	u_char ?
			s_b3	u_char ?
			s_b4	u_char ?
		ENDS   
		STRUC S_un_w
			s_w1	u_short ?
			s_w2	u_short ?
		ENDS
		S_addr	u_long ?
	ENDS
IPAddr ENDS
GUID STRUC
    Data1 	dd ?
    Data2 	dw ?
    Data3 	dw ?
    Data4 	db 8 dup(?)
GUID ENDS
; *************** equates and structures from commdlg.h *******************

CDERR_GENERALCODES      equ 0000h
CDERR_STRUCTSIZE        equ 0001h
CDERR_INITIALIZATION    equ 0002h
CDERR_NOTEMPLATE        equ 0003h
CDERR_NOHINSTANCE       equ 0004h
CDERR_LOADSTRFAILURE    equ 0005h
CDERR_FINDRESFAILURE    equ 0006h
CDERR_LOADRESFAILURE    equ 0007h
CDERR_LOCKRESFAILURE    equ 0008h
CDERR_MEMALLOCFAILURE   equ 0009h
CDERR_MEMLOCKFAILURE    equ 000Ah
CDERR_NOHOOK            equ 000Bh
CDERR_REGISTERMSGFAIL   equ 000Ch
CC_RGBINIT              equ 00000001h
CC_FULLOPEN             equ 00000002h
CC_PREVENTFULLOPEN      equ 00000004h
CC_SHOWHELP             equ 00000008h
CC_ENABLEHOOK           equ 00000010h
CC_ENABLETEMPLATE       equ 00000020h
CC_ENABLETEMPLATEHANDLE equ 00000040h
CCERR_CHOOSECOLORCODES  equ 5000h
FR_DOWN                 equ 00000001h
FR_WHOLEWORD            equ 00000002h
FR_MATCHCASE            equ 00000004h
FR_FINDNEXT             equ 00000008h
FR_REPLACE              equ 00000010h
FR_REPLACEALL           equ 00000020h
FR_DIALOGTERM           equ 00000040h
FR_SHOWHELP             equ 00000080h
FR_ENABLEHOOK           equ 00000100h
FR_ENABLETEMPLATE       equ 00000200h
FR_NOUPDOWN             equ 00000400h
FR_NOMATCHCASE          equ 00000800h
FR_NOWHOLEWORD          equ 00001000h
FR_ENABLETEMPLATEHANDLE equ 00002000h
FR_HIDEUPDOWN           equ 00004000h
FR_HIDEMATCHCASE        equ 00008000h
FR_HIDEWHOLEWORD        equ 00010000h
FRERR_FINDREPLACECODES  equ 4000h
FRERR_BUFFERLENGTHZERO  equ 4001h
CF_SCREENFONTS          equ 00000001h
CF_PRINTERFONTS         equ 00000002h
CF_BOTH                 equ CF_SCREENFONTS + CF_PRINTERFONTS
CF_SHOWHELP             equ 00000004h
CF_ENABLEHOOK           equ 00000008h
CF_ENABLETEMPLATE       equ 00000010h
CF_ENABLETEMPLATEHANDLE equ 00000020h
CF_INITTOLOGFONTSTRUCT  equ 00000040h
CF_USESTYLE             equ 00000080h
CF_EFFECTS              equ 00000100h
CF_APPLY                equ 00000200h
CF_ANSIONLY             equ 00000400h
CF_NOVECTORFONTS        equ 00000800h
CF_NOOEMFONTS           equ CF_NOVECTORFONTS
CF_NOSIMULATIONS        equ 00001000h
CF_LIMITSIZE            equ 00002000h
CF_FIXEDPITCHONLY       equ 00004000h
CF_WYSIWYG              equ 00008000h
CF_FORCEFONTEXIST       equ 00010000h
CF_SCALABLEONLY         equ 00020000h
CF_TTONLY               equ 00040000h
CF_NOFACESEL            equ 00080000h
CF_NOSTYLESEL           equ 00100000h
CF_NOSIZESEL            equ 00200000h
CFERR_CHOOSEFONTCODES   equ 2000h
CFERR_NOFONTS           equ 2001h
CFERR_MAXLESSTHANMIN    equ 2002h
WM_CHOOSEFONT_GETLOGFONT equ WM_USER + 1
CD_LBSELNOITEMS         equ -1
CD_LBSELCHANGE          equ  0
CD_LBSELSUB             equ  1
CD_LBSELADD             equ  2
PD_ALLPAGES             equ 00000000h
PD_SELECTION            equ 00000001h
PD_PAGENUMS             equ 00000002h
PD_NOSELECTION          equ 00000004h
PD_NOPAGENUMS           equ 00000008h
PD_COLLATE              equ 00000010h
PD_PRINTTOFILE          equ 00000020h
PD_PRINTSETUP           equ 00000040h
PD_NOWARNING            equ 00000080h
PD_RETURNDC             equ 00000100h
PD_RETURNIC             equ 00000200h
PD_RETURNDEFAULT        equ 00000400h
PD_SHOWHELP             equ 00000800h
PD_ENABLEPRINTHOOK      equ 00001000h
PD_ENABLESETUPHOOK      equ 00002000h
PD_ENABLEPRINTTEMPLATE  equ 00004000h
PD_ENABLESETUPTEMPLATE  equ 00008000h
PD_ENABLEPRINTTEMPLATEHANDLE            equ 00010000h
PD_ENABLESETUPTEMPLATEHANDLE            equ 00020000h
PD_USEDEVMODECOPIES     equ 00040000h
PD_DISABLEPRINTTOFILE   equ 00080000h
PD_HIDEPRINTTOFILE      equ 00100000h
PDERR_PRINTERCODES      equ 1000h
PDERR_SETUPFAILURE      equ 1001h
PDERR_PARSEFAILURE      equ 1002h
PDERR_RETDEFFAILURE     equ 1003h
PDERR_LOADDRVFAILURE    equ 1004h
PDERR_GETDEVMODEFAIL    equ 1005h
PDERR_INITFAILURE       equ 1006h
PDERR_NODEVICES         equ 1007h
PDERR_NODEFAULTPRN      equ 1008h
PDERR_DNDMMISMATCH      equ 1009h
PDERR_CREATEICFAILURE   equ 100Ah
PDERR_PRINTERNOTFOUND   equ 100Bh
PDERR_DEFAULTDIFFERENT  equ 100Ch
DN_DEFAULTPRN           equ 0001h
OFN_ALLOWMULTISELECT    equ 00000200h
OFN_CREATEPROMPT        equ 00002000h
OFN_ENABLEHOOK          equ 00000020h
OFN_ENABLETEMPLATE      equ 00000040h
OFN_ENABLETEMPLATEHANDLE                equ 00000080h
OFN_EXPLORER            equ 00080000h
OFN_EXTENSIONDIFFERENT  equ 00000400h
OFN_FILEMUSTEXIST       equ 00001000h
OFN_HIDEREADONLY        equ 00000004h
OFN_LONGNAMES           equ 00200000h
OFN_NOCHANGEDIR         equ 00000008h
OFN_NODEREFERENCELINKS  equ 00100000h
OFN_NOLONGNAMES         equ 00040000h
OFN_NONETWORKBUTTON     equ 00020000h
OFN_NOREADONLYRETURN    equ 00008000h
OFN_NOTESTFILECREATE    equ 00010000h
OFN_NOVALIDATE          equ 00000100h
OFN_OVERWRITEPROMPT     equ 00000002h
OFN_PATHMUSTEXIST       equ 00000800h
OFN_READONLY            equ 00000001h
OFN_SHAREAWARE          equ 00004000h
OFN_SHOWHELP            equ 00000010h
OFN_SHAREFALLTHROUGH    equ 2
OFN_SHARENOWARN         equ 1
OFN_SHAREWARN           equ 0
CDERR_DIALOGFAILURE     equ 0FFFFh
FNERR_FILENAMECODES     equ 3000h
FNERR_SUBCLASSFAILURE   equ 3001h
FNERR_INVALIDFILENAME   equ 3002h
FNERR_BUFFERTOOSMALL    equ 3003h

GWLP_WNDPROC	equ (-4)
GWLP_HINSTANCE	equ (-6)
GWLP_HWNDPARENT	equ (-8)
GWLP_USERDATA	equ (-21)
GWLP_ID			equ (-12)

IMF_FORCENONE                  equ 0001h
IMF_FORCEENABLE                equ 0002h
IMF_FORCEDISABLE               equ 0004h
IMF_CLOSESTATUSWINDOW          equ 0008h
IMF_VERTICAL   equ 0020h
IMF_FORCEACTIVE                equ 0040h
IMF_FORCEINACTIVE              equ 0080h
IMF_FORCEREMEMBER              equ 0100h
WBF_CLASS               equ 0Fh
WBF_ISWHITE             equ 10h
WBF_BREAKLINE           equ 20h
WBF_BREAKAFTER          equ 40h
CFM_BOLD               equ 00000001h
CFM_ITALIC             equ 00000002h
CFM_UNDERLINE          equ 00000004h
CFM_STRIKEOUT          equ 00000008h
CFM_PROTECTED          equ 00000010h
CFM_SIZE               equ 80000000h
CFM_COLOR              equ 40000000h
CFM_FACE               equ 20000000h
CFM_OFFSET             equ 10000000h
CFM_CHARSET            equ 08000000h
CFE_BOLD               equ 0001h
CFE_ITALIC             equ 0002h
CFE_UNDERLINE          equ 0004h
CFE_STRIKEOUT          equ 0008h
CFE_PROTECTED          equ 0010h
CFE_AUTOCOLOR          equ 40000000h
yHeightCharPtsMost     equ 1638
SCF_SELECTION          equ 0001h
SCF_WORD               equ 0002h
SF_TEXT                equ 0001h
SF_RTF                 equ 0002h
SF_RTFNOOBJS           equ 0003h
SF_TEXTIZED            equ 0004h
SFF_SELECTION          equ 8000h
SFF_PLAINRTF           equ 4000h
MAX_TAB_STOPS          equ 32
lDefaultTab            equ 720
PFM_STARTINDENT             equ 00000001h
PFM_RIGHTINDENT             equ 00000002h
PFM_OFFSET  equ 00000004h
PFM_ALIGNMENT               equ 00000008h
PFM_TABSTOPS                equ 00000010h
PFM_NUMBERING               equ 00000020h
PFM_OFFSETINDENT            equ 80000000h
PFN_BULLET  equ 0001h
PFA_LEFT    equ 0001h
PFA_RIGHT   equ 0002h
PFA_CENTER  equ 0003h
SEL_EMPTY                equ 0000h
SEL_TEXT equ 0001h
SEL_OBJECT               equ 0002h
SEL_MULTICHAR            equ 0004h
SEL_MULTIOBJECT          equ 0008h
OLEOP_DOVERB           equ 1

TO_ADVANCEDTYPOGRAPHY equ	1
TO_SIMPLELINEBREAK	equ	2
TCS_FLATBUTTONS         equ 8

SES_EMULATESYSEDIT          equ 1
SES_BEEPONMAXTEXT           equ 2
SES_EXTENDBACKCOLOR         equ 4
SES_MAPCPS                  equ 8
SES_EMULATE10               equ 16
SES_USECRLF                 equ 32
SES_USEAIMM                 equ 64
SES_ALLOWBEEPS              equ 256

ENM_NONE                    equ 00000000h
ENM_CHANGE                  equ 00000001h
ENM_UPDATE                  equ 00000002h
ENM_SCROLL                  equ 00000004h
ENM_KEYEVENTS               equ 00010000h
ENM_MOUSEEVENTS             equ 00020000h
ENM_REQUESTRESIZE           equ 00040000h
ENM_SELCHANGE               equ 00080000h
ENM_DROPFILES               equ 00100000h
ENM_PROTECTED               equ 00200000h
ENM_CORRECTTEXT             equ 00400000h
ENM_IMECHANGE               equ 00800000h
ES_SAVESEL                  equ 00008000h
ES_SUNKEN                   equ 00004000h
ES_DISABLENOSCROLL          equ 00002000h
ES_SELECTIONBAR             equ 01000000h
ES_EX_NOCALLOLEINIT         equ 01000000h
ES_VERTICAL                 equ 00400000h
ES_NOIME                    equ 00080000h
ES_SELFIME                  equ 00040000h
ECO_AUTOWORDSELECTION       equ 00000001h
ECO_AUTOVSCROLL             equ 00000040h
ECO_AUTOHSCROLL             equ 00000080h
ECO_NOHIDESEL               equ 00000100h
ECO_READONLY                equ 00000800h
ECO_WANTRETURN              equ 00001000h
ECO_SAVESEL                 equ 00008000h
ECO_SELECTIONBAR            equ 01000000h
ECO_VERTICAL                equ 00400000h
ECOOP_SET                   equ 0001h
ECOOP_OR                    equ 0002h
ECOOP_AND                   equ 0003h
ECOOP_XOR                   equ 0004h
WB_CLASSIFY                 equ 3
WB_MOVEWORDLEFT             equ 4
WB_MOVEWORDRIGHT            equ 5
WB_LEFTBREAK                equ 6
WB_RIGHTBREAK               equ 7
WB_MOVEWORDPREV             equ 4
WB_MOVEWORDNEXT             equ 5
WB_PREVBREAK                equ 6
WB_NEXTBREAK                equ 7
PC_FOLLOWING                equ 1
PC_LEADING                  equ 2
PC_OVERFLOW                 equ 3
PC_DELIMITER                equ 4
WBF_WORDWRAP                equ 010h
WBF_WORDBREAK               equ 020h
WBF_OVERFLOW                equ 040h
WBF_LEVEL1                  equ 080h
WBF_LEVEL2                  equ 100h
WBF_CUSTOM                  equ 200h

IMF_FORCENONE                  equ 0001h
IMF_FORCEENABLE                equ 0002h
IMF_FORCEDISABLE               equ 0004h
IMF_CLOSESTATUSWINDOW          equ 0008h
IMF_VERTICAL   equ 0020h
IMF_FORCEACTIVE                equ 0040h
IMF_FORCEINACTIVE              equ 0080h
IMF_FORCEREMEMBER              equ 0100h
WBF_CLASS               equ 0Fh
WBF_ISWHITE             equ 10h
WBF_BREAKLINE           equ 20h
WBF_BREAKAFTER          equ 40h
CFM_BOLD               equ 00000001h
CFM_ITALIC             equ 00000002h
CFM_UNDERLINE          equ 00000004h
CFM_STRIKEOUT          equ 00000008h
CFM_PROTECTED          equ 00000010h
CFM_SIZE               equ 80000000h
CFM_COLOR              equ 40000000h
CFM_FACE               equ 20000000h
CFM_OFFSET             equ 10000000h
CFM_CHARSET            equ 08000000h
CFE_BOLD               equ 0001h
CFE_ITALIC             equ 0002h
CFE_UNDERLINE          equ 0004h
CFE_STRIKEOUT          equ 0008h
CFE_PROTECTED          equ 0010h
CFE_AUTOCOLOR          equ 40000000h
yHeightCharPtsMost     equ 1638
SCF_SELECTION          equ 0001h
SCF_WORD               equ 0002h
SF_TEXT                equ 0001h
SF_RTF                 equ 0002h
SF_RTFNOOBJS           equ 0003h
SF_TEXTIZED            equ 0004h
SFF_SELECTION          equ 8000h
SFF_PLAINRTF           equ 4000h
MAX_TAB_STOPS          equ 32
lDefaultTab            equ 720
PFM_STARTINDENT             equ 00000001h
PFM_RIGHTINDENT             equ 00000002h
PFM_OFFSET  equ 00000004h
PFM_ALIGNMENT               equ 00000008h
PFM_TABSTOPS                equ 00000010h
PFM_NUMBERING               equ 00000020h
PFM_OFFSETINDENT            equ 80000000h
PFN_BULLET  equ 0001h
PFA_LEFT    equ 0001h
PFA_RIGHT   equ 0002h
PFA_CENTER  equ 0003h
SEL_EMPTY                equ 0000h
SEL_TEXT equ 0001h
SEL_OBJECT               equ 0002h
SEL_MULTICHAR            equ 0004h
SEL_MULTIOBJECT          equ 0008h
OLEOP_DOVERB           equ 1
;========================[ RichEdit v3 by Ewayne '==============================

CFM_BACKCOLOR           equ 4000000h
CFM_LCID                equ 2000000h
CFM_UNDERLINETYPE       equ 800000h
CFM_WEIGHT              equ 400000h
CFM_SPACING             equ 200000h
CFM_KERNING             equ 100000h
CFM_STYLE               equ 80000h
CFM_ANIMATION           equ 40000h
CFM_REVAUTHOR           equ 8000h
CFM_SMALLCAPS           equ 40h
CFM_ALLCAPS             equ 80h
CFM_HIDDEN              equ 100h
CFM_OUTLINE             equ 200h
CFM_SHADOW              equ 400h
CFM_EMBOSS              equ 800h
CFM_IMPRINT             equ 1000h
CFM_DISABLED            equ 2000h
CFM_REVISED             equ 4000h
SCF_DEFAULT             equ 0
SCF_ALL                 equ 4
SCF_SCF_USEUIRULES      equ 8
CFU_CF1UNDERLINE        equ 0ffh
CFU_INVERT              equ 0feh
CFU_UNDERLINEHAIRLINE   equ 10
CFU_UNDERLINETHICK      equ 9
CFU_UNDERLINEWAVE       equ 8
CFU_UNDERLINEDASHDOTDOT equ 7
CFU_UNDERLINEDASHDOT    equ 6
CFU_UNDERLINEDASH       equ 5
CFU_UNDERLINEDOTTED     equ 4
CFU_UNDERLINEDOUBLE     equ 3
CFU_UNDERLINEWORD       equ 2
CFU_UNDERLINE           equ 1
CFU_UNDERLINENONE       equ 0

PFM_SPACEBEFORE         equ 40h
PFM_SPACEAFTER          equ 80h
PFM_LINESPACING         equ 100h
PFM_STYLE               equ 400h
PFM_BORDER              equ 800h
PFM_SHADING             equ 1000h
PFM_NUMBERINGSTYLE      equ 2000h
PFM_NUMBERINGTAB        equ 4000h
PFM_NUMBERINGSTART      equ 8000h
PFM_RTLPARA             equ 10000h
PFM_KEEP                equ 20000h
PFM_KEEPNEXT            equ 40000h
PFM_PAGEBREAKBEFORE     equ 80000h
PFM_NOLINENUMBER        equ 100000h
PFM_NOWIDOWCONTROL      equ 200000h
PFM_DONOTHYPHEN         equ 400000h
PFM_SIDEBYSIDE          equ 800000h
PFM_TABLE               equ 40000000h
PFM_COLLAPSED           equ 1000000h
PFM_OUTLINELEVEL        equ 2000000h
PFM_BOX                 equ 4000000h
; ************************** win64 equates ********************************
CLSCTX_INPROC_SERVER		equ 1
CLSCTX_INPROC_HANDLER		equ 2
CLSCTX_LOCAL_SERVER			equ 4
TRUE								equ 1
FALSE                                equ 0
NULL                                 equ 0
Normal                               equ 000000h
ReadOnly                             equ 000001h
Hidden                               equ 000010h
System                               equ 000100h
vLabel                               equ 001000h
SubDir                               equ 010000h
Archive                              equ 100000h
MAXIMUM_SUPPORTED_EXTENSION          equ 512
ANYSIZE_ARRAY                        equ 1
INVALID_HANDLE_VALUE                 equ -1
DELETE                               equ 10000h
READ_CONTROL                         equ 20000h
WRITE_DAC                            equ 40000h
WRITE_OWNER                          equ 80000h
SYNCHRONIZE                          equ 100000h
STANDARD_RIGHTS_READ                 equ READ_CONTROL
STANDARD_RIGHTS_WRITE                equ READ_CONTROL
STANDARD_RIGHTS_EXECUTE              equ READ_CONTROL
STANDARD_RIGHTS_REQUIRED             equ 0F0000h
STANDARD_RIGHTS_ALL                  equ 1F0000h
SPECIFIC_RIGHTS_ALL                  equ 0FFFFh
SID_REVISION                         equ 1
SID_MAX_SUB_AUTHORITIES              equ 15
SID_RECOMMENDED_SUB_AUTHORITIES      equ 1
SidTypeUser                          equ 1
SidTypeGroup                         equ 2
SidTypeDomain                        equ 3
SidTypeAlias                         equ 4
SidTypeWellKnownGroup                equ 5
SidTypeDeletedAccount                equ 6
SidTypeInvalid                       equ 7
SidTypeUnknown                       equ 8
SECURITY_NULL_RID                    equ 0h
SECURITY_WORLD_RID                   equ 0h
SECURITY_LOCAL_RID                   equ 0h
SECURITY_CREATOR_OWNER_RID           equ 0h
SECURITY_CREATOR_GROUP_RID           equ 1h
SECURITY_DIALUP_RID                  equ 1h
SECURITY_NETWORK_RID                 equ 2h
SECURITY_BATCH_RID                   equ 3h
SECURITY_INTERACTIVE_RID             equ 4h
SECURITY_SERVICE_RID                 equ 6h
SECURITY_ANONYMOUS_LOGON_RID         equ 7h
SECURITY_LOGON_IDS_RID               equ 5h
SECURITY_LOCAL_SYSTEM_RID            equ 12h
SECURITY_NT_NON_UNIQUE               equ 15h
SECURITY_BUILTIN_DOMAIN_RID          equ 20h
DOMAIN_USER_RID_ADMIN                equ 1F4h
DOMAIN_USER_RID_GUEST                equ 1F5h
DOMAIN_GROUP_RID_ADMINS              equ 200h
DOMAIN_GROUP_RID_USERS               equ 201h
DOMAIN_GROUP_RID_GUESTS              equ 202h
DOMAIN_ALIAS_RID_ADMINS              equ 220h
DOMAIN_ALIAS_RID_USERS               equ 221h
DOMAIN_ALIAS_RID_GUESTS              equ 222h
DOMAIN_ALIAS_RID_POWER_USERS         equ 223h
DOMAIN_ALIAS_RID_ACCOUNT_OPS         equ 224h
DOMAIN_ALIAS_RID_SYSTEM_OPS          equ 225h
DOMAIN_ALIAS_RID_PRINT_OPS           equ 226h
DOMAIN_ALIAS_RID_BACKUP_OPS          equ 227h
DOMAIN_ALIAS_RID_REPLICATOR          equ 228h
SE_GROUP_MANDATORY                   equ 1h
SE_GROUP_ENABLED_BY_DEFAULT          equ 2h
SE_GROUP_ENABLED                     equ 4h
SE_GROUP_OWNER                       equ 8h
SE_GROUP_LOGON_ID                    equ 0C0000000h
FILE_BEGIN                           equ 0
FILE_CURRENT                         equ 1
FILE_END                             equ 2
FILE_FLAG_WRITE_THROUGH              equ 80000000h
FILE_FLAG_OVERLAPPED                 equ 40000000h
FILE_FLAG_NO_BUFFERING               equ 20000000h
FILE_FLAG_RANDOM_ACCESS              equ 10000000h
FILE_FLAG_SEQUENTIAL_SCAN            equ 8000000h
FILE_FLAG_DELETE_ON_CLOSE            equ 4000000h
FILE_FLAG_BACKUP_SEMANTICS           equ 2000000h
FILE_FLAG_POSIX_SEMANTICS            equ 1000000h
CREATE_NEW                           equ 1
CREATE_ALWAYS                        equ 2
OPEN_EXISTING                        equ 3
OPEN_ALWAYS                          equ 4
TRUNCATE_EXISTING                    equ 5
PIPE_ACCESS_INBOUND                  equ 1h
PIPE_ACCESS_OUTBOUND                 equ 2h
PIPE_ACCESS_DUPLEX                   equ 3h
PIPE_CLIENT_END                      equ 0h
PIPE_SERVER_END                      equ 1h
PIPE_WAIT                            equ 0h
PIPE_NOWAIT                          equ 1h
PIPE_READMODE_BYTE                   equ 0h
PIPE_READMODE_MESSAGE                equ 2h
PIPE_TYPE_BYTE                       equ 0h
PIPE_TYPE_MESSAGE                    equ 4h
PIPE_UNLIMITED_INSTANCES             equ 255
SECURITY_CONTEXT_TRACKING            equ 40000h
SECURITY_EFFECTIVE_ONLY              equ 80000h
SECURITY_SQOS_PRESENT                equ 100000h
SECURITY_VALID_SQOS_FLAGS            equ 1F0000h
SP_SERIALCOMM                        equ 1h
PST_UNSPECIFIED                      equ 0h
PST_RS232                            equ 1h
PST_PARALLELPORT                     equ 2h
PST_RS422                            equ 3h
PST_RS423                            equ 4h
PST_RS449                            equ 5h
PST_FAX                              equ 21h
PST_SCANNER                          equ 22h
PST_NETWORK_BRIDGE                   equ 100h
PST_LAT                              equ 101h
PST_TCPIP_TELNET                     equ 102h
PST_X25                              equ 103h
PCF_DTRDSR                           equ 1h
PCF_RTSCTS                           equ 2h
PCF_RLSD                             equ 4h
PCF_PARITY_CHECK                     equ 8h
PCF_XONXOFF                          equ 10h
PCF_SETXCHAR                         equ 20h
PCF_TOTALTIMEOUTS                    equ 40h
PCF_INTTIMEOUTS                      equ 80h
PCF_SPECIALCHARS                     equ 100h
PCF_16BITMODE                        equ 200h
DLL_PROCESS_DETACH                   equ 0
DLL_PROCESS_ATTACH                   equ 1
DLL_THREAD_ATTACH                    equ 2
DLL_THREAD_DETACH                    equ 3
SP_PARITY                            equ 1h
SP_BAUD                              equ 2h
SP_DATABITS                          equ 4h
SP_STOPBITS                          equ 8h
SP_HANDSHAKING                       equ 10h
SP_PARITY_CHECK                      equ 20h
SP_RLSD                              equ 40h
BAUD_075                             equ 1h
BAUD_110                             equ 2h
BAUD_134_5                           equ 4h
BAUD_150                             equ 8h
BAUD_300                             equ 10h
BAUD_600                             equ 20h
BAUD_1200                            equ 40h
BAUD_1800                            equ 80h
BAUD_2400                            equ 100h
BAUD_4800                            equ 200h
BAUD_7200                            equ 400h
BAUD_9600                            equ 800h
BAUD_14400                           equ 1000h
BAUD_19200                           equ 2000h
BAUD_38400                           equ 4000h
BAUD_56K                             equ 8000h
BAUD_128K                            equ 10000h
BAUD_115200                          equ 20000h
BAUD_57600                           equ 40000h
BAUD_USER                            equ 10000000h
DATABITS_5                           equ 1h
DATABITS_6                           equ 2h
DATABITS_7                           equ 4h
DATABITS_8                           equ 8h
DATABITS_16                          equ 10h
DATABITS_16X                         equ 20h
STOPBITS_10                          equ 1h
STOPBITS_15                          equ 2h
STOPBITS_20                          equ 4h
PARITY_NONE                          equ 100h
PARITY_ODD                           equ 200h
PARITY_EVEN                          equ 400h
PARITY_MARK                          equ 800h
PARITY_SPACE                         equ 1000h
DTR_CONTROL_DISABLE                  equ 0h
DTR_CONTROL_ENABLE                   equ 1h
DTR_CONTROL_HANDSHAKE                equ 2h
RTS_CONTROL_DISABLE                  equ 0h
RTS_CONTROL_ENABLE                   equ 1h
RTS_CONTROL_HANDSHAKE                equ 2h
RTS_CONTROL_TOGGLE                   equ 3h
GMEM_FIXED                           equ 0h
GMEM_MOVEABLE                        equ 2h
GMEM_NOCOMPACT                       equ 10h
GMEM_NODISCARD                       equ 20h
GMEM_ZEROINIT                        equ 40h
GMEM_MODIFY                          equ 80h
GMEM_DISCARDABLE                     equ 100h
GMEM_NOT_BANKED                      equ 1000h
GMEM_SHARE                           equ 2000h
GMEM_DDESHARE                        equ 2000h
GMEM_NOTIFY                          equ 4000h
GMEM_LOWER                           equ GMEM_NOT_BANKED
GMEM_VALID_FLAGS                     equ 7F72h
GMEM_INVALID_HANDLE                  equ 8000h
GMEM_DISCARDED                       equ 4000h
GMEM_LOCKCOUNT                       equ 0FFh
GHND                                 equ GMEM_MOVEABLE OR GMEM_ZEROINIT
GPTR                                 equ GMEM_FIXED OR GMEM_ZEROINIT
LMEM_FIXED                           equ 0h
LMEM_MOVEABLE                        equ 2h
LMEM_NOCOMPACT                       equ 10h
LMEM_NODISCARD                       equ 20h
LMEM_ZEROINIT                        equ 40h
LMEM_MODIFY                          equ 80h
LMEM_DISCARDABLE                     equ 0F00h
LMEM_VALID_FLAGS                     equ 0F72h
LMEM_INVALID_HANDLE                  equ 8000h
LHND                                 equ LMEM_MOVEABLE + LMEM_ZEROINIT
LPTR                                 equ LMEM_FIXED + LMEM_ZEROINIT
NONZEROLHND                          equ LMEM_MOVEABLE
NONZEROLPTR                          equ LMEM_FIXED
LMEM_DISCARDED                       equ 4000h
LMEM_LOCKCOUNT                       equ 0FFh
DEBUG_PROCESS                        equ 1h
DEBUG_ONLY_THIS_PROCESS              equ 2h
CREATE_SUSPENDED                     equ 4h
CREATE_SEPARATE_WOW_VDM              equ 800h
DETACHED_PROCESS                     equ 8h
CREATE_NEW_CONSOLE                   equ 10h
NORMAL_PRIORITY_CLASS                equ 20h
IDLE_PRIORITY_CLASS                  equ 40h
HIGH_PRIORITY_CLASS                  equ 80h
REALTIME_PRIORITY_CLASS              equ 100h
CREATE_NEW_PROCESS_GROUP             equ 200h
CREATE_NO_WINDOW                     equ 8000000h
PROFILE_USER                         equ 10000000h
PROFILE_KERNEL                       equ 20000000h
PROFILE_SERVER                       equ 40000000h
MAXLONG                              equ 7FFFFFFFh
THREAD_BASE_PRIORITY_MIN             equ -2
THREAD_BASE_PRIORITY_MAX             equ 2
THREAD_BASE_PRIORITY_LOWRT           equ 15
THREAD_BASE_PRIORITY_IDLE            equ -15
THREAD_PRIORITY_LOWEST               equ THREAD_BASE_PRIORITY_MIN
THREAD_PRIORITY_BELOW_NORMAL         equ THREAD_PRIORITY_LOWEST + 1
THREAD_PRIORITY_NORMAL               equ 0
THREAD_PRIORITY_HIGHEST              equ THREAD_BASE_PRIORITY_MAX
THREAD_PRIORITY_ABOVE_NORMAL         equ THREAD_PRIORITY_HIGHEST - 1
THREAD_PRIORITY_ERROR_RETURN         equ MAXLONG
THREAD_PRIORITY_TIME_CRITICAL        equ THREAD_BASE_PRIORITY_LOWRT
THREAD_PRIORITY_IDLE                 equ THREAD_BASE_PRIORITY_IDLE
APPLICATION_ERROR_MASK               equ 20000000h
ERROR_SEVERITY_SUCCESS               equ 0h
ERROR_SEVERITY_INFORMATIONAL         equ 40000000h
ERROR_SEVERITY_WARNING               equ 80000000h
ERROR_SEVERITY_ERROR                 equ 0C0000000h
MINCHAR                              equ 80h
MAXCHAR                              equ 7Fh
MINSHORT                             equ 8000h
MAXSHORT                             equ 7FFFh
MINLONG                              equ 80000000h
MAXBYTE                              equ 0FFh
MAXWORD                              equ 0FFFFh
MAXDWORD                             equ 0FFFFFFFFh
LANG_NEUTRAL                         equ 0h
LANG_BULGARIAN                       equ 2h
LANG_CHINESE                         equ 4h
LANG_CROATIAN                        equ 1Ah
LANG_CZECH                           equ 5h
LANG_DANISH                          equ 6h
LANG_DUTCH                           equ 13h
LANG_ENGLISH                         equ 9h
LANG_FINNISH                         equ 0Bh
LANG_FRENCH                          equ 0Ch
LANG_GERMAN                          equ 7h
LANG_GREEK                           equ 8h
LANG_HUNGARIAN                       equ 0Eh
LANG_ICELANDIC                       equ 0Fh
LANG_ITALIAN                         equ 10h
LANG_JAPANESE                        equ 11h
LANG_KOREAN                          equ 12h
LANG_NORWEGIAN                       equ 14h
LANG_POLISH                          equ 15h
LANG_PORTUGUESE                      equ 16h
LANG_ROMANIAN                        equ 18h
LANG_RUSSIAN                         equ 19h
LANG_SLOVAK                          equ 1Bh
LANG_SLOVENIAN                       equ 24h
LANG_SPANISH                         equ 0Ah
LANG_SWEDISH                         equ 1Dh
LANG_TURKISH                         equ 1Fh
SUBLANG_NEUTRAL                      equ 0h
SUBLANG_DEFAULT                      equ 1h
SUBLANG_SYS_DEFAULT                  equ 2h
SUBLANG_CHINESE_TRADITIONAL          equ 1h
SUBLANG_CHINESE_SIMPLIFIED           equ 2h
SUBLANG_CHINESE_HONGKONG             equ 3h
SUBLANG_CHINESE_SINGAPORE            equ 4h
SUBLANG_DUTCH                        equ 1h
SUBLANG_DUTCH_BELGIAN                equ 2h
SUBLANG_ENGLISH_US                   equ 1h
SUBLANG_ENGLISH_UK                   equ 2h
SUBLANG_ENGLISH_AUS                  equ 3h
SUBLANG_ENGLISH_CAN                  equ 4h
SUBLANG_ENGLISH_NZ                   equ 5h
SUBLANG_ENGLISH_EIRE                 equ 6h
SUBLANG_FRENCH                       equ 1h
SUBLANG_FRENCH_BELGIAN               equ 2h
SUBLANG_FRENCH_CANADIAN              equ 3h
SUBLANG_FRENCH_SWISS                 equ 4h
SUBLANG_GERMAN                       equ 1h
SUBLANG_GERMAN_SWISS                 equ 2h
SUBLANG_GERMAN_AUSTRIAN              equ 3h
SUBLANG_ITALIAN                      equ 1h
SUBLANG_ITALIAN_SWISS                equ 2h
SUBLANG_NORWEGIAN_BOKMAL             equ 1h
SUBLANG_NORWEGIAN_NYNORSK            equ 2h
SUBLANG_PORTUGUESE                   equ 2h
SUBLANG_PORTUGUESE_BRAZILIAN         equ 1h
SUBLANG_SPANISH                      equ 1h
SUBLANG_SPANISH_MEXICAN              equ 2h
SUBLANG_SPANISH_MODERN               equ 3h
SORT_DEFAULT                         equ 0h
SORT_JAPANESE_XJIS                   equ 0h
SORT_JAPANESE_UNICODE                equ 1h
SORT_CHINESE_BIG5                    equ 0h
SORT_CHINESE_UNICODE                 equ 1h
SORT_KOREAN_KSC                      equ 0h
SORT_KOREAN_UNICODE                  equ 1h
FILE_READ_DATA                       equ 1h
FILE_LIST_DIRECTORY                  equ 1h
FILE_WRITE_DATA                      equ 2h
FILE_ADD_FILE                        equ 2h
FILE_APPEND_DATA                     equ 4h
FILE_ADD_SUBDIRECTORY                equ 4h
FILE_CREATE_PIPE_INSTANCE            equ 4h
FILE_READ_EA                         equ 8h
FILE_READ_PROPERTIES                 equ FILE_READ_EA
FILE_WRITE_EA                        equ 10h
FILE_WRITE_PROPERTIES                equ FILE_WRITE_EA
FILE_EXECUTE                         equ 20h
FILE_TRAVERSE                        equ 20h
FILE_DELETE_CHILD                    equ 40h
FILE_READ_ATTRIBUTES                 equ 80h
FILE_WRITE_ATTRIBUTES                equ 100h
FILE_ALL_ACCESS                      equ STANDARD_RIGHTS_REQUIRED OR SYNCHRONIZE OR 1FFh
FILE_GENERIC_READ                    equ STANDARD_RIGHTS_READ OR FILE_READ_DATA OR FILE_READ_ATTRIBUTES OR FILE_READ_EA OR SYNCHRONIZE
FILE_GENERIC_WRITE                   equ STANDARD_RIGHTS_WRITE OR FILE_WRITE_DATA OR FILE_WRITE_ATTRIBUTES OR FILE_WRITE_EA OR FILE_APPEND_DATA OR SYNCHRONIZE
FILE_GENERIC_EXECUTE                 equ STANDARD_RIGHTS_EXECUTE OR FILE_READ_ATTRIBUTES OR FILE_EXECUTE OR SYNCHRONIZE
FILE_SHARE_READ                      equ 1h
FILE_SHARE_WRITE                     equ 2h
FILE_ATTRIBUTE_READONLY              equ 1h
FILE_ATTRIBUTE_HIDDEN                equ 2h
FILE_ATTRIBUTE_SYSTEM                equ 4h
FILE_ATTRIBUTE_DIRECTORY             equ 10h
FILE_ATTRIBUTE_ARCHIVE               equ 20h
FILE_ATTRIBUTE_NORMAL                equ 80h
FILE_ATTRIBUTE_TEMPORARY             equ 100h
FILE_ATTRIBUTE_COMPRESSED            equ 800h
FILE_NOTIFY_CHANGE_FILE_NAME         equ 1h
FILE_NOTIFY_CHANGE_DIR_NAME          equ 2h
FILE_NOTIFY_CHANGE_ATTRIBUTES        equ 4h
FILE_NOTIFY_CHANGE_SIZE              equ 8h
FILE_NOTIFY_CHANGE_LAST_WRITE        equ 10h
FILE_NOTIFY_CHANGE_SECURITY          equ 100h
MAILSLOT_NO_MESSAGE                  equ -1
MAILSLOT_WAIT_FOREVER                equ -1
FILE_CASE_SENSITIVE_SEARCH           equ 1h
FILE_CASE_PRESERVED_NAMES            equ 2h
FILE_UNICODE_ON_DISK                 equ 4h
FILE_PERSISTENT_ACLS                 equ 8h
FILE_FILE_COMPRESSION                equ 10h
FILE_VOLUME_IS_COMPRESSED            equ 8000h
IO_COMPLETION_MODIFY_STATE           equ 2h
IO_COMPLETION_ALL_ACCESS             equ STANDARD_RIGHTS_REQUIRED OR SYNCHRONIZE OR 3h
DUPLICATE_CLOSE_SOURCE               equ 1h
DUPLICATE_SAME_ACCESS                equ 2h
ACCESS_SYSTEM_SECURITY               equ 1000000h
MAXIMUM_ALLOWED                      equ 2000000h
GENERIC_READ                         equ 80000000h
GENERIC_WRITE                        equ 40000000h
GENERIC_EXECUTE                      equ 20000000h
GENERIC_ALL                          equ 10000000h
ACL_REVISION                         equ 2
ACL_REVISION1                        equ 1
ACL_REVISION2                        equ 2
ACCESS_ALLOWED_ACE_TYPE              equ 0h
ACCESS_DENIED_ACE_TYPE               equ 1h
SYSTEM_AUDIT_ACE_TYPE                equ 2h
SYSTEM_ALARM_ACE_TYPE                equ 3h
HELPINFO_WINDOW                      equ 1
HELPINFO_MENUITEM                    equ 2
OBJECT_INHERIT_ACE                   equ 1h
CONTAINER_INHERIT_ACE                equ 2h
NO_PROPAGATE_INHERIT_ACE             equ 4h
INHERIT_ONLY_ACE                     equ 8h
VALID_INHERIT_FLAGS                  equ 0Fh
SUCCESSFUL_ACCESS_ACE_FLAG           equ 40h
FAILED_ACCESS_ACE_FLAG               equ 80h
AclRevisionInformation               equ 1
AclSizeInformation                   equ 2
SECURITY_DESCRIPTOR_REVISION         equ 1
SECURITY_DESCRIPTOR_REVISION1        equ 1
SECURITY_DESCRIPTOR_MIN_LENGTH       equ 20
SE_OWNER_DEFAULTED                   equ 1h
SE_GROUP_DEFAULTED                   equ 2h
SE_DACL_PRESENT                      equ 4h
SE_DACL_DEFAULTED                    equ 8h
SE_SACL_PRESENT                      equ 10h
SE_SACL_DEFAULTED                    equ 20h
SE_SELF_RELATIVE                     equ 8000h
SE_PRIVILEGE_ENABLED_BY_DEFAULT      equ 1h
SE_PRIVILEGE_ENABLED                 equ 2h
SE_PRIVILEGE_USED_FOR_ACCESS         equ 80000000h
PRIVILEGE_SET_ALL_NECESSARY          equ 1
SecurityAnonymous                    equ 1
SecurityIdentification               equ 2
REG_OPTION_RESERVED                  equ 0
REG_OPTION_NON_VOLATILE              equ 0
REG_OPTION_VOLATILE                  equ 1
REG_OPTION_CREATE_LINK               equ 2
REG_OPTION_BACKUP_RESTORE            equ 4
REG_NONE                             equ 0
REG_SZ                               equ 1
REG_EXPAND_SZ                        equ 2
REG_BINARY                           equ 3
REG_DWORD                            equ 4
REG_DWORD_LITTLE_ENDIAN              equ 4
REG_DWORD_BIG_ENDIAN                 equ 5
REG_LINK                             equ 6
REG_MULTI_SZ                         equ 7
REG_RESOURCE_LIST                    equ 8
REG_FULL_RESOURCE_DESCRIPTOR         equ 9
REG_RESOURCE_REQUIREMENTS_LIST       equ 10
REG_CREATED_NEW_KEY                  equ 1h
REG_OPENED_EXISTING_KEY              equ 2h
REG_WHOLE_HIVE_VOLATILE              equ 1h
REG_REFRESH_HIVE                     equ 2h
REG_NOTIFY_CHANGE_NAME               equ 1h
REG_NOTIFY_CHANGE_ATTRIBUTES         equ 2h
REG_NOTIFY_CHANGE_LAST_SET           equ 4h
REG_NOTIFY_CHANGE_SECURITY           equ 8h
REG_LEGAL_CHANGE_FILTER              equ REG_NOTIFY_CHANGE_NAME OR REG_NOTIFY_CHANGE_ATTRIBUTES OR REG_NOTIFY_CHANGE_LAST_SET OR REG_NOTIFY_CHANGE_SECURITY
REG_LEGAL_OPTION                     equ REG_OPTION_RESERVED OR REG_OPTION_NON_VOLATILE OR REG_OPTION_VOLATILE OR REG_OPTION_CREATE_LINK OR REG_OPTION_BACKUP_RESTORE
KEY_QUERY_VALUE                      equ 1h
KEY_SET_VALUE                        equ 2h
KEY_CREATE_SUB_KEY                   equ 4h
KEY_ENUMERATE_SUB_KEYS               equ 8h
KEY_NOTIFY                           equ 10h
KEY_CREATE_LINK                      equ 20h
KEY_READ                             equ (STANDARD_RIGHTS_READ OR KEY_QUERY_VALUE OR KEY_ENUMERATE_SUB_KEYS OR KEY_NOTIFY) AND NOT SYNCHRONIZE
KEY_WRITE                            equ (STANDARD_RIGHTS_WRITE OR KEY_SET_VALUE OR KEY_CREATE_SUB_KEY) AND NOT SYNCHRONIZE
KEY_EXECUTE                          equ KEY_READ
KEY_ALL_ACCESS                       equ (STANDARD_RIGHTS_ALL OR KEY_QUERY_VALUE OR KEY_SET_VALUE OR KEY_CREATE_SUB_KEY OR KEY_ENUMERATE_SUB_KEYS OR KEY_NOTIFY OR KEY_CREATE_LINK) AND NOT SYNCHRONIZE
DRIVE_REMOVABLE                      equ 2
DRIVE_FIXED                          equ 3
DRIVE_REMOTE                         equ 4
DRIVE_CDROM                          equ 5
DRIVE_RAMDISK                        equ 6
FILE_TYPE_UNKNOWN                    equ 0h
FILE_TYPE_DISK                       equ 1h
FILE_TYPE_CHAR                       equ 2h
FILE_TYPE_PIPE                       equ 3h
FILE_TYPE_REMOTE                     equ 8000h
STD_INPUT_HANDLE                     equ -10
STD_OUTPUT_HANDLE                    equ -11
STD_ERROR_HANDLE                     equ -12
NOPARITY                             equ 0
ODDPARITY                            equ 1
EVENPARITY                           equ 2
MARKPARITY                           equ 3
SPACEPARITY                          equ 4
ONESTOPBIT                           equ 0
ONE5STOPBITS                         equ 1
TWOSTOPBITS                          equ 2
IGNORE                               equ 0
INFINITE                             equ -1
CBR_110                              equ 110
CBR_300                              equ 300
CBR_600                              equ 600
CBR_1200                             equ 1200
CBR_2400                             equ 2400
CBR_4800                             equ 4800
CBR_9600                             equ 9600
CBR_14400                            equ 14400
CBR_19200                            equ 19200
CBR_38400                            equ 38400
CBR_56000                            equ 56000
CBR_57600                            equ 57600
CBR_115200                           equ 115200
CBR_128000                           equ 128000
CBR_256000                           equ 256000
CE_RXOVER                            equ 1h
CE_OVERRUN                           equ 2h
CE_RXPARITY                          equ 4h
CE_FRAME                             equ 8h
CE_BREAK                             equ 10h
CE_TXFULL                            equ 100h
CE_PTO                               equ 200h
CE_IOE                               equ 400h
CE_DNS                               equ 800h
CE_OOP                               equ 1000h
CE_MODE                              equ 8000h
IE_BADID                             equ -1
IE_OPEN                              equ -2
IE_NOPEN                             equ -3
IE_MEMORY                            equ -4
IE_DEFAULT                           equ -5
IE_HARDWARE                          equ -10
IE_BYTESIZE                          equ -11
IE_BAUDRATE                          equ -12
EV_RXCHAR                            equ 1h
EV_RXFLAG                            equ 2h
EV_TXEMPTY                           equ 4h
EV_CTS                               equ 8h
EV_DSR                               equ 10h
EV_RLSD                              equ 20h
EV_BREAK                             equ 40h
EV_ERR                               equ 80h
EV_RING                              equ 100h
EV_PERR                              equ 200h
EV_RX80FULL                          equ 400h
EV_EVENT1                            equ 800h
EV_EVENT2                            equ 1000h
SETXOFF                              equ 1
SETXON                               equ 2
SETRTS                               equ 3
CLRRTS                               equ 4
SETDTR                               equ 5
CLRDTR                               equ 6
RESETDEV                             equ 7
SETBREAK                             equ 8
CLRBREAK                             equ 9
PURGE_TXABORT                        equ 1h
PURGE_RXABORT                        equ 2h
PURGE_TXCLEAR                        equ 4h
PURGE_RXCLEAR                        equ 8h
LPTx                                 equ 80h
MS_CTS_ON                            equ 10h
MS_DSR_ON                            equ 20h
MS_RING_ON                           equ 40h
MS_RLSD_ON                           equ 80h
S_QUEUEEMPTY                         equ 0
S_THRESHOLD                          equ 1
S_ALLTHRESHOLD                       equ 2
S_NORMAL                             equ 0
S_LEGATO                             equ 1
S_STACCATO                           equ 2
S_PERIOD512                          equ 0
S_PERIOD1024                         equ 1
S_PERIOD2048                         equ 2
S_PERIODVOICE                        equ 3
S_WHITE512                           equ 4
S_WHITE1024                          equ 5
S_WHITE2048                          equ 6
S_WHITEVOICE                         equ 7
S_SERDVNA                            equ -1
S_SEROFM                             equ -2
S_SERMACT                            equ -3
S_SERQFUL                            equ -4
S_SERBDNT                            equ -5
S_SERDLN                             equ -6
S_SERDCC                             equ -7
S_SERDTP                             equ -8
S_SERDVL                             equ -9
S_SERDMD                             equ -10
S_SERDSH                             equ -11
S_SERDPT                             equ -12
S_SERDFQ                             equ -13
S_SERDDR                             equ -14
S_SERDSR                             equ -15
S_SERDST                             equ -16
NMPWAIT_WAIT_FOREVER                 equ 0FFFFh
NMPWAIT_NOWAIT                       equ 1h
NMPWAIT_USE_DEFAULT_WAIT             equ 0h
FS_CASE_IS_PRESERVED                 equ FILE_CASE_PRESERVED_NAMES
FS_CASE_SENSITIVE                    equ FILE_CASE_SENSITIVE_SEARCH
FS_UNICODE_STORED_ON_DISK            equ FILE_UNICODE_ON_DISK
FS_PERSISTENT_ACLS                   equ FILE_PERSISTENT_ACLS
SECTION_QUERY                        equ 1h
SECTION_MAP_WRITE                    equ 2h
SECTION_MAP_READ                     equ 4h
SECTION_MAP_EXECUTE                  equ 8h
SECTION_EXTEND_SIZE                  equ 10h
SECTION_ALL_ACCESS                   equ STANDARD_RIGHTS_REQUIRED OR SECTION_QUERY OR SECTION_MAP_WRITE OR SECTION_MAP_READ OR SECTION_MAP_EXECUTE OR SECTION_EXTEND_SIZE
FILE_MAP_COPY                        equ SECTION_QUERY
FILE_MAP_WRITE                       equ SECTION_MAP_WRITE
FILE_MAP_READ                        equ SECTION_MAP_READ
FILE_MAP_ALL_ACCESS                  equ SECTION_ALL_ACCESS
FILE_MAP_EXECUTE					 equ SECTION_MAP_EXECUTE_EXPLICIT
OF_READ                              equ 0h
OF_WRITE                             equ 1h
OF_READWRITE                         equ 2h
OF_SHARE_COMPAT                      equ 0h
OF_SHARE_EXCLUSIVE                   equ 10h
OF_SHARE_DENY_WRITE                  equ 20h
OF_SHARE_DENY_READ                   equ 30h
OF_SHARE_DENY_NONE                   equ 40h
OF_PARSE                             equ 100h
OF_DELETE                            equ 200h
OF_VERIFY                            equ 400h
OF_CANCEL                            equ 800h
OF_CREATE                            equ 1000h
OF_PROMPT                            equ 2000h
OF_EXIST                             equ 4000h
OF_REOPEN                            equ 8000h
OFS_MAXPATHNAME                      equ 128
DONT_RESOLVE_DLL_REFERENCES          equ 1h
TC_NORMAL                            equ 0
TC_HARDERR                           equ 1
TC_GP_TRAP                           equ 2
TC_SIGNAL                            equ 3
MAX_LEADBYTES                        equ 12
MB_PRECOMPOSED                       equ 1h
MB_COMPOSITE                         equ 2h
MB_USEGLYPHCHARS                     equ 4h
WC_DEFAULTCHECK                      equ 100h
WC_COMPOSITECHECK                    equ 200h
WC_DISCARDNS                         equ 10h
WC_SEPCHARS                          equ 20h
WC_DEFAULTCHAR                       equ 40h
CT_CTYPE1                            equ 1h
CT_CTYPE2                            equ 2h
CT_CTYPE3                            equ 4h
C1_UPPER                             equ 1h
C1_LOWER                             equ 2h
C1_DIGIT                             equ 4h
C1_SPACE                             equ 8h
C1_PUNCT                             equ 10h
C1_CNTRL                             equ 20h
C1_BLANK                             equ 40h
C1_XDIGIT                            equ 80h
C1_ALPHA                             equ 100h
C2_LEFTTORIGHT                       equ 1h
C2_RIGHTTOLEFT                       equ 2h
C2_EUROPENUMBER                      equ 3h
C2_EUROPESEPARATOR                   equ 4h
C2_EUROPETERMINATOR                  equ 5h
C2_ARABICNUMBER                      equ 6h
C2_COMMONSEPARATOR                   equ 7h
C2_BLOCKSEPARATOR                    equ 8h
C2_SEGMENTSEPARATOR                  equ 9h
C2_WHITESPACE                        equ 0Ah
C2_OTHERNEUTRAL                      equ 0Bh
C2_NOTAPPLICABLE                     equ 0h
C3_NONSPACING                        equ 1h
C3_DIACRITIC                         equ 2h
C3_VOWELMARK                         equ 4h
C3_SYMBOL                            equ 8h
C3_NOTAPPLICABLE                     equ 0h
NORM_IGNORECASE                      equ 1h
NORM_IGNORENONSPACE                  equ 2h
NORM_IGNORESYMBOLS                   equ 4h
MAP_FOLDCZONE                        equ 10h
MAP_PRECOMPOSED                      equ 20h
MAP_COMPOSITE                        equ 40h
MAP_FOLDDIGITS                       equ 80h
LCMAP_LOWERCASE                      equ 100h
LCMAP_UPPERCASE                      equ 200h
LCMAP_SORTKEY                        equ 400h
LCMAP_BYTEREV                        equ 800h
SORT_STRINGSORT                      equ 1000h
CP_ACP                    equ 0           ; default to ANSI code page
CP_OEMCP                  equ 1           ; default to OEM  code page
CP_MACCP                  equ 2           ; default to MAC  code page
CP_THREAD_ACP             equ 3           ; current thread's ANSI code page
CP_SYMBOL                 equ 42          ; SYMBOL translations
CP_UTF7					equ 65000       ; UTF-7 translation
CP_UTF8					equ 65001       ; UTF-8 translation
CTRY_DEFAULT                         equ 0
CTRY_AUSTRALIA                       equ 61
CTRY_AUSTRIA                         equ 43
CTRY_BELGIUM                         equ 32
CTRY_BRAZIL                          equ 55
CTRY_CANADA                          equ 2
CTRY_DENMARK                         equ 45
CTRY_FINLAND                         equ 358
CTRY_FRANCE                          equ 33
CTRY_GERMANY                         equ 49
CTRY_ICELAND                         equ 354
CTRY_IRELAND                         equ 353
CTRY_ITALY                           equ 39
CTRY_JAPAN                           equ 81
CTRY_MEXICO                          equ 52
CTRY_NETHERLANDS                     equ 31
CTRY_NEW_ZEALAND                     equ 64
CTRY_NORWAY                          equ 47
CTRY_PORTUGAL                        equ 351
CTRY_PRCHINA                         equ 86
CTRY_SOUTH_KOREA                     equ 82
CTRY_SPAIN                           equ 34
CTRY_SWEDEN                          equ 46
CTRY_SWITZERLAND                     equ 41
CTRY_TAIWAN                          equ 886
CTRY_UNITED_KINGDOM                  equ 44
CTRY_UNITED_STATES                   equ 1
LOCALE_NOUSEROVERRIDE                equ 80000000h
LOCALE_USER_DEFAULT                  equ 0400h
LOCALE_ILANGUAGE                     equ 1h
LOCALE_SLANGUAGE                     equ 2h
LOCALE_SENGLANGUAGE                  equ 1001h
LOCALE_SABBREVLANGNAME               equ 3h
LOCALE_SNATIVELANGNAME               equ 4h
LOCALE_ICOUNTRY                      equ 5h
LOCALE_SCOUNTRY                      equ 6h
LOCALE_SENGCOUNTRY                   equ 1002h
LOCALE_SABBREVCTRYNAME               equ 7h
LOCALE_SNATIVECTRYNAME               equ 8h
LOCALE_IDEFAULTLANGUAGE              equ 9h
LOCALE_IDEFAULTCOUNTRY               equ 0Ah
LOCALE_IDEFAULTCODEPAGE              equ 0Bh
LOCALE_SLIST                         equ 0Ch
LOCALE_IMEASURE                      equ 0Dh
LOCALE_SDECIMAL                      equ 0Eh
LOCALE_STHOUSAND                     equ 0Fh
LOCALE_SGROUPING                     equ 10h
LOCALE_IDIGITS                       equ 11h
LOCALE_ILZERO                        equ 12h
LOCALE_SNATIVEDIGITS                 equ 13h
LOCALE_SCURRENCY                     equ 14h
LOCALE_SINTLSYMBOL                   equ 15h
LOCALE_SMONDECIMALSEP                equ 16h
LOCALE_SMONTHOUSANDSEP               equ 17h
LOCALE_SMONGROUPING                  equ 18h
LOCALE_ICURRDIGITS                   equ 19h
LOCALE_IINTLCURRDIGITS               equ 1Ah
LOCALE_ICURRENCY                     equ 1Bh
LOCALE_INEGCURR                      equ 1Ch
LOCALE_SDATE                         equ 1Dh
LOCALE_STIME                         equ 1Eh
LOCALE_SSHORTDATE                    equ 1Fh
LOCALE_SLONGDATE                     equ 20h
LOCALE_STIMEFORMAT                   equ 1003h
LOCALE_IDATE                         equ 21h
LOCALE_ILDATE                        equ 22h
LOCALE_ITIME                         equ 23h
LOCALE_ICENTURY                      equ 24h
LOCALE_ITLZERO                       equ 25h
LOCALE_IDAYLZERO                     equ 26h
LOCALE_IMONLZERO                     equ 27h
LOCALE_S1159                         equ 28h
LOCALE_S2359                         equ 29h
LOCALE_SDAYNAME1                     equ 2Ah
LOCALE_SDAYNAME2                     equ 2Bh
LOCALE_SDAYNAME3                     equ 2Ch
LOCALE_SDAYNAME4                     equ 2Dh
LOCALE_SDAYNAME5                     equ 2Eh
LOCALE_SDAYNAME6                     equ 2Fh
LOCALE_SDAYNAME7                     equ 30h
LOCALE_SABBREVDAYNAME1               equ 31h
LOCALE_SABBREVDAYNAME2               equ 32h
LOCALE_SABBREVDAYNAME3               equ 33h
LOCALE_SABBREVDAYNAME4               equ 34h
LOCALE_SABBREVDAYNAME5               equ 35h
LOCALE_SABBREVDAYNAME6               equ 36h
LOCALE_SABBREVDAYNAME7               equ 37h
LOCALE_SMONTHNAME1                   equ 38h
LOCALE_SMONTHNAME2                   equ 39h
LOCALE_SMONTHNAME3                   equ 3Ah
LOCALE_SMONTHNAME4                   equ 3Bh
LOCALE_SMONTHNAME5                   equ 3Ch
LOCALE_SMONTHNAME6                   equ 3Dh
LOCALE_SMONTHNAME7                   equ 3Eh
LOCALE_SMONTHNAME8                   equ 3Fh
LOCALE_SMONTHNAME9                   equ 40h
LOCALE_SMONTHNAME10                  equ 41h
LOCALE_SMONTHNAME11                  equ 42h
LOCALE_SMONTHNAME12                  equ 43h
LOCALE_SABBREVMONTHNAME1             equ 44h
LOCALE_SABBREVMONTHNAME2             equ 45h
LOCALE_SABBREVMONTHNAME3             equ 46h
LOCALE_SABBREVMONTHNAME4             equ 47h
LOCALE_SABBREVMONTHNAME5             equ 48h
LOCALE_SABBREVMONTHNAME6             equ 49h
LOCALE_SABBREVMONTHNAME7             equ 4Ah
LOCALE_SABBREVMONTHNAME8             equ 4Bh
LOCALE_SABBREVMONTHNAME9             equ 4Ch
LOCALE_SABBREVMONTHNAME10            equ 4Dh
LOCALE_SABBREVMONTHNAME11            equ 4Eh
LOCALE_SABBREVMONTHNAME12            equ 4Fh
LOCALE_SABBREVMONTHNAME13            equ 100Fh
LOCALE_SPOSITIVESIGN                 equ 50h
LOCALE_SNEGATIVESIGN                 equ 51h
LOCALE_IPOSSIGNPOSN                  equ 52h
LOCALE_INEGSIGNPOSN                  equ 53h
LOCALE_IPOSSYMPRECEDES               equ 54h
LOCALE_IPOSSEPBYSPACE                equ 55h
LOCALE_INEGSYMPRECEDES               equ 56h
LOCALE_INEGSEPBYSPACE                equ 57h
TIME_NOMINUTESORSECONDS              equ 1h
TIME_NOSECONDS                       equ 2h
TIME_NOTIMEMARKER                    equ 4h
TIME_FORCE24HOURFORMAT               equ 8h
DATE_SHORTDATE                       equ 1h
DATE_LONGDATE                        equ 2h
TF_FORCEDRIVE                        equ 80h
LOCKFILE_FAIL_IMMEDIATELY            equ 1h
LOCKFILE_EXCLUSIVE_LOCK              equ 2h
LNOTIFY_OUTOFMEM                     equ 0
LNOTIFY_MOVE                         equ 1
LNOTIFY_DISCARD                      equ 2
SLE_ERROR                            equ 1h
SLE_MINORERROR                       equ 2h
SLE_WARNING                          equ 3h
SEM_FAILCRITICALERRORS               equ 1h
SEM_NOGPFAULTERRORBOX                equ 2h
SEM_NOOPENFILEERRORBOX               equ 8000h
RT_CURSOR                            equ 1
RT_BITMAP                            equ 2
RT_ICON                              equ 3
RT_MENU                              equ 4
RT_DIALOG                            equ 5
RT_STRING                            equ 6
RT_FONTDIR                           equ 7
RT_FONT                              equ 8
RT_ACCELERATOR                       equ 9
RT_RCDATA                            equ 10
DFC_CAPTION                          equ 1
DFC_MENU                             equ 2
DFC_SCROLL                           equ 3
DFC_BUTTON                           equ 4
DFC_POPUPMENU           			  equ 5
DFCS_CAPTIONCLOSE                    equ 0000h
DFCS_CAPTIONMIN                      equ 0001h
DFCS_CAPTIONMAX                      equ 0002h
DFCS_CAPTIONRESTORE                  equ 0003h
DFCS_CAPTIONHELP                     equ 0004h
DFCS_MENUARROW                       equ 0000h
DFCS_MENUCHECK                       equ 0001h
DFCS_MENUBULLET                      equ 0002h
DFCS_MENUARROWRIGHT                  equ 0004h
DFCS_SCROLLUP                        equ 0000h
DFCS_SCROLLDOWN                      equ 0001h
DFCS_SCROLLLEFT                      equ 0002h
DFCS_SCROLLRIGHT                     equ 0003h
DFCS_SCROLLCOMBOBOX                  equ 0005h
DFCS_SCROLLSIZEGRIP                  equ 0008h
DFCS_SCROLLSIZEGRIPRIGHT             equ 0010h
DFCS_BUTTONCHECK                     equ 0000h
DFCS_BUTTONRADIOIMAGE                equ 0001h
DFCS_BUTTONRADIOMASK                 equ 0002h
DFCS_BUTTONRADIO                     equ 0004h
DFCS_BUTTON3STATE                    equ 0008h
DFCS_BUTTONPUSH                      equ 0010h
DFCS_INACTIVE                        equ 0100h
DFCS_PUSHED                          equ 0200h
DFCS_CHECKED                         equ 0400h
DFCS_TRANSPARENT        			  equ 0800h
DFCS_HOT		                	  equ 1000h
DFCS_ADJUSTRECT                      equ 2000h
DFCS_FLAT                            equ 4000h
DFCS_MONO                            equ 8000h
DDD_RAW_TARGET_PATH                  equ 1h
DDD_REMOVE_DEFINITION                equ 2h
DDD_EXACT_MATCH_ON_REMOVE            equ 4h
MAX_PATH                             equ 260
MOVEFILE_REPLACE_EXISTING            equ 1h
MOVEFILE_COPY_ALLOWED                equ 2h
MOVEFILE_DELAY_UNTIL_REBOOT          equ 4h
TokenUser                            equ 1
TokenGroups                          equ 2
TokenPrivileges                      equ 3
TokenOwner                           equ 4
TokenPrimaryGroup                    equ 5
TokenDefaultDacl                     equ 6
TokenSource                          equ 7
TokenType                            equ 8
TokenImpersonationLevel              equ 9
TokenStatistics                      equ 10
TOKEN_ADJUST_PRIVILEGES              equ 20h
GET_TAPE_MEDIA_INFORMATION           equ 0
GET_TAPE_DRIVE_INFORMATION           equ 1
SET_TAPE_MEDIA_INFORMATION           equ 0
SET_TAPE_DRIVE_INFORMATION           equ 1
FORMAT_MESSAGE_ALLOCATE_BUFFER       equ 100h
FORMAT_MESSAGE_IGNORE_INSERTS        equ 200h
FORMAT_MESSAGE_FROM_STRING           equ 400h
FORMAT_MESSAGE_FROM_HMODULE          equ 800h
FORMAT_MESSAGE_FROM_SYSTEM           equ 1000h
FORMAT_MESSAGE_ARGUMENT_ARRAY        equ 2000h
FORMAT_MESSAGE_MAX_WIDTH_MASK        equ 0FFh
TLS_OUT_OF_INDEXES                   equ 0FFFFh
BACKUP_DATA                          equ 1h
BACKUP_EA_DATA                       equ 2h
BACKUP_SECURITY_DATA                 equ 3h
BACKUP_ALTERNATE_DATA                equ 4h
BACKUP_LINK                          equ 5h
STREAM_MODIFIED_WHEN_READ            equ 1h
STREAM_CONTAINS_SECURITY             equ 2h
STARTF_USESHOWWINDOW                 equ 1h
STARTF_USESIZE                       equ 2h
STARTF_USEPOSITION                   equ 4h
STARTF_USECOUNTCHARS                 equ 8h
STARTF_USEFILLATTRIBUTE              equ 10h
STARTF_RUNFULLSCREEN                 equ 20h
STARTF_FORCEONFEEDBACK               equ 40h
STARTF_FORCEOFFFEEDBACK              equ 80h
STARTF_USESTDHANDLES                 equ 100h
SHUTDOWN_NORETRY                     equ 1h
MAX_DEFAULTCHAR                      equ 2
CAL_ICALINTVALUE                     equ 1h
CAL_SCALNAME                         equ 2h
CAL_IYEAROFFSETRANGE                 equ 3h
CAL_SERASTRING                       equ 4h
CAL_SSHORTDATE                       equ 5h
CAL_SLONGDATE                        equ 6h
CAL_SDAYNAME1                        equ 7h
CAL_SDAYNAME2                        equ 8h
CAL_SDAYNAME3                        equ 9h
CAL_SDAYNAME4                        equ 0Ah
CAL_SDAYNAME5                        equ 0Bh
CAL_SDAYNAME6                        equ 0Ch
CAL_SDAYNAME7                        equ 0Dh
CAL_SABBREVDAYNAME1                  equ 0Eh
CAL_SABBREVDAYNAME2                  equ 0Fh
CAL_SABBREVDAYNAME3                  equ 10h
CAL_SABBREVDAYNAME4                  equ 11h
CAL_SABBREVDAYNAME5                  equ 12h
CAL_SABBREVDAYNAME6                  equ 13h
CAL_SABBREVDAYNAME7                  equ 14h
CAL_SMONTHNAME1                      equ 15h
CAL_SMONTHNAME2                      equ 16h
CAL_SMONTHNAME3                      equ 17h
CAL_SMONTHNAME4                      equ 18h
CAL_SMONTHNAME5                      equ 19h
CAL_SMONTHNAME6                      equ 1Ah
CAL_SMONTHNAME7                      equ 1Bh
CAL_SMONTHNAME8                      equ 1Ch
CAL_SMONTHNAME9                      equ 1Dh
CAL_SMONTHNAME10                     equ 1Eh
CAL_SMONTHNAME11                     equ 1Fh
CAL_SMONTHNAME12                     equ 20h
CAL_SMONTHNAME13                     equ 21h
CAL_SABBREVMONTHNAME1                equ 22h
CAL_SABBREVMONTHNAME2                equ 23h
CAL_SABBREVMONTHNAME3                equ 24h
CAL_SABBREVMONTHNAME4                equ 25h
CAL_SABBREVMONTHNAME5                equ 26h
CAL_SABBREVMONTHNAME6                equ 27h
CAL_SABBREVMONTHNAME7                equ 28h
CAL_SABBREVMONTHNAME8                equ 29h
CAL_SABBREVMONTHNAME9                equ 2Ah
CAL_SABBREVMONTHNAME10               equ 2Bh
CAL_SABBREVMONTHNAME11               equ 2Ch
CAL_SABBREVMONTHNAME12               equ 2Dh
CAL_SABBREVMONTHNAME13               equ 2Eh
ENUM_ALL_CALENDARS                   equ 0FFFFh
CAL_GREGORIAN                        equ 1
CAL_GREGORIAN_US                     equ 2
CAL_JAPAN                            equ 3
CAL_TAIWAN                           equ 4
CAL_KOREA                            equ 5
RIGHT_ALT_PRESSED                    equ 1h
LEFT_ALT_PRESSED                     equ 2h
RIGHT_CTRL_PRESSED                   equ 4h
LEFT_CTRL_PRESSED                    equ 8h
SHIFT_PRESSED                        equ 10h
NUMLOCK_ON                           equ 20h
SCROLLLOCK_ON                        equ 40h
CAPSLOCK_ON                          equ 80h
ENHANCED_KEY                         equ 100h
FROM_LEFT_1ST_BUTTON_PRESSED         equ 1h
RIGHTMOST_BUTTON_PRESSED             equ 2h
FROM_LEFT_2ND_BUTTON_PRESSED         equ 4h
FROM_LEFT_3RD_BUTTON_PRESSED         equ 8h
FROM_LEFT_4TH_BUTTON_PRESSED         equ 10h
MOUSE_MOVED                          equ 1h
DOUBLE_CLICK                         equ 2h
KEY_EVENT                            equ 1h
MOUSE_EVENT                          equ 2h
MENU_EVENT                           equ 8h
FOCUS_EVENT                          equ 10h
mouse_eventC                         equ 2h
WINDOW_BUFFER_SIZE_EVENT             equ 4h
FOREGROUND_BLUE                      equ 1h
FOREGROUND_GREEN                     equ 2h
FOREGROUND_RED                       equ 4h
FOREGROUND_INTENSITY                 equ 8h
BACKGROUND_BLUE                      equ 10h
BACKGROUND_GREEN                     equ 20h
BACKGROUND_RED                       equ 40h
BACKGROUND_INTENSITY                 equ 80h
CTRL_C_EVENT                         equ 0
CTRL_BREAK_EVENT                     equ 1
CTRL_CLOSE_EVENT                     equ 2
CTRL_LOGOFF_EVENT                    equ 5
CTRL_SHUTDOWN_EVENT                  equ 6
ENABLE_PROCESSED_INPUT               equ 1h
ENABLE_LINE_INPUT                    equ 2h
ENABLE_ECHO_INPUT                    equ 4h
ENABLE_WINDOW_INPUT                  equ 8h
ENABLE_MOUSE_INPUT                   equ 10h
ENABLE_PROCESSED_OUTPUT              equ 1h
ENABLE_WRAP_AT_EOL_OUTPUT            equ 2h
CONSOLE_TEXTMODE_BUFFER              equ 1
R2_BLACK                             equ 1
R2_NOTMERGEPEN                       equ 2
R2_MASKNOTPEN                        equ 3
R2_NOTCOPYPEN                        equ 4
R2_MASKPENNOT                        equ 5
R2_NOT                               equ 6
R2_XORPEN                            equ 7
R2_NOTMASKPEN                        equ 8
R2_MASKPEN                           equ 9
R2_NOTXORPEN                         equ 10
R2_NOP                               equ 11
R2_MERGENOTPEN                       equ 12
R2_COPYPEN                           equ 13
R2_MERGEPENNOT                       equ 14
R2_MERGEPEN                          equ 15
R2_WHITE                             equ 16
R2_LAST                              equ 16
SRCCOPY                              equ 0CC0020h
SRCPAINT                             equ 0EE0086h
SRCAND                               equ 8800C6h
SRCINVERT                            equ 660046h
SRCERASE                             equ 440328h
NOTSRCCOPY                           equ 330008h
NOTSRCERASE                          equ 1100A6h
MERGECOPY                            equ 0C000CAh
MERGEPAINT                           equ 0BB0226h
PATCOPY                              equ 0F00021h
PATPAINT                             equ 0FB0A09h
PATINVERT                            equ 5A0049h
DSTINVERT                            equ 550009h
BLACKNESS                            equ 42h
WHITENESS                            equ 0FF0062h
GDI_ERROR                            equ 0FFFFh
HGDI_ERROR                           equ 0FFFFh
ERRORAPI                             equ 0
NULLREGION                           equ 1
SIMPLEREGION                         equ 2
COMPLEXREGION                        equ 3
RGN_AND                              equ 1
RGN_OR                               equ 2
RGN_XOR                              equ 3
RGN_DIFF                             equ 4
RGN_COPY                             equ 5
RGN_MIN                              equ RGN_AND
RGN_MAX                              equ RGN_COPY
BLACKONWHITE                         equ 1
WHITEONBLACK                         equ 2
COLORONCOLOR                         equ 3
HALFTONE                             equ 4
MAXSTRETCHBLTMODE                    equ 4
ALTERNATE                            equ 1
WINDING                              equ 2
POLYFILL_LAST                        equ 2
TA_NOUPDATECP                        equ 0
TA_UPDATECP                          equ 1
TA_LEFT                              equ 0
TA_RIGHT                             equ 2
TA_CENTER                            equ 6
TA_TOP                               equ 0
TA_BOTTOM                            equ 8
TA_BASELINE                          equ 24
TA_MASK                              equ TA_BASELINE + TA_CENTER + TA_UPDATECP
VTA_BASELINE                         equ TA_BASELINE
VTA_LEFT                             equ TA_BOTTOM
VTA_RIGHT                            equ TA_TOP
VTA_CENTER                           equ TA_CENTER
VTA_BOTTOM                           equ TA_RIGHT
VTA_TOP                              equ TA_LEFT
ETO_GRAYED                           equ 1
ETO_OPAQUE                           equ 2
ETO_CLIPPED                          equ 4
ASPECT_FILTERING                     equ 1h
DCB_RESET                            equ 1h
DCB_ACCUMULATE                       equ 2h
DCB_DIRTY                            equ DCB_ACCUMULATE
DCB_SET                              equ DCB_RESET OR DCB_ACCUMULATE
DCB_ENABLE                           equ 4h
DCB_DISABLE                          equ 8h
META_SETBKCOLOR                      equ 201h
META_SETBKMODE                       equ 102h
META_SETMAPMODE                      equ 103h
META_SETROP2                         equ 104h
META_SETRELABS                       equ 105h
META_SETPOLYFILLMODE                 equ 106h
META_SETSTRETCHBLTMODE               equ 107h
META_SETTEXTCHAREXTRA                equ 108h
META_SETTEXTCOLOR                    equ 209h
META_SETTEXTJUSTIFICATION            equ 20Ah
META_SETWINDOWORG                    equ 20Bh
META_SETWINDOWEXT                    equ 20Ch
META_SETVIEWPORTORG                  equ 20Dh
META_SETVIEWPORTEXT                  equ 20Eh
META_OFFSETWINDOWORG                 equ 20Fh
META_SCALEWINDOWEXT                  equ 410h
META_OFFSETVIEWPORTORG               equ 211h
META_SCALEVIEWPORTEXT                equ 412h
META_LINETO                          equ 213h
META_MOVETO                          equ 214h
META_EXCLUDECLIPRECT                 equ 415h
META_INTERSECTCLIPRECT               equ 416h
META_ARC                             equ 817h
META_ELLIPSE                         equ 418h
META_FLOODFILL                       equ 419h
META_PIE                             equ 81Ah
META_RECTANGLE                       equ 41Bh
META_ROUNDRECT                       equ 61Ch
META_PATBLT                          equ 61Dh
META_SAVEDC                          equ 1Eh
META_SETPIXEL                        equ 41Fh
META_OFFSETCLIPRGN                   equ 220h
META_TEXTOUT                         equ 521h
META_BITBLT                          equ 922h
META_STRETCHBLT                      equ 0B23h
META_POLYGON                         equ 324h
META_POLYLINE                        equ 325h
META_ESCAPE                          equ 626h
META_RESTOREDC                       equ 127h
META_FILLREGION                      equ 228h
META_FRAMEREGION                     equ 429h
META_INVERTREGION                    equ 12Ah
META_PAINTREGION                     equ 12Bh
META_SELECTCLIPREGION                equ 12Ch
META_SELECTOBJECT                    equ 12Dh
META_SETTEXTALIGN                    equ 12Eh
META_CHORD                           equ 830h
META_SETMAPPERFLAGS                  equ 231h
META_EXTTEXTOUT                      equ 0A32h
META_SETDIBTODEV                     equ 0D33h
META_SELECTPALETTE                   equ 234h
META_REALIZEPALETTE                  equ 35h
META_ANIMATEPALETTE                  equ 436h
META_SETPALENTRIES                   equ 37h
META_POLYPOLYGON                     equ 538h
META_RESIZEPALETTE                   equ 139h
META_DIBBITBLT                       equ 940h
META_DIBSTRETCHBLT                   equ 0B41h
META_DIBCREATEPATTERNBRUSH           equ 142h
META_STRETCHDIB                      equ 0F43h
META_EXTFLOODFILL                    equ 548h
META_DELETEOBJECT                    equ 1F0h
META_CREATEPALETTE                   equ 0F7h
META_CREATEPATTERNBRUSH              equ 1F9h
META_CREATEPENINDIRECT               equ 2FAh
META_CREATEFONTINDIRECT              equ 2FBh
META_CREATEBRUSHINDIRECT             equ 2FCh
META_CREATEREGION                    equ 6FFh
NEWFRAME                             equ 1
AbortDocC                            equ 2
NEXTBAND                             equ 3
SETCOLORTABLE                        equ 4
GETCOLORTABLE                        equ 5
FLUSHOUTPUT                          equ 6
DRAFTMODE                            equ 7
QUERYESCSUPPORT                      equ 8
SETABORTPROC                         equ 9
StartDocC                            equ 10
EndDocC                              equ 11
GETPHYSPAGESIZE                      equ 12
GETPRINTINGOFFSET                    equ 13
GETSCALINGFACTOR                     equ 14
MFCOMMENT                            equ 15
GETPENWIDTH                          equ 16
SETCOPYCOUNT                         equ 17
SELECTPAPERSOURCE                    equ 18
DEVICEDATA                           equ 19
PASSTHROUGH                          equ 19
GETTECHNOLGY                         equ 20
GETTECHNOLOGY                        equ 20
SETLINECAP                           equ 21
SETLINEJOIN                          equ 22
SetMiterLimitC                       equ 23
BANDINFO                             equ 24
DRAWPATTERNRECT                      equ 25
GETVECTORPENSIZE                     equ 26
GETVECTORBRUSHSIZE                   equ 27
ENABLEDUPLEX                         equ 28
GETSETPAPERBINS                      equ 29
GETSETPRINTORIENT                    equ 30
ENUMPAPERBINS                        equ 31
SETDIBSCALING                        equ 32
EPSPRINTING                          equ 33
ENUMPAPERMETRICS                     equ 34
GETSETPAPERMETRICS                   equ 35
POSTSCRIPT_DATA                      equ 37
POSTSCRIPT_IGNORE                    equ 38
MOUSETRAILS                          equ 39
GETDEVICEUNITS                       equ 42
GETEXTENDEDTEXTMETRICS               equ 256
GETEXTENTTABLE                       equ 257
GETPAIRKERNTABLE                     equ 258
GETTRACKKERNTABLE                    equ 259
ExtTextOutC                          equ 512
GETFACENAME                          equ 513
DOWNLOADFACE                         equ 514
ENABLERELATIVEWIDTHS                 equ 768
ENABLEPAIRKERNING                    equ 769
SETKERNTRACK                         equ 770
SETALLJUSTVALUES                     equ 771
SETCHARSET                           equ 772
StretchBltC                          equ 2048
GETSETSCREENPARAMS                   equ 3072
BEGIN_PATH                           equ 4096
CLIP_TO_PATH                         equ 4097
END_PATH                             equ 4098
EXT_DEVICE_CAPS                      equ 4099
RESTORE_CTM                          equ 4100
SAVE_CTM                             equ 4101
SET_ARC_DIRECTION                    equ 4102
SET_BACKGROUND_COLOR                 equ 4103
SET_POLY_MODE                        equ 4104
SET_SCREEN_ANGLE                     equ 4105
SET_SPREAD                           equ 4106
TRANSFORM_CTM                        equ 4107
SET_CLIP_BOX                         equ 4108
SET_BOUNDS                           equ 4109
SET_MIRROR_MODE                      equ 4110
OPENCHANNEL                          equ 4110
DOWNLOADHEADER                       equ 4111
CLOSECHANNEL                         equ 4112
POSTSCRIPT_PASSTHROUGH               equ 4115
ENCAPSULATED_POSTSCRIPT              equ 4116
SP_NOTREPORTED                       equ 4000h
SP_ERROR                             equ -1
SP_APPABORT                          equ -2
SP_USERABORT                         equ -3
SP_OUTOFDISK                         equ -4
SP_OUTOFMEMORY                       equ -5
PR_JOBSTATUS                         equ 0h
OBJ_PEN                              equ 1
OBJ_BRUSH                            equ 2
OBJ_DC                               equ 3
OBJ_METADC                           equ 4
OBJ_PAL                              equ 5
OBJ_FONT                             equ 6
OBJ_BITMAP                           equ 7
OBJ_REGION                           equ 8
OBJ_METAFILE                         equ 9
OBJ_MEMDC                            equ 10
OBJ_EXTPEN                           equ 11
OBJ_ENHMETADC                        equ 12
OBJ_ENHMETAFILE                      equ 13
MWT_IDENTITY                         equ 1
MWT_LEFTMULTIPLY                     equ 2
MWT_RIGHTMULTIPLY                    equ 3
MWT_MIN                              equ MWT_IDENTITY
MWT_MAX                              equ MWT_RIGHTMULTIPLY
BI_RGB                               equ 0
BI_RLE8                              equ 1
BI_RLE4                              equ 2
BI_BITFIELDS                         equ 3
NTM_REGULAR                          equ 40h
NTM_BOLD                             equ 20h
NTM_ITALIC                           equ 1h
TMPF_FIXED_PITCH                     equ 1h
TMPF_VECTOR                          equ 2h
TMPF_DEVICE                          equ 8h
TMPF_TRUETYPE                        equ 4h
LF_FULLFACESIZE                      equ 64
OUT_DEFAULT_PRECIS                   equ 0
OUT_STRING_PRECIS                    equ 1
OUT_CHARACTER_PRECIS                 equ 2
OUT_STROKE_PRECIS                    equ 3
OUT_TT_PRECIS                        equ 4
OUT_DEVICE_PRECIS                    equ 5
OUT_RASTER_PRECIS                    equ 6
OUT_TT_ONLY_PRECIS                   equ 7
OUT_OUTLINE_PRECIS                   equ 8
CLIP_DEFAULT_PRECIS                  equ 0
CLIP_CHARACTER_PRECIS                equ 1
CLIP_STROKE_PRECIS                   equ 2
CLIP_MASK                            equ 0Fh
CLIP_LH_ANGLES                       equ 16
CLIP_TT_ALWAYS                       equ 32
CLIP_EMBEDDED                        equ 128
DEFAULT_QUALITY                      equ 0
DRAFT_QUALITY                        equ 1
PROOF_QUALITY                        equ 2
DEFAULT_PITCH                        equ 0
FIXED_PITCH                          equ 1
VARIABLE_PITCH                       equ 2
ANSI_CHARSET                         equ 0
DEFAULT_CHARSET                      equ 1
SYMBOL_CHARSET                       equ 2
SHIFTJIS_CHARSET                     equ 128
GB2312_CHARSET         equ 134
HANGEUL_CHARSET                      equ 129
CHINESEBIG5_CHARSET                  equ 136
OEM_CHARSET                          equ 255
FF_DONTCARE                          equ 0
FF_ROMAN                             equ 16
FF_SWISS                             equ 32
FF_MODERN                            equ 48
FF_SCRIPT                            equ 64
FF_DECORATIVE                        equ 80
FW_DONTCARE                          equ 0
FW_THIN                              equ 100
FW_EXTRALIGHT                        equ 200
FW_LIGHT                             equ 300
FW_NORMAL                            equ 400
FW_MEDIUM                            equ 500
FW_SEMIBOLD                          equ 600
FW_BOLD                              equ 700
FW_EXTRABOLD                         equ 800
FW_HEAVY                             equ 900
FW_ULTRALIGHT                        equ FW_EXTRALIGHT
FW_REGULAR                           equ FW_NORMAL
FW_DEMIBOLD                          equ FW_SEMIBOLD
FW_ULTRABOLD                         equ FW_EXTRABOLD
FW_BLACK                             equ FW_HEAVY
PANOSE_COUNT                         equ 10
PAN_FAMILYTYPE_INDEX                 equ 0
PAN_SERIFSTYLE_INDEX                 equ 1
PAN_WEIGHT_INDEX                     equ 2
PAN_PROPORTION_INDEX                 equ 3
PAN_CONTRAST_INDEX                   equ 4
PAN_STROKEVARIATION_INDEX            equ 5
PAN_ARMSTYLE_INDEX                   equ 6
PAN_LETTERFORM_INDEX                 equ 7
PAN_MIDLINE_INDEX                    equ 8
PAN_XHEIGHT_INDEX                    equ 9
PAN_CULTURE_LATIN                    equ 0
PAN_ANY                              equ 0
PAN_NO_FIT                           equ 1
PAN_FAMILY_TEXT_DISPLAY              equ 2
PAN_FAMILY_SCRIPT                    equ 3
PAN_FAMILY_DECORATIVE                equ 4
PAN_FAMILY_PICTORIAL                 equ 5
PAN_SERIF_COVE                       equ 2
PAN_SERIF_OBTUSE_COVE                equ 3
PAN_SERIF_SQUARE_COVE                equ 4
PAN_SERIF_OBTUSE_SQUARE_COVE         equ 5
PAN_SERIF_SQUARE                     equ 6
PAN_SERIF_THIN                       equ 7
PAN_SERIF_BONE                       equ 8
PAN_SERIF_EXAGGERATED                equ 9
PAN_SERIF_TRIANGLE                   equ 10
PAN_SERIF_NORMAL_SANS                equ 11
PAN_SERIF_OBTUSE_SANS                equ 12
PAN_SERIF_PERP_SANS                  equ 13
PAN_SERIF_FLARED                     equ 14
PAN_SERIF_ROUNDED                    equ 15
PAN_WEIGHT_VERY_LIGHT                equ 2
PAN_WEIGHT_LIGHT                     equ 3
PAN_WEIGHT_THIN                      equ 4
PAN_WEIGHT_BOOK                      equ 5
PAN_WEIGHT_MEDIUM                    equ 6
PAN_WEIGHT_DEMI                      equ 7
PAN_WEIGHT_BOLD                      equ 8
PAN_WEIGHT_HEAVY                     equ 9
PAN_WEIGHT_BLACK                     equ 10
PAN_WEIGHT_NORD                      equ 11
PAN_PROP_OLD_STYLE                   equ 2
PAN_PROP_MODERN                      equ 3
PAN_PROP_EVEN_WIDTH                  equ 4
PAN_PROP_EXPANDED                    equ 5
PAN_PROP_CONDENSED                   equ 6
PAN_PROP_VERY_EXPANDED               equ 7
PAN_PROP_VERY_CONDENSED              equ 8
PAN_PROP_MONOSPACED                  equ 9
PAN_CONTRAST_NONE                    equ 2
PAN_CONTRAST_VERY_LOW                equ 3
PAN_CONTRAST_LOW                     equ 4
PAN_CONTRAST_MEDIUM_LOW              equ 5
PAN_CONTRAST_MEDIUM                  equ 6
PAN_CONTRAST_MEDIUM_HIGH             equ 7
PAN_CONTRAST_HIGH                    equ 8
PAN_CONTRAST_VERY_HIGH               equ 9
PAN_STROKE_GRADUAL_DIAG              equ 2
PAN_STROKE_GRADUAL_TRAN              equ 3
PAN_STROKE_GRADUAL_VERT              equ 4
PAN_STROKE_GRADUAL_HORZ              equ 5
PAN_STROKE_RAPID_VERT                equ 6
PAN_STROKE_RAPID_HORZ                equ 7
PAN_STROKE_INSTANT_VERT              equ 8
PAN_STRAIGHT_ARMS_HORZ               equ 2
PAN_STRAIGHT_ARMS_WEDGE              equ 3
PAN_STRAIGHT_ARMS_VERT               equ 4
PAN_STRAIGHT_ARMS_SINGLE_SERIF       equ 5
PAN_STRAIGHT_ARMS_DOUBLE_SERIF       equ 6
PAN_BENT_ARMS_HORZ                   equ 7
PAN_BENT_ARMS_WEDGE                  equ 8
PAN_BENT_ARMS_VERT                   equ 9
PAN_BENT_ARMS_SINGLE_SERIF           equ 10
PAN_BENT_ARMS_DOUBLE_SERIF           equ 11
PAN_LETT_NORMAL_CONTACT              equ 2
PAN_LETT_NORMAL_WEIGHTED             equ 3
PAN_LETT_NORMAL_BOXED                equ 4
PAN_LETT_NORMAL_FLATTENED            equ 5
PAN_LETT_NORMAL_ROUNDED              equ 6
PAN_LETT_NORMAL_OFF_CENTER           equ 7
PAN_LETT_NORMAL_SQUARE               equ 8
PAN_LETT_OBLIQUE_CONTACT             equ 9
PAN_LETT_OBLIQUE_WEIGHTED            equ 10
PAN_LETT_OBLIQUE_BOXED               equ 11
PAN_LETT_OBLIQUE_FLATTENED           equ 12
PAN_LETT_OBLIQUE_ROUNDED             equ 13
PAN_LETT_OBLIQUE_OFF_CENTER          equ 14
PAN_LETT_OBLIQUE_SQUARE              equ 15
PAN_MIDLINE_STANDARD_TRIMMED         equ 2
PAN_MIDLINE_STANDARD_POINTED         equ 3
PAN_MIDLINE_STANDARD_SERIFED         equ 4
PAN_MIDLINE_HIGH_TRIMMED             equ 5
PAN_MIDLINE_HIGH_POINTED             equ 6
PAN_MIDLINE_HIGH_SERIFED             equ 7
PAN_MIDLINE_CONSTANT_TRIMMED         equ 8
PAN_MIDLINE_CONSTANT_POINTED         equ 9
PAN_MIDLINE_CONSTANT_SERIFED         equ 10
PAN_MIDLINE_LOW_TRIMMED              equ 11
PAN_MIDLINE_LOW_POINTED              equ 12
PAN_MIDLINE_LOW_SERIFED              equ 13
PAN_XHEIGHT_CONSTANT_SMALL           equ 2
PAN_XHEIGHT_CONSTANT_STD             equ 3
PAN_XHEIGHT_CONSTANT_LARGE           equ 4
PAN_XHEIGHT_DUCKING_SMALL            equ 5
PAN_XHEIGHT_DUCKING_STD              equ 6
PAN_XHEIGHT_DUCKING_LARGE            equ 7
ELF_VENDOR_SIZE                      equ 4
ELF_VERSION                          equ 0
ELF_CULTURE_LATIN                    equ 0
RASTER_FONTTYPE                      equ 1h
DEVICE_FONTTYPE                      equ 2h
TRUETYPE_FONTTYPE                    equ 4h
PC_RESERVED                          equ 1h
PC_EXPLICIT                          equ 2h
PC_NOCOLLAPSE                        equ 4h
TRANSPARENT                          equ 1
OPAQUE                               equ 2
BKMODE_LAST                          equ 2
GM_COMPATIBLE                        equ 1
GM_ADVANCED                          equ 2
GM_LAST                              equ 2
PT_CLOSEFIGURE                       equ 1h
PT_LINETO                            equ 2h
PT_BEZIERTO                          equ 4h
PT_MOVETO                            equ 6h
MM_TEXT                              equ 1
MM_LOMETRIC                          equ 2
MM_HIMETRIC                          equ 3
MM_LOENGLISH                         equ 4
MM_HIENGLISH                         equ 5
MM_TWIPS                             equ 6
MM_ISOTROPIC                         equ 7
MM_ANISOTROPIC                       equ 8
MM_MIN                               equ MM_TEXT
MM_MAX                               equ MM_ANISOTROPIC
MM_MAX_FIXEDSCALE                    equ MM_TWIPS
ABSOLUTE                             equ 1
RELATIVE                             equ 2
WHITE_BRUSH                          equ 0
LTGRAY_BRUSH                         equ 1
GRAY_BRUSH                           equ 2
DKGRAY_BRUSH                         equ 3
BLACK_BRUSH                          equ 4
NULL_BRUSH                           equ 5
HOLLOW_BRUSH                         equ NULL_BRUSH
WHITE_PEN                            equ 6
BLACK_PEN                            equ 7
NULL_PEN                             equ 8
OEM_FIXED_FONT                       equ 10
ANSI_FIXED_FONT                      equ 11
ANSI_VAR_FONT                        equ 12
SYSTEM_FONT                          equ 13
DEVICE_DEFAULT_FONT                  equ 14
DEFAULT_PALETTE                      equ 15
SYSTEM_FIXED_FONT                    equ 16
STOCK_LAST                           equ 16
CLR_INVALID                          equ 0FFFFh
BS_SOLID                             equ 0
BS_NULL                              equ 1
BS_HOLLOW                            equ BS_NULL
BS_HATCHED                           equ 2
BS_PATTERN                           equ 3
BS_INDEXED                           equ 4
BS_DIBPATTERN                        equ 5
BS_DIBPATTERNPT                      equ 6
BS_PATTERN8X8                        equ 7
BS_DIBPATTERN8X8                     equ 8
BS_PUSHBOX                           equ 0Ah
HS_HORIZONTAL                        equ 0
HS_VERTICAL                          equ 1
HS_FDIAGONAL                         equ 2
HS_BDIAGONAL                         equ 3
HS_CROSS                             equ 4
HS_DIAGCROSS                         equ 5
HS_FDIAGONAL1                        equ 6
HS_BDIAGONAL1                        equ 7
HS_SOLID                             equ 8
HS_DENSE1                            equ 9
HS_DENSE2                            equ 10
HS_DENSE3                            equ 11
HS_DENSE4                            equ 12
HS_DENSE5                            equ 13
HS_DENSE6                            equ 14
HS_DENSE7                            equ 15
HS_DENSE8                            equ 16
HS_NOSHADE                           equ 17
HS_HALFTONE                          equ 18
HS_SOLIDCLR                          equ 19
HS_DITHEREDCLR                       equ 20
HS_SOLIDTEXTCLR                      equ 21
HS_DITHEREDTEXTCLR                   equ 22
HS_SOLIDBKCLR                        equ 23
HS_DITHEREDBKCLR                     equ 24
HS_API_MAX                           equ 25
PS_SOLID                             equ 0
PS_DASH                              equ 1
PS_DOT                               equ 2
PS_DASHDOT                           equ 3
PS_DASHDOTDOT                        equ 4
PS_NULL                              equ 5
PS_INSIDEFRAME                       equ 6
PS_USERSTYLE                         equ 7
PS_ALTERNATE                         equ 8
PS_STYLE_MASK                        equ 0Fh
PS_ENDCAP_ROUND                      equ 0h
PS_ENDCAP_SQUARE                     equ 100h
PS_ENDCAP_FLAT                       equ 200h
PS_ENDCAP_MASK                       equ 0F00h
PS_JOIN_ROUND                        equ 0h
PS_JOIN_BEVEL                        equ 1000h
PS_JOIN_MITER                        equ 2000h
PS_JOIN_MASK                         equ 0F000h
PS_COSMETIC                          equ 0h
PS_GEOMETRIC                         equ 10000h
PS_TYPE_MASK                         equ 0F0000h
AD_COUNTERCLOCKWISE                  equ 1
AD_CLOCKWISE                         equ 2
PRF_CHECKVISIBLE                     equ 00000001h
PRF_NONCLIENT                        equ 00000002h
PRF_CLIENT                           equ 00000004h
PRF_ERASEBKGND                       equ 00000008h
PRF_CHILDREN                         equ 00000010h
PRF_OWNED                            equ 00000020h
BDR_RAISEDOUTER                      equ 0001h
BDR_SUNKENOUTER                      equ 0002h
BDR_RAISEDINNER                      equ 0004h
BDR_SUNKENINNER                      equ 0008h
BDR_OUTER                            equ 0003h
BDR_INNER                            equ 000Ch
BDR_RAISED                           equ 0005h
BDR_SUNKEN                           equ 000Ah
EDGE_RAISED                          equ BDR_RAISEDOUTER OR BDR_RAISEDINNER
EDGE_SUNKEN                          equ BDR_SUNKENOUTER OR BDR_SUNKENINNER
EDGE_ETCHED                          equ BDR_SUNKENOUTER OR BDR_RAISEDINNER
EDGE_BUMP                            equ BDR_RAISEDOUTER OR BDR_SUNKENINNER
BF_LEFT                              equ 0001h
BF_TOP                               equ 0002h
BF_RIGHT                             equ 0004h
BF_BOTTOM                            equ 0008h
BF_TOPLEFT                           equ BF_TOP OR BF_LEFT
BF_TOPRIGHT                          equ BF_TOP OR BF_RIGHT
BF_BOTTOMLEFT                        equ BF_BOTTOM OR BF_LEFT
BF_BOTTOMRIGHT                       equ BF_BOTTOM OR BF_RIGHT
BF_RECT                              equ BF_LEFT OR BF_TOP OR BF_RIGHT OR BF_BOTTOM
BF_DIAGONAL                          equ 0010h
BF_DIAGONAL_ENDTOPRIGHT              equ BF_DIAGONAL OR BF_TOP OR BF_RIGHT
BF_DIAGONAL_ENDTOPLEFT               equ BF_DIAGONAL OR BF_TOP OR BF_LEFT
BF_DIAGONAL_ENDBOTTOMLEFT            equ BF_DIAGONAL OR BF_BOTTOM OR BF_LEFT
BF_DIAGONAL_ENDBOTTOMRIGHT           equ BF_DIAGONAL OR BF_BOTTOM OR BF_RIGHT
BF_MIDDLE                            equ 0800h
BF_SOFT                              equ 1000h
BF_ADJUST                            equ 2000h
BF_FLAT                              equ 4000h
BF_MONO                              equ 8000h
DRIVERVERSION                        equ 0
TECHNOLOGY                           equ 2
HORZSIZE                             equ 4
VERTSIZE                             equ 6
HORZRES                              equ 8
VERTRES                              equ 10
BITSPIXEL                            equ 12
PLANES                               equ 14
NUMBRUSHES                           equ 16
NUMPENS                              equ 18
NUMMARKERS                           equ 20
NUMFONTS                             equ 22
NUMCOLORS                            equ 24
PDEVICESIZE                          equ 26
CURVECAPS                            equ 28
LINECAPS                             equ 30
POLYGONALCAPS                        equ 32
TEXTCAPS                             equ 34
CLIPCAPS                             equ 36
RASTERCAPS                           equ 38
ASPECTX                              equ 40
ASPECTY                              equ 42
ASPECTXY                             equ 44
LOGPIXELSX                           equ 88
LOGPIXELSY                           equ 90
SIZEPALETTE                          equ 104
NUMRESERVED                          equ 106
COLORRES                             equ 108
PHYSICALWIDTH                        equ 110
PHYSICALHEIGHT                       equ 111
PHYSICALOFFSETX                      equ 112
PHYSICALOFFSETY                      equ 113
SCALINGFACTORX                       equ 114
SCALINGFACTORY                       equ 115
DT_PLOTTER                           equ 0
DT_RASDISPLAY                        equ 1
DT_RASPRINTER                        equ 2
DT_RASCAMERA                         equ 3
DT_CHARSTREAM                        equ 4
DT_METAFILE                          equ 5
DT_DISPFILE                          equ 6
CC_NONE                              equ 0
CC_CIRCLES                           equ 1
CC_PIE                               equ 2
CC_CHORD                             equ 4
CC_ELLIPSES                          equ 8
CC_WIDE                              equ 16
CC_STYLED                            equ 32
CC_WIDESTYLED                        equ 64
CC_INTERIORS                         equ 128
CC_ROUNDRECT                         equ 256
LC_NONE                              equ 0
LC_POLYLINE                          equ 2
LC_MARKER                            equ 4
LC_POLYMARKER                        equ 8
LC_WIDE                              equ 16
LC_STYLED                            equ 32
LC_WIDESTYLED                        equ 64
LC_INTERIORS                         equ 128
PC_NONE                              equ 0
PC_POLYGON                           equ 1
PC_RECTANGLE                         equ 2
PC_WINDPOLYGON                       equ 4
PC_TRAPEZOID                         equ 4
PC_SCANLINE                          equ 8
PC_WIDE                              equ 16
PC_STYLED                            equ 32
PC_WIDESTYLED                        equ 64
PC_INTERIORS                         equ 128
CP_NONE                              equ 0
CP_RECTANGLE                         equ 1
CP_REGION                            equ 2
TC_OP_CHARACTER                      equ 1h
TC_OP_STROKE                         equ 2h
TC_CP_STROKE                         equ 4h
TC_CR_90                             equ 8h
TC_CR_ANY                            equ 10h
TC_SF_X_YINDEP                       equ 20h
TC_SA_DOUBLE                         equ 40h
TC_SA_INTEGER                        equ 80h
TC_SA_CONTIN                         equ 100h
TC_EA_DOUBLE                         equ 200h
TC_IA_ABLE                           equ 400h
TC_UA_ABLE                           equ 800h
TC_SO_ABLE                           equ 1000h
TC_RA_ABLE                           equ 2000h
TC_VA_ABLE                           equ 4000h
TC_RESERVED                          equ 8000h
TC_SCROLLBLT                         equ 10000h
RC_NONE                              equ 0
RC_BITBLT                            equ 1
RC_BANDING                           equ 2
RC_SCALING                           equ 4
RC_BITMAP64                          equ 8
RC_GDI20_OUTPUT                      equ 10h
RC_GDI20_STATE                       equ 20h
RC_SAVEBITMAP                        equ 40h
RC_DI_BITMAP                         equ 80h
RC_PALETTE                           equ 100h
RC_DIBTODEV                          equ 200h
RC_BIGFONT                           equ 400h
RC_STRETCHBLT                        equ 800h
RC_FLOODFILL                         equ 1000h
RC_STRETCHDIB                        equ 2000h
RC_OP_DX_OUTPUT                      equ 4000h
RC_DEVBITS                           equ 8000h
DIB_RGB_COLORS                       equ 0
DIB_PAL_COLORS                       equ 1
DIB_PAL_INDICES                      equ 2
DIB_PAL_PHYSINDICES                  equ 2
DIB_PAL_LOGINDICES                   equ 4
SYSPAL_ERROR                         equ 0
SYSPAL_STATIC                        equ 1
SYSPAL_NOSTATIC                      equ 2
CBM_CREATEDIB                        equ 2h
CBM_INIT                             equ 4h
FLOODFILLBORDER                      equ 0
FLOODFILLSURFACE                     equ 1
CCHDEVICENAME                        equ 32
CCHFORMNAME                          equ 32
DM_SPECVERSION                       equ 320h
DM_ORIENTATION                       equ 1h
DM_PAPERSIZE                         equ 2h
DM_PAPERLENGTH                       equ 4h
DM_PAPERWIDTH                        equ 8h
DM_SCALE                             equ 10h
DM_COPIES                            equ 100h
DM_DEFAULTSOURCE                     equ 200h
DM_PRINTQUALITY                      equ 400h
DM_COLOR                             equ 800h
DM_DUPLEX                            equ 1000h
DM_YRESOLUTION                       equ 2000h
DM_TTOPTION                          equ 4000h
DM_COLLATE                           equ 8000h
DM_FORMNAME                          equ 10000h
DMORIENT_PORTRAIT                    equ 1
DMORIENT_LANDSCAPE                   equ 2
DMPAPER_LETTER                       equ 1
DMPAPER_FIRST                        equ DMPAPER_LETTER
DMPAPER_LETTERSMALL                  equ 2
DMPAPER_TABLOID                      equ 3
DMPAPER_LEDGER                       equ 4
DMPAPER_LEGAL                        equ 5
DMPAPER_STATEMENT                    equ 6
DMPAPER_EXECUTIVE                    equ 7
DMPAPER_A3                           equ 8
DMPAPER_A4                           equ 9
DMPAPER_A4SMALL                      equ 10
DMPAPER_A5                           equ 11
DMPAPER_B4                           equ 12
DMPAPER_B5                           equ 13
DMPAPER_FOLIO                        equ 14
DMPAPER_QUARTO                       equ 15
DMPAPER_10X14                        equ 16
DMPAPER_11X17                        equ 17
DMPAPER_NOTE                         equ 18
DMPAPER_ENV_9                        equ 19
DMPAPER_ENV_10                       equ 20
DMPAPER_ENV_11                       equ 21
DMPAPER_ENV_12                       equ 22
DMPAPER_ENV_14                       equ 23
DMPAPER_CSHEET                       equ 24
DMPAPER_DSHEET                       equ 25
DMPAPER_ESHEET                       equ 26
DMPAPER_ENV_DL                       equ 27
DMPAPER_ENV_C5                       equ 28
DMPAPER_ENV_C3                       equ 29
DMPAPER_ENV_C4                       equ 30
DMPAPER_ENV_C6                       equ 31
DMPAPER_ENV_C65                      equ 32
DMPAPER_ENV_B4                       equ 33
DMPAPER_ENV_B5                       equ 34
DMPAPER_ENV_B6                       equ 35
DMPAPER_ENV_ITALY                    equ 36
DMPAPER_ENV_MONARCH                  equ 37
DMPAPER_ENV_PERSONAL                 equ 38
DMPAPER_FANFOLD_US                   equ 39
DMPAPER_FANFOLD_STD_GERMAN           equ 40
DMPAPER_FANFOLD_LGL_GERMAN           equ 41
DMPAPER_LAST                         equ DMPAPER_FANFOLD_LGL_GERMAN
DMPAPER_USER                         equ 256
DMBIN_UPPER                          equ 1
DMBIN_FIRST                          equ DMBIN_UPPER
DMBIN_ONLYONE                        equ 1
DMBIN_LOWER                          equ 2
DMBIN_MIDDLE                         equ 3
DMBIN_MANUAL                         equ 4
DMBIN_ENVELOPE                       equ 5
DMBIN_ENVMANUAL                      equ 6
DMBIN_AUTO                           equ 7
DMBIN_TRACTOR                        equ 8
DMBIN_SMALLFMT                       equ 9
DMBIN_LARGEFMT                       equ 10
DMBIN_LARGECAPACITY                  equ 11
DMBIN_CASSETTE                       equ 14
DMBIN_LAST                           equ DMBIN_CASSETTE
DMBIN_USER                           equ 256
DMRES_DRAFT                          equ -1
DMRES_LOW                            equ -2
DMRES_MEDIUM                         equ -3
DMRES_HIGH                           equ -4
DMCOLOR_MONOCHROME                   equ 1
DMCOLOR_COLOR                        equ 2
DMDUP_SIMPLEX                        equ 1
DMDUP_VERTICAL                       equ 2
DMDUP_HORIZONTAL                     equ 3
DMTT_BITMAP                          equ 1
DMTT_DOWNLOAD                        equ 2
DMTT_SUBDEV                          equ 3
DMCOLLATE_FALSE                      equ 0
DMCOLLATE_TRUE                       equ 1
DM_GRAYSCALE                         equ 1h
DM_INTERLACED                        equ 2h
RDH_RECTANGLES                       equ 1
GGO_METRICS                          equ 0
GGO_BITMAP                           equ 1
GGO_NATIVE                           equ 2
TT_POLYGON_TYPE                      equ 24
TT_PRIM_LINE                         equ 1
TT_PRIM_QSPLINE                      equ 2
TT_AVAILABLE                         equ 1h
TT_ENABLED                           equ 2h
DM_UPDATE                            equ 1
DM_COPY                              equ 2
DM_PROMPT                            equ 4
DM_MODIFY                            equ 8
DM_IN_BUFFER                         equ DM_MODIFY
DM_IN_PROMPT                         equ DM_PROMPT
DM_OUT_BUFFER                        equ DM_COPY
DM_OUT_DEFAULT                       equ DM_UPDATE
DC_FIELDS                            equ 1
DC_PAPERS                            equ 2
DC_PAPERSIZE                         equ 3
DC_MINEXTENT                         equ 4
DC_MAXEXTENT                         equ 5
DC_BINS                              equ 6
DC_DUPLEX                            equ 7
DC_SIZE                              equ 8
DC_EXTRA                             equ 9
DC_VERSION                           equ 10
DC_DRIVER                            equ 11
DC_BINNAMES                          equ 12
DC_ENUMRESOLUTIONS                   equ 13
DC_FILEDEPENDENCIES                  equ 14
DC_TRUETYPE                          equ 15
DC_PAPERNAMES                        equ 16
DC_ORIENTATION                       equ 17
DC_COPIES                            equ 18
DCTT_BITMAP                          equ 1h
DCTT_DOWNLOAD                        equ 2h
DCTT_SUBDEV                          equ 4h
CA_NEGATIVE                          equ 1h
CA_LOG_FILTER                        equ 2h
ILLUMINANT_DEVICE_DEFAULT            equ 0
ILLUMINANT_A                         equ 1
ILLUMINANT_B                         equ 2
ILLUMINANT_C                         equ 3
ILLUMINANT_D50                       equ 4
ILLUMINANT_D55                       equ 5
ILLUMINANT_D65                       equ 6
ILLUMINANT_D75                       equ 7
ILLUMINANT_F2                        equ 8
ILLUMINANT_MAX_INDEX                 equ ILLUMINANT_F2
ILLUMINANT_TUNGSTEN                  equ ILLUMINANT_A
ILLUMINANT_DAYLIGHT                  equ ILLUMINANT_C
ILLUMINANT_FLUORESCENT               equ ILLUMINANT_F2
ILLUMINANT_NTSC                      equ ILLUMINANT_C
RGB_GAMMA_MIN                        equ 2500
RGB_GAMMA_MAX                        equ 65000
REFERENCE_WHITE_MIN                  equ 6000
REFERENCE_WHITE_MAX                  equ 10000
REFERENCE_BLACK_MIN                  equ 0
REFERENCE_BLACK_MAX                  equ 4000
COLOR_ADJ_MIN                        equ -100
COLOR_ADJ_MAX                        equ 100
FONTMAPPER_MAX                       equ 10
ENHMETA_SIGNATURE                    equ 464D4520h
ENHMETA_STOCK_OBJECT                 equ 80000000h
EMR_HEADER                           equ 1
EMR_POLYBEZIER                       equ 2
EMR_POLYGON                          equ 3
EMR_POLYLINE                         equ 4
EMR_POLYBEZIERTO                     equ 5
EMR_POLYLINETO                       equ 6
EMR_POLYPOLYLINE                     equ 7
EMR_POLYPOLYGON                      equ 8
EMR_SETWINDOWEXTEX                   equ 9
EMR_SETWINDOWORGEX                   equ 10
EMR_SETVIEWPORTEXTEX                 equ 11
EMR_SETVIEWPORTORGEX                 equ 12
EMR_SETBRUSHORGEX                    equ 13
EMR_EOF                              equ 14
EMR_SETPIXELV                        equ 15
EMR_SETMAPPERFLAGS                   equ 16
EMR_SETMAPMODE                       equ 17
EMR_SETBKMODE                        equ 18
EMR_SETPOLYFILLMODE                  equ 19
EMR_SETROP2                          equ 20
EMR_SETSTRETCHBLTMODE                equ 21
EMR_SETTEXTALIGN                     equ 22
EMR_SETCOLORADJUSTMENT               equ 23
EMR_SETTEXTCOLOR                     equ 24
EMR_SETBKCOLOR                       equ 25
EMR_OFFSETCLIPRGN                    equ 26
EMR_MOVETOEX                         equ 27
EMR_SETMETARGN                       equ 28
EMR_EXCLUDECLIPRECT                  equ 29
EMR_INTERSECTCLIPRECT                equ 30
EMR_SCALEVIEWPORTEXTEX               equ 31
EMR_SCALEWINDOWEXTEX                 equ 32
EMR_SAVEDC                           equ 33
EMR_RESTOREDC                        equ 34
EMR_SETWORLDTRANSFORM                equ 35
EMR_MODIFYWORLDTRANSFORM             equ 36
EMR_SELECTOBJECT                     equ 37
EMR_CREATEPEN                        equ 38
EMR_CREATEBRUSHINDIRECT              equ 39
EMR_DELETEOBJECT                     equ 40
EMR_ANGLEARC                         equ 41
EMR_ELLIPSE                          equ 42
EMR_RECTANGLE                        equ 43
EMR_ROUNDRECT                        equ 44
EMR_ARC                              equ 45
EMR_CHORD                            equ 46
EMR_PIE                              equ 47
EMR_SELECTPALETTE                    equ 48
EMR_CREATEPALETTE                    equ 49
EMR_SETPALETTEENTRIES                equ 50
EMR_RESIZEPALETTE                    equ 51
EMR_REALIZEPALETTE                   equ 52
EMR_EXTFLOODFILL                     equ 53
EMR_LINETO                           equ 54
EMR_ARCTO                            equ 55
EMR_POLYDRAW                         equ 56
EMR_SETARCDIRECTION                  equ 57
EMR_SETMITERLIMIT                    equ 58
EMR_BEGINPATH                        equ 59
EMR_ENDPATH                          equ 60
EMR_CLOSEFIGURE                      equ 61
EMR_FILLPATH                         equ 62
EMR_STROKEANDFILLPATH                equ 63
EMR_STROKEPATH                       equ 64
EMR_FLATTENPATH                      equ 65
EMR_WIDENPATH                        equ 66
EMR_SELECTCLIPPATH                   equ 67
EMR_ABORTPATH                        equ 68
EMR_GDICOMMENT                       equ 70
EMR_FILLRGN                          equ 71
EMR_FRAMERGN                         equ 72
EMR_INVERTRGN                        equ 73
EMR_PAINTRGN                         equ 74
EMR_EXTSELECTCLIPRGN                 equ 75
EMR_BITBLT                           equ 76
EMR_STRETCHBLT                       equ 77
EMR_MASKBLT                          equ 78
EMR_PLGBLT                           equ 79
EMR_SETDIBITSTODEVICE                equ 80
EMR_STRETCHDIBITS                    equ 81
EMR_EXTCREATEFONTINDIRECTW           equ 82
EMR_EXTTEXTOUTA                      equ 83
EMR_EXTTEXTOUTW                      equ 84
EMR_POLYBEZIER16                     equ 85
EMR_POLYGON16                        equ 86
EMR_POLYLINE16                       equ 87
EMR_POLYBEZIERTO16                   equ 88
EMR_POLYLINETO16                     equ 89
EMR_POLYPOLYLINE16                   equ 90
EMR_POLYPOLYGON16                    equ 91
EMR_POLYDRAW16                       equ 92
EMR_CREATEMONOBRUSH                  equ 93
EMR_CREATEDIBPATTERNBRUSHPT          equ 94
EMR_EXTCREATEPEN                     equ 95
EMR_POLYTEXTOUTA                     equ 96
EMR_POLYTEXTOUTW                     equ 97
EMR_MIN                              equ 1
EMR_MAX                              equ 97
STRETCH_ANDSCANS                     equ 1
STRETCH_ORSCANS                      equ 2
STRETCH_DELETESCANS                  equ 3
STRETCH_HALFTONE                     equ 4
TCI_SRCCHARSET                       equ 1
TCI_SRCCODEPAGE                      equ 2
TCI_SRCFONTSIG                       equ 3
MONO_FONT                            equ 8
JOHAB_CHARSET                        equ 130
HEBREW_CHARSET                       equ 177
ARABIC_CHARSET                       equ 178
GREEK_CHARSET                        equ 161
TURKISH_CHARSET                      equ 162
THAI_CHARSET                         equ 222
EASTEUROPE_CHARSET                   equ 238
RUSSIAN_CHARSET                      equ 204
MAC_CHARSET                          equ 77
BALTIC_CHARSET                       equ 186
FS_LATIN1                            equ 1h
FS_LATIN2                            equ 2h
FS_CYRILLIC                          equ 4h
FS_GREEK                             equ 8h
FS_TURKISH                           equ 10h
FS_HEBREW                            equ 20h
FS_ARABIC                            equ 40h
FS_BALTIC                            equ 80h
FS_THAI                              equ 10000h
FS_JISJAPAN                          equ 20000h
FS_CHINESESIMP                       equ 40000h
FS_WANSUNG                           equ 80000h
FS_CHINESETRAD                       equ 100000h
FS_JOHAB                             equ 200000h
FS_SYMBOL                            equ 80000000h
DEFAULT_GUI_FONT                     equ 17
DM_RESERVED1                         equ 800000h
DM_RESERVED2                         equ 1000000h
DM_ICMMETHOD                         equ 2000000h
DM_ICMINTENT                         equ 4000000h
DM_MEDIATYPE                         equ 8000000h
DM_DITHERTYPE                        equ 10000000h
DMPAPER_ISO_B4                       equ 42
DMPAPER_JAPANESE_POSTCARD            equ 43
DMPAPER_9X11                         equ 44
DMPAPER_10X11                        equ 45
DMPAPER_15X11                        equ 46
DMPAPER_ENV_INVITE                   equ 47
DMPAPER_RESERVED_48                  equ 48
DMPAPER_RESERVED_49                  equ 49
DMPAPER_LETTER_EXTRA                 equ 50
DMPAPER_LEGAL_EXTRA                  equ 51
DMPAPER_TABLOID_EXTRA                equ 52
DMPAPER_A4_EXTRA                     equ 53
DMPAPER_LETTER_TRANSVERSE            equ 54
DMPAPER_A4_TRANSVERSE                equ 55
DMPAPER_LETTER_EXTRA_TRANSVERSE      equ 56
DMPAPER_A_PLUS                       equ 57
DMPAPER_B_PLUS                       equ 58
DMPAPER_LETTER_PLUS                  equ 59
DMPAPER_A4_PLUS                      equ 60
DMPAPER_A5_TRANSVERSE                equ 61
DMPAPER_B5_TRANSVERSE                equ 62
DMPAPER_A3_EXTRA                     equ 63
DMPAPER_A5_EXTRA                     equ 64
DMPAPER_B5_EXTRA                     equ 65
DMPAPER_A2                           equ 66
DMPAPER_A3_TRANSVERSE                equ 67
DMPAPER_A3_EXTRA_TRANSVERSE          equ 68
DMTT_DOWNLOAD_OUTLINE                equ 4
DMICMMETHOD_NONE                     equ 1
DMICMMETHOD_SYSTEM                   equ 2
DMICMMETHOD_DRIVER                   equ 3
DMICMMETHOD_DEVICE                   equ 4
DMICMMETHOD_USER                     equ 256
DMICM_SATURATE                       equ 1
DMICM_CONTRAST                       equ 2
DMICM_COLORMETRIC                    equ 3
DMICM_USER                           equ 256
DMMEDIA_STANDARD                     equ 1
DMMEDIA_GLOSSY                       equ 2
DMMEDIA_TRANSPARENCY                 equ 3
DMMEDIA_USER                         equ 256
DMDITHER_NONE                        equ 1
DMDITHER_COARSE                      equ 2
DMDITHER_FINE                        equ 3
DMDITHER_LINEART                     equ 4
DMDITHER_GRAYSCALE                   equ 5
DMDITHER_USER                        equ 256
GGO_GRAY2_BITMAP                     equ 4
GGO_GRAY4_BITMAP                     equ 5
GGO_GRAY8_BITMAP                     equ 6
GGO_GLYPH_INDEX                      equ 80h
GCP_DBCS                             equ 1h
GCP_REORDER                          equ 2h
GCP_USEKERNING                       equ 8h
GCP_GLYPHSHAPE                       equ 10h
GCP_LIGATE                           equ 20h
GCP_DIACRITIC                        equ 100h
GCP_KASHIDA                          equ 400h
GCP_ERROR                            equ 8000h
FLI_MASK                             equ 103Bh
GCP_JUSTIFY                          equ 10000h
GCP_NODIACRITICS                     equ 20000h
FLI_GLYPHS                           equ 40000h
GCP_CLASSIN                          equ 80000h
GCP_MAXEXTENT                        equ 100000h
GCP_JUSTIFYIN                        equ 200000h
GCP_DISPLAYZWG                       equ 400000h
GCP_SYMSWAPOFF                       equ 800000h
GCP_NUMERICOVERRIDE                  equ 1000000h
GCP_NEUTRALOVERRIDE                  equ 2000000h
GCP_NUMERICSLATIN                    equ 4000000h
GCP_NUMERICSLOCAL                    equ 8000000h
GCPCLASS_LATIN                       equ 1
GCPCLASS_HEBREW                      equ 2
GCPCLASS_ARABIC                      equ 2
GCPCLASS_NEUTRAL                     equ 3
GCPCLASS_LOCALNUMBER                 equ 4
GCPCLASS_LATINNUMBER                 equ 5
GCPCLASS_LATINNUMERICTERMINATOR      equ 6
GCPCLASS_LATINNUMERICSEPARATOR       equ 7
GCPCLASS_NUMERICSEPARATOR            equ 8
GCPCLASS_PREBOUNDRTL                 equ 80h
GCPCLASS_PREBOUNDLTR                 equ 40h
DC_BINADJUST                         equ 19
DC_EMF_COMPLIANT                     equ 20
DC_DATATYPE_PRODUCED                 equ 21
DC_COLLATE                           equ 22
DCTT_DOWNLOAD_OUTLINE                equ 8h
DCBA_FACEUPNONE                      equ 0h
DCBA_FACEUPCENTER                    equ 1h
DCBA_FACEUPLEFT                      equ 2h
DCBA_FACEUPRIGHT                     equ 3h
DCBA_FACEDOWNNONE                    equ 100h
DCBA_FACEDOWNCENTER                  equ 101h
DCBA_FACEDOWNLEFT                    equ 102h
DCBA_FACEDOWNRIGHT                   equ 103h
ICM_OFF                              equ 1
ICM_ON                               equ 2
ICM_QUERY                            equ 3
EMR_SETICMMODE                       equ 98
EMR_CREATECOLORSPACE                 equ 99
EMR_SETCOLORSPACE                    equ 100
EMR_DELETECOLORSPACE                 equ 101
SB_HORZ                              equ 0
SB_VERT                              equ 1
SB_CTL                               equ 2
SB_BOTH                              equ 3
SB_LINEUP                            equ 0
SB_LINELEFT                          equ 0
SB_LINEDOWN                          equ 1
SB_LINERIGHT                         equ 1
SB_PAGEUP                            equ 2
SB_PAGELEFT                          equ 2
SB_PAGEDOWN                          equ 3
SB_PAGERIGHT                         equ 3
SB_THUMBPOSITION                     equ 4
SB_THUMBTRACK                        equ 5
SB_TOP                               equ 6
SB_LEFT                              equ 6
SB_BOTTOM                            equ 7
SB_RIGHT                             equ 7
SB_ENDSCROLL                         equ 8
SBM_SETSCROLLINFO                    equ 00E9h
SBM_GETSCROLLINFO                    equ 00EAh
SIF_RANGE                            equ 0001h
SIF_PAGE                             equ 0002h
SIF_POS                              equ 0004h
SIF_DISABLENOSCROLL                  equ 0008h
SIF_TRACKPOS                         equ 0010h
SIF_ALL                              equ SIF_RANGE OR SIF_PAGE OR SIF_POS OR SIF_TRACKPOS
SW_HIDE                              equ 0
SW_SHOWNORMAL                        equ 1
SW_NORMAL                            equ 1
SW_SHOWMINIMIZED                     equ 2
SW_SHOWMAXIMIZED                     equ 3
SW_MAXIMIZE                          equ 3
SW_SHOWNOACTIVATE                    equ 4
SW_SHOW                              equ 5
SW_MINIMIZE                          equ 6
SW_SHOWMINNOACTIVE                   equ 7
SW_SHOWNA                            equ 8
SW_RESTORE                           equ 9
SW_SHOWDEFAULT                       equ 10
SW_MAX                               equ 10
HIDE_WINDOW                          equ 0
SHOW_OPENWINDOW                      equ 1
SHOW_ICONWINDOW                      equ 2
SHOW_FULLSCREEN                      equ 3
SHOW_OPENNOACTIVATE                  equ 4
SW_PARENTCLOSING                     equ 1
SW_OTHERZOOM                         equ 2
SW_PARENTOPENING                     equ 3
SW_OTHERUNZOOM                       equ 4
KF_EXTENDED                          equ 100h
KF_DLGMODE                           equ 800h
KF_MENUMODE                          equ 1000h
KF_ALTDOWN                           equ 2000h
KF_REPEAT                            equ 4000h
KF_UP                                equ 8000h
VK_BACK                              equ 8h
VK_CANCEL                            equ 3h
VK_CAPITAL                           equ 14h
VK_CLEAR                             equ 0Ch
VK_CONTROL                           equ 11h
VK_DELETE                            equ 2Eh
VK_DOWN                              equ 28h
VK_END                               equ 23h
VK_ESCAPE                            equ 1Bh
VK_EXECUTE                           equ 2Bh
VK_HELP                              equ 2Fh
VK_HOME                              equ 24h
VK_INSERT                            equ 2Dh
VK_LBUTTON                           equ 1h
VK_LEFT                              equ 25h
VK_MBUTTON                           equ 4h
VK_MENU                              equ 12h
VK_NEXT                              equ 22h
VK_PAUSE                             equ 13h
VK_PGDN                              equ 22h
VK_PGUP                              equ 21h
VK_PRINT                             equ 2Ah
VK_PRIOR                             equ 21h
VK_RBUTTON                           equ 2h
VK_RETURN                            equ 0Dh
VK_RIGHT                             equ 27h
VK_SELECT                            equ 29h
VK_SHIFT                             equ 10h
VK_SNAPSHOT                          equ 2Ch
VK_SPACE                             equ 20h
VK_TAB                               equ 9h
VK_UP                                equ 26h
VK_NUMPAD0                           equ 60h
VK_NUMPAD1                           equ 61h
VK_NUMPAD2                           equ 62h
VK_NUMPAD3                           equ 63h
VK_NUMPAD4                           equ 64h
VK_NUMPAD5                           equ 65h
VK_NUMPAD6                           equ 66h
VK_NUMPAD7                           equ 67h
VK_NUMPAD8                           equ 68h
VK_NUMPAD9                           equ 69h
VK_MULTIPLY                          equ 6Ah
VK_ADD                               equ 6Bh
VK_SEPARATOR                         equ 6Ch
VK_SUBTRACT                          equ 6Dh
VK_DECIMAL                           equ 6Eh
VK_DIVIDE                            equ 6Fh
VK_F1                                equ 70h
VK_F2                                equ 71h
VK_F3                                equ 72h
VK_F4                                equ 73h
VK_F5                                equ 74h
VK_F6                                equ 75h
VK_F7                                equ 76h
VK_F8                                equ 77h
VK_F9                                equ 78h
VK_F10                               equ 79h
VK_F11                               equ 7Ah
VK_F12                               equ 7Bh
VK_F13                               equ 7Ch
VK_F14                               equ 7Dh
VK_F15                               equ 7Eh
VK_F16                               equ 7Fh
VK_F17                               equ 80h
VK_F18                               equ 81h
VK_F19                               equ 82h
VK_F20                               equ 83h
VK_F21                               equ 84h
VK_F22                               equ 85h
VK_F23                               equ 86h
VK_F24                               equ 87h
VK_NUMLOCK                           equ 90h
VK_SCROLL                            equ 91h
VK_LSHIFT                            equ 0A0h
VK_RSHIFT                            equ 0A1h
VK_LCONTROL                          equ 0A2h
VK_RCONTROL                          equ 0A3h
VK_LMENU                             equ 0A4h
VK_RMENU                             equ 0A5h
VK_ATTN                              equ 0F6h
VK_CRSEL                             equ 0F7h
VK_EXSEL                             equ 0F8h
VK_EREOF                             equ 0F9h
VK_PLAY                              equ 0FAh
VK_ZOOM                              equ 0FBh
VK_NONAME                            equ 0FCh
VK_PA1                               equ 0FDh
VK_OEM_CLEAR                         equ 0FEh
VK_0						 equ 30h
VK_1						 equ 31h
VK_2						 equ 32h
VK_3						 equ 33h
VK_4						 equ 34h
VK_5						 equ 35h
VK_6						 equ 36h
VK_7						 equ 37h
VK_8						 equ 38h
VK_9						 equ 39h
VK_A						 equ 41h
VK_B						 equ 42h
VK_C						 equ 43h
VK_D						 equ 44h
VK_E						 equ 45h
VK_F						 equ 46h
VK_G						 equ 47h
VK_H						 equ 48h
VK_I						 equ 49h
VK_J						 equ 4Ah
VK_K						 equ 4Bh
VK_L						 equ 4Ch
VK_M						 equ 4Dh
VK_N						 equ 4Eh
VK_O						 equ 4Fh
VK_P						 equ 50h
VK_Q						 equ 51h
VK_R						 equ 52h
VK_S						 equ 53h
VK_T						 equ 54h
VK_U						 equ 55h
VK_V						 equ 56h
VK_W						 equ 57h
VK_X						 equ 58h
VK_Y						 equ 59h
VK_Z						 equ 5Ah
WH_MIN                               equ -1
WH_MSGFILTER                         equ -1
WH_JOURNALRECORD                     equ 0
WH_JOURNALPLAYBACK                   equ 1
WH_KEYBOARD                          equ 2
WH_GETMESSAGE                        equ 3
WH_CALLWNDPROC                       equ 4
WH_CBT                               equ 5
WH_SYSMSGFILTER                      equ 6
WH_MOUSE                             equ 7
WH_HARDWARE                          equ 8
WH_DEBUG                             equ 9
WH_SHELL                             equ 10
WH_FOREGROUNDIDLE                    equ 11
WH_MAX                               equ 11
HC_ACTION                            equ 0
HC_GETNEXT                           equ 1
HC_SKIP                              equ 2
HC_NOREMOVE                          equ 3
HC_NOREM                             equ HC_NOREMOVE
HC_SYSMODALON                        equ 4
HC_SYSMODALOFF                       equ 5
HCBT_MOVESIZE                        equ 0
HCBT_MINMAX                          equ 1
HCBT_QS                              equ 2
HCBT_CREATEWND                       equ 3
HCBT_DESTROYWND                      equ 4
HCBT_ACTIVATE                        equ 5
HCBT_CLICKSKIPPED                    equ 6
HCBT_KEYSKIPPED                      equ 7
HCBT_SYSCOMMAND                      equ 8
HCBT_SETFOCUS                        equ 9
HSHELL_WINDOWCREATED                 equ 1
HSHELL_WINDOWDESTROYED               equ 2
HSHELL_ACTIVATESHELLWINDOW           equ 3
HKL_PREV                             equ 0
HKL_NEXT                             equ 1
KLF_ACTIVATE                         equ 1h
KLF_SUBSTITUTE_OK                    equ 2h
KLF_UNLOADPREVIOUS                   equ 4h
KLF_REORDER                          equ 8h
KL_NAMELENGTH                        equ 9
DESKTOP_READOBJECTS                  equ 1h
DESKTOP_CREATEWINDOW                 equ 2h
DESKTOP_CREATEMENU                   equ 4h
DESKTOP_HOOKCONTROL                  equ 8h
DESKTOP_JOURNALRECORD                equ 10h
DESKTOP_JOURNALPLAYBACK              equ 20h
DESKTOP_ENUMERATE                    equ 40h
DESKTOP_WRITEOBJECTS                 equ 80h
WINSTA_ENUMDESKTOPS                  equ 1h
WINSTA_READATTRIBUTES                equ 2h
WINSTA_ACCESSCLIPBOARD               equ 4h
WINSTA_CREATEDESKTOP                 equ 8h
WINSTA_WRITEATTRIBUTES               equ 10h
WINSTA_ACCESSGLOBALATOMS             equ 20h
WINSTA_EXITWINDOWS                   equ 40h
WINSTA_ENUMERATE                     equ 100h
WINSTA_READSCREEN                    equ 200h
GWL_WNDPROC                          equ -4
GWL_HINSTANCE                        equ -6
GWL_HWNDPARENT                       equ -8
GWL_STYLE                            equ -16
GWL_EXSTYLE                          equ -20
GWL_USERDATA                         equ -21
GWL_ID                               equ -12
GCL_MENUNAME                         equ -8
GCL_HBRBACKGROUND                    equ -10
GCL_HCURSOR                          equ -12
GCL_HICON                            equ -14
GCL_HMODULE                          equ -16
GCL_CBWNDEXTRA                       equ -18
GCL_CBCLSEXTRA                       equ -20
GCL_WNDPROC                          equ -24
GCL_STYLE                            equ -26
GCW_ATOM                             equ -32
WM_USER                              equ 400h
WM_NULL                              equ 0h
WM_CREATE                            equ 1h
WM_DESTROY                           equ 2h
WM_MOVE                              equ 3h
WM_SIZE                              equ 5h
WM_ACTIVATE                          equ 6h
WA_INACTIVE                          equ 0
WA_ACTIVE                            equ 1
WA_CLICKACTIVE                       equ 2
WM_SETFOCUS                          equ 7h
WM_KILLFOCUS                         equ 08h
WM_ENABLE                            equ 0Ah
WM_SETREDRAW                         equ 0Bh
WM_SETTEXT                           equ 0Ch
WM_GETTEXT                           equ 0Dh
WM_GETTEXTLENGTH                     equ 0Eh
WM_PAINT                             equ 0Fh
WM_CLOSE                             equ 10h
WM_QUERYENDSESSION                   equ 11h
WM_QUIT                              equ 12h
WM_QUERYOPEN                         equ 13h
WM_ERASEBKGND                        equ 14h
WM_SYSCOLORCHANGE                    equ 15h
WM_ENDSESSION                        equ 16h
WM_SHOWWINDOW                        equ 18h
WM_WININICHANGE                      equ 1Ah
WM_SETTINGCHANGE                	  equ WM_WININICHANGE
WM_DEVMODECHANGE                     equ 1Bh
WM_ACTIVATEAPP                       equ 1Ch
WM_FONTCHANGE                        equ 1Dh
WM_TIMECHANGE                        equ 1Eh
WM_CANCELMODE                        equ 1Fh
WM_SETCURSOR                         equ 20h
WM_MOUSEACTIVATE                     equ 21h
WM_CHILDACTIVATE                     equ 22h
WM_QUEUESYNC                         equ 23h
WM_GETMINMAXINFO                     equ 24h
WM_PAINTICON                         equ 26h
WM_ICONERASEBKGND                    equ 27h
WM_NEXTDLGCTL                        equ 28h
WM_SPOOLERSTATUS                     equ 2Ah
WM_DRAWITEM                          equ 2Bh
WM_MEASUREITEM                       equ 2Ch
WM_DELETEITEM                        equ 2Dh
WM_VKEYTOITEM                        equ 2Eh
WM_CHARTOITEM                        equ 2Fh
WM_SETFONT                           equ 30h
WM_GETFONT                           equ 31h
WM_SETHOTKEY                         equ 32h
WM_GETHOTKEY                         equ 33h
WM_QUERYDRAGICON                     equ 37h
WM_COMPAREITEM                       equ 39h
WM_GETOBJECT                    	  equ 3Dh
WM_COMPACTING                        equ 41h
WM_OTHERWINDOWCREATED                equ 42h
WM_OTHERWINDOWDESTROYED              equ 43h
WM_COMMNOTIFY                        equ 44h
CN_RECEIVE                           equ 1h
CN_TRANSMIT                          equ 2h
CN_EVENT                             equ 4h
WM_WINDOWPOSCHANGING                 equ 46h
WM_WINDOWPOSCHANGED                  equ 47h
WM_POWER                             equ 48h
PWR_OK                               equ 1
PWR_FAIL                             equ -1
PWR_SUSPENDREQUEST                   equ 1
PWR_SUSPENDRESUME                    equ 2
PWR_CRITICALRESUME                   equ 3
WM_COPYDATA                          equ 4Ah
WM_CANCELJOURNAL                     equ 4Bh
WM_NOTIFY                            equ 4Eh
WM_INPUTLANGCHANGEREQUEST            equ 50h
WM_INPUTLANGCHANGE                   equ 51h
WM_TCARD                             equ 52h
WM_HELP                              equ 53h
WM_USERCHANGED                       equ 54h
WM_NOTIFYFORMAT                      equ 55h
WM_CONTEXTMENU                       equ 7Bh
WM_STYLECHANGING                     equ 7Ch
WM_STYLECHANGED                      equ 7Dh
WM_DISPLAYCHANGE                     equ 7Eh
WM_GETICON                           equ 7Fh
WM_SETICON                           equ 80h
WM_NCCREATE                          equ 81h
WM_NCDESTROY                         equ 82h
WM_NCCALCSIZE                        equ 83h
WM_NCHITTEST                         equ 84h
WM_NCPAINT                           equ 85h
WM_NCACTIVATE                        equ 86h
WM_GETDLGCODE                        equ 87h
WM_SYNCPAINT                    	  equ 88h
WM_NCMOUSEMOVE                       equ 0A0h
WM_NCLBUTTONDOWN                     equ 0A1h
WM_NCLBUTTONUP                       equ 0A2h
WM_NCLBUTTONDBLCLK                   equ 0A3h
WM_NCRBUTTONDOWN                     equ 0A4h
WM_NCRBUTTONUP                       equ 0A5h
WM_NCRBUTTONDBLCLK                   equ 0A6h
WM_NCMBUTTONDOWN                     equ 0A7h
WM_NCMBUTTONUP                       equ 0A8h
WM_NCMBUTTONDBLCLK                   equ 0A9h
WM_KEYFIRST                          equ 100h
WM_KEYDOWN                           equ 100h
WM_KEYUP                             equ 101h
WM_CHAR                              equ 102h
WM_DEADCHAR                          equ 103h
WM_SYSKEYDOWN                        equ 104h
WM_SYSKEYUP                          equ 105h
WM_SYSCHAR                           equ 106h
WM_SYSDEADCHAR                       equ 107h
WM_KEYLAST                           equ 108h
WM_INITDIALOG                        equ 110h
WM_COMMAND                           equ 111h
WM_SYSCOMMAND                        equ 112h
WM_TIMER                             equ 113h
WM_HSCROLL                           equ 114h
WM_VSCROLL                           equ 115h
WM_INITMENU                          equ 116h
WM_INITMENUPOPUP                     equ 117h
WM_MENUSELECT                        equ 11Fh
WM_MENUCHAR                          equ 120h
WM_ENTERIDLE                         equ 121h
WM_CTLCOLORMSGBOX                    equ 132h
WM_CTLCOLOREDIT                      equ 133h
WM_CTLCOLORLISTBOX                   equ 134h
WM_CTLCOLORBTN                       equ 135h
WM_CTLCOLORDLG                       equ 136h
WM_CTLCOLORSCROLLBAR                 equ 137h
WM_CTLCOLORSTATIC                    equ 138h
WM_MOUSEFIRST                        equ 200h
WM_MOUSEMOVE                         equ 200h
WM_LBUTTONDOWN                       equ 201h
WM_LBUTTONUP                         equ 202h
WM_LBUTTONDBLCLK                     equ 203h
WM_RBUTTONDOWN                       equ 204h
WM_RBUTTONUP                         equ 205h
WM_RBUTTONDBLCLK                     equ 206h
WM_MBUTTONDOWN                       equ 207h
WM_MBUTTONUP                         equ 208h
WM_MBUTTONDBLCLK                     equ 209h
WM_MOUSELAST                         equ 209h
WM_PARENTNOTIFY                      equ 210h
WM_ENTERMENULOOP                     equ 211h
WM_EXITMENULOOP                      equ 212h
WM_MDICREATE                         equ 220h
WM_MDIDESTROY                        equ 221h
WM_MDIACTIVATE                       equ 222h
WM_MDIRESTORE                        equ 223h
WM_MDINEXT                           equ 224h
WM_MDIMAXIMIZE                       equ 225h
WM_MDITILE                           equ 226h
WM_MDICASCADE                        equ 227h
WM_MDIICONARRANGE                    equ 228h
WM_MDIGETACTIVE                      equ 229h
WM_MDISETMENU                        equ 230h
WM_DROPFILES                         equ 233h
WM_MDIREFRESHMENU                    equ 234h
WM_CUT                               equ 300h
WM_COPY                              equ 301h
WM_PASTE                             equ 302h
WM_CLEAR                             equ 303h
WM_UNDO                              equ 304h
WM_RENDERFORMAT                      equ 305h
WM_RENDERALLFORMATS                  equ 306h
WM_DESTROYCLIPBOARD                  equ 307h
WM_DRAWCLIPBOARD                     equ 308h
WM_PAINTCLIPBOARD                    equ 309h
WM_VSCROLLCLIPBOARD                  equ 30Ah
WM_SIZECLIPBOARD                     equ 30Bh
WM_ASKCBFORMATNAME                   equ 30Ch
WM_CHANGECBCHAIN                     equ 30Dh
WM_HSCROLLCLIPBOARD                  equ 30Eh
WM_QUERYNEWPALETTE                   equ 30Fh
WM_PALETTEISCHANGING                 equ 310h
WM_PALETTECHANGED                    equ 311h
WM_HOTKEY                            equ 312h
WM_PRINT                        	  equ 317h
WM_PRINTCLIENT                       equ 318h
WM_PENWINFIRST                       equ 380h
WM_PENWINLAST                        equ 38Fh
ST_BEGINSWP                          equ 0
ST_ENDSWP                            equ 1
HTERROR                              equ -2
HTTRANSPARENT                        equ -1
HTNOWHERE                            equ 0
HTCLIENT                             equ 1
HTCAPTION                            equ 2
HTSYSMENU                            equ 3
HTGROWBOX                            equ 4
HTSIZE                               equ HTGROWBOX
HTMENU                               equ 5
HTHSCROLL                            equ 6
HTVSCROLL                            equ 7
HTMINBUTTON                          equ 8
HTMAXBUTTON                          equ 9
HTLEFT                               equ 10
HTRIGHT                              equ 11
HTTOP                                equ 12
HTTOPLEFT                            equ 13
HTTOPRIGHT                           equ 14
HTBOTTOM                             equ 15
HTBOTTOMLEFT                         equ 16
HTBOTTOMRIGHT                        equ 17
HTBORDER                             equ 18
HTREDUCE                             equ HTMINBUTTON
HTZOOM                               equ HTMAXBUTTON
HTSIZEFIRST                          equ HTLEFT
HTSIZELAST                           equ HTBOTTOMRIGHT
HTOBJECT            			  equ 19
HTCLOSE             			  equ 20
HTHELP			                 equ 21
SMTO_NORMAL                          equ 0h
SMTO_BLOCK                           equ 1h
SMTO_ABORTIFHUNG                     equ 2h
SMTO_NOTIMEOUTIFNOTHUNG 			  equ 8
MA_ACTIVATE                          equ 1
MA_ACTIVATEANDEAT                    equ 2
MA_NOACTIVATE                        equ 3
MA_NOACTIVATEANDEAT                  equ 4
SIZE_RESTORED                        equ 0
SIZE_MINIMIZED                       equ 1
SIZE_MAXIMIZED                       equ 2
SIZE_MAXSHOW                         equ 3
SIZE_MAXHIDE                         equ 4
SIZENORMAL                           equ SIZE_RESTORED
SIZEICONIC                           equ SIZE_MINIMIZED
SIZEFULLSCREEN                       equ SIZE_MAXIMIZED
SIZEZOOMSHOW                         equ SIZE_MAXSHOW
SIZEZOOMHIDE                         equ SIZE_MAXHIDE
WVR_ALIGNTOP                         equ 10h
WVR_ALIGNLEFT                        equ 20h
WVR_ALIGNBOTTOM                      equ 40h
WVR_ALIGNRIGHT                       equ 80h
WVR_HREDRAW                          equ 100h
WVR_VREDRAW                          equ 200h
WVR_REDRAW                           equ WVR_HREDRAW OR WVR_VREDRAW
WVR_VALIDRECTS                       equ 400h
MK_LBUTTON                           equ 1h
MK_RBUTTON                           equ 2h
MK_SHIFT                             equ 4h
MK_CONTROL                           equ 8h
MK_MBUTTON                           equ 10h
WS_OVERLAPPED                        equ 0h
WS_POPUP                             equ 80000000h
WS_CHILD                             equ 40000000h
WS_MINIMIZE                          equ 20000000h
WS_VISIBLE                           equ 10000000h
WS_DISABLED                          equ 8000000h
WS_CLIPSIBLINGS                      equ 4000000h
WS_CLIPCHILDREN                      equ 2000000h
WS_MAXIMIZE                          equ 1000000h
WS_CAPTION                           equ 0C00000h
WS_BORDER                            equ 800000h
WS_DLGFRAME                          equ 400000h
WS_VSCROLL                           equ 200000h
WS_HSCROLL                           equ 100000h
WS_SYSMENU                           equ 80000h
WS_THICKFRAME                        equ 40000h
WS_GROUP                             equ 20000h
WS_TABSTOP                           equ 10000h
WS_MINIMIZEBOX                       equ 20000h
WS_MAXIMIZEBOX                       equ 10000h
WS_TILED                             equ WS_OVERLAPPED
WS_ICONIC                            equ WS_MINIMIZE
WS_SIZEBOX                           equ WS_THICKFRAME
WS_OVERLAPPEDWINDOW                  equ WS_OVERLAPPED OR WS_CAPTION OR WS_SYSMENU OR WS_THICKFRAME OR WS_MINIMIZEBOX OR WS_MAXIMIZEBOX
WS_TILEDWINDOW                       equ WS_OVERLAPPEDWINDOW
WS_POPUPWINDOW                       equ WS_POPUP OR WS_BORDER OR WS_SYSMENU
WS_CHILDWINDOW                       equ WS_CHILD
WS_EX_DLGMODALFRAME                  equ 1h
WS_EX_NOPARENTNOTIFY                 equ 4h
WS_EX_TOPMOST                        equ 8h
WS_EX_ACCEPTFILES                    equ 10h
WS_EX_TRANSPARENT                    equ 20h
WS_EX_MDICHILD                       equ 00000040h
WS_EX_TOOLWINDOW                     equ 00000080h
WS_EX_WINDOWEDGE                     equ 00000100h
WS_EX_CLIENTEDGE                     equ 00000200h
WS_EX_CONTEXTHELP                    equ 00000400h
WS_EX_RIGHT                          equ 00001000h
WS_EX_LEFT                           equ 00000000h
WS_EX_RTLREADING                     equ 00002000h
WS_EX_LTRREADING                     equ 00000000h
WS_EX_LEFTSCROLLBAR                  equ 00004000h
WS_EX_RIGHTSCROLLBAR                 equ 00000000h
WS_EX_CONTROLPARENT                  equ 00010000h
WS_EX_STATICEDGE                     equ 00020000h
WS_EX_APPWINDOW                      equ 00040000h
WS_EX_OVERLAPPEDWINDOW               equ WS_EX_WINDOWEDGE OR WS_EX_CLIENTEDGE
WS_EX_PALETTEWINDOW                  equ WS_EX_WINDOWEDGE OR WS_EX_TOOLWINDOW OR WS_EX_TOPMOST
CS_VREDRAW                           equ 1h
CS_HREDRAW                           equ 2h
CS_KEYCVTWINDOW                      equ 4h
CS_DBLCLKS                           equ 8h
CS_OWNDC                             equ 20h
CS_CLASSDC                           equ 40h
CS_PARENTDC                          equ 80h
CS_NOKEYCVT                          equ 100h
CS_NOCLOSE                           equ 200h
CS_SAVEBITS                          equ 800h
CS_BYTEALIGNCLIENT                   equ 1000h
CS_BYTEALIGNWINDOW                   equ 2000h
CS_PUBLICCLASS                       equ 4000h
CS_GLOBALCLASS                       equ CS_PUBLICCLASS
CS_IME              			  equ 10000h
CF_TEXT                              equ  1
CF_BITMAP                            equ  2
CF_METAFILEPICT                      equ  3
CF_SYLK                              equ  4
CF_DIF                               equ  5
CF_TIFF                              equ  6
CF_OEMTEXT                           equ  7
CF_DIB                               equ  8
CF_PALETTE                           equ  9
CF_PENDATA                           equ 10
CF_RIFF                              equ 11
CF_WAVE                              equ 12
CF_UNICODETEXT      			  equ 13
CF_ENHMETAFILE      			  equ 14
CF_HDROP            			  equ 15
CF_LOCALE       				  equ 16
CF_MAX              			  equ 17
CF_OWNERDISPLAY                      equ 80h
CF_DSPTEXT                           equ 81h
CF_DSPBITMAP                         equ 82h
CF_DSPMETAFILEPICT                   equ 83h
CF_DSPENHMETAFILE                    equ 8Eh
CF_PRIVATEFIRST                      equ 200h
CF_PRIVATELAST                       equ 2FFh
CF_GDIOBJFIRST                       equ 300h
CF_GDIOBJLAST                        equ 3FFh
FVIRTKEY                             equ 1h
FNOINVERT                            equ 2h
FSHIFT                               equ 4h
FCONTROL                             equ 8h
FALT                                 equ 10h
WPF_SETMINPOSITION                   equ 1h
WPF_RESTORETOMAXIMIZED               equ 2h
ODT_MENU                             equ 1
ODT_LISTBOX                          equ 2
ODT_COMBOBOX                         equ 3
ODT_BUTTON                           equ 4
ODT_STATIC					  equ 5
ODA_DRAWENTIRE                       equ 1h
ODA_SELECT                           equ 2h
ODA_FOCUS                            equ 4h
ODS_SELECTED                         equ 1h
ODS_GRAYED                           equ 2h
ODS_DISABLED                         equ 4h
ODS_CHECKED                          equ 8h
ODS_FOCUS                            equ 10h
ODS_DEFAULT         			  equ 20h
ODS_COMBOBOXEDIT    			  equ 1000h
ODS_HOTLIGHT        			  equ 40h
ODS_INACTIVE        			  equ 80h
PM_NOREMOVE                          equ 0h
PM_REMOVE                            equ 1h
PM_NOYIELD                           equ 2h
MOD_ALT                              equ 1h
MOD_CONTROL                          equ 2h
MOD_SHIFT                            equ 4h
MOD_WIN						  equ 8h
IDHOT_SNAPWINDOW                     equ -1
IDHOT_SNAPDESKTOP                    equ -2
EWX_LOGOFF                           equ 0
EWX_SHUTDOWN                         equ 1
EWX_REBOOT                           equ 2
EWX_FORCE                            equ 4
EWX_POWEROFF                         equ 8
EWX_FORCEIFHUNG      			  equ 10h
EW_RESTARTWINDOWS                    equ 42h
READAPI                              equ 0
WRITEAPI                             equ 1
READ_WRITE                           equ 2
HWND_BROADCAST                       equ 0FFFFh
CW_USEDEFAULT                        equ 80000000h
HWND_MESSAGE					  equ -3
HWND_DESKTOP                         equ 0
SWP_NOSIZE                           equ 1h
SWP_NOMOVE                           equ 2h
SWP_NOZORDER                         equ 4h
SWP_NOREDRAW                         equ 8h
SWP_NOACTIVATE                       equ 10h
SWP_FRAMECHANGED                     equ 20h
SWP_SHOWWINDOW                       equ 40h
SWP_HIDEWINDOW                       equ 80h
SWP_NOCOPYBITS                       equ 100h
SWP_NOOWNERZORDER                    equ 200h
SWP_DRAWFRAME                        equ SWP_FRAMECHANGED
SWP_NOREPOSITION                     equ SWP_NOOWNERZORDER
SWP_DEFERERASE      			  equ 2000h
SWP_ASYNCWINDOWPOS  			  equ 4000h
HWND_TOP                             equ 0
HWND_BOTTOM                          equ 1
HWND_TOPMOST                         equ -1
HWND_NOTOPMOST                       equ -2
DLGWINDOWEXTRA                       equ 30
KEYEVENTF_EXTENDEDKEY                equ 1h
KEYEVENTF_KEYUP                      equ 2h
KEYEVENTF_UNICODE                    equ 4h
KEYEVENTF_SCANCODE                   equ 8h
MOUSEEVENTF_MOVE                     equ 1h
MOUSEEVENTF_LEFTDOWN                 equ 2h
MOUSEEVENTF_LEFTUP                   equ 4h
MOUSEEVENTF_RIGHTDOWN                equ 8h
MOUSEEVENTF_RIGHTUP                  equ 10h
MOUSEEVENTF_MIDDLEDOWN               equ 20h
MOUSEEVENTF_MIDDLEUP                 equ 40h
MOUSEEVENTF_WHEEL       		 equ 800h
MOUSEEVENTF_ABSOLUTE                 equ 8000h
QS_KEY                               equ 1h
QS_MOUSEMOVE                         equ 2h
QS_MOUSEBUTTON                       equ 4h
QS_POSTMESSAGE                       equ 8h
QS_TIMER                             equ 10h
QS_PAINT                             equ 20h
QS_SENDMESSAGE                       equ 40h
QS_HOTKEY                            equ 80h
QS_ALLPOSTMESSAGE   			  equ 100h
QS_MOUSE                             equ QS_MOUSEMOVE OR QS_MOUSEBUTTON
QS_INPUT                             equ QS_MOUSE OR QS_KEY
QS_ALLEVENTS                         equ QS_INPUT OR QS_POSTMESSAGE OR QS_TIMER OR QS_PAINT OR QS_HOTKEY
QS_ALLINPUT                          equ QS_SENDMESSAGE OR QS_PAINT OR QS_TIMER OR QS_POSTMESSAGE OR QS_MOUSEBUTTON OR QS_MOUSEMOVE OR QS_HOTKEY OR QS_KEY
SM_CXSCREEN                          equ 0
SM_CYSCREEN                          equ 1
SM_CXVSCROLL                         equ 2
SM_CYHSCROLL                         equ 3
SM_CYCAPTION                         equ 4
SM_CXBORDER                          equ 5
SM_CYBORDER                          equ 6
SM_CXDLGFRAME                        equ 7
SM_CYDLGFRAME                        equ 8
SM_CYVTHUMB                          equ 9
SM_CXHTHUMB                          equ 10
SM_CXICON                            equ 11
SM_CYICON                            equ 12
SM_CXCURSOR                          equ 13
SM_CYCURSOR                          equ 14
SM_CYMENU                            equ 15
SM_CXFULLSCREEN                      equ 16
SM_CYFULLSCREEN                      equ 17
SM_CYKANJIWINDOW                     equ 18
SM_MOUSEPRESENT                      equ 19
SM_CYVSCROLL                         equ 20
SM_CXHSCROLL                         equ 21
SM_DEBUG                             equ 22
SM_SWAPBUTTON                        equ 23
SM_RESERVED1                         equ 24
SM_RESERVED2                         equ 25
SM_RESERVED3                         equ 26
SM_RESERVED4                         equ 27
SM_CXMIN                             equ 28
SM_CYMIN                             equ 29
SM_CXSIZE                            equ 30
SM_CYSIZE                            equ 31
SM_CXFRAME                           equ 32
SM_CYFRAME                           equ 33
SM_CXMINTRACK                        equ 34
SM_CYMINTRACK                        equ 35
SM_CXDOUBLECLK                       equ 36
SM_CYDOUBLECLK                       equ 37
SM_CXICONSPACING                     equ 38
SM_CYICONSPACING                     equ 39
SM_MENUDROPALIGNMENT                 equ 40
SM_PENWINDOWS                        equ 41
SM_DBCSENABLED                       equ 42
SM_CMOUSEBUTTONS                     equ 43
SM_CXFIXEDFRAME                      equ SM_CXDLGFRAME
SM_CYFIXEDFRAME                      equ SM_CYDLGFRAME
SM_CXSIZEFRAME                       equ SM_CXFRAME
SM_CYSIZEFRAME                       equ SM_CYFRAME
SM_SECURE                            equ 44
SM_CXEDGE                            equ 45
SM_CYEDGE                            equ 46
SM_CXMINSPACING                      equ 47
SM_CYMINSPACING                      equ 48
SM_CXSMICON                          equ 49
SM_CYSMICON                          equ 50
SM_CYSMCAPTION                       equ 51
SM_CXSMSIZE                          equ 52
SM_CYSMSIZE                          equ 53
SM_CXMENUSIZE                        equ 54
SM_CYMENUSIZE                        equ 55
SM_ARRANGE                           equ 56
SM_CXMINIMIZED                       equ 57
SM_CYMINIMIZED                       equ 58
SM_CXMAXTRACK                        equ 59
SM_CYMAXTRACK                        equ 60
SM_CXMAXIMIZED                       equ 61
SM_CYMAXIMIZED                       equ 62
SM_NETWORK                           equ 63
SM_CLEANBOOT                         equ 67
SM_CXDRAG                            equ 68
SM_CYDRAG                            equ 69
SM_SHOWSOUNDS                        equ 70
SM_CXMENUCHECK                       equ 71
SM_CYMENUCHECK                       equ 72
SM_SLOWMACHINE                       equ 73
SM_MIDEASTENABLED                    equ 74
SM_MOUSEWHEELPRESENT    			  equ 75
SM_CMETRICS                          equ 75
SM_XVIRTUALSCREEN       			  equ 76
SM_YVIRTUALSCREEN       			  equ 77
SM_CXVIRTUALSCREEN      			  equ 78
SM_CYVIRTUALSCREEN      			  equ 79
SM_CMONITORS            			  equ 80
SM_SAMEDISPLAYFORMAT    			  equ 81
TPM_LEFTBUTTON                       equ 0h
TPM_RIGHTBUTTON                      equ 2h
TPM_LEFTALIGN                        equ 0h
TPM_CENTERALIGN                      equ 4h
TPM_RIGHTALIGN                       equ 8h
TPM_TOPALIGN        			  equ 0
TPM_VCENTERALIGN    			  equ 10h
TPM_BOTTOMALIGN     			  equ 20h
TPM_HORIZONTAL      			  equ 0
TPM_VERTICAL        			  equ 40h
TPM_NONOTIFY        			  equ 80h
TPM_RETURNCMD       			  equ 100h
TPM_RECURSE         			  equ 1
DT_TOP                               equ 0h
DT_LEFT                              equ 0h
DT_CENTER                            equ 1h
DT_RIGHT                             equ 2h
DT_VCENTER                           equ 4h
DT_BOTTOM                            equ 8h
DT_WORDBREAK                         equ 10h
DT_SINGLELINE                        equ 20h
DT_EXPANDTABS                        equ 40h
DT_TABSTOP                           equ 80h
DT_NOCLIP                            equ 100h
DT_EXTERNALLEADING                   equ 200h
DT_CALCRECT                          equ 400h
DT_NOPREFIX                          equ 800h
DT_INTERNAL                          equ 1000h
DT_EDITCONTROL      			  equ 2000h
DT_PATH_ELLIPSIS    			  equ 4000h
DT_END_ELLIPSIS     			  equ 8000h
DT_MODIFYSTRING     			  equ 10000h
DT_RTLREADING       			  equ 20000h
DT_WORD_ELLIPSIS    			  equ 40000h
DCX_WINDOW                           equ 1h
DCX_CACHE                            equ 2h
DCX_NORESETATTRS                     equ 4h
DCX_CLIPCHILDREN                     equ 8h
DCX_CLIPSIBLINGS                     equ 10h
DCX_PARENTCLIP                       equ 20h
DCX_EXCLUDERGN                       equ 40h
DCX_INTERSECTRGN                     equ 80h
DCX_EXCLUDEUPDATE                    equ 100h
DCX_INTERSECTUPDATE                  equ 200h
DCX_LOCKWINDOWUPDATE                 equ 400h
DCX_NORECOMPUTE                      equ 100000h
DCX_VALIDATE                         equ 200000h
RDW_INVALIDATE                       equ 1h
RDW_INTERNALPAINT                    equ 2h
RDW_ERASE                            equ 4h
RDW_VALIDATE                         equ 8h
RDW_NOINTERNALPAINT                  equ 10h
RDW_NOERASE                          equ 20h
RDW_NOCHILDREN                       equ 40h
RDW_ALLCHILDREN                      equ 80h
RDW_UPDATENOW                        equ 100h
RDW_ERASENOW                         equ 200h
RDW_FRAME                            equ 400h
RDW_NOFRAME                          equ 800h
SW_SCROLLCHILDREN                    equ 1h
SW_INVALIDATE                        equ 2h
SW_ERASE                             equ 4h
SW_SMOOTHSCROLL     			  equ 10h
ESB_ENABLE_BOTH                      equ 0h
ESB_DISABLE_BOTH                     equ 3h
ESB_DISABLE_LEFT                     equ 1h
ESB_DISABLE_RIGHT                    equ 2h
ESB_DISABLE_UP                       equ 1h
ESB_DISABLE_DOWN                     equ 2h
ESB_DISABLE_LTUP                     equ ESB_DISABLE_LEFT
ESB_DISABLE_RTDN                     equ ESB_DISABLE_RIGHT
MB_OK                                equ 0h
MB_OKCANCEL                          equ 1h
MB_ABORTRETRYIGNORE                  equ 2h
MB_YESNOCANCEL                       equ 3h
MB_YESNO                             equ 4h
MB_RETRYCANCEL                       equ 5h
MB_ICONHAND                          equ 10h
MB_ICONQUESTION                      equ 20h
MB_ICONEXCLAMATION                   equ 30h
MB_ICONASTERISK                      equ 40h
MB_USERICON					  equ 80h
MB_ICONERROR                         equ MB_ICONHAND
MB_ICONINFORMATION                   equ MB_ICONASTERISK
MB_ICONSTOP                          equ MB_ICONHAND
MB_ICONWARNING                       equ MB_ICONEXCLAMATION
MB_DEFBUTTON1                        equ 0h
MB_DEFBUTTON2                        equ 100h
MB_DEFBUTTON3                        equ 200h
MB_DEFBUTTON4               		  equ 300h
MB_APPLMODAL                         equ 0h
MB_SYSTEMMODAL                       equ 1000h
MB_TASKMODAL                         equ 2000h
MB_HELP						  equ 4000h
MB_NOFOCUS                           equ 8000h
MB_SETFOREGROUND                     equ 10000h
MB_DEFAULT_DESKTOP_ONLY              equ 20000h
MB_TYPEMASK                          equ 0Fh
MB_ICONMASK                          equ 0F0h
MB_DEFMASK                           equ 0F00h
MB_MODEMASK                          equ 3000h
MB_MISCMASK                          equ 0C000h
MB_TOPMOST                  		  equ 40000h
MB_RIGHT                    		  equ 80000h
MB_RTLREADING               		  equ 100000h
MB_SERVICE_NOTIFICATION          	  equ 200000h
CTLCOLOR_MSGBOX                      equ 0
CTLCOLOR_EDIT                        equ 1
CTLCOLOR_LISTBOX                     equ 2
CTLCOLOR_BTN                         equ 3
CTLCOLOR_DLG                         equ 4
CTLCOLOR_SCROLLBAR                   equ 5
CTLCOLOR_STATIC                      equ 6
CTLCOLOR_MAX                         equ 8
COLOR_SCROLLBAR                      equ 0
COLOR_BACKGROUND                     equ 1
COLOR_ACTIVECAPTION                  equ 2
COLOR_INACTIVECAPTION                equ 3
COLOR_MENU                           equ 4
COLOR_WINDOW                         equ 5
COLOR_WINDOWFRAME                    equ 6
COLOR_MENUTEXT                       equ 7
COLOR_WINDOWTEXT                     equ 8
COLOR_CAPTIONTEXT                    equ 9
COLOR_ACTIVEBORDER                   equ 10
COLOR_INACTIVEBORDER                 equ 11
COLOR_APPWORKSPACE                   equ 12
COLOR_HIGHLIGHT                      equ 13
COLOR_HIGHLIGHTTEXT                  equ 14
COLOR_BTNFACE                        equ 15
COLOR_BTNSHADOW                      equ 16
COLOR_GRAYTEXT                       equ 17
COLOR_BTNTEXT                        equ 18
COLOR_INACTIVECAPTIONTEXT            equ 19
COLOR_BTNHIGHLIGHT                   equ 20
COLOR_3DDKSHADOW                     equ 21
COLOR_3DLIGHT                        equ 22
COLOR_INFOTEXT                       equ 23
COLOR_INFOBK                         equ 24
COLOR_DESKTOP                        equ COLOR_BACKGROUND
COLOR_3DFACE                         equ COLOR_BTNFACE
COLOR_3DSHADOW                       equ COLOR_BTNSHADOW
COLOR_3DHIGHLIGHT                    equ COLOR_BTNHIGHLIGHT
COLOR_3DHILIGHT                      equ COLOR_BTNHIGHLIGHT
COLOR_BTNHILIGHT                     equ COLOR_BTNHIGHLIGHT
COLOR_HOTLIGHT                  	  equ 26
COLOR_GRADIENTACTIVECAPTION     	  equ 27
COLOR_GRADIENTINACTIVECAPTION   	  equ 28
GW_HWNDFIRST                         equ 0
GW_HWNDLAST                          equ 1
GW_HWNDNEXT                          equ 2
GW_HWNDPREV                          equ 3
GW_OWNER                             equ 4
GW_CHILD                             equ 5
GW_MAX                               equ 5
GW_ENABLEDPOPUP     			  equ 6
MF_INSERT                            equ 0h
MF_CHANGE                            equ 80h
MF_APPEND                            equ 100h
MF_DELETE                            equ 200h
MF_REMOVE                            equ 1000h
MF_BYCOMMAND                         equ 0h
MF_BYPOSITION                        equ 400h
MF_SEPARATOR                         equ 800h
MF_ENABLED                           equ 0h
MF_GRAYED                            equ 1h
MF_DISABLED                          equ 2h
MF_UNCHECKED                         equ 0h
MF_CHECKED                           equ 8h
MF_USECHECKBITMAPS                   equ 200h
MF_STRING                            equ 0h
MF_BITMAP                            equ 4h
MF_OWNERDRAW                         equ 100h
MF_POPUP                             equ 10h
MF_MENUBARBREAK                      equ 20h
MF_MENUBREAK                         equ 40h
MF_UNHILITE                          equ 0h
MF_HILITE                            equ 80h
MF_SYSMENU                           equ 2000h
MF_HELP                              equ 4000h
MF_MOUSESELECT                       equ 8000h
MF_END                               equ 80h
MF_DEFAULT          			  equ 1000h
MF_RIGHTJUSTIFY     			  equ 4000h
SC_SIZE                              equ 0F000h
SC_MOVE                              equ 0F010h
SC_MINIMIZE                          equ 0F020h
SC_MAXIMIZE                          equ 0F030h
SC_NEXTWINDOW                        equ 0F040h
SC_PREVWINDOW                        equ 0F050h
SC_CLOSE                             equ 0F060h
SC_VSCROLL                           equ 0F070h
SC_HSCROLL                           equ 0F080h
SC_MOUSEMENU                         equ 0F090h
SC_KEYMENU                           equ 0F100h
SC_ARRANGE                           equ 0F110h
SC_RESTORE                           equ 0F120h
SC_TASKLIST                          equ 0F130h
SC_SCREENSAVE                        equ 0F140h
SC_HOTKEY                            equ 0F150h
SC_ICON                              equ SC_MINIMIZE
SC_ZOOM                              equ SC_MAXIMIZE
SC_DEFAULT      				  equ 0F160h
SC_MONITORPOWER 				  equ 0F170h
SC_CONTEXTHELP  				  equ 0F180h
SC_SEPARATOR    				  equ 0F00Fh
IDC_ARROW                            equ 32512
IDC_IBEAM                            equ 32513
IDC_WAIT                             equ 32514
IDC_CROSS                            equ 32515
IDC_UPARROW                          equ 32516
IDC_SIZE                             equ 32640
IDC_ICON                             equ 32641
IDC_SIZENWSE                         equ 32642
IDC_SIZENESW                         equ 32643
IDC_SIZEWE                           equ 32644
IDC_SIZENS                           equ 32645
IDC_SIZEALL                          equ 32646
IDC_NO                               equ 32648
IDC_HAND            			  equ 32649
IDC_APPSTARTING                      equ 32650
IDC_HELP            			  equ 32651
OBM_CLOSE                            equ 32754
OBM_UPARROW                          equ 32753
OBM_DNARROW                          equ 32752
OBM_RGARROW                          equ 32751
OBM_LFARROW                          equ 32750
OBM_REDUCE                           equ 32749
OBM_ZOOM                             equ 32748
OBM_RESTORE                          equ 32747
OBM_REDUCED                          equ 32746
OBM_ZOOMD                            equ 32745
OBM_RESTORED                         equ 32744
OBM_UPARROWD                         equ 32743
OBM_DNARROWD                         equ 32742
OBM_RGARROWD                         equ 32741
OBM_LFARROWD                         equ 32740
OBM_MNARROW                          equ 32739
OBM_COMBO                            equ 32738
OBM_UPARROWI                         equ 32737
OBM_DNARROWI                         equ 32736
OBM_RGARROWI                         equ 32735
OBM_LFARROWI                         equ 32734
OBM_OLD_CLOSE                        equ 32767
OBM_SIZE                             equ 32766
OBM_OLD_UPARROW                      equ 32765
OBM_OLD_DNARROW                      equ 32764
OBM_OLD_RGARROW                      equ 32763
OBM_OLD_LFARROW                      equ 32762
OBM_BTSIZE                           equ 32761
OBM_CHECK                            equ 32760
OBM_CHECKBOXES                       equ 32759
OBM_BTNCORNERS                       equ 32758
OBM_OLD_REDUCE                       equ 32757
OBM_OLD_ZOOM                         equ 32756
OBM_OLD_RESTORE                      equ 32755
OCR_NORMAL                           equ 32512
OCR_IBEAM                            equ 32513
OCR_WAIT                             equ 32514
OCR_CROSS                            equ 32515
OCR_UP                               equ 32516
OCR_SIZE                             equ 32640
OCR_ICON                             equ 32641
OCR_SIZENWSE                         equ 32642
OCR_SIZENESW                         equ 32643
OCR_SIZEWE                           equ 32644
OCR_SIZENS                           equ 32645
OCR_SIZEALL                          equ 32646
OCR_ICOCUR                           equ 32647
OCR_NO                               equ 32648
OCR_HAND            			  equ 32649
OCR_APPSTARTING     			  equ 32650
OIC_SAMPLE                           equ 32512
OIC_HAND                             equ 32513
OIC_QUES                             equ 32514
OIC_BANG                             equ 32515
OIC_NOTE                             equ 32516
OIC_WINLOGO         			  equ 32517
OIC_WARNING         			  equ OIC_BANG
OIC_ERROR           			  equ OIC_HAND
OIC_INFORMATION     			  equ OIC_NOTE
ORD_LANGDRIVER                       equ 1
IDI_APPLICATION                      equ 32512
IDI_HAND                             equ 32513
IDI_QUESTION                         equ 32514
IDI_EXCLAMATION                      equ 32515
IDI_ASTERISK                         equ 32516
IDI_WINLOGO         			  equ 32517
IDI_WARNING     				  equ IDI_EXCLAMATION
IDI_ERROR       				  equ IDI_HAND
IDI_INFORMATION 				  equ IDI_ASTERISK
IDOK                                 equ 1
IDCANCEL                             equ 2
IDABORT                              equ 3
IDRETRY                              equ 4
IDIGNORE                             equ 5
IDYES                                equ 6
IDNO                                 equ 7
IDCLOSE                              equ 8
IDHELP                               equ 9
ES_LEFT                              equ 0h
ES_CENTER                            equ 1h
ES_RIGHT                             equ 2h
ES_MULTILINE                         equ 4h
ES_UPPERCASE                         equ 8h
ES_LOWERCASE                         equ 10h
ES_PASSWORD                          equ 20h
ES_AUTOVSCROLL                       equ 40h
ES_AUTOHSCROLL                       equ 80h
ES_NOHIDESEL                         equ 100h
ES_OEMCONVERT                        equ 400h
ES_READONLY                          equ 800h
ES_WANTRETURN                        equ 1000h
ES_NUMBER           			 equ 2000h

WB_LEFT                              equ 0
WB_RIGHT                             equ 1
WB_ISDELIMITER                       equ 2
BS_PUSHBUTTON                        equ 0h
BS_DEFPUSHBUTTON                     equ 1h
BS_CHECKBOX                          equ 2h
BS_AUTOCHECKBOX                      equ 3h
BS_RADIOBUTTON                       equ 4h
BS_3STATE                            equ 5h
BS_AUTO3STATE                        equ 6h
BS_GROUPBOX                          equ 7h
BS_USERBUTTON                        equ 8h
BS_AUTORADIOBUTTON                   equ 9h
BS_OWNERDRAW                         equ 0Bh
BS_LEFTTEXT                          equ 20h
BS_BITMAP                            equ 80h
BS_ICON                              equ 40h
BS_TEXT             			  equ 0
BS_LEFT             			  equ 100h
BS_RIGHT           			  equ 200h
BS_CENTER           			  equ 300h
BS_TOP              			  equ 400h
BS_BOTTOM           			  equ 800h
BS_VCENTER          			  equ 0C00h
BS_PUSHLIKE         			  equ 1000h
BS_MULTILINE        			  equ 2000h
BS_NOTIFY           			  equ 4000h
BS_FLAT             			  equ 8000h
BS_RIGHTBUTTON      			  equ BS_LEFTTEXT
BN_CLICKED                           equ 0
BN_PAINT                             equ 1
BN_HILITE                            equ 2
BN_UNHILITE                          equ 3
BN_DISABLE                           equ 4
BN_DOUBLECLICKED                     equ 5
BN_SETFOCUS                          equ 6
BN_KILLFOCUS                         equ 7
BN_PUSHED           			  equ BN_HILITE
BN_UNPUSHED         			  equ BN_UNHILITE
BN_DBLCLK           			  equ BN_DOUBLECLICKED
BST_UNCHECKED                        equ 00h
BST_CHECKED                          equ 1
BST_INDETERMINATE                    equ 2
BST_PUSHED                           equ 4
BST_FOCUS          			 equ 8
BM_GETCHECK                          equ 0F0h
BM_SETCHECK                          equ 0F1h
BM_GETSTATE                          equ 0F2h
BM_SETSTATE                          equ 0F3h
BM_SETSTYLE                          equ 0F4h
BM_CLICK                             equ 0F5h
BM_GETIMAGE                          equ 0F6h
BM_SETIMAGE                          equ 0F7h
SS_LEFT                              equ 0h
SS_CENTER                            equ 1h
SS_RIGHT                             equ 2h
SS_ICON                              equ 3h
SS_BLACKRECT                         equ 4h
SS_GRAYRECT                          equ 5h
SS_WHITERECT                         equ 6h
SS_BLACKFRAME                        equ 7h
SS_GRAYFRAME                         equ 8h
SS_WHITEFRAME                        equ 9h
SS_USERITEM                          equ 0Ah
SS_SIMPLE                            equ 0Bh
SS_LEFTNOWORDWRAP                    equ 0Ch
SS_NOPREFIX                          equ 80h
STM_SETICON                          equ 170h
STM_GETICON                          equ 171h
STM_MSGMAX                           equ 172h
WC_DIALOG                            equ 8002h
DWL_MSGRESULT                        equ 0
DWL_DLGPROC                          equ 4
DWL_USER                             equ 8
DDL_READWRITE                        equ 0h
DDL_READONLY                         equ 1h
DDL_HIDDEN                           equ 2h
DDL_SYSTEM                           equ 4h
DDL_DIRECTORY                        equ 10h
DDL_ARCHIVE                          equ 20h
DDL_POSTMSGS                         equ 2000h
DDL_DRIVES                           equ 4000h
DDL_EXCLUSIVE                        equ 8000h
DS_ABSALIGN                          equ 0001h
DS_SYSMODAL                          equ 0002h
DS_3DLOOK                            equ 0004h
DS_FIXEDSYS                          equ 0008h
DS_NOFAILCREATE                      equ 0010h
DS_LOCALEDIT                         equ 0020h
DS_SETFONT                           equ 0040h
DS_MODALFRAME                        equ 0080h
DS_NOIDLEMSG                         equ 0100h
DS_SETFOREGROUND                     equ 0200h
DS_CONTROL                           equ 0400h
DS_CENTER                            equ 0800h
DS_CENTERMOUSE                       equ 1000h
DS_CONTEXTHELP                       equ 2000h
DM_GETDEFID                          equ WM_USER + 0
DM_SETDEFID                          equ WM_USER + 1
DC_HASDEFID                          equ 534h
DLGC_WANTARROWS                      equ 1h
DLGC_WANTTAB                         equ 2h
DLGC_WANTALLKEYS                     equ 4h
DLGC_WANTMESSAGE                     equ 4h
DLGC_HASSETSEL                       equ 8h
DLGC_DEFPUSHBUTTON                   equ 10h
DLGC_UNDEFPUSHBUTTON                 equ 20h
DLGC_RADIOBUTTON                     equ 40h
DLGC_WANTCHARS                       equ 80h
DLGC_STATIC                          equ 100h
DLGC_BUTTON                          equ 2000h
LB_CTLCODE                           equ 0
LB_OKAY                              equ 0
LB_ERR                               equ -1
LB_ERRSPACE                          equ -2
LBN_ERRSPACE                         equ -2
LBN_SELCHANGE                        equ 1
LBN_DBLCLK                           equ 2
LBN_SELCANCEL                        equ 3
LBN_SETFOCUS                         equ 4
LBN_KILLFOCUS                        equ 5
LB_ADDSTRING                         equ 180h
LB_INSERTSTRING                      equ 181h
LB_DELETESTRING                      equ 182h
LB_SELITEMRANGEEX                    equ 183h
LB_RESETCONTENT                      equ 184h
LB_SETSEL                            equ 185h
LB_SETCURSEL                         equ 186h
LB_GETSEL                            equ 187h
LB_GETCURSEL                         equ 188h
LB_GETTEXT                           equ 189h
LB_GETTEXTLEN                        equ 18Ah
LB_GETCOUNT                          equ 18Bh
LB_SELECTSTRING                      equ 18Ch
LB_DIR                               equ 18Dh
LB_GETTOPINDEX                       equ 18Eh
LB_FINDSTRING                        equ 18Fh
LB_GETSELCOUNT                       equ 190h
LB_GETSELITEMS                       equ 191h
LB_SETTABSTOPS                       equ 192h
LB_GETHORIZONTALEXTENT               equ 193h
LB_SETHORIZONTALEXTENT               equ 194h
LB_SETCOLUMNWIDTH                    equ 195h
LB_ADDFILE                           equ 196h
LB_SETTOPINDEX                       equ 197h
LB_GETITEMRECT                       equ 198h
LB_GETITEMDATA                       equ 199h
LB_SETITEMDATA                       equ 19Ah
LB_SELITEMRANGE                      equ 19Bh
LB_SETANCHORINDEX                    equ 19Ch
LB_GETANCHORINDEX                    equ 19Dh
LB_SETCARETINDEX                     equ 19Eh
LB_GETCARETINDEX                     equ 19Fh
LB_SETITEMHEIGHT                     equ 1A0h
LB_GETITEMHEIGHT                     equ 1A1h
LB_FINDSTRINGEXACT                   equ 1A2h
LB_SETLOCALE                         equ 1A5h
LB_GETLOCALE                         equ 1A6h
LB_SETCOUNT                          equ 1A7h
LB_MSGMAX                            equ 1A8h
LBS_NOTIFY                           equ 1h
LBS_SORT                             equ 2h
LBS_NOREDRAW                         equ 4h
LBS_MULTIPLESEL                      equ 8h
LBS_OWNERDRAWFIXED                   equ 10h
LBS_OWNERDRAWVARIABLE                equ 20h
LBS_HASSTRINGS                       equ 40h
LBS_USETABSTOPS                      equ 80h
LBS_NOINTEGRALHEIGHT                 equ 100h
LBS_MULTICOLUMN                      equ 200h
LBS_WANTKEYBOARDINPUT                equ 400h
LBS_EXTENDEDSEL                      equ 800h
LBS_DISABLENOSCROLL                  equ 1000h
LBS_NODATA                           equ 2000h
LBS_STANDARD                         equ LBS_NOTIFY OR LBS_SORT OR WS_VSCROLL OR WS_BORDER
CB_OKAY                              equ 0
CB_ERR                               equ -1
CB_ERRSPACE                          equ -2
CBN_ERRSPACE                         equ -1
CBN_SELCHANGE                        equ 1
CBN_DBLCLK                           equ 2
CBN_SETFOCUS                         equ 3
CBN_KILLFOCUS                        equ 4
CBN_EDITCHANGE                       equ 5
CBN_EDITUPDATE                       equ 6
CBN_DROPDOWN                         equ 7
CBN_CLOSEUP                          equ 8
CBN_SELENDOK                         equ 9
CBN_SELENDCANCEL                     equ 10
CBS_SIMPLE                           equ 1h
CBS_DROPDOWN                         equ 2h
CBS_DROPDOWNLIST                     equ 3h
CBS_OWNERDRAWFIXED                   equ 10h
CBS_OWNERDRAWVARIABLE                equ 20h
CBS_AUTOHSCROLL                      equ 40h
CBS_OEMCONVERT                       equ 80h
CBS_SORT                             equ 100h
CBS_HASSTRINGS                       equ 200h
CBS_NOINTEGRALHEIGHT                 equ 400h
CBS_DISABLENOSCROLL                  equ 800h
CB_GETEDITSEL                        equ 140h
CB_LIMITTEXT                         equ 141h
CB_SETEDITSEL                        equ 142h
CB_ADDSTRING                         equ 143h
CB_DELETESTRING                      equ 144h
CB_DIR                               equ 145h
CB_GETCOUNT                          equ 146h
CB_GETCURSEL                         equ 147h
CB_GETLBTEXT                         equ 148h
CB_GETLBTEXTLEN                      equ 149h
CB_INSERTSTRING                      equ 14Ah
CB_RESETCONTENT                      equ 14Bh
CB_FINDSTRING                        equ 14Ch
CB_SELECTSTRING                      equ 14Dh
CB_SETCURSEL                         equ 14Eh
CB_SHOWDROPDOWN                      equ 14Fh
CB_GETITEMDATA                       equ 150h
CB_SETITEMDATA                       equ 151h
CB_GETDROPPEDCONTROLRECT             equ 152h
CB_SETITEMHEIGHT                     equ 153h
CB_GETITEMHEIGHT                     equ 154h
CB_SETEXTENDEDUI                     equ 155h
CB_GETEXTENDEDUI                     equ 156h
CB_GETDROPPEDSTATE                   equ 157h
CB_FINDSTRINGEXACT                   equ 158h
CB_SETLOCALE                         equ 159h
CB_GETLOCALE                         equ 15Ah
CB_GETTOPINDEX                       equ 15Bh
CB_SETTOPINDEX                       equ 15Ch
CB_GETHORIZONTALEXTENT               equ 15Dh
CB_SETHORIZONTALEXTENT               equ 15Eh
CB_GETDROPPEDWIDTH                   equ 15Fh
CB_SETDROPPEDWIDTH                   equ 160h
CB_INITSTORAGE                       equ 161h
CB_MSGMAX                            equ 162h
SBS_HORZ                             equ 0h
SBS_VERT                             equ 1h
SBS_TOPALIGN                         equ 2h
SBS_LEFTALIGN                        equ 2h
SBS_BOTTOMALIGN                      equ 4h
SBS_RIGHTALIGN                       equ 4h
SBS_SIZEBOXTOPLEFTALIGN              equ 2h
SBS_SIZEBOXBOTTOMRIGHTALIGN          equ 4h
SBS_SIZEBOX                          equ 8h
SBS_SIZEGRIP                         equ 10h
SBM_SETPOS                           equ 0E0h
SBM_GETPOS                           equ 0E1h
SBM_SETRANGE                         equ 0E2h
SBM_SETRANGEREDRAW                   equ 0E6h
SBM_GETRANGE                         equ 0E3h
SBM_ENABLE_ARROWS                    equ 0E4h
MDIS_ALLCHILDSTYLES                  equ 1h
MDITILE_VERTICAL                     equ 0h
MDITILE_HORIZONTAL                   equ 1h
MDITILE_SKIPDISABLED                 equ 2h
HELP_CONTEXT                         equ 1h
HELP_QUIT                            equ 2h
HELP_INDEX                           equ 3h
HELP_CONTENTS                        equ 3h
HELP_HELPONHELP                      equ 4h
HELP_SETINDEX                        equ 5h
HELP_SETCONTENTS                     equ 5h
HELP_CONTEXTPOPUP                    equ 8h
HELP_FORCEFILE                       equ 9h
HELP_KEY                             equ 101h
HELP_COMMAND                         equ 102h
HELP_PARTIALKEY                      equ 105h
HELP_MULTIKEY                        equ 201h
HELP_SETWINPOS                       equ 203h
HELP_CONTEXTMENU                     equ 000Ah
HELP_FINDER                          equ 000Bh
HELP_WM_HELP                         equ 000Ch
HELP_SETPOPUP_POS                    equ 000Dh
HELP_TCARD                           equ 8000h
HELP_TCARD_DATA                      equ 0010h
HELP_TCARD_OTHER_CALLER              equ 0011h
IDH_NO_HELP                          equ 28440
IDH_MISSING_CONTEXT                  equ 28441
IDH_GENERIC_HELP_BUTTON              equ 28442
IDH_OK                               equ 28443
IDH_CANCEL                           equ 28444
IDH_HELP                             equ 28445
SPI_GETBEEP                          equ 1
SPI_SETBEEP                          equ 2
SPI_GETMOUSE                         equ 3
SPI_SETMOUSE                         equ 4
SPI_GETBORDER                        equ 5
SPI_SETBORDER                        equ 6
SPI_GETKEYBOARDSPEED                 equ 10
SPI_SETKEYBOARDSPEED                 equ 11
SPI_LANGDRIVER                       equ 12
SPI_ICONHORIZONTALSPACING            equ 13
SPI_GETSCREENSAVETIMEOUT             equ 14
SPI_SETSCREENSAVETIMEOUT             equ 15
SPI_GETSCREENSAVEACTIVE              equ 16
SPI_SETSCREENSAVEACTIVE              equ 17
SPI_GETGRIDGRANULARITY               equ 18
SPI_SETGRIDGRANULARITY               equ 19
SPI_SETDESKWALLPAPER                 equ 20
SPI_SETDESKPATTERN                   equ 21
SPI_GETKEYBOARDDELAY                 equ 22
SPI_SETKEYBOARDDELAY                 equ 23
SPI_ICONVERTICALSPACING              equ 24
SPI_GETICONTITLEWRAP                 equ 25
SPI_SETICONTITLEWRAP                 equ 26
SPI_GETMENUDROPALIGNMENT             equ 27
SPI_SETMENUDROPALIGNMENT             equ 28
SPI_SETDOUBLECLKWIDTH                equ 29
SPI_SETDOUBLECLKHEIGHT               equ 30
SPI_GETICONTITLELOGFONT              equ 31
SPI_SETDOUBLECLICKTIME               equ 32
SPI_SETMOUSEBUTTONSWAP               equ 33
SPI_SETICONTITLELOGFONT              equ 34
SPI_GETFASTTASKSWITCH                equ 35
SPI_SETFASTTASKSWITCH                equ 36
SPI_SETDRAGFULLWINDOWS               equ 37
SPI_GETDRAGFULLWINDOWS               equ 38
SPI_GETNONCLIENTMETRICS              equ 41
SPI_SETNONCLIENTMETRICS              equ 42
SPI_GETMINIMIZEDMETRICS              equ 43
SPI_SETMINIMIZEDMETRICS              equ 44
SPI_GETICONMETRICS                   equ 45
SPI_SETICONMETRICS                   equ 46
SPI_SETWORKAREA                      equ 47
SPI_GETWORKAREA                      equ 48
SPI_SETPENWINDOWS                    equ 49
SPI_GETFILTERKEYS                    equ 50
SPI_SETFILTERKEYS                    equ 51
SPI_GETTOGGLEKEYS                    equ 52
SPI_SETTOGGLEKEYS                    equ 53
SPI_GETMOUSEKEYS                     equ 54
SPI_SETMOUSEKEYS                     equ 55
SPI_GETSHOWSOUNDS                    equ 56
SPI_SETSHOWSOUNDS                    equ 57
SPI_GETSTICKYKEYS                    equ 58
SPI_SETSTICKYKEYS                    equ 59
SPI_GETACCESSTIMEOUT                 equ 60
SPI_SETACCESSTIMEOUT                 equ 61
SPI_GETSERIALKEYS                    equ 62
SPI_SETSERIALKEYS                    equ 63
SPI_GETSOUNDSENTRY                   equ 64
SPI_SETSOUNDSENTRY                   equ 65
SPI_GETHIGHCONTRAST                  equ 66
SPI_SETHIGHCONTRAST                  equ 67
SPI_GETKEYBOARDPREF                  equ 68
SPI_SETKEYBOARDPREF                  equ 69
SPI_GETSCREENREADER                  equ 70
SPI_SETSCREENREADER                  equ 71
SPI_GETANIMATION                     equ 72
SPI_SETANIMATION                     equ 73
SPI_GETFONTSMOOTHING                 equ 74
SPI_SETFONTSMOOTHING                 equ 75
SPI_SETDRAGWIDTH                     equ 76
SPI_SETDRAGHEIGHT                    equ 77
SPI_SETHANDHELD                      equ 78
SPI_GETLOWPOWERTIMEOUT               equ 79
SPI_GETPOWEROFFTIMEOUT               equ 80
SPI_SETLOWPOWERTIMEOUT               equ 81
SPI_SETPOWEROFFTIMEOUT               equ 82
SPI_GETLOWPOWERACTIVE                equ 83
SPI_GETPOWEROFFACTIVE                equ 84
SPI_SETLOWPOWERACTIVE                equ 85
SPI_SETPOWEROFFACTIVE                equ 86
SPI_SETCURSORS                       equ 87
SPI_SETICONS                         equ 88
SPI_GETDEFAULTINPUTLANG              equ 89
SPI_SETDEFAULTINPUTLANG              equ 90
SPI_SETLANGTOGGLE                    equ 91
SPI_GETWINDOWSEXTENSION              equ 92
SPI_SETMOUSETRAILS                   equ 93
SPI_GETMOUSETRAILS                   equ 94
SPI_SCREENSAVERRUNNING               equ 97
SPIF_UPDATEINIFILE                   equ 1h
SPIF_SENDWININICHANGE                equ 2h
WM_DDE_FIRST                         equ 3E0h
WM_DDE_INITIATE                      equ WM_DDE_FIRST
WM_DDE_TERMINATE                     equ WM_DDE_FIRST + 1
WM_DDE_ADVISE                        equ WM_DDE_FIRST + 2
WM_DDE_UNADVISE                      equ WM_DDE_FIRST + 3
WM_DDE_ACK                           equ WM_DDE_FIRST + 4
WM_DDE_DATA                          equ WM_DDE_FIRST + 5
WM_DDE_REQUEST                       equ WM_DDE_FIRST + 6
WM_DDE_POKE                          equ WM_DDE_FIRST + 7
WM_DDE_EXECUTE                       equ WM_DDE_FIRST + 8
WM_DDE_LAST                          equ WM_DDE_FIRST + 8
XST_NULL                             equ 0
XST_INCOMPLETE                       equ 1
XST_CONNECTED                        equ 2
XST_INIT1                            equ 3
XST_INIT2                            equ 4
XST_REQSENT                          equ 5
XST_DATARCVD                         equ 6
XST_POKESENT                         equ 7
XST_POKEACKRCVD                      equ 8
XST_EXECSENT                         equ 9
XST_EXECACKRCVD                      equ 10
XST_ADVSENT                          equ 11
XST_UNADVSENT                        equ 12
XST_ADVACKRCVD                       equ 13
XST_UNADVACKRCVD                     equ 14
XST_ADVDATASENT                      equ 15
XST_ADVDATAACKRCVD                   equ 16
CADV_LATEACK                         equ 0FFFFh
ST_CONNECTED                         equ 1h
ST_ADVISE                            equ 2h
ST_ISLOCAL                           equ 4h
ST_BLOCKED                           equ 8h
ST_CLIENT                            equ 10h
ST_TERMINATED                        equ 20h
ST_INLIST                            equ 40h
ST_BLOCKNEXT                         equ 80h
ST_ISSELF                            equ 100h
DDE_FACK                             equ 8000h
DDE_FBUSY                            equ 4000h
DDE_FDEFERUPD                        equ 4000h
DDE_FACKREQ                          equ 8000h
DDE_FRELEASE                         equ 2000h
DDE_FREQUESTED                       equ 1000h
DDE_FAPPSTATUS                       equ 0FFh
DDE_FNOTPROCESSED                    equ 0h
DDE_FACKRESERVED                     equ NOT DDE_FACK OR DDE_FBUSY OR DDE_FAPPSTATUS
DDE_FADVRESERVED                     equ NOT DDE_FACKREQ OR DDE_FDEFERUPD
DDE_FDATRESERVED                     equ NOT DDE_FACKREQ OR DDE_FRELEASE OR DDE_FREQUESTED
DDE_FPOKRESERVED                     equ NOT DDE_FRELEASE
CP_WINANSI                           equ 1004
CP_WINUNICODE                        equ 1200
XTYPF_NOBLOCK                        equ 2h
XTYPF_NODATA                         equ 4h
XTYPF_ACKREQ                         equ 8h
XCLASS_MASK                          equ 0FC00h
XCLASS_BOOL                          equ 1000h
XCLASS_DATA                          equ 2000h
XCLASS_FLAGS                         equ 4000h
XCLASS_NOTIFICATION                  equ 8000h
XTYP_ERROR                           equ 0h OR XCLASS_NOTIFICATION OR XTYPF_NOBLOCK
XTYP_ADVDATA                         equ 10h OR XCLASS_FLAGS
XTYP_ADVREQ                          equ 20h OR XCLASS_DATA OR XTYPF_NOBLOCK
XTYP_ADVSTART                        equ 30h OR XCLASS_BOOL
XTYP_ADVSTOP                         equ 40h OR XCLASS_NOTIFICATION
XTYP_EXECUTE                         equ 50h OR XCLASS_FLAGS
XTYP_CONNECT                         equ 60h OR XCLASS_BOOL OR XTYPF_NOBLOCK
XTYP_CONNECT_CONFIRM                 equ 70h OR XCLASS_NOTIFICATION OR XTYPF_NOBLOCK
XTYP_XACT_COMPLETE                   equ 80h OR XCLASS_NOTIFICATION
XTYP_POKE                            equ 90h OR XCLASS_FLAGS
XTYP_REGISTER                        equ 0A0h OR XCLASS_NOTIFICATION OR XTYPF_NOBLOCK
XTYP_REQUEST                         equ 0B0h OR XCLASS_DATA
XTYP_DISCONNECT                      equ 0C0h OR XCLASS_NOTIFICATION OR XTYPF_NOBLOCK
XTYP_UNREGISTER                      equ 0D0h OR XCLASS_NOTIFICATION OR XTYPF_NOBLOCK
XTYP_WILDCONNECT                     equ 0E0h OR XCLASS_DATA OR XTYPF_NOBLOCK
XTYP_MASK                            equ 0F0h
XTYP_SHIFT                           equ 4
TIMEOUT_ASYNC                        equ 0FFFFh
QID_SYNC                             equ 0FFFFh
CBR_BLOCK                            equ 0FFFFh
CBF_FAIL_SELFCONNECTIONS             equ 1000h
CBF_FAIL_CONNECTIONS                 equ 2000h
CBF_FAIL_ADVISES                     equ 4000h
CBF_FAIL_EXECUTES                    equ 8000h
CBF_FAIL_POKES                       equ 10000h
CBF_FAIL_REQUESTS                    equ 20000h
CBF_FAIL_ALLSVRXACTIONS              equ 3F000h
CBF_SKIP_CONNECT_CONFIRMS            equ 40000h
CBF_SKIP_REGISTRATIONS               equ 80000h
CBF_SKIP_UNREGISTRATIONS             equ 100000h
CBF_SKIP_DISCONNECTS                 equ 200000h
CBF_SKIP_ALLNOTIFICATIONS            equ 3C0000h
APPCMD_CLIENTONLY                    equ 10h
APPCMD_FILTERINITS                   equ 20h
APPCMD_MASK                          equ 0FF0h
APPCLASS_STANDARD                    equ 0h
APPCLASS_MASK                        equ 0Fh
EC_ENABLEALL                         equ 0
EC_ENABLEONE                         equ ST_BLOCKNEXT
EC_DISABLE                           equ ST_BLOCKED
EC_QUERYWAITING                      equ 2
DNS_REGISTER                         equ 1h
DNS_UNREGISTER                       equ 2h
DNS_FILTERON                         equ 4h
DNS_FILTEROFF                        equ 8h
HDATA_APPOWNED                       equ 1h
DMLERR_NO_ERROR                      equ 0
DMLERR_FIRST                         equ 4000h
DMLERR_ADVACKTIMEOUT                 equ 4000h
DMLERR_BUSY                          equ 4001h
DMLERR_DATAACKTIMEOUT                equ 4002h
DMLERR_DLL_NOT_INITIALIZED           equ 4003h
DMLERR_DLL_USAGE                     equ 4004h
DMLERR_EXECACKTIMEOUT                equ 4005h
DMLERR_INVALIDPARAMETER              equ 4006h
DMLERR_LOW_MEMORY                    equ 4007h
DMLERR_MEMORY_ERROR                  equ 4008h
DMLERR_NOTPROCESSED                  equ 4009h
DMLERR_NO_CONV_ESTABLISHED           equ 400Ah
DMLERR_POKEACKTIMEOUT                equ 400Bh
DMLERR_POSTMSG_FAILED                equ 400Ch
DMLERR_REENTRANCY                    equ 400Dh
DMLERR_SERVER_DIED                   equ 400Eh
DMLERR_SYS_ERROR                     equ 400Fh
DMLERR_UNADVACKTIMEOUT               equ 4010h
DMLERR_UNFOUND_QUEUE_ID              equ 4011h
DMLERR_LAST                          equ 4011h
MH_CREATE                            equ 1
MH_KEEP                              equ 2
MH_DELETE                            equ 3
MH_CLEANUP                           equ 4
MAX_MONITORS                         equ 4
APPCLASS_MONITOR                     equ 1h
XTYP_MONITOR                         equ 0F0h OR XCLASS_NOTIFICATION OR XTYPF_NOBLOCK
MF_HSZ_INFO                          equ 1000000h
MF_SENDMSGS                          equ 2000000h
MF_POSTMSGS                          equ 4000000h
MF_CALLBACKS                         equ 8000000h
MF_ERRORS                            equ 10000000h
MF_LINKS                             equ 20000000h
MF_CONV                              equ 40000000h
MF_MASK                              equ 0FF000000h
NO_ERROR                             equ 0
ERROR_SUCCESS                        equ 0
ERROR_INVALID_FUNCTION               equ 1
ERROR_FILE_NOT_FOUND                 equ 2
ERROR_PATH_NOT_FOUND                 equ 3
ERROR_TOO_MANY_OPEN_FILES            equ 4
ERROR_ACCESS_DENIED                  equ 5
ERROR_INVALID_HANDLE                 equ 6
ERROR_ARENA_TRASHED                  equ 7
ERROR_NOT_ENOUGH_MEMORY              equ 8
ERROR_INVALID_BLOCK                  equ 9
ERROR_BAD_ENVIRONMENT                equ 10
ERROR_BAD_FORMAT                     equ 11
ERROR_INVALID_ACCESS                 equ 12
ERROR_INVALID_DATA                   equ 13
ERROR_OUTOFMEMORY                    equ 14
ERROR_INVALID_DRIVE                  equ 15
ERROR_CURRENT_DIRECTORY              equ 16
ERROR_NOT_SAME_DEVICE                equ 17
ERROR_NO_MORE_FILES                  equ 18
ERROR_WRITE_PROTECT                  equ 19
ERROR_BAD_UNIT                       equ 20
ERROR_NOT_READY                      equ 21
ERROR_BAD_COMMAND                    equ 22
ERROR_CRC                            equ 23
ERROR_BAD_LENGTH                     equ 24
ERROR_SEEK                           equ 25
ERROR_NOT_DOS_DISK                   equ 26
ERROR_SECTOR_NOT_FOUND               equ 27
ERROR_OUT_OF_PAPER                   equ 28
ERROR_WRITE_FAULT                    equ 29
ERROR_READ_FAULT                     equ 30
ERROR_GEN_FAILURE                    equ 31
ERROR_SHARING_VIOLATION              equ 32
ERROR_LOCK_VIOLATION                 equ 33
ERROR_WRONG_DISK                     equ 34
ERROR_SHARING_BUFFER_EXCEEDED        equ 36
ERROR_HANDLE_EOF                     equ 38
ERROR_HANDLE_DISK_FULL               equ 39
ERROR_NOT_SUPPORTED                  equ 50
ERROR_REM_NOT_LIST                   equ 51
ERROR_DUP_NAME                       equ 52
ERROR_BAD_NETPATH                    equ 53
ERROR_NETWORK_BUSY                   equ 54
ERROR_DEV_NOT_EXIST                  equ 55
ERROR_TOO_MANY_CMDS                  equ 56
ERROR_ADAP_HDW_ERR                   equ 57
ERROR_BAD_NET_RESP                   equ 58
ERROR_UNEXP_NET_ERR                  equ 59
ERROR_BAD_REM_ADAP                   equ 60
ERROR_PRINTQ_FULL                    equ 61
ERROR_NO_SPOOL_SPACE                 equ 62
ERROR_PRINT_CANCELLED                equ 63
ERROR_NETNAME_DELETED                equ 64
ERROR_NETWORK_ACCESS_DENIED          equ 65
ERROR_BAD_DEV_TYPE                   equ 66
ERROR_BAD_NET_NAME                   equ 67
ERROR_TOO_MANY_NAMES                 equ 68
ERROR_TOO_MANY_SESS                  equ 69
ERROR_SHARING_PAUSED                 equ 70
ERROR_REQ_NOT_ACCEP                  equ 71
ERROR_REDIR_PAUSED                   equ 72
ERROR_FILE_EXISTS                    equ 80
ERROR_CANNOT_MAKE                    equ 82
ERROR_FAIL_I24                       equ 83
ERROR_OUT_OF_STRUCTURES              equ 84
ERROR_ALREADY_ASSIGNED               equ 85
ERROR_INVALID_PASSWORD               equ 86
ERROR_INVALID_PARAMETER              equ 87
ERROR_NET_WRITE_FAULT                equ 88
ERROR_NO_PROC_SLOTS                  equ 89
ERROR_TOO_MANY_SEMAPHORES            equ 100
ERROR_EXCL_SEM_ALREADY_OWNED         equ 101
ERROR_SEM_IS_SET                     equ 102
ERROR_TOO_MANY_SEM_REQUESTS          equ 103
ERROR_INVALID_AT_INTERRUPT_TIME      equ 104
ERROR_SEM_OWNER_DIED                 equ 105
ERROR_SEM_USER_LIMIT                 equ 106
ERROR_DISK_CHANGE                    equ 107
ERROR_DRIVE_LOCKED                   equ 108
ERROR_BROKEN_PIPE                    equ 109
ERROR_OPEN_FAILED                    equ 110
ERROR_BUFFER_OVERFLOW                equ 111
ERROR_DISK_FULL                      equ 112
ERROR_NO_MORE_SEARCH_HANDLES         equ 113
ERROR_INVALID_TARGET_HANDLE          equ 114
ERROR_INVALID_CATEGORY               equ 117
ERROR_INVALID_VERIFY_SWITCH          equ 118
ERROR_BAD_DRIVER_LEVEL               equ 119
ERROR_CALL_NOT_IMPLEMENTED           equ 120
ERROR_SEM_TIMEOUT                    equ 121
ERROR_INSUFFICIENT_BUFFER            equ 122
ERROR_INVALID_NAME                   equ 123
ERROR_INVALID_LEVEL                  equ 124
ERROR_NO_VOLUME_LABEL                equ 125
ERROR_MOD_NOT_FOUND                  equ 126
ERROR_PROC_NOT_FOUND                 equ 127
ERROR_WAIT_NO_CHILDREN               equ 128
ERROR_CHILD_NOT_COMPLETE             equ 129
ERROR_DIRECT_ACCESS_HANDLE           equ 130
ERROR_NEGATIVE_SEEK                  equ 131
ERROR_SEEK_ON_DEVICE                 equ 132
ERROR_IS_JOIN_TARGET                 equ 133
ERROR_IS_JOINED                      equ 134
ERROR_IS_SUBSTED                     equ 135
ERROR_NOT_JOINED                     equ 136
ERROR_NOT_SUBSTED                    equ 137
ERROR_JOIN_TO_JOIN                   equ 138
ERROR_SUBST_TO_SUBST                 equ 139
ERROR_JOIN_TO_SUBST                  equ 140
ERROR_SUBST_TO_JOIN                  equ 141
ERROR_BUSY_DRIVE                     equ 142
ERROR_SAME_DRIVE                     equ 143
ERROR_DIR_NOT_ROOT                   equ 144
ERROR_DIR_NOT_EMPTY                  equ 145
ERROR_IS_SUBST_PATH                  equ 146
ERROR_IS_JOIN_PATH                   equ 147
ERROR_PATH_BUSY                      equ 148
ERROR_IS_SUBST_TARGET                equ 149
ERROR_SYSTEM_TRACE                   equ 150
ERROR_INVALID_EVENT_COUNT            equ 151
ERROR_TOO_MANY_MUXWAITERS            equ 152
ERROR_INVALID_LIST_FORMAT            equ 153
ERROR_LABEL_TOO_LONG                 equ 154
ERROR_TOO_MANY_TCBS                  equ 155
ERROR_SIGNAL_REFUSED                 equ 156
ERROR_DISCARDED                      equ 157
ERROR_NOT_LOCKED                     equ 158
ERROR_BAD_THREADID_ADDR              equ 159
ERROR_BAD_ARGUMENTS                  equ 160
ERROR_BAD_PATHNAME                   equ 161
ERROR_SIGNAL_PENDING                 equ 162
ERROR_MAX_THRDS_REACHED              equ 164
ERROR_LOCK_FAILED                    equ 167
ERROR_BUSY                           equ 170
ERROR_CANCEL_VIOLATION               equ 173
ERROR_ATOMIC_LOCKS_NOT_SUPPORTED     equ 174
ERROR_INVALID_SEGMENT_NUMBER         equ 180
ERROR_INVALID_ORDINAL                equ 182
ERROR_ALREADY_EXISTS                 equ 183
ERROR_INVALID_FLAG_NUMBER            equ 186
ERROR_SEM_NOT_FOUND                  equ 187
ERROR_INVALID_STARTING_CODESEG       equ 188
ERROR_INVALID_STACKSEG               equ 189
ERROR_INVALID_MODULETYPE             equ 190
ERROR_INVALID_EXE_SIGNATURE          equ 191
ERROR_EXE_MARKED_INVALID             equ 192
ERROR_BAD_EXE_FORMAT                 equ 193
ERROR_ITERATED_DATA_EXCEEDS_64k      equ 194
ERROR_INVALID_MINALLOCSIZE           equ 195
ERROR_DYNLINK_FROM_INVALID_RING      equ 196
ERROR_IOPL_NOT_ENABLED               equ 197
ERROR_INVALID_SEGDPL                 equ 198
ERROR_AUTODATASEG_EXCEEDS_64k        equ 199
ERROR_RING2SEG_MUST_BE_MOVABLE       equ 200
ERROR_RELOC_CHAIN_XEEDS_SEGLIM       equ 201
ERROR_INFLOOP_IN_RELOC_CHAIN         equ 202
ERROR_ENVVAR_NOT_FOUND               equ 203
ERROR_NO_SIGNAL_SENT                 equ 205
ERROR_FILENAME_EXCED_RANGE           equ 206
ERROR_RING2_STACK_IN_USE             equ 207
ERROR_META_EXPANSION_TOO_LONG        equ 208
ERROR_INVALID_SIGNAL_NUMBER          equ 209
ERROR_THREAD_1_INACTIVE              equ 210
ERROR_LOCKED                         equ 212
ERROR_TOO_MANY_MODULES               equ 214
ERROR_NESTING_NOT_ALLOWED            equ 215
ERROR_BAD_PIPE                       equ 230
ERROR_PIPE_BUSY                      equ 231
ERROR_NO_DATA                        equ 232
ERROR_PIPE_NOT_CONNECTED             equ 233
ERROR_MORE_DATA                      equ 234
ERROR_VC_DISCONNECTED                equ 240
ERROR_INVALID_EA_NAME                equ 254
ERROR_EA_LIST_INCONSISTENT           equ 255
ERROR_NO_MORE_ITEMS                  equ 259
ERROR_CANNOT_COPY                    equ 266
ERROR_DIRECTORY                      equ 267
ERROR_EAS_DIDNT_FIT                  equ 275
ERROR_EA_FILE_CORRUPT                equ 276
ERROR_EA_TABLE_FULL                  equ 277
ERROR_INVALID_EA_HANDLE              equ 278
ERROR_EAS_NOT_SUPPORTED              equ 282
ERROR_NOT_OWNER                      equ 288
ERROR_TOO_MANY_POSTS                 equ 298
ERROR_MR_MID_NOT_FOUND               equ 317
ERROR_INVALID_ADDRESS                equ 487
ERROR_ARITHMETIC_OVERFLOW            equ 534
ERROR_PIPE_CONNECTED                 equ 535
ERROR_PIPE_LISTENING                 equ 536
ERROR_EA_ACCESS_DENIED               equ 994
ERROR_OPERATION_ABORTED              equ 995
ERROR_IO_INCOMPLETE                  equ 996
ERROR_IO_PENDING                     equ 997
ERROR_NOACCESS                       equ 998
ERROR_SWAPERROR                      equ 999
ERROR_STACK_OVERFLOW                 equ 1001
ERROR_INVALID_MESSAGE                equ 1002
ERROR_CAN_NOT_COMPLETE               equ 1003
ERROR_INVALID_FLAGS                  equ 1004
ERROR_UNRECOGNIZED_VOLUME            equ 1005
ERROR_FILE_INVALID                   equ 1006
ERROR_FULLSCREEN_MODE                equ 1007
ERROR_NO_TOKEN                       equ 1008
ERROR_BADDB                          equ 1009
ERROR_BADKEY                         equ 1010
ERROR_CANTOPEN                       equ 1011
ERROR_CANTREAD                       equ 1012
ERROR_CANTWRITE                      equ 1013
ERROR_REGISTRY_RECOVERED             equ 1014
ERROR_REGISTRY_CORRUPT               equ 1015
ERROR_REGISTRY_IO_FAILED             equ 1016
ERROR_NOT_REGISTRY_FILE              equ 1017
ERROR_KEY_DELETED                    equ 1018
ERROR_NO_LOG_SPACE                   equ 1019
ERROR_KEY_HAS_CHILDREN               equ 1020
ERROR_CHILD_MUST_BE_VOLATILE         equ 1021
ERROR_NOTIFY_ENUM_DIR                equ 1022
ERROR_DEPENDENT_SERVICES_RUNNING     equ 1051
ERROR_INVALID_SERVICE_CONTROL        equ 1052
ERROR_SERVICE_REQUEST_TIMEOUT        equ 1053
ERROR_SERVICE_NO_THREAD              equ 1054
ERROR_SERVICE_DATABASE_LOCKED        equ 1055
ERROR_SERVICE_ALREADY_RUNNING        equ 1056
ERROR_INVALID_SERVICE_ACCOUNT        equ 1057
ERROR_SERVICE_DISABLED               equ 1058
ERROR_CIRCULAR_DEPENDENCY            equ 1059
ERROR_SERVICE_DOES_NOT_EXIST         equ 1060
ERROR_SERVICE_CANNOT_ACCEPT_CTRL     equ 1061
ERROR_SERVICE_NOT_ACTIVE             equ 1062
ERROR_FAILED_SERVICE_CONTROLLER_CONNECT              equ 1063
ERROR_EXCEPTION_IN_SERVICE           equ 1064
ERROR_DATABASE_DOES_NOT_EXIST        equ 1065
ERROR_SERVICE_SPECIFIC_ERROR         equ 1066
ERROR_PROCESS_ABORTED                equ 1067
ERROR_SERVICE_DEPENDENCY_FAIL        equ 1068
ERROR_SERVICE_LOGON_FAILED           equ 1069
ERROR_SERVICE_START_HANG             equ 1070
ERROR_INVALID_SERVICE_LOCK           equ 1071
ERROR_SERVICE_MARKED_FOR_DELETE      equ 1072
ERROR_SERVICE_EXISTS                 equ 1073
ERROR_ALREADY_RUNNING_LKG            equ 1074
ERROR_SERVICE_DEPENDENCY_DELETED     equ 1075
ERROR_BOOT_ALREADY_ACCEPTED          equ 1076
ERROR_SERVICE_NEVER_STARTED          equ 1077
ERROR_DUPLICATE_SERVICE_NAME         equ 1078
ERROR_END_OF_MEDIA                   equ 1100
ERROR_FILEMARK_DETECTED              equ 1101
ERROR_BEGINNING_OF_MEDIA             equ 1102
ERROR_SETMARK_DETECTED               equ 1103
ERROR_NO_DATA_DETECTED               equ 1104
ERROR_PARTITION_FAILURE              equ 1105
ERROR_INVALID_BLOCK_LENGTH           equ 1106
ERROR_DEVICE_NOT_PARTITIONED         equ 1107
ERROR_UNABLE_TO_LOCK_MEDIA           equ 1108
ERROR_UNABLE_TO_UNLOAD_MEDIA         equ 1109
ERROR_MEDIA_CHANGED                  equ 1110
ERROR_BUS_RESET                      equ 1111
ERROR_NO_MEDIA_IN_DRIVE              equ 1112
ERROR_NO_UNICODE_TRANSLATION         equ 1113
ERROR_DLL_INIT_FAILED                equ 1114
ERROR_SHUTDOWN_IN_PROGRESS           equ 1115
ERROR_NO_SHUTDOWN_IN_PROGRESS        equ 1116
ERROR_IO_DEVICE                      equ 1117
ERROR_SERIAL_NO_DEVICE               equ 1118
ERROR_IRQ_BUSY                       equ 1119
ERROR_MORE_WRITES                    equ 1120
ERROR_COUNTER_TIMEOUT                equ 1121
ERROR_FLOPPY_ID_MARK_NOT_FOUND       equ 1122
ERROR_FLOPPY_WRONG_CYLINDER          equ 1123
ERROR_FLOPPY_UNKNOWN_ERROR           equ 1124
ERROR_FLOPPY_BAD_REGISTERS           equ 1125
ERROR_DISK_RECALIBRATE_FAILED        equ 1126
ERROR_DISK_OPERATION_FAILED          equ 1127
ERROR_DISK_RESET_FAILED              equ 1128
ERROR_EOM_OVERFLOW                   equ 1129
ERROR_NOT_ENOUGH_SERVER_MEMORY       equ 1130
ERROR_POSSIBLE_DEADLOCK              equ 1131
ERROR_MAPPED_ALIGNMENT               equ 1132
ERROR_INVALID_PIXEL_FORMAT           equ 2000
ERROR_BAD_DRIVER                     equ 2001
ERROR_INVALID_WINDOW_STYLE           equ 2002
ERROR_METAFILE_NOT_SUPPORTED         equ 2003
ERROR_TRANSFORM_NOT_SUPPORTED        equ 2004
ERROR_CLIPPING_NOT_SUPPORTED         equ 2005
ERROR_UNKNOWN_PRINT_MONITOR          equ 3000
ERROR_PRINTER_DRIVER_IN_USE          equ 3001
ERROR_SPOOL_FILE_NOT_FOUND           equ 3002
ERROR_SPL_NO_STARTDOC                equ 3003
ERROR_SPL_NO_ADDJOB                  equ 3004
ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED              equ 3005
ERROR_PRINT_MONITOR_ALREADY_INSTALLED                equ 3006
ERROR_WINS_INTERNAL                  equ 4000
ERROR_CAN_NOT_DEL_LOCAL_WINS         equ 4001
ERROR_STATIC_INIT                    equ 4002
ERROR_INC_BACKUP                     equ 4003
ERROR_FULL_BACKUP                    equ 4004
ERROR_REC_NON_EXISTENT               equ 4005
ERROR_RPL_NOT_ALLOWED                equ 4006
SEVERITY_SUCCESS                     equ 0
SEVERITY_ERROR                       equ 1
FACILITY_NT_BIT                      equ 10000000h
NOERROR                              equ 0
E_UNEXPECTED                         equ 8000FFFFh
E_NOTIMPL                            equ 80004001h
E_OUTOFMEMORY                        equ 8007000Eh
E_INVALIDARG                         equ 80070057h
E_NOINTERFACE                        equ 80004002h
E_POINTER                            equ 80004003h
E_HANDLE                             equ 80070006h
E_ABORT                              equ 80004004h
E_FAIL                               equ 80004005h
E_ACCESSDENIED                       equ 80070005h
CO_E_INIT_TLS                        equ 80004006h
CO_E_INIT_SHARED_ALLOCATOR           equ 80004007h
CO_E_INIT_MEMORY_ALLOCATOR           equ 80004008h
CO_E_INIT_CLASS_CACHE                equ 80004009h
CO_E_INIT_RPC_CHANNEL                equ 8000400Ah
CO_E_INIT_TLS_SET_CHANNEL_CONTROL    equ 8000400Bh
CO_E_INIT_TLS_CHANNEL_CONTROL        equ 8000400Ch
CO_E_INIT_UNACCEPTED_USER_ALLOCATOR  equ 8000400Dh
CO_E_INIT_SCM_MUTEX_EXISTS           equ 8000400Eh
CO_E_INIT_SCM_FILE_MAPPING_EXISTS    equ 8000400Fh
CO_E_INIT_SCM_MAP_VIEW_OF_FILE       equ 80004010h
CO_E_INIT_SCM_EXEC_FAILURE           equ 80004011h
CO_E_INIT_ONLY_SINGLE_THREADED       equ 80004012h
S_OK                                 equ 0h
S_FALSE                              equ 1h
OLE_E_FIRST                          equ 80040000h
OLE_E_LAST                           equ 800400FFh
OLE_S_FIRST                          equ 40000h
OLE_S_LAST                           equ 400FFh
OLE_E_OLEVERB                        equ 80040000h
OLE_E_ADVF                           equ 80040001h
OLE_E_ENUM_NOMORE                    equ 80040002h
OLE_E_ADVISENOTSUPPORTED             equ 80040003h
OLE_E_NOCONNECTION                   equ 80040004h
OLE_E_NOTRUNNING                     equ 80040005h
OLE_E_NOCACHE                        equ 80040006h
OLE_E_BLANK                          equ 80040007h
OLE_E_CLASSDIFF                      equ 80040008h
OLE_E_CANT_GETMONIKER                equ 80040009h
OLE_E_CANT_BINDTOSOURCE              equ 8004000Ah
OLE_E_STATIC                         equ 8004000Bh
OLE_E_PROMPTSAVECANCELLED            equ 8004000Ch
OLE_E_INVALIDRECT                    equ 8004000Dh
OLE_E_WRONGCOMPOBJ                   equ 8004000Eh
OLE_E_INVALIDHWND                    equ 8004000Fh
OLE_E_NOT_INPLACEACTIVE              equ 80040010h
OLE_E_CANTCONVERT                    equ 80040011h
OLE_E_NOSTORAGE                      equ 80040012h
DV_E_FORMATETC                       equ 80040064h
DV_E_DVTARGETDEVICE                  equ 80040065h
DV_E_STGMEDIUM                       equ 80040066h
DV_E_STATDATA                        equ 80040067h
DV_E_LINDEX                          equ 80040068h
DV_E_TYMED                           equ 80040069h
DV_E_CLIPFORMAT                      equ 8004006Ah
DV_E_DVASPECT                        equ 8004006Bh
DV_E_DVTARGETDEVICE_SIZE             equ 8004006Ch
DV_E_NOIVIEWOBJECT                   equ 8004006Dh
DRAGDROP_E_FIRST                     equ 80040100h
DRAGDROP_E_LAST                      equ 8004010Fh
DRAGDROP_S_FIRST                     equ 40100h
DRAGDROP_S_LAST                      equ 4010Fh
DRAGDROP_E_NOTREGISTERED             equ 80040100h
DRAGDROP_E_ALREADYREGISTERED         equ 80040101h
DRAGDROP_E_INVALIDHWND               equ 80040102h
CLASSFACTORY_E_FIRST                 equ 80040110h
CLASSFACTORY_E_LAST                  equ 8004011Fh
CLASSFACTORY_S_FIRST                 equ 40110h
CLASSFACTORY_S_LAST                  equ 4011Fh
CLASS_E_NOAGGREGATION                equ 80040110h
CLASS_E_CLASSNOTAVAILABLE            equ 80040111h
MARSHAL_E_FIRST                      equ 80040120h
MARSHAL_E_LAST                       equ 8004012Fh
MARSHAL_S_FIRST                      equ 40120h
MARSHAL_S_LAST                       equ 4012Fh
DATA_E_FIRST                         equ 80040130h
DATA_E_LAST                          equ 8004013Fh
DATA_S_FIRST                         equ 40130h
DATA_S_LAST                          equ 4013Fh
VIEW_E_FIRST                         equ 80040140h
VIEW_E_LAST                          equ 8004014Fh
VIEW_S_FIRST                         equ 40140h
VIEW_S_LAST                          equ 4014Fh
VIEW_E_DRAW                          equ 80040140h
REGDB_E_FIRST                        equ 80040150h
REGDB_E_LAST                         equ 8004015Fh
REGDB_S_FIRST                        equ 40150h
REGDB_S_LAST                         equ 4015Fh
REGDB_E_READREGDB                    equ 80040150h
REGDB_E_WRITEREGDB                   equ 80040151h
REGDB_E_KEYMISSING                   equ 80040152h
REGDB_E_INVALIDVALUE                 equ 80040153h
REGDB_E_CLASSNOTREG                  equ 80040154h
REGDB_E_IIDNOTREG                    equ 80040155h
CACHE_E_FIRST                        equ 80040170h
CACHE_E_LAST                         equ 8004017Fh
CACHE_S_FIRST                        equ 40170h
CACHE_S_LAST                         equ 4017Fh
CACHE_E_NOCACHE_UPDATED              equ 80040170h
OLEOBJ_E_FIRST                       equ 80040180h
OLEOBJ_E_LAST                        equ 8004018Fh
OLEOBJ_S_FIRST                       equ 40180h
OLEOBJ_S_LAST                        equ 4018Fh
OLEOBJ_E_NOVERBS                     equ 80040180h
OLEOBJ_E_INVALIDVERB                 equ 80040181h
CLIENTSITE_E_FIRST                   equ 80040190h
CLIENTSITE_E_LAST                    equ 8004019Fh
CLIENTSITE_S_FIRST                   equ 40190h
CLIENTSITE_S_LAST                    equ 4019Fh
INPLACE_E_NOTUNDOABLE                equ 800401A0h
INPLACE_E_NOTOOLSPACE                equ 800401A1h
INPLACE_E_FIRST                      equ 800401A0h
INPLACE_E_LAST                       equ 800401AFh
INPLACE_S_FIRST                      equ 401A0h
INPLACE_S_LAST                       equ 401AFh
ENUM_E_FIRST                         equ 800401B0h
ENUM_E_LAST                          equ 800401BFh
ENUM_S_FIRST                         equ 401B0h
ENUM_S_LAST                          equ 401BFh
CONVERT10_E_FIRST                    equ 800401C0h
CONVERT10_E_LAST                     equ 800401CFh
CONVERT10_S_FIRST                    equ 401C0h
CONVERT10_S_LAST                     equ 401CFh
CONVERT10_E_OLESTREAM_GET            equ 800401C0h
CONVERT10_E_OLESTREAM_PUT            equ 800401C1h
CONVERT10_E_OLESTREAM_FMT            equ 800401C2h
CONVERT10_E_OLESTREAM_BITMAP_TO_DIB  equ 800401C3h
CONVERT10_E_STG_FMT                  equ 800401C4h
CONVERT10_E_STG_NO_STD_STREAM        equ 800401C5h
CONVERT10_E_STG_DIB_TO_BITMAP        equ 800401C6h
CLIPBRD_E_FIRST                      equ 800401D0h
CLIPBRD_E_LAST                       equ 800401DFh
CLIPBRD_S_FIRST                      equ 401D0h
CLIPBRD_S_LAST                       equ 401DFh
CLIPBRD_E_CANT_OPEN                  equ 800401D0h
CLIPBRD_E_CANT_EMPTY                 equ 800401D1h
CLIPBRD_E_CANT_SET                   equ 800401D2h
CLIPBRD_E_BAD_DATA                   equ 800401D3h
CLIPBRD_E_CANT_CLOSE                 equ 800401D4h
MK_E_FIRST                           equ 800401E0h
MK_E_LAST                            equ 800401EFh
MK_S_FIRST                           equ 401E0h
MK_S_LAST                            equ 401EFh
MK_E_CONNECTMANUALLY                 equ 800401E0h
MK_E_EXCEEDEDDEADLINE                equ 800401E1h
MK_E_NEEDGENERIC                     equ 800401E2h
MK_E_UNAVAILABLE                     equ 800401E3h
MK_E_SYNTAX                          equ 800401E4h
MK_E_NOOBJECT                        equ 800401E5h
MK_E_INVALIDEXTENSION                equ 800401E6h
MK_E_INTERMEDIATEINTERFACENOTSUPPORTED               equ 800401E7h
MK_E_NOTBINDABLE                     equ 800401E8h
MK_E_NOTBOUND                        equ 800401E9h
MK_E_CANTOPENFILE                    equ 800401EAh
MK_E_MUSTBOTHERUSER                  equ 800401EBh
MK_E_NOINVERSE                       equ 800401ECh
MK_E_NOSTORAGE                       equ 800401EDh
MK_E_NOPREFIX                        equ 800401EEh
MK_E_ENUMERATION_FAILED              equ 800401EFh
CO_E_FIRST                           equ 800401F0h
CO_E_LAST                            equ 800401FFh
CO_S_FIRST                           equ 401F0h
CO_S_LAST                            equ 401FFh
CO_E_NOTINITIALIZED                  equ 800401F0h
CO_E_ALREADYINITIALIZED              equ 800401F1h
CO_E_CANTDETERMINECLASS              equ 800401F2h
CO_E_CLASSSTRING                     equ 800401F3h
CO_E_IIDSTRING                       equ 800401F4h
CO_E_APPNOTFOUND                     equ 800401F5h
CO_E_APPSINGLEUSE                    equ 800401F6h
CO_E_ERRORINAPP                      equ 800401F7h
CO_E_DLLNOTFOUND                     equ 800401F8h
CO_E_ERRORINDLL                      equ 800401F9h
CO_E_WRONGOSFORAPP                   equ 800401FAh
CO_E_OBJNOTREG                       equ 800401FBh
CO_E_OBJISREG                        equ 800401FCh
CO_E_OBJNOTCONNECTED                 equ 800401FDh
CO_E_APPDIDNTREG                     equ 800401FEh
CO_E_RELEASED                        equ 800401FFh
OLE_S_USEREG                         equ 40000h
OLE_S_STATIC                         equ 40001h
OLE_S_MAC_CLIPFORMAT                 equ 40002h
DRAGDROP_S_DROP                      equ 40100h
DRAGDROP_S_CANCEL                    equ 40101h
DRAGDROP_S_USEDEFAULTCURSORS         equ 40102h
DATA_S_SAMEFORMATETC                 equ 40130h
VIEW_S_ALREADY_FROZEN                equ 40140h
CACHE_S_FORMATETC_NOTSUPPORTED       equ 40170h
CACHE_S_SAMECACHE                    equ 40171h
CACHE_S_SOMECACHES_NOTUPDATED        equ 40172h
OLEOBJ_S_INVALIDVERB                 equ 40180h
OLEOBJ_S_CANNOT_DOVERB_NOW           equ 40181h
OLEOBJ_S_INVALIDHWND                 equ 40182h
INPLACE_S_TRUNCATED                  equ 401A0h
CONVERT10_S_NO_PRESENTATION          equ 401C0h
MK_S_REDUCED_TO_SELF                 equ 401E2h
MK_S_ME                              equ 401E4h
MK_S_HIM                             equ 401E5h
MK_S_US                              equ 401E6h
MK_S_MONIKERALREADYREGISTERED        equ 401E7h
CO_E_CLASS_CREATE_FAILED             equ 80080001h
CO_E_SCM_ERROR                       equ 80080002h
CO_E_SCM_RPC_FAILURE                 equ 80080003h
CO_E_BAD_PATH                        equ 80080004h
CO_E_SERVER_EXEC_FAILURE             equ 80080005h
CO_E_OBJSRV_RPC_FAILURE              equ 80080006h
MK_E_NO_NORMALIZED                   equ 80080007h
CO_E_SERVER_STOPPING                 equ 80080008h
MEM_E_INVALID_ROOT                   equ 80080009h
MEM_E_INVALID_LINK                   equ 80080010h
MEM_E_INVALID_SIZE                   equ 80080011h
DISP_E_UNKNOWNINTERFACE              equ 80020001h
DISP_E_MEMBERNOTFOUND                equ 80020003h
DISP_E_PARAMNOTFOUND                 equ 80020004h
DISP_E_TYPEMISMATCH                  equ 80020005h
DISP_E_UNKNOWNNAME                   equ 80020006h
DISP_E_NONAMEDARGS                   equ 80020007h
DISP_E_BADVARTYPE                    equ 80020008h
DISP_E_EXCEPTION                     equ 80020009h
DISP_E_OVERFLOW                      equ 8002000Ah
DISP_E_BADINDEX                      equ 8002000Bh
DISP_E_UNKNOWNLCID                   equ 8002000Ch
DISP_E_ARRAYISLOCKED                 equ 8002000Dh
DISP_E_BADPARAMCOUNT                 equ 8002000Eh
DISP_E_PARAMNOTOPTIONAL              equ 8002000Fh
DISP_E_BADCALLEE                     equ 80020010h
DISP_E_NOTACOLLECTION                equ 80020011h
TYPE_E_BUFFERTOOSMALL                equ 80028016h
TYPE_E_INVDATAREAD                   equ 80028018h
TYPE_E_UNSUPFORMAT                   equ 80028019h
TYPE_E_REGISTRYACCESS                equ 8002801Ch
TYPE_E_LIBNOTREGISTERED              equ 8002801Dh
TYPE_E_UNDEFINEDTYPE                 equ 80028027h
TYPE_E_QUALIFIEDNAMEDISALLOWED       equ 80028028h
TYPE_E_INVALIDSTATE                  equ 80028029h
TYPE_E_WRONGTYPEKIND                 equ 8002802Ah
TYPE_E_ELEMENTNOTFOUND               equ 8002802Bh
TYPE_E_AMBIGUOUSNAME                 equ 8002802Ch
TYPE_E_NAMECONFLICT                  equ 8002802Dh
TYPE_E_UNKNOWNLCID                   equ 8002802Eh
TYPE_E_DLLFUNCTIONNOTFOUND           equ 8002802Fh
TYPE_E_BADMODULEKIND                 equ 800288BDh
TYPE_E_SIZETOOBIG                    equ 800288C5h
TYPE_E_DUPLICATEID                   equ 800288C6h
TYPE_E_INVALIDID                     equ 800288CFh
TYPE_E_TYPEMISMATCH                  equ 80028CA0h
TYPE_E_OUTOFBOUNDS                   equ 80028CA1h
TYPE_E_IOERROR                       equ 80028CA2h
TYPE_E_CANTCREATETMPFILE             equ 80028CA3h
TYPE_E_CANTLOADLIBRARY               equ 80029C4Ah
TYPE_E_INCONSISTENTPROPFUNCS         equ 80029C83h
TYPE_E_CIRCULARTYPE                  equ 80029C84h
STG_E_INVALIDFUNCTION                equ 80030001h
STG_E_FILENOTFOUND                   equ 80030002h
STG_E_PATHNOTFOUND                   equ 80030003h
STG_E_TOOMANYOPENFILES               equ 80030004h
STG_E_ACCESSDENIED                   equ 80030005h
STG_E_INVALIDHANDLE                  equ 80030006h
STG_E_INSUFFICIENTMEMORY             equ 80030008h
STG_E_INVALIDPOINTER                 equ 80030009h
STG_E_NOMOREFILES                    equ 80030012h
STG_E_DISKISWRITEPROTECTED           equ 80030013h
STG_E_SEEKERROR                      equ 80030019h
STG_E_WRITEFAULT                     equ 8003001Dh
STG_E_READFAULT                      equ 8003001Eh
STG_E_SHAREVIOLATION                 equ 80030020h
STG_E_LOCKVIOLATION                  equ 80030021h
STG_E_FILEALREADYEXISTS              equ 80030050h
STG_E_INVALIDPARAMETER               equ 80030057h
STG_E_MEDIUMFULL                     equ 80030070h
STG_E_ABNORMALAPIEXIT                equ 800300FAh
STG_E_INVALIDHEADER                  equ 800300FBh
STG_E_INVALIDNAME                    equ 800300FCh
STG_E_UNKNOWN                        equ 800300FDh
STG_E_UNIMPLEMENTEDFUNCTION          equ 800300FEh
STG_E_INVALIDFLAG                    equ 800300FFh
STG_E_INUSE                          equ 80030100h
STG_E_NOTCURRENT                     equ 80030101h
STG_E_REVERTED                       equ 80030102h
STG_E_CANTSAVE                       equ 80030103h
STG_E_OLDFORMAT                      equ 80030104h
STG_E_OLDDLL                         equ 80030105h
STG_E_SHAREREQUIRED                  equ 80030106h
STG_E_NOTFILEBASEDSTORAGE            equ 80030107h
STG_E_EXTANTMARSHALLINGS             equ 80030108h
STG_S_CONVERTED                      equ 30200h
RPC_E_CALL_REJECTED                  equ 80010001h
RPC_E_CALL_CANCELED                  equ 80010002h
RPC_E_CANTPOST_INSENDCALL            equ 80010003h
RPC_E_CANTCALLOUT_INASYNCCALL        equ 80010004h
RPC_E_CANTCALLOUT_INEXTERNALCALL     equ 80010005h
RPC_E_CONNECTION_TERMINATED          equ 80010006h
RPC_E_SERVER_DIED                    equ 80010007h
RPC_E_CLIENT_DIED                    equ 80010008h
RPC_E_INVALID_DATAPACKET             equ 80010009h
RPC_E_CANTTRANSMIT_CALL              equ 8001000Ah
RPC_E_CLIENT_CANTMARSHAL_DATA        equ 8001000Bh
RPC_E_CLIENT_CANTUNMARSHAL_DATA      equ 8001000Ch
RPC_E_SERVER_CANTMARSHAL_DATA        equ 8001000Dh
RPC_E_SERVER_CANTUNMARSHAL_DATA      equ 8001000Eh
RPC_E_INVALID_DATA                   equ 8001000Fh
RPC_E_INVALID_PARAMETER              equ 80010010h
RPC_E_CANTCALLOUT_AGAIN              equ 80010011h
RPC_E_SERVER_DIED_DNE                equ 80010012h
RPC_E_SYS_CALL_FAILED                equ 80010100h
RPC_E_OUT_OF_RESOURCES               equ 80010101h
RPC_E_ATTEMPTED_MULTITHREAD          equ 80010102h
RPC_E_NOT_REGISTERED                 equ 80010103h
RPC_E_FAULT                          equ 80010104h
RPC_E_SERVERFAULT                    equ 80010105h
RPC_E_CHANGED_MODE                   equ 80010106h
RPC_E_INVALIDMETHOD                  equ 80010107h
RPC_E_DISCONNECTED                   equ 80010108h
RPC_E_RETRY                          equ 80010109h
RPC_E_SERVERCALL_RETRYLATER          equ 8001010Ah
RPC_E_SERVERCALL_REJECTED            equ 8001010Bh
RPC_E_INVALID_CALLDATA               equ 8001010Ch
RPC_E_CANTCALLOUT_ININPUTSYNCCALL    equ 8001010Dh
RPC_E_WRONG_THREAD                   equ 8001010Eh
RPC_E_THREAD_NOT_INIT                equ 8001010Fh
RPC_E_UNEXPECTED                     equ 8001FFFFh
ERROR_BAD_USERNAME                   equ 2202
ERROR_NOT_CONNECTED                  equ 2250
ERROR_OPEN_FILES                     equ 2401
ERROR_DEVICE_IN_USE                  equ 2404
ERROR_BAD_DEVICE                     equ 1200
ERROR_CONNECTION_UNAVAIL             equ 1201
ERROR_DEVICE_ALREADY_REMEMBERED      equ 1202
ERROR_NO_NET_OR_BAD_PATH             equ 1203
ERROR_BAD_PROVIDER                   equ 1204
ERROR_CANNOT_OPEN_PROFILE            equ 1205
ERROR_BAD_PROFILE                    equ 1206
ERROR_NOT_CONTAINER                  equ 1207
ERROR_EXTENDED_ERROR                 equ 1208
ERROR_INVALID_GROUPNAME              equ 1209
ERROR_INVALID_COMPUTERNAME           equ 1210
ERROR_INVALID_EVENTNAME              equ 1211
ERROR_INVALID_DOMAINNAME             equ 1212
ERROR_INVALID_SERVICENAME            equ 1213
ERROR_INVALID_NETNAME                equ 1214
ERROR_INVALID_SHARENAME              equ 1215
ERROR_INVALID_PASSWORDNAME           equ 1216
ERROR_INVALID_MESSAGENAME            equ 1217
ERROR_INVALID_MESSAGEDEST            equ 1218
ERROR_SESSION_CREDENTIAL_CONFLICT    equ 1219
ERROR_REMOTE_SESSION_LIMIT_EXCEEDED  equ 1220
ERROR_DUP_DOMAINNAME                 equ 1221
ERROR_NO_NETWORK                     equ 1222
ERROR_NOT_ALL_ASSIGNED               equ 1300
ERROR_SOME_NOT_MAPPED                equ 1301
ERROR_NO_QUOTAS_FOR_ACCOUNT          equ 1302
ERROR_LOCAL_USER_SESSION_KEY         equ 1303
ERROR_NULL_LM_PASSWORD               equ 1304
ERROR_UNKNOWN_REVISION               equ 1305
ERROR_REVISION_MISMATCH              equ 1306
ERROR_INVALID_OWNER                  equ 1307
ERROR_INVALID_PRIMARY_GROUP          equ 1308
ERROR_NO_IMPERSONATION_TOKEN         equ 1309
ERROR_CANT_DISABLE_MANDATORY         equ 1310
ERROR_NO_LOGON_SERVERS               equ 1311
ERROR_NO_SUCH_LOGON_SESSION          equ 1312
ERROR_NO_SUCH_PRIVILEGE              equ 1313
ERROR_PRIVILEGE_NOT_HELD             equ 1314
ERROR_INVALID_ACCOUNT_NAME           equ 1315
ERROR_USER_EXISTS                    equ 1316
ERROR_NO_SUCH_USER                   equ 1317
ERROR_GROUP_EXISTS                   equ 1318
ERROR_NO_SUCH_GROUP                  equ 1319
ERROR_MEMBER_IN_GROUP                equ 1320
ERROR_MEMBER_NOT_IN_GROUP            equ 1321
ERROR_LAST_ADMIN                     equ 1322
ERROR_WRONG_PASSWORD                 equ 1323
ERROR_ILL_FORMED_PASSWORD            equ 1324
ERROR_PASSWORD_RESTRICTION           equ 1325
ERROR_LOGON_FAILURE                  equ 1326
ERROR_ACCOUNT_RESTRICTION            equ 1327
ERROR_INVALID_LOGON_HOURS            equ 1328
ERROR_INVALID_WORKSTATION            equ 1329
ERROR_PASSWORD_EXPIRED               equ 1330
ERROR_ACCOUNT_DISABLED               equ 1331
ERROR_NONE_MAPPED                    equ 1332
ERROR_TOO_MANY_LUIDS_REQUESTED       equ 1333
ERROR_LUIDS_EXHAUSTED                equ 1334
ERROR_INVALID_SUB_AUTHORITY          equ 1335
ERROR_INVALID_ACL                    equ 1336
ERROR_INVALID_SID                    equ 1337
ERROR_INVALID_SECURITY_DESCR         equ 1338
ERROR_BAD_INHERITANCE_ACL            equ 1340
ERROR_SERVER_DISABLED                equ 1341
ERROR_SERVER_NOT_DISABLED            equ 1342
ERROR_INVALID_ID_AUTHORITY           equ 1343
ERROR_ALLOTTED_SPACE_EXCEEDED        equ 1344
ERROR_INVALID_GROUP_ATTRIBUTES       equ 1345
ERROR_BAD_IMPERSONATION_LEVEL        equ 1346
ERROR_CANT_OPEN_ANONYMOUS            equ 1347
ERROR_BAD_VALIDATION_CLASS           equ 1348
ERROR_BAD_TOKEN_TYPE                 equ 1349
ERROR_NO_SECURITY_ON_OBJECT          equ 1350
ERROR_CANT_ACCESS_DOMAIN_INFO        equ 1351
ERROR_INVALID_SERVER_STATE           equ 1352
ERROR_INVALID_DOMAIN_STATE           equ 1353
ERROR_INVALID_DOMAIN_ROLE            equ 1354
ERROR_NO_SUCH_DOMAIN                 equ 1355
ERROR_DOMAIN_EXISTS                  equ 1356
ERROR_DOMAIN_LIMIT_EXCEEDED          equ 1357
ERROR_INTERNAL_DB_CORRUPTION         equ 1358
ERROR_INTERNAL_ERROR                 equ 1359
ERROR_GENERIC_NOT_MAPPED             equ 1360
ERROR_BAD_DESCRIPTOR_FORMAT          equ 1361
ERROR_NOT_LOGON_PROCESS              equ 1362
ERROR_LOGON_SESSION_EXISTS           equ 1363
ERROR_NO_SUCH_PACKAGE                equ 1364
ERROR_BAD_LOGON_SESSION_STATE        equ 1365
ERROR_LOGON_SESSION_COLLISION        equ 1366
ERROR_INVALID_LOGON_TYPE             equ 1367
ERROR_CANNOT_IMPERSONATE             equ 1368
ERROR_RXACT_INVALID_STATE            equ 1369
ERROR_RXACT_COMMIT_FAILURE           equ 1370
ERROR_SPECIAL_ACCOUNT                equ 1371
ERROR_SPECIAL_GROUP                  equ 1372
ERROR_SPECIAL_USER                   equ 1373
ERROR_MEMBERS_PRIMARY_GROUP          equ 1374
ERROR_TOKEN_ALREADY_IN_USE           equ 1375
ERROR_NO_SUCH_ALIAS                  equ 1376
ERROR_MEMBER_NOT_IN_ALIAS            equ 1377
ERROR_MEMBER_IN_ALIAS                equ 1378
ERROR_ALIAS_EXISTS                   equ 1379
ERROR_LOGON_NOT_GRANTED              equ 1380
ERROR_TOO_MANY_SECRETS               equ 1381
ERROR_SECRET_TOO_LONG                equ 1382
ERROR_INTERNAL_DB_ERROR              equ 1383
ERROR_TOO_MANY_CONTEXT_IDS           equ 1384
ERROR_LOGON_TYPE_NOT_GRANTED         equ 1385
ERROR_NT_CROSS_ENCRYPTION_REQUIRED   equ 1386
ERROR_NO_SUCH_MEMBER                 equ 1387
ERROR_INVALID_MEMBER                 equ 1388
ERROR_TOO_MANY_SIDS                  equ 1389
ERROR_LM_CROSS_ENCRYPTION_REQUIRED   equ 1390
ERROR_NO_INHERITANCE                 equ 1391
ERROR_FILE_CORRUPT                   equ 1392
ERROR_DISK_CORRUPT                   equ 1393
ERROR_NO_USER_SESSION_KEY            equ 1394
ERROR_INVALID_WINDOW_HANDLE          equ 1400
ERROR_INVALID_MENU_HANDLE            equ 1401
ERROR_INVALID_CURSOR_HANDLE          equ 1402
ERROR_INVALID_ACCEL_HANDLE           equ 1403
ERROR_INVALID_HOOK_HANDLE            equ 1404
ERROR_INVALID_DWP_HANDLE             equ 1405
ERROR_TLW_WITH_WSCHILD               equ 1406
ERROR_CANNOT_FIND_WND_CLASS          equ 1407
ERROR_WINDOW_OF_OTHER_THREAD         equ 1408
ERROR_HOTKEY_ALREADY_REGISTERED      equ 1409
ERROR_CLASS_ALREADY_EXISTS           equ 1410
ERROR_CLASS_DOES_NOT_EXIST           equ 1411
ERROR_CLASS_HAS_WINDOWS              equ 1412
ERROR_INVALID_INDEX                  equ 1413
ERROR_INVALID_ICON_HANDLE            equ 1414
ERROR_PRIVATE_DIALOG_INDEX           equ 1415
ERROR_LISTBOX_ID_NOT_FOUND           equ 1416
ERROR_NO_WILDCARD_CHARACTERS         equ 1417
ERROR_CLIPBOARD_NOT_OPEN             equ 1418
ERROR_HOTKEY_NOT_REGISTERED          equ 1419
ERROR_WINDOW_NOT_DIALOG              equ 1420
ERROR_CONTROL_ID_NOT_FOUND           equ 1421
ERROR_INVALID_COMBOBOX_MESSAGE       equ 1422
ERROR_WINDOW_NOT_COMBOBOX            equ 1423
ERROR_INVALID_EDIT_HEIGHT            equ 1424
ERROR_DC_NOT_FOUND                   equ 1425
ERROR_INVALID_HOOK_FILTER            equ 1426
ERROR_INVALID_FILTER_PROC            equ 1427
ERROR_HOOK_NEEDS_HMOD                equ 1428
ERROR_PUBLIC_ONLY_HOOK               equ 1429
ERROR_JOURNAL_HOOK_SET               equ 1430
ERROR_HOOK_NOT_INSTALLED             equ 1431
ERROR_INVALID_LB_MESSAGE             equ 1432
ERROR_SETCOUNT_ON_BAD_LB             equ 1433
ERROR_LB_WITHOUT_TABSTOPS            equ 1434
ERROR_DESTROY_OBJECT_OF_OTHER_THREAD equ 1435
ERROR_CHILD_WINDOW_MENU              equ 1436
ERROR_NO_SYSTEM_MENU                 equ 1437
ERROR_INVALID_MSGBOX_STYLE           equ 1438
ERROR_INVALID_SPI_VALUE              equ 1439
ERROR_SCREEN_ALREADY_LOCKED          equ 1440
ERROR_HWNDS_HAVE_DIFF_PARENT         equ 1441
ERROR_NOT_CHILD_WINDOW               equ 1442
ERROR_INVALID_GW_COMMAND             equ 1443
ERROR_INVALID_THREAD_ID              equ 1444
ERROR_NON_MDICHILD_WINDOW            equ 1445
ERROR_POPUP_ALREADY_ACTIVE           equ 1446
ERROR_NO_SCROLLBARS                  equ 1447
ERROR_INVALID_SCROLLBAR_RANGE        equ 1448
ERROR_INVALID_SHOWWIN_COMMAND        equ 1449
ERROR_EVENTLOG_FILE_CORRUPT          equ 1500
ERROR_EVENTLOG_CANT_START            equ 1501
ERROR_LOG_FILE_FULL                  equ 1502
ERROR_EVENTLOG_FILE_CHANGED          equ 1503
RPC_S_INVALID_STRING_BINDING         equ 1700
RPC_S_WRONG_KIND_OF_BINDING          equ 1701
RPC_S_INVALID_BINDING                equ 1702
RPC_S_PROTSEQ_NOT_SUPPORTED          equ 1703
RPC_S_INVALID_RPC_PROTSEQ            equ 1704
RPC_S_INVALID_STRING_UUID            equ 1705
RPC_S_INVALID_ENDPOINT_FORMAT        equ 1706
RPC_S_INVALID_NET_ADDR               equ 1707
RPC_S_NO_ENDPOINT_FOUND              equ 1708
RPC_S_INVALID_TIMEOUT                equ 1709
RPC_S_OBJECT_NOT_FOUND               equ 1710
RPC_S_ALREADY_REGISTERED             equ 1711
RPC_S_TYPE_ALREADY_REGISTERED        equ 1712
RPC_S_ALREADY_LISTENING              equ 1713
RPC_S_NO_PROTSEQS_REGISTERED         equ 1714
RPC_S_NOT_LISTENING                  equ 1715
RPC_S_UNKNOWN_MGR_TYPE               equ 1716
RPC_S_UNKNOWN_IF                     equ 1717
RPC_S_NO_BINDINGS                    equ 1718
RPC_S_NO_PROTSEQS                    equ 1719
RPC_S_CANT_CREATE_ENDPOINT           equ 1720
RPC_S_OUT_OF_RESOURCES               equ 1721
RPC_S_SERVER_UNAVAILABLE             equ 1722
RPC_S_SERVER_TOO_BUSY                equ 1723
RPC_S_INVALID_NETWORK_OPTIONS        equ 1724
RPC_S_NO_CALL_ACTIVE                 equ 1725
RPC_S_CALL_FAILED                    equ 1726
RPC_S_CALL_FAILED_DNE                equ 1727
RPC_S_PROTOCOL_ERROR                 equ 1728
RPC_S_UNSUPPORTED_TRANS_SYN          equ 1730
RPC_S_UNSUPPORTED_TYPE               equ 1732
RPC_S_INVALID_TAG                    equ 1733
RPC_S_INVALID_BOUND                  equ 1734
RPC_S_NO_ENTRY_NAME                  equ 1735
RPC_S_INVALID_NAME_SYNTAX            equ 1736
RPC_S_UNSUPPORTED_NAME_SYNTAX        equ 1737
RPC_S_UUID_NO_ADDRESS                equ 1739
RPC_S_DUPLICATE_ENDPOINT             equ 1740
RPC_S_UNKNOWN_AUTHN_TYPE             equ 1741
RPC_S_MAX_CALLS_TOO_SMALL            equ 1742
RPC_S_STRING_TOO_LONG                equ 1743
RPC_S_PROTSEQ_NOT_FOUND              equ 1744
RPC_S_PROCNUM_OUT_OF_RANGE           equ 1745
RPC_S_BINDING_HAS_NO_AUTH            equ 1746
RPC_S_UNKNOWN_AUTHN_SERVICE          equ 1747
RPC_S_UNKNOWN_AUTHN_LEVEL            equ 1748
RPC_S_INVALID_AUTH_IDENTITY          equ 1749
RPC_S_UNKNOWN_AUTHZ_SERVICE          equ 1750
EPT_S_INVALID_ENTRY                  equ 1751
EPT_S_CANT_PERFORM_OP                equ 1752
EPT_S_NOT_REGISTERED                 equ 1753
RPC_S_NOTHING_TO_EXPORT              equ 1754
RPC_S_INCOMPLETE_NAME                equ 1755
RPC_S_INVALID_VERS_OPTION            equ 1756
RPC_S_NO_MORE_MEMBERS                equ 1757
RPC_S_NOT_ALL_OBJS_UNEXPORTED        equ 1758
RPC_S_INTERFACE_NOT_FOUND            equ 1759
RPC_S_ENTRY_ALREADY_EXISTS           equ 1760
RPC_S_ENTRY_NOT_FOUND                equ 1761
RPC_S_NAME_SERVICE_UNAVAILABLE       equ 1762
RPC_S_INVALID_NAF_ID                 equ 1763
RPC_S_CANNOT_SUPPORT                 equ 1764
RPC_S_NO_CONTEXT_AVAILABLE           equ 1765
RPC_S_INTERNAL_ERROR                 equ 1766
RPC_S_ZERO_DIVIDE                    equ 1767
RPC_S_ADDRESS_ERROR                  equ 1768
RPC_S_FP_DIV_ZERO                    equ 1769
RPC_S_FP_UNDERFLOW                   equ 1770
RPC_S_FP_OVERFLOW                    equ 1771
RPC_X_NO_MORE_ENTRIES                equ 1772
RPC_X_SS_CHAR_TRANS_OPEN_FAIL        equ 1773
RPC_X_SS_CHAR_TRANS_SHORT_FILE       equ 1774
RPC_X_SS_IN_NULL_CONTEXT             equ 1775
RPC_X_SS_CONTEXT_DAMAGED             equ 1777
RPC_X_SS_HANDLES_MISMATCH            equ 1778
RPC_X_SS_CANNOT_GET_CALL_HANDLE      equ 1779
RPC_X_NULL_REF_POINTER               equ 1780
RPC_X_ENUM_VALUE_OUT_OF_RANGE        equ 1781
RPC_X_BYTE_COUNT_TOO_SMALL           equ 1782
RPC_X_BAD_STUB_DATA                  equ 1783
ERROR_INVALID_USER_BUFFER            equ 1784
ERROR_UNRECOGNIZED_MEDIA             equ 1785
ERROR_NO_TRUST_LSA_SECRET            equ 1786
ERROR_NO_TRUST_SAM_ACCOUNT           equ 1787
ERROR_TRUSTED_DOMAIN_FAILURE         equ 1788
ERROR_TRUSTED_RELATIONSHIP_FAILURE   equ 1789
ERROR_TRUST_FAILURE                  equ 1790
RPC_S_CALL_IN_PROGRESS               equ 1791
ERROR_NETLOGON_NOT_STARTED           equ 1792
ERROR_ACCOUNT_EXPIRED                equ 1793
ERROR_REDIRECTOR_HAS_OPEN_HANDLES    equ 1794
ERROR_PRINTER_DRIVER_ALREADY_INSTALLED               equ 1795
ERROR_UNKNOWN_PORT                   equ 1796
ERROR_UNKNOWN_PRINTER_DRIVER         equ 1797
ERROR_UNKNOWN_PRINTPROCESSOR         equ 1798
ERROR_INVALID_SEPARATOR_FILE         equ 1799
ERROR_INVALID_PRIORITY               equ 1800
ERROR_INVALID_PRINTER_NAME           equ 1801
ERROR_PRINTER_ALREADY_EXISTS         equ 1802
ERROR_INVALID_PRINTER_COMMAND        equ 1803
ERROR_INVALID_DATATYPE               equ 1804
ERROR_INVALID_ENVIRONMENT            equ 1805
RPC_S_NO_MORE_BINDINGS               equ 1806
ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT              equ 1807
ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT              equ 1808
ERROR_NOLOGON_SERVER_TRUST_ACCOUNT   equ 1809
ERROR_DOMAIN_TRUST_INCONSISTENT      equ 1810
ERROR_SERVER_HAS_OPEN_HANDLES        equ 1811
ERROR_RESOURCE_DATA_NOT_FOUND        equ 1812
ERROR_RESOURCE_TYPE_NOT_FOUND        equ 1813
ERROR_RESOURCE_NAME_NOT_FOUND        equ 1814
ERROR_RESOURCE_LANG_NOT_FOUND        equ 1815
ERROR_NOT_ENOUGH_QUOTA               equ 1816
RPC_S_GROUP_MEMBER_NOT_FOUND         equ 1898
EPT_S_CANT_CREATE                    equ 1899
RPC_S_INVALID_OBJECT                 equ 1900
ERROR_INVALID_TIME                   equ 1901
ERROR_INVALID_FORM_NAME              equ 1902
ERROR_INVALID_FORM_SIZE              equ 1903
ERROR_ALREADY_WAITING                equ 1904
ERROR_PRINTER_DELETED                equ 1905
ERROR_INVALID_PRINTER_STATE          equ 1906
ERROR_NO_BROWSER_SERVERS_FOUND       equ 6118
MAXPNAMELEN                          equ 32
MAXERRORLENGTH                       equ 128
TIME_MS                              equ 1h
TIME_SAMPLES                         equ 2h
TIME_BYTES                           equ 4h
TIME_SMPTE                           equ 8h
TIME_MIDI                            equ 10h
TIME_TICKS      				 equ 20h
MM_JOY1MOVE                          equ 3A0h
MM_JOY2MOVE                          equ 3A1h
MM_JOY1ZMOVE                         equ 3A2h
MM_JOY2ZMOVE                         equ 3A3h
MM_JOY1BUTTONDOWN                    equ 3B5h
MM_JOY2BUTTONDOWN                    equ 3B6h
MM_JOY1BUTTONUP                      equ 3B7h
MM_JOY2BUTTONUP                      equ 3B8h
MM_MCINOTIFY                         equ 3B9h
MM_MCISYSTEM_STRING                  equ 3CAh
MM_WOM_OPEN                          equ 3BBh
MM_WOM_CLOSE                         equ 3BCh
MM_WOM_DONE                          equ 3BDh
MM_WIM_OPEN                          equ 3BEh
MM_WIM_CLOSE                         equ 3BFh
MM_WIM_DATA                          equ 3C0h
MM_MIM_OPEN                          equ 3C1h
MM_MIM_CLOSE                         equ 3C2h
MM_MIM_DATA                          equ 3C3h
MM_MIM_LONGDATA                      equ 3C4h
MM_MIM_ERROR                         equ 3C5h
MM_MIM_LONGERROR                     equ 3C6h
MM_MOM_OPEN                          equ 3C7h
MM_MOM_CLOSE                         equ 3C8h
MM_MOM_DONE                          equ 3C9h
MMSYSERR_BASE                        equ 0
WAVERR_BASE                          equ 32
MIDIERR_BASE                         equ 64
TIMERR_BASE                          equ 96
JOYERR_BASE                          equ 160
MCIERR_BASE                          equ 256
MIXERR_BASE            			 equ 1024
MCI_STRING_OFFSET                    equ 512
MCI_VD_OFFSET                        equ 1024
MCI_CD_OFFSET                        equ 1088
MCI_WAVE_OFFSET                      equ 1152
MCI_SEQ_OFFSET                       equ 1216
MMSYSERR_NOERROR                     equ 0
MMSYSERR_ERROR                       equ MMSYSERR_BASE + 1
MMSYSERR_BADDEVICEID                 equ MMSYSERR_BASE + 2
MMSYSERR_NOTENABLED                  equ MMSYSERR_BASE + 3
MMSYSERR_ALLOCATED                   equ MMSYSERR_BASE + 4
MMSYSERR_INVALHANDLE                 equ MMSYSERR_BASE + 5
MMSYSERR_NODRIVER                    equ MMSYSERR_BASE + 6
MMSYSERR_NOMEM                       equ MMSYSERR_BASE + 7
MMSYSERR_NOTSUPPORTED                equ MMSYSERR_BASE + 8
MMSYSERR_BADERRNUM                   equ MMSYSERR_BASE + 9
MMSYSERR_INVALFLAG                   equ MMSYSERR_BASE + 10
MMSYSERR_INVALPARAM                  equ MMSYSERR_BASE + 11
MMSYSERR_HANDLEBUSY                  equ MMSYSERR_BASE + 12
MMSYSERR_INVALIDALIAS                equ MMSYSERR_BASE + 13
MMSYSERR_LASTERROR                   equ MMSYSERR_BASE + 13
MM_MOM_POSITIONCB                    equ 3CAh
MM_MCISIGNAL                         equ 3CBh
MM_MIM_MOREDATA                      equ 3CCh
MIDICAPS_STREAM                      equ 8h
MEVT_F_SHORT                         equ 0h
MEVT_F_LONG                          equ 80000000h
MEVT_F_CALLBACK                      equ 40000000h
MIDISTRM_ERROR                       equ -2
MIDIPROP_SET                         equ 80000000h
MIDIPROP_GET                         equ 40000000h
MIDIPROP_TIMEDIV                     equ 1h
MIDIPROP_TEMPO                       equ 2h
MIXER_SHORT_NAME_CHARS               equ 16
MIXER_LONG_NAME_CHARS                equ 64
MIXERR_INVALLINE                     equ MIXERR_BASE + 0
MIXERR_INVALCONTROL                  equ MIXERR_BASE + 1
MIXERR_INVALVALUE                    equ MIXERR_BASE + 2
MIXERR_LASTERROR                     equ MIXERR_BASE + 2
MIXER_OBJECTF_HANDLE                 equ 80000000h
MIXER_OBJECTF_MIXER                  equ 0h
MIXER_OBJECTF_HMIXER                 equ MIXER_OBJECTF_HANDLE OR MIXER_OBJECTF_MIXER
MIXER_OBJECTF_WAVEOUT                equ 10000000h
MIXER_OBJECTF_HWAVEOUT               equ MIXER_OBJECTF_HANDLE OR MIXER_OBJECTF_WAVEOUT
MIXER_OBJECTF_WAVEIN                 equ 20000000h
MIXER_OBJECTF_HWAVEIN                equ MIXER_OBJECTF_HANDLE OR MIXER_OBJECTF_WAVEIN
MIXER_OBJECTF_MIDIOUT                equ 30000000h
MIXER_OBJECTF_HMIDIOUT               equ MIXER_OBJECTF_HANDLE OR MIXER_OBJECTF_MIDIOUT
MIXER_OBJECTF_MIDIIN                 equ 40000000h
MIXER_OBJECTF_HMIDIIN                equ MIXER_OBJECTF_HANDLE OR MIXER_OBJECTF_MIDIIN
MIXER_OBJECTF_AUX                    equ 50000000h
MIXERLINE_LINEF_ACTIVE               equ 1h
MIXERLINE_LINEF_DISCONNECTED         equ 8000h
MIXERLINE_LINEF_SOURCE               equ 80000000h
MIXERLINE_COMPONENTTYPE_DST_FIRST    equ 0h
MIXERLINE_COMPONENTTYPE_DST_UNDEFINED                equ MIXERLINE_COMPONENTTYPE_DST_FIRST + 0
MIXERLINE_COMPONENTTYPE_DST_DIGITAL  equ MIXERLINE_COMPONENTTYPE_DST_FIRST + 1
MIXERLINE_COMPONENTTYPE_DST_LINE     equ MIXERLINE_COMPONENTTYPE_DST_FIRST + 2
MIXERLINE_COMPONENTTYPE_DST_MONITOR  equ MIXERLINE_COMPONENTTYPE_DST_FIRST + 3
MIXERLINE_COMPONENTTYPE_DST_SPEAKERS equ MIXERLINE_COMPONENTTYPE_DST_FIRST + 4
MIXERLINE_COMPONENTTYPE_DST_HEADPHONES               equ MIXERLINE_COMPONENTTYPE_DST_FIRST + 5
MIXERLINE_COMPONENTTYPE_DST_TELEPHONE                equ MIXERLINE_COMPONENTTYPE_DST_FIRST + 6
MIXERLINE_COMPONENTTYPE_DST_WAVEIN   equ MIXERLINE_COMPONENTTYPE_DST_FIRST + 7
MIXERLINE_COMPONENTTYPE_DST_VOICEIN  equ MIXERLINE_COMPONENTTYPE_DST_FIRST + 8
MIXERLINE_COMPONENTTYPE_DST_LAST     equ MIXERLINE_COMPONENTTYPE_DST_FIRST + 8
MIXERLINE_COMPONENTTYPE_SRC_FIRST    equ 1000h
MIXERLINE_COMPONENTTYPE_SRC_UNDEFINED                equ MIXERLINE_COMPONENTTYPE_SRC_FIRST + 0
MIXERLINE_COMPONENTTYPE_SRC_DIGITAL  equ MIXERLINE_COMPONENTTYPE_SRC_FIRST + 1
MIXERLINE_COMPONENTTYPE_SRC_LINE     equ MIXERLINE_COMPONENTTYPE_SRC_FIRST + 2
MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE               equ MIXERLINE_COMPONENTTYPE_SRC_FIRST + 3
MIXERLINE_COMPONENTTYPE_SRC_SYNTHESIZER              equ MIXERLINE_COMPONENTTYPE_SRC_FIRST + 4
MIXERLINE_COMPONENTTYPE_SRC_COMPACTDISC              equ MIXERLINE_COMPONENTTYPE_SRC_FIRST + 5
MIXERLINE_COMPONENTTYPE_SRC_TELEPHONE                equ MIXERLINE_COMPONENTTYPE_SRC_FIRST + 6
MIXERLINE_COMPONENTTYPE_SRC_PCSPEAKER                equ MIXERLINE_COMPONENTTYPE_SRC_FIRST + 7
MIXERLINE_COMPONENTTYPE_SRC_WAVEOUT  equ MIXERLINE_COMPONENTTYPE_SRC_FIRST + 8
MIXERLINE_COMPONENTTYPE_SRC_AUXILIARY                equ MIXERLINE_COMPONENTTYPE_SRC_FIRST + 9
MIXERLINE_COMPONENTTYPE_SRC_ANALOG   equ MIXERLINE_COMPONENTTYPE_SRC_FIRST + 10
MIXERLINE_COMPONENTTYPE_SRC_LAST     equ MIXERLINE_COMPONENTTYPE_SRC_FIRST + 10
MIXERLINE_TARGETTYPE_UNDEFINED       equ 0
MIXERLINE_TARGETTYPE_WAVEOUT         equ 1
MIXERLINE_TARGETTYPE_WAVEIN          equ 2
MIXERLINE_TARGETTYPE_MIDIOUT         equ 3
MIXERLINE_TARGETTYPE_MIDIIN          equ 4
MIXERLINE_TARGETTYPE_AUX             equ 5
MIXER_GETLINEINFOF_DESTINATION       equ 0h
MIXER_GETLINEINFOF_SOURCE            equ 1h
MIXER_GETLINEINFOF_LINEID            equ 2h
MIXER_GETLINEINFOF_COMPONENTTYPE     equ 3h
MIXER_GETLINEINFOF_TARGETTYPE        equ 4h
MIXER_GETLINEINFOF_QUERYMASK         equ 0Fh
MIXERCONTROL_CONTROLF_UNIFORM        equ 1h
MIXERCONTROL_CONTROLF_MULTIPLE       equ 2h
MIXERCONTROL_CONTROLF_DISABLED       equ 80000000h
MIXERCONTROL_CT_CLASS_MASK           equ 0F0000000h
MIXERCONTROL_CT_CLASS_CUSTOM         equ 0h
MIXERCONTROL_CT_CLASS_METER          equ 10000000h
MIXERCONTROL_CT_CLASS_SWITCH         equ 20000000h
MIXERCONTROL_CT_CLASS_NUMBER         equ 30000000h
MIXERCONTROL_CT_CLASS_SLIDER         equ 40000000h
MIXERCONTROL_CT_CLASS_FADER          equ 50000000h
MIXERCONTROL_CT_CLASS_TIME           equ 60000000h
MIXERCONTROL_CT_CLASS_LIST           equ 70000000h
MIXERCONTROL_CT_SUBCLASS_MASK        equ 0F000000h
MIXERCONTROL_CT_SC_SWITCH_BOOLEAN    equ 0h
MIXERCONTROL_CT_SC_SWITCH_BUTTON     equ 1000000h
MIXERCONTROL_CT_SC_METER_POLLED      equ 0h
MIXERCONTROL_CT_SC_TIME_MICROSECS    equ 0h
MIXERCONTROL_CT_SC_TIME_MILLISECS    equ 1000000h
MIXERCONTROL_CT_SC_LIST_SINGLE       equ 0h
MIXERCONTROL_CT_SC_LIST_MULTIPLE     equ 1000000h
MIXERCONTROL_CT_UNITS_MASK           equ 0FF0000h
MIXERCONTROL_CT_UNITS_CUSTOM         equ 0h
MIXERCONTROL_CT_UNITS_BOOLEAN        equ 10000h
MIXERCONTROL_CT_UNITS_SIGNED         equ 20000h
MIXERCONTROL_CT_UNITS_UNSIGNED       equ 30000h
MIXERCONTROL_CT_UNITS_DECIBELS       equ 40000h
MIXERCONTROL_CT_UNITS_PERCENT        equ 50000h
MIXERCONTROL_CONTROLTYPE_CUSTOM      equ MIXERCONTROL_CT_CLASS_CUSTOM OR MIXERCONTROL_CT_UNITS_CUSTOM
MIXERCONTROL_CONTROLTYPE_BOOLEANMETER                equ MIXERCONTROL_CT_CLASS_METER OR MIXERCONTROL_CT_SC_METER_POLLED OR MIXERCONTROL_CT_UNITS_BOOLEAN
MIXERCONTROL_CONTROLTYPE_SIGNEDMETER equ MIXERCONTROL_CT_CLASS_METER OR MIXERCONTROL_CT_SC_METER_POLLED OR MIXERCONTROL_CT_UNITS_SIGNED
MIXERCONTROL_CONTROLTYPE_PEAKMETER   equ MIXERCONTROL_CONTROLTYPE_SIGNEDMETER + 1
MIXERCONTROL_CONTROLTYPE_UNSIGNEDMETER               equ MIXERCONTROL_CT_CLASS_METER OR MIXERCONTROL_CT_SC_METER_POLLED OR MIXERCONTROL_CT_UNITS_UNSIGNED
MIXERCONTROL_CONTROLTYPE_BOOLEAN     equ MIXERCONTROL_CT_CLASS_SWITCH OR MIXERCONTROL_CT_SC_SWITCH_BOOLEAN OR MIXERCONTROL_CT_UNITS_BOOLEAN
MIXERCONTROL_CONTROLTYPE_ONOFF       equ MIXERCONTROL_CONTROLTYPE_BOOLEAN + 1
MIXERCONTROL_CONTROLTYPE_MUTE        equ MIXERCONTROL_CONTROLTYPE_BOOLEAN + 2
MIXERCONTROL_CONTROLTYPE_MONO        equ MIXERCONTROL_CONTROLTYPE_BOOLEAN + 3
MIXERCONTROL_CONTROLTYPE_LOUDNESS    equ MIXERCONTROL_CONTROLTYPE_BOOLEAN + 4
MIXERCONTROL_CONTROLTYPE_STEREOENH   equ MIXERCONTROL_CONTROLTYPE_BOOLEAN + 5
MIXERCONTROL_CONTROLTYPE_BUTTON      equ MIXERCONTROL_CT_CLASS_SWITCH OR MIXERCONTROL_CT_SC_SWITCH_BUTTON OR MIXERCONTROL_CT_UNITS_BOOLEAN
MIXERCONTROL_CONTROLTYPE_DECIBELS    equ MIXERCONTROL_CT_CLASS_NUMBER OR MIXERCONTROL_CT_UNITS_DECIBELS
MIXERCONTROL_CONTROLTYPE_SIGNED      equ MIXERCONTROL_CT_CLASS_NUMBER OR MIXERCONTROL_CT_UNITS_SIGNED
MIXERCONTROL_CONTROLTYPE_UNSIGNED    equ MIXERCONTROL_CT_CLASS_NUMBER OR MIXERCONTROL_CT_UNITS_UNSIGNED
MIXERCONTROL_CONTROLTYPE_PERCENT     equ MIXERCONTROL_CT_CLASS_NUMBER OR MIXERCONTROL_CT_UNITS_PERCENT
MIXERCONTROL_CONTROLTYPE_SLIDER      equ MIXERCONTROL_CT_CLASS_SLIDER OR MIXERCONTROL_CT_UNITS_SIGNED
MIXERCONTROL_CONTROLTYPE_PAN         equ MIXERCONTROL_CONTROLTYPE_SLIDER + 1
MIXERCONTROL_CONTROLTYPE_QSOUNDPAN   equ MIXERCONTROL_CONTROLTYPE_SLIDER + 2
MIXERCONTROL_CONTROLTYPE_FADER       equ MIXERCONTROL_CT_CLASS_FADER OR MIXERCONTROL_CT_UNITS_UNSIGNED
MIXERCONTROL_CONTROLTYPE_VOLUME      equ MIXERCONTROL_CONTROLTYPE_FADER + 1
MIXERCONTROL_CONTROLTYPE_BASS        equ MIXERCONTROL_CONTROLTYPE_FADER + 2
MIXERCONTROL_CONTROLTYPE_TREBLE      equ MIXERCONTROL_CONTROLTYPE_FADER + 3
MIXERCONTROL_CONTROLTYPE_EQUALIZER   equ MIXERCONTROL_CONTROLTYPE_FADER + 4
MIXERCONTROL_CONTROLTYPE_SINGLESELECT                equ MIXERCONTROL_CT_CLASS_LIST OR MIXERCONTROL_CT_SC_LIST_SINGLE OR MIXERCONTROL_CT_UNITS_BOOLEAN
MIXERCONTROL_CONTROLTYPE_MUX         equ MIXERCONTROL_CONTROLTYPE_SINGLESELECT + 1
MIXERCONTROL_CONTROLTYPE_MULTIPLESELECT              equ MIXERCONTROL_CT_CLASS_LIST OR MIXERCONTROL_CT_SC_LIST_MULTIPLE OR MIXERCONTROL_CT_UNITS_BOOLEAN
MIXERCONTROL_CONTROLTYPE_MIXER       equ MIXERCONTROL_CONTROLTYPE_MULTIPLESELECT + 1
MIXERCONTROL_CONTROLTYPE_MICROTIME   equ MIXERCONTROL_CT_CLASS_TIME OR MIXERCONTROL_CT_SC_TIME_MICROSECS OR MIXERCONTROL_CT_UNITS_UNSIGNED
MIXERCONTROL_CONTROLTYPE_MILLITIME   equ MIXERCONTROL_CT_CLASS_TIME OR MIXERCONTROL_CT_SC_TIME_MILLISECS OR MIXERCONTROL_CT_UNITS_UNSIGNED
MIXER_GETLINECONTROLSF_ALL           equ 0h
MIXER_GETLINECONTROLSF_ONEBYID       equ 1h
MIXER_GETLINECONTROLSF_ONEBYTYPE     equ 2h
MIXER_GETLINECONTROLSF_QUERYMASK     equ 0Fh
MIXER_GETCONTROLDETAILSF_VALUE       equ 0h
MIXER_GETCONTROLDETAILSF_LISTTEXT    equ 1h
MIXER_GETCONTROLDETAILSF_QUERYMASK   equ 0Fh
MIXER_SETCONTROLDETAILSF_VALUE       equ 0h
MIXER_SETCONTROLDETAILSF_CUSTOM      equ 1h
MIXER_SETCONTROLDETAILSF_QUERYMASK   equ 0Fh
JOY_BUTTON5                          equ 10h
JOY_BUTTON6                          equ 20h
JOY_BUTTON7                          equ 40h
JOY_BUTTON8                          equ 80h
JOY_BUTTON9                          equ 100h
JOY_BUTTON10                         equ 200h
JOY_BUTTON11                         equ 400h
JOY_BUTTON12                         equ 800h
JOY_BUTTON13                         equ 1000h
JOY_BUTTON14                         equ 2000h
JOY_BUTTON15                         equ 4000h
JOY_BUTTON16                         equ 8000h
JOY_BUTTON17                         equ 10000h
JOY_BUTTON18                         equ 20000h
JOY_BUTTON19                         equ 40000h
JOY_BUTTON20                         equ 80000h
JOY_BUTTON21                         equ 100000h
JOY_BUTTON22                         equ 200000h
JOY_BUTTON23                         equ 400000h
JOY_BUTTON24                         equ 800000h
JOY_BUTTON25                         equ 1000000h
JOY_BUTTON26                         equ 2000000h
JOY_BUTTON27                         equ 4000000h
JOY_BUTTON28                         equ 8000000h
JOY_BUTTON29                         equ 10000000h
JOY_BUTTON30                         equ 20000000h
JOY_BUTTON31                         equ 40000000h
JOY_BUTTON32                         equ 80000000h
JOY_POVCENTERED                      equ -1
JOY_POVFORWARD                       equ 0
JOY_POVRIGHT                         equ 9000
JOY_POVBACKWARD                      equ 18000
JOY_POVLEFT                          equ 27000
JOY_RETURNX                          equ 1h
JOY_RETURNY                          equ 2h
JOY_RETURNZ                          equ 4h
JOY_RETURNR                          equ 8h
JOY_RETURNU                          equ 10h
JOY_RETURNV                          equ 20h
JOY_RETURNPOV                        equ 40h
JOY_RETURNBUTTONS                    equ 80h
JOY_RETURNRAWDATA                    equ 100h
JOY_RETURNPOVCTS                     equ 200h
JOY_RETURNCENTERED                   equ 400h
JOY_USEDEADZONE                      equ 800h
JOY_RETURNALL                        equ JOY_RETURNX OR JOY_RETURNY OR JOY_RETURNZ OR JOY_RETURNR OR JOY_RETURNU OR JOY_RETURNV OR JOY_RETURNPOV OR JOY_RETURNBUTTONS
JOY_CAL_READALWAYS                   equ 10000h
JOY_CAL_READXYONLY                   equ 20000h
JOY_CAL_READ3                        equ 40000h
JOY_CAL_READ4                        equ 80000h
JOY_CAL_READXONLY                    equ 100000h
JOY_CAL_READYONLY                    equ 200000h
JOY_CAL_READ5                        equ 400000h
JOY_CAL_READ6                        equ 800000h
JOY_CAL_READZONLY                    equ 1000000h
JOY_CAL_READRONLY                    equ 2000000h
JOY_CAL_READUONLY                    equ 4000000h
JOY_CAL_READVONLY                    equ 8000000h
WAVE_FORMAT_QUERY                    equ 1h
SND_PURGE                            equ 40h
SND_APPLICATION                      equ 80h
WAVE_MAPPED                          equ 4h
WAVE_FORMAT_DIRECT                   equ 8h
WAVE_FORMAT_DIRECT_QUERY             equ WAVE_FORMAT_QUERY OR WAVE_FORMAT_DIRECT
MIM_MOREDATA                         equ MM_MIM_MOREDATA
MOM_POSITIONCB                       equ MM_MOM_POSITIONCB
MIDI_IO_STATUS                       equ 20h
DRV_LOAD                             equ 1h
DRV_ENABLE                           equ 2h
DRV_OPEN                             equ 3h
DRV_CLOSE                            equ 4h
DRV_DISABLE                          equ 5h
DRV_FREE                             equ 6h
DRV_CONFIGURE                        equ 7h
DRV_QUERYCONFIGURE                   equ 8h
DRV_INSTALL                          equ 9h
DRV_REMOVE                           equ 0Ah
DRV_EXITSESSION                      equ 0Bh
DRV_POWER                            equ 0Fh
DRV_RESERVED                         equ 800h
DRV_USER                             equ 4000h
DRVCNF_CANCEL                        equ 0h
DRVCNF_OK                            equ 1h
DRVCNF_RESTART                       equ 2h
DRV_CANCEL                           equ DRVCNF_CANCEL
DRV_OK                               equ DRVCNF_OK
DRV_RESTART                          equ DRVCNF_RESTART
DRV_MCI_FIRST                        equ DRV_RESERVED
DRV_MCI_LAST                         equ DRV_RESERVED + 0FFFh
CALLBACK_TYPEMASK                    equ 70000h
CALLBACK_NULL                        equ 0h
CALLBACK_WINDOW                      equ 10000h
CALLBACK_TASK                        equ 20000h
CALLBACK_FUNCTION                    equ 30000h
MM_MICROSOFT                         equ 1
MM_MIDI_MAPPER                       equ 1
MM_WAVE_MAPPER                       equ 2
MM_SNDBLST_MIDIOUT                   equ 3
MM_SNDBLST_MIDIIN                    equ 4
MM_SNDBLST_SYNTH                     equ 5
MM_SNDBLST_WAVEOUT                   equ 6
MM_SNDBLST_WAVEIN                    equ 7
MM_ADLIB                             equ 9
MM_MPU401_MIDIOUT                    equ 10
MM_MPU401_MIDIIN                     equ 11
MM_PC_JOYSTICK                       equ 12
SND_SYNC                             equ 0h
SND_ASYNC                            equ 1h
SND_NODEFAULT                        equ 2h
SND_MEMORY                           equ 4h
SND_ALIAS                            equ 10000h
SND_FILENAME                         equ 20000h
SND_RESOURCE                         equ 40004h
SND_ALIAS_ID                         equ 110000h
SND_ALIAS_START                      equ 0
SND_LOOP                             equ 8h
SND_NOSTOP                           equ 10h
SND_VALID                            equ 1Fh
SND_NOWAIT                           equ 2000h
SND_VALIDFLAGS                       equ 17201Fh
SND_RESERVED                         equ 0FF000000h
SND_TYPE_MASK                        equ 170007h
WAVERR_BADFORMAT                     equ WAVERR_BASE + 0
WAVERR_STILLPLAYING                  equ WAVERR_BASE + 1
WAVERR_UNPREPARED                    equ WAVERR_BASE + 2
WAVERR_SYNC                          equ WAVERR_BASE + 3
WAVERR_LASTERROR                     equ WAVERR_BASE + 3
WOM_OPEN                             equ MM_WOM_OPEN
WOM_CLOSE                            equ MM_WOM_CLOSE
WOM_DONE                             equ MM_WOM_DONE
WIM_OPEN                             equ MM_WIM_OPEN
WIM_CLOSE                            equ MM_WIM_CLOSE
WIM_DATA                             equ MM_WIM_DATA
WAVE_MAPPER                          equ -1
WAVE_ALLOWSYNC                       equ 2h
WAVE_VALID                           equ 3h
WHDR_DONE                            equ 1h
WHDR_PREPARED                        equ 2h
WHDR_BEGINLOOP                       equ 4h
WHDR_ENDLOOP                         equ 8h
WHDR_INQUEUE                         equ 10h
WHDR_VALID                           equ 1Fh
WAVECAPS_PITCH                       equ 1h
WAVECAPS_PLAYBACKRATE                equ 2h
WAVECAPS_VOLUME                      equ 4h
WAVECAPS_LRVOLUME                    equ 8h
WAVECAPS_SYNC                        equ 10h
WAVE_INVALIDFORMAT                   equ 0h
WAVE_FORMAT_1M08                     equ 1h
WAVE_FORMAT_1S08                     equ 2h
WAVE_FORMAT_1M16                     equ 4h
WAVE_FORMAT_1S16                     equ 8h
WAVE_FORMAT_2M08                     equ 10h
WAVE_FORMAT_2S08                     equ 20h
WAVE_FORMAT_2M16                     equ 40h
WAVE_FORMAT_2S16                     equ 80h
WAVE_FORMAT_4M08                     equ 100h
WAVE_FORMAT_4S08                     equ 200h
WAVE_FORMAT_4M16                     equ 400h
WAVE_FORMAT_4S16                     equ 800h
WAVE_FORMAT_PCM                      equ 1
MIDIERR_UNPREPARED                   equ MIDIERR_BASE + 0
MIDIERR_STILLPLAYING                 equ MIDIERR_BASE + 1
MIDIERR_NOMAP                        equ MIDIERR_BASE + 2
MIDIERR_NOTREADY                     equ MIDIERR_BASE + 3
MIDIERR_NODEVICE                     equ MIDIERR_BASE + 4
MIDIERR_INVALIDSETUP                 equ MIDIERR_BASE + 5
MIDIERR_LASTERROR                    equ MIDIERR_BASE + 5
MIM_OPEN                             equ MM_MIM_OPEN
MIM_CLOSE                            equ MM_MIM_CLOSE
MIM_DATA                             equ MM_MIM_DATA
MIM_LONGDATA                         equ MM_MIM_LONGDATA
MIM_ERROR                            equ MM_MIM_ERROR
MIM_LONGERROR                        equ MM_MIM_LONGERROR
MOM_OPEN                             equ MM_MOM_OPEN
MOM_CLOSE                            equ MM_MOM_CLOSE
MOM_DONE                             equ MM_MOM_DONE
MIDIMAPPER                           equ -1
MIDI_MAPPER                          equ -1
MIDI_CACHE_ALL                       equ 1
MIDI_CACHE_BESTFIT                   equ 2
MIDI_CACHE_QUERY                     equ 3
MIDI_UNCACHE                         equ 4
MIDI_CACHE_VALID                     equ MIDI_CACHE_ALL OR MIDI_CACHE_BESTFIT OR MIDI_CACHE_QUERY OR MIDI_UNCACHE
MOD_MIDIPORT                         equ 1
MOD_SYNTH                            equ 2
MOD_SQSYNTH                          equ 3
MOD_FMSYNTH                          equ 4
MOD_MAPPER                           equ 5
MIDICAPS_VOLUME                      equ 1
MIDICAPS_LRVOLUME                    equ 2
MIDICAPS_CACHE                       equ 4
MHDR_DONE                            equ 1
MHDR_PREPARED                        equ 2
MHDR_INQUEUE                         equ 4
MHDR_VALID                           equ 7
MHDR_ISSTRM     				 equ 8
AUX_MAPPER                           equ -1
AUXCAPS_CDAUDIO                      equ 1
AUXCAPS_AUXIN                        equ 2
AUXCAPS_VOLUME                       equ 1h
AUXCAPS_LRVOLUME                     equ 2h
TIMERR_NOERROR                       equ 0
TIMERR_NOCANDO                       equ TIMERR_BASE + 1
TIMERR_STRUCT                        equ TIMERR_BASE + 33
TIME_ONESHOT                         equ 0
TIME_PERIODIC                        equ 1
JOYERR_NOERROR                       equ 0
JOYERR_PARMS                         equ JOYERR_BASE + 5
JOYERR_NOCANDO                       equ JOYERR_BASE + 6
JOYERR_UNPLUGGED                     equ JOYERR_BASE + 7
JOY_BUTTON1                          equ 1h
JOY_BUTTON2                          equ 2h
JOY_BUTTON3                          equ 4h
JOY_BUTTON4                          equ 8h
JOY_BUTTON1CHG                       equ 100h
JOY_BUTTON2CHG                       equ 200h
JOY_BUTTON3CHG                       equ 400h
JOY_BUTTON4CHG                       equ 800h
JOYSTICKID1                          equ 0
JOYSTICKID2                          equ 1
MMIOERR_BASE                         equ 256
MMIOERR_FILENOTFOUND                 equ MMIOERR_BASE + 1
MMIOERR_OUTOFMEMORY                  equ MMIOERR_BASE + 2
MMIOERR_CANNOTOPEN                   equ MMIOERR_BASE + 3
MMIOERR_CANNOTCLOSE                  equ MMIOERR_BASE + 4
MMIOERR_CANNOTREAD                   equ MMIOERR_BASE + 5
MMIOERR_CANNOTWRITE                  equ MMIOERR_BASE + 6
MMIOERR_CANNOTSEEK                   equ MMIOERR_BASE + 7
MMIOERR_CANNOTEXPAND                 equ MMIOERR_BASE + 8
MMIOERR_CHUNKNOTFOUND                equ MMIOERR_BASE + 9
MMIOERR_UNBUFFERED                   equ MMIOERR_BASE + 10
MMIO_RWMODE                          equ 3h
MMIO_SHAREMODE                       equ 70h
MMIO_CREATE                          equ 1000h
MMIO_PARSE                           equ 100h
MMIO_DELETE                          equ 200h
MMIO_EXIST                           equ 4000h
MMIO_ALLOCBUF                        equ 10000h
MMIO_GETTEMP                         equ 20000h
MMIO_DIRTY                           equ 10000000h
MMIO_OPEN_VALID                      equ 3FFFFh
MMIO_READ                            equ 0h
MMIO_WRITE                           equ 1h
MMIO_READWRITE                       equ 2h
MMIO_COMPAT                          equ 0h
MMIO_EXCLUSIVE                       equ 10h
MMIO_DENYWRITE                       equ 20h
MMIO_DENYREAD                        equ 30h
MMIO_DENYNONE                        equ 40h
MMIO_FHOPEN                          equ 10h
MMIO_EMPTYBUF                        equ 10h
MMIO_TOUPPER                         equ 10h
MMIO_INSTALLPROC                     equ 10000h
MMIO_GLOBALPROC                      equ 10000000h
MMIO_UNICODEPROC                     equ 1000000h
MMIO_REMOVEPROC                      equ 20000h
MMIO_FINDPROC                        equ 40000h
MMIO_FINDCHUNK                       equ 10h
MMIO_FINDRIFF                        equ 20h
MMIO_FINDLIST                        equ 40h
MMIO_CREATERIFF                      equ 20h
MMIO_CREATELIST                      equ 40h
MMIO_VALIDPROC                       equ 11070000h
MMIOM_READ                           equ MMIO_READ
MMIOM_WRITE                          equ MMIO_WRITE
MMIOM_SEEK                           equ 2
MMIOM_OPEN                           equ 3
MMIOM_CLOSE                          equ 4
MMIOM_WRITEFLUSH                     equ 5
MMIOM_RENAME                         equ 6
MMIOM_USER                           equ 8000h
SEEK_SET                             equ 0
SEEK_CUR                             equ 1
SEEK_END                             equ 2
MMIO_DEFAULTBUFFER                   equ 8192
MCIERR_INVALID_DEVICE_ID             equ MCIERR_BASE + 1
MCIERR_UNRECOGNIZED_KEYWORD          equ MCIERR_BASE + 3
MCIERR_UNRECOGNIZED_COMMAND          equ MCIERR_BASE + 5
MCIERR_HARDWARE                      equ MCIERR_BASE + 6
MCIERR_INVALID_DEVICE_NAME           equ MCIERR_BASE + 7
MCIERR_OUT_OF_MEMORY                 equ MCIERR_BASE + 8
MCIERR_DEVICE_OPEN                   equ MCIERR_BASE + 9
MCIERR_CANNOT_LOAD_DRIVER            equ MCIERR_BASE + 10
MCIERR_MISSING_COMMAND_STRING        equ MCIERR_BASE + 11
MCIERR_PARAM_OVERFLOW                equ MCIERR_BASE + 12
MCIERR_MISSING_STRING_ARGUMENT       equ MCIERR_BASE + 13
MCIERR_BAD_INTEGER                   equ MCIERR_BASE + 14
MCIERR_PARSER_INTERNAL               equ MCIERR_BASE + 15
MCIERR_DRIVER_INTERNAL               equ MCIERR_BASE + 16
MCIERR_MISSING_PARAMETER             equ MCIERR_BASE + 17
MCIERR_UNSUPPORTED_FUNCTION          equ MCIERR_BASE + 18
MCIERR_FILE_NOT_FOUND                equ MCIERR_BASE + 19
MCIERR_DEVICE_NOT_READY              equ MCIERR_BASE + 20
MCIERR_INTERNAL                      equ MCIERR_BASE + 21
MCIERR_DRIVER                        equ MCIERR_BASE + 22
MCIERR_CANNOT_USE_ALL                equ MCIERR_BASE + 23
MCIERR_MULTIPLE                      equ MCIERR_BASE + 24
MCIERR_EXTENSION_NOT_FOUND           equ MCIERR_BASE + 25
MCIERR_OUTOFRANGE                    equ MCIERR_BASE + 26
MCIERR_FLAGS_NOT_COMPATIBLE          equ MCIERR_BASE + 28
MCIERR_FILE_NOT_SAVED                equ MCIERR_BASE + 30
MCIERR_DEVICE_TYPE_REQUIRED          equ MCIERR_BASE + 31
MCIERR_DEVICE_LOCKED                 equ MCIERR_BASE + 32
MCIERR_DUPLICATE_ALIAS               equ MCIERR_BASE + 33
MCIERR_BAD_CONSTANT                  equ MCIERR_BASE + 34
MCIERR_MUST_USE_SHAREABLE            equ MCIERR_BASE + 35
MCIERR_MISSING_DEVICE_NAME           equ MCIERR_BASE + 36
MCIERR_BAD_TIME_FORMAT               equ MCIERR_BASE + 37
MCIERR_NO_CLOSING_QUOTE              equ MCIERR_BASE + 38
MCIERR_DUPLICATE_FLAGS               equ MCIERR_BASE + 39
MCIERR_INVALID_FILE                  equ MCIERR_BASE + 40
MCIERR_NULL_PARAMETER_BLOCK          equ MCIERR_BASE + 41
MCIERR_UNNAMED_RESOURCE              equ MCIERR_BASE + 42
MCIERR_NEW_REQUIRES_ALIAS            equ MCIERR_BASE + 43
MCIERR_NOTIFY_ON_AUTO_OPEN           equ MCIERR_BASE + 44
MCIERR_NO_ELEMENT_ALLOWED            equ MCIERR_BASE + 45
MCIERR_NONAPPLICABLE_FUNCTION        equ MCIERR_BASE + 46
MCIERR_ILLEGAL_FOR_AUTO_OPEN         equ MCIERR_BASE + 47
MCIERR_FILENAME_REQUIRED             equ MCIERR_BASE + 48
MCIERR_EXTRA_CHARACTERS              equ MCIERR_BASE + 49
MCIERR_DEVICE_NOT_INSTALLED          equ MCIERR_BASE + 50
MCIERR_GET_CD                        equ MCIERR_BASE + 51
MCIERR_SET_CD                        equ MCIERR_BASE + 52
MCIERR_SET_DRIVE                     equ MCIERR_BASE + 53
MCIERR_DEVICE_LENGTH                 equ MCIERR_BASE + 54
MCIERR_DEVICE_ORD_LENGTH             equ MCIERR_BASE + 55
MCIERR_NO_INTEGER                    equ MCIERR_BASE + 56
MCIERR_WAVE_OUTPUTSINUSE             equ MCIERR_BASE + 64
MCIERR_WAVE_SETOUTPUTINUSE           equ MCIERR_BASE + 65
MCIERR_WAVE_INPUTSINUSE              equ MCIERR_BASE + 66
MCIERR_WAVE_SETINPUTINUSE            equ MCIERR_BASE + 67
MCIERR_WAVE_OUTPUTUNSPECIFIED        equ MCIERR_BASE + 68
MCIERR_WAVE_INPUTUNSPECIFIED         equ MCIERR_BASE + 69
MCIERR_WAVE_OUTPUTSUNSUITABLE        equ MCIERR_BASE + 70
MCIERR_WAVE_SETOUTPUTUNSUITABLE      equ MCIERR_BASE + 71
MCIERR_WAVE_INPUTSUNSUITABLE         equ MCIERR_BASE + 72
MCIERR_WAVE_SETINPUTUNSUITABLE       equ MCIERR_BASE + 73
MCIERR_SEQ_DIV_INCOMPATIBLE          equ MCIERR_BASE + 80
MCIERR_SEQ_PORT_INUSE                equ MCIERR_BASE + 81
MCIERR_SEQ_PORT_NONEXISTENT          equ MCIERR_BASE + 82
MCIERR_SEQ_PORT_MAPNODEVICE          equ MCIERR_BASE + 83
MCIERR_SEQ_PORT_MISCERROR            equ MCIERR_BASE + 84
MCIERR_SEQ_TIMER                     equ MCIERR_BASE + 85
MCIERR_SEQ_PORTUNSPECIFIED           equ MCIERR_BASE + 86
MCIERR_SEQ_NOMIDIPRESENT             equ MCIERR_BASE + 87
MCIERR_NO_WINDOW                     equ MCIERR_BASE + 90
MCIERR_CREATEWINDOW                  equ MCIERR_BASE + 91
MCIERR_FILE_READ                     equ MCIERR_BASE + 92
MCIERR_FILE_WRITE                    equ MCIERR_BASE + 93
MCIERR_CUSTOM_DRIVER_BASE            equ MCIERR_BASE + 256
MCI_FIRST                            equ 800h
MCI_OPEN                             equ 803h
MCI_CLOSE                            equ 804h
MCI_ESCAPE                           equ 805h
MCI_PLAY                             equ 806h
MCI_SEEK                             equ 807h
MCI_STOP                             equ 808h
MCI_PAUSE                            equ 809h
MCI_INFO                             equ 80Ah
MCI_GETDEVCAPS                       equ 80Bh
MCI_SPIN                             equ 80Ch
MCI_SET                              equ 80Dh
MCI_STEP                             equ 80Eh
MCI_RECORD                           equ 80Fh
MCI_SYSINFO                          equ 810h
MCI_BREAK                            equ 811h
MCI_SOUND                            equ 812h
MCI_SAVE                             equ 813h
MCI_STATUS                           equ 814h
MCI_CUE                              equ 830h
MCI_REALIZE                          equ 840h
MCI_WINDOW                           equ 841h
MCI_PUT                              equ 842h
MCI_WHERE                            equ 843h
MCI_FREEZE                           equ 844h
MCI_UNFREEZE                         equ 845h
MCI_LOAD                             equ 850h
MCI_CUT                              equ 851h
MCI_COPY                             equ 852h
MCI_PASTE                            equ 853h
MCI_UPDATE                           equ 854h
MCI_RESUME                           equ 855h
MCI_DELETE                           equ 856h
MCI_LAST                             equ 0FFFh
MCI_USER_MESSAGES                    equ 400h + MCI_FIRST
MCI_ALL_DEVICE_ID                    equ -1
MCI_DEVTYPE_VCR                      equ 513
MCI_DEVTYPE_VIDEODISC                equ 514
MCI_DEVTYPE_OVERLAY                  equ 515
MCI_DEVTYPE_CD_AUDIO                 equ 516
MCI_DEVTYPE_DAT                      equ 517
MCI_DEVTYPE_SCANNER                  equ 518
MCI_DEVTYPE_ANIMATION                equ 519
MCI_DEVTYPE_DIGITAL_VIDEO            equ 520
MCI_DEVTYPE_OTHER                    equ 521
MCI_DEVTYPE_WAVEFORM_AUDIO           equ 522
MCI_DEVTYPE_SEQUENCER                equ 523
MCI_DEVTYPE_FIRST                    equ MCI_DEVTYPE_VCR
MCI_DEVTYPE_LAST                     equ MCI_DEVTYPE_SEQUENCER
MCI_DEVTYPE_FIRST_USER               equ 1000h
MCI_MODE_NOT_READY                   equ MCI_STRING_OFFSET + 12
MCI_MODE_STOP                        equ MCI_STRING_OFFSET + 13
MCI_MODE_PLAY                        equ MCI_STRING_OFFSET + 14
MCI_MODE_RECORD                      equ MCI_STRING_OFFSET + 15
MCI_MODE_SEEK                        equ MCI_STRING_OFFSET + 16
MCI_MODE_PAUSE                       equ MCI_STRING_OFFSET + 17
MCI_MODE_OPEN                        equ MCI_STRING_OFFSET + 18
MCI_FORMAT_MILLISECONDS              equ 0
MCI_FORMAT_HMS                       equ 1
MCI_FORMAT_MSF                       equ 2
MCI_FORMAT_FRAMES                    equ 3
MCI_FORMAT_SMPTE_24                  equ 4
MCI_FORMAT_SMPTE_25                  equ 5
MCI_FORMAT_SMPTE_30                  equ 6
MCI_FORMAT_SMPTE_30DROP              equ 7
MCI_FORMAT_BYTES                     equ 8
MCI_FORMAT_SAMPLES                   equ 9
MCI_FORMAT_TMSF                      equ 10
MCI_NOTIFY_SUCCESSFUL                equ 1h
MCI_NOTIFY_SUPERSEDED                equ 2h
MCI_NOTIFY_ABORTED                   equ 4h
MCI_NOTIFY_FAILURE                   equ 8h
MCI_NOTIFY                           equ 1h
MCI_WAIT                             equ 2h
MCI_FROM                             equ 4h
MCI_TO                               equ 8h
MCI_TRACK                            equ 10h
MCI_OPEN_SHAREABLE                   equ 100h
MCI_OPEN_ELEMENT                     equ 200h
MCI_OPEN_ALIAS                       equ 400h
MCI_OPEN_ELEMENT_ID                  equ 800h
MCI_OPEN_TYPE_ID                     equ 1000h
MCI_OPEN_TYPE                        equ 2000h
MCI_SEEK_TO_START                    equ 100h
MCI_SEEK_TO_END                      equ 200h
MCI_STATUS_ITEM                      equ 100h
MCI_STATUS_START                     equ 200h
MCI_STATUS_LENGTH                    equ 1h
MCI_STATUS_POSITION                  equ 2h
MCI_STATUS_NUMBER_OF_TRACKS          equ 3h
MCI_STATUS_MODE                      equ 4h
MCI_STATUS_MEDIA_PRESENT             equ 5h
MCI_STATUS_TIME_FORMAT               equ 6h
MCI_STATUS_READY                     equ 7h
MCI_STATUS_CURRENT_TRACK             equ 8h
MCI_INFO_PRODUCT                     equ 100h
MCI_INFO_FILE                        equ 200h
MCI_GETDEVCAPS_ITEM                  equ 100h
MCI_GETDEVCAPS_CAN_RECORD            equ 1h
MCI_GETDEVCAPS_HAS_AUDIO             equ 2h
MCI_GETDEVCAPS_HAS_VIDEO             equ 3h
MCI_GETDEVCAPS_DEVICE_TYPE           equ 4h
MCI_GETDEVCAPS_USES_FILES            equ 5h
MCI_GETDEVCAPS_COMPOUND_DEVICE       equ 6h
MCI_GETDEVCAPS_CAN_EJECT             equ 7h
MCI_GETDEVCAPS_CAN_PLAY              equ 8h
MCI_GETDEVCAPS_CAN_SAVE              equ 9h
MCI_SYSINFO_QUANTITY                 equ 100h
MCI_SYSINFO_OPEN                     equ 200h
MCI_SYSINFO_NAME                     equ 400h
MCI_SYSINFO_INSTALLNAME              equ 800h
MCI_SET_DOOR_OPEN                    equ 100h
MCI_SET_DOOR_CLOSED                  equ 200h
MCI_SET_TIME_FORMAT                  equ 400h
MCI_SET_AUDIO                        equ 800h
MCI_SET_VIDEO                        equ 1000h
MCI_SET_ON                           equ 2000h
MCI_SET_OFF                          equ 4000h
MCI_SET_AUDIO_ALL                    equ 4001h
MCI_SET_AUDIO_LEFT                   equ 4002h
MCI_SET_AUDIO_RIGHT                  equ 4003h
MCI_BREAK_KEY                        equ 100h
MCI_BREAK_HWND                       equ 200h
MCI_BREAK_OFF                        equ 400h
MCI_RECORD_INSERT                    equ 100h
MCI_RECORD_OVERWRITE                 equ 200h
MCI_SOUND_NAME                       equ 100h
MCI_SAVE_FILE                        equ 100h
MCI_LOAD_FILE                        equ 100h
MCI_VD_MODE_PARK                     equ MCI_VD_OFFSET + 1
MCI_VD_MEDIA_CLV                     equ MCI_VD_OFFSET + 2
MCI_VD_MEDIA_CAV                     equ MCI_VD_OFFSET + 3
MCI_VD_MEDIA_OTHER                   equ MCI_VD_OFFSET + 4
MCI_VD_FORMAT_TRACK                  equ 4001h
MCI_VD_PLAY_REVERSE                  equ 10000h
MCI_VD_PLAY_FAST                     equ 20000h
MCI_VD_PLAY_SPEED                    equ 40000h
MCI_VD_PLAY_SCAN                     equ 80000h
MCI_VD_PLAY_SLOW                     equ 100000h
MCI_VD_SEEK_REVERSE                  equ 10000h
MCI_VD_STATUS_SPEED                  equ 4002h
MCI_VD_STATUS_FORWARD                equ 4003h
MCI_VD_STATUS_MEDIA_TYPE             equ 4004h
MCI_VD_STATUS_SIDE                   equ 4005h
MCI_VD_STATUS_DISC_SIZE              equ 4006h
MCI_VD_GETDEVCAPS_CLV                equ 10000h
MCI_VD_GETDEVCAPS_CAV                equ 20000h
MCI_VD_SPIN_UP                       equ 10000h
MCI_VD_SPIN_DOWN                     equ 20000h
MCI_VD_GETDEVCAPS_CAN_REVERSE        equ 4002h
MCI_VD_GETDEVCAPS_FAST_RATE          equ 4003h
MCI_VD_GETDEVCAPS_SLOW_RATE          equ 4004h
MCI_VD_GETDEVCAPS_NORMAL_RATE        equ 4005h
MCI_VD_STEP_FRAMES                   equ 10000h
MCI_VD_STEP_REVERSE                  equ 20000h
MCI_VD_ESCAPE_STRING                 equ 100h
MCI_WAVE_PCM                         equ MCI_WAVE_OFFSET + 0
MCI_WAVE_MAPPER                      equ MCI_WAVE_OFFSET + 1
MCI_WAVE_OPEN_BUFFER                 equ 10000h
MCI_WAVE_SET_FORMATTAG               equ 10000h
MCI_WAVE_SET_CHANNELS                equ 20000h
MCI_WAVE_SET_SAMPLESPERSEC           equ 40000h
MCI_WAVE_SET_AVGBYTESPERSEC          equ 80000h
MCI_WAVE_SET_BLOCKALIGN              equ 100000h
MCI_WAVE_SET_BITSPERSAMPLE           equ 200000h
MCI_WAVE_INPUT                       equ 400000h
MCI_WAVE_OUTPUT                      equ 800000h
MCI_WAVE_STATUS_FORMATTAG            equ 4001h
MCI_WAVE_STATUS_CHANNELS             equ 4002h
MCI_WAVE_STATUS_SAMPLESPERSEC        equ 4003h
MCI_WAVE_STATUS_AVGBYTESPERSEC       equ 4004h
MCI_WAVE_STATUS_BLOCKALIGN           equ 4005h
MCI_WAVE_STATUS_BITSPERSAMPLE        equ 4006h
MCI_WAVE_STATUS_LEVEL                equ 4007h
MCI_WAVE_SET_ANYINPUT                equ 4000000h
MCI_WAVE_SET_ANYOUTPUT               equ 8000000h
MCI_WAVE_GETDEVCAPS_INPUTS           equ 4001h
MCI_WAVE_GETDEVCAPS_OUTPUTS          equ 4002h
MCI_SEQ_DIV_PPQN                     equ 0 + MCI_SEQ_OFFSET
MCI_SEQ_DIV_SMPTE_24                 equ 1 + MCI_SEQ_OFFSET
MCI_SEQ_DIV_SMPTE_25                 equ 2 + MCI_SEQ_OFFSET
MCI_SEQ_DIV_SMPTE_30DROP             equ 3 + MCI_SEQ_OFFSET
MCI_SEQ_DIV_SMPTE_30                 equ 4 + MCI_SEQ_OFFSET
MCI_SEQ_FORMAT_SONGPTR               equ 4001h
MCI_SEQ_FILE                         equ 4002h
MCI_SEQ_MIDI                         equ 4003h
MCI_SEQ_SMPTE                        equ 4004h
MCI_SEQ_NONE                         equ 65533
MCI_SEQ_MAPPER                       equ 65535
MCI_SEQ_STATUS_TEMPO                 equ 4002h
MCI_SEQ_STATUS_PORT                  equ 4003h
MCI_SEQ_STATUS_SLAVE                 equ 4007h
MCI_SEQ_STATUS_MASTER                equ 4008h
MCI_SEQ_STATUS_OFFSET                equ 4009h
MCI_SEQ_STATUS_DIVTYPE               equ 400Ah
MCI_SEQ_SET_TEMPO                    equ 10000h
MCI_SEQ_SET_PORT                     equ 20000h
MCI_SEQ_SET_SLAVE                    equ 40000h
MCI_SEQ_SET_MASTER                   equ 80000h
MCI_SEQ_SET_OFFSET                   equ 1000000h
MCI_ANIM_OPEN_WS                     equ 10000h
MCI_ANIM_OPEN_PARENT                 equ 20000h
MCI_ANIM_OPEN_NOSTATIC               equ 40000h
MCI_ANIM_PLAY_SPEED                  equ 10000h
MCI_ANIM_PLAY_REVERSE                equ 20000h
MCI_ANIM_PLAY_FAST                   equ 40000h
MCI_ANIM_PLAY_SLOW                   equ 80000h
MCI_ANIM_PLAY_SCAN                   equ 100000h
MCI_ANIM_STEP_REVERSE                equ 10000h
MCI_ANIM_STEP_FRAMES                 equ 20000h
MCI_ANIM_STATUS_SPEED                equ 4001h
MCI_ANIM_STATUS_FORWARD              equ 4002h
MCI_ANIM_STATUS_HWND                 equ 4003h
MCI_ANIM_STATUS_HPAL                 equ 4004h
MCI_ANIM_STATUS_STRETCH              equ 4005h
MCI_ANIM_INFO_TEXT                   equ 10000h
MCI_ANIM_GETDEVCAPS_CAN_REVERSE      equ 4001h
MCI_ANIM_GETDEVCAPS_FAST_RATE        equ 4002h
MCI_ANIM_GETDEVCAPS_SLOW_RATE        equ 4003h
MCI_ANIM_GETDEVCAPS_NORMAL_RATE      equ 4004h
MCI_ANIM_GETDEVCAPS_PALETTES         equ 4006h
MCI_ANIM_GETDEVCAPS_CAN_STRETCH      equ 4007h
MCI_ANIM_GETDEVCAPS_MAX_WINDOWS      equ 4008h
MCI_ANIM_REALIZE_NORM                equ 10000h
MCI_ANIM_REALIZE_BKGD                equ 20000h
MCI_ANIM_WINDOW_HWND                 equ 10000h
MCI_ANIM_WINDOW_STATE                equ 40000h
MCI_ANIM_WINDOW_TEXT                 equ 80000h
MCI_ANIM_WINDOW_ENABLE_STRETCH       equ 100000h
MCI_ANIM_WINDOW_DISABLE_STRETCH      equ 200000h
MCI_ANIM_WINDOW_DEFAULT              equ 0h
MCI_ANIM_RECT                        equ 10000h
MCI_ANIM_PUT_SOURCE                  equ 20000h
MCI_ANIM_PUT_DESTINATION             equ 40000h
MCI_ANIM_WHERE_SOURCE                equ 20000h
MCI_ANIM_WHERE_DESTINATION           equ 40000h
MCI_ANIM_UPDATE_HDC                  equ 20000h
MCI_OVLY_OPEN_WS                     equ 10000h
MCI_OVLY_OPEN_PARENT                 equ 20000h
MCI_OVLY_STATUS_HWND                 equ 4001h
MCI_OVLY_STATUS_STRETCH              equ 4002h
MCI_OVLY_INFO_TEXT                   equ 10000h
MCI_OVLY_GETDEVCAPS_CAN_STRETCH      equ 4001h
MCI_OVLY_GETDEVCAPS_CAN_FREEZE       equ 4002h
MCI_OVLY_GETDEVCAPS_MAX_WINDOWS      equ 4003h
MCI_OVLY_WINDOW_HWND                 equ 10000h
MCI_OVLY_WINDOW_STATE                equ 40000h
MCI_OVLY_WINDOW_TEXT                 equ 80000h
MCI_OVLY_WINDOW_ENABLE_STRETCH       equ 100000h
MCI_OVLY_WINDOW_DISABLE_STRETCH      equ 200000h
MCI_OVLY_WINDOW_DEFAULT              equ 0h
MCI_OVLY_RECT                        equ 10000h
MCI_OVLY_PUT_SOURCE                  equ 20000h
MCI_OVLY_PUT_DESTINATION             equ 40000h
MCI_OVLY_PUT_FRAME                   equ 80000h
MCI_OVLY_PUT_VIDEO                   equ 100000h
MCI_OVLY_WHERE_SOURCE                equ 20000h
MCI_OVLY_WHERE_DESTINATION           equ 40000h
MCI_OVLY_WHERE_FRAME                 equ 80000h
MCI_OVLY_WHERE_VIDEO                 equ 100000h
CAPS1                                equ 94
C1_TRANSPARENT                       equ 1h
NEWTRANSPARENT                       equ 3
QUERYROPSUPPORT                      equ 40
SELECTDIB                            equ 41
SE_ERR_SHARE                         equ 26
SE_ERR_ASSOCINCOMPLETE               equ 27
SE_ERR_DDETIMEOUT                    equ 28
SE_ERR_DDEFAIL                       equ 29
SE_ERR_DDEBUSY                       equ 30
SE_ERR_NOASSOC                       equ 31
PRINTER_CONTROL_PAUSE                equ 1
PRINTER_CONTROL_RESUME               equ 2
PRINTER_CONTROL_PURGE                equ 3
PRINTER_STATUS_PAUSED                equ 1h
PRINTER_STATUS_ERROR                 equ 2h
PRINTER_STATUS_PENDING_DELETION      equ 4h
PRINTER_STATUS_PAPER_JAM             equ 8h
PRINTER_STATUS_PAPER_OUT             equ 10h
PRINTER_STATUS_MANUAL_FEED           equ 20h
PRINTER_STATUS_PAPER_PROBLEM         equ 40h
PRINTER_STATUS_OFFLINE               equ 80h
PRINTER_STATUS_IO_ACTIVE             equ 100h
PRINTER_STATUS_BUSY                  equ 200h
PRINTER_STATUS_PRINTING              equ 400h
PRINTER_STATUS_OUTPUT_BIN_FULL       equ 800h
PRINTER_STATUS_NOT_AVAILABLE         equ 1000h
PRINTER_STATUS_WAITING               equ 2000h
PRINTER_STATUS_PROCESSING            equ 4000h
PRINTER_STATUS_INITIALIZING          equ 8000h
PRINTER_STATUS_WARMING_UP            equ 10000h
PRINTER_STATUS_TONER_LOW             equ 20000h
PRINTER_STATUS_NO_TONER              equ 40000h
PRINTER_STATUS_PAGE_PUNT             equ 80000h
PRINTER_STATUS_USER_INTERVENTION     equ 100000h
PRINTER_STATUS_OUT_OF_MEMORY         equ 200000h
PRINTER_STATUS_DOOR_OPEN             equ 400000h
PRINTER_ATTRIBUTE_QUEUED             equ 1h
PRINTER_ATTRIBUTE_DIRECT             equ 2h
PRINTER_ATTRIBUTE_DEFAULT            equ 4h
PRINTER_ATTRIBUTE_SHARED             equ 8h
PRINTER_ATTRIBUTE_NETWORK            equ 10h
PRINTER_ATTRIBUTE_HIDDEN             equ 20h
PRINTER_ATTRIBUTE_LOCAL              equ 40h
NO_PRIORITY                          equ 0
MAX_PRIORITY                         equ 99
MIN_PRIORITY                         equ 1
DEF_PRIORITY                         equ 1
JOB_CONTROL_PAUSE                    equ 1
JOB_CONTROL_RESUME                   equ 2
JOB_CONTROL_CANCEL                   equ 3
JOB_CONTROL_RESTART                  equ 4
JOB_STATUS_PAUSED                    equ 1h
JOB_STATUS_ERROR                     equ 2h
JOB_STATUS_DELETING                  equ 4h
JOB_STATUS_SPOOLING                  equ 8h
JOB_STATUS_PRINTING                  equ 10h
JOB_STATUS_OFFLINE                   equ 20h
JOB_STATUS_PAPEROUT                  equ 40h
JOB_STATUS_PRINTED                   equ 80h
JOB_POSITION_UNSPECIFIED             equ 0
FORM_BUILTIN                         equ 1h
PRINTER_CONTROL_SET_STATUS           equ 4
PRINTER_ATTRIBUTE_WORK_OFFLINE       equ 400h
PRINTER_ATTRIBUTE_ENABLE_BIDI        equ 800h
JOB_CONTROL_DELETE                   equ 5
JOB_STATUS_USER_INTERVENTION         equ 10000h
DI_CHANNEL                           equ 1
DI_READ_SPOOL_JOB                    equ 3
PORT_TYPE_WRITE                      equ 1h
PORT_TYPE_READ                       equ 2h
PORT_TYPE_REDIRECTED                 equ 4h
PORT_TYPE_NET_ATTACHED               equ 8h
PRINTER_ENUM_DEFAULT                 equ 1h
PRINTER_ENUM_LOCAL                   equ 2h
PRINTER_ENUM_CONNECTIONS             equ 4h
PRINTER_ENUM_FAVORITE                equ 4h
PRINTER_ENUM_NAME                    equ 8h
PRINTER_ENUM_REMOTE                  equ 10h
PRINTER_ENUM_SHARED                  equ 20h
PRINTER_ENUM_NETWORK                 equ 40h
PRINTER_ENUM_EXPAND                  equ 4000h
PRINTER_ENUM_CONTAINER               equ 8000h
PRINTER_ENUM_ICONMASK                equ 0FF0000h
PRINTER_ENUM_ICON1                   equ 10000h
PRINTER_ENUM_ICON2                   equ 20000h
PRINTER_ENUM_ICON3                   equ 40000h
PRINTER_ENUM_ICON4                   equ 80000h
PRINTER_ENUM_ICON5                   equ 100000h
PRINTER_ENUM_ICON6                   equ 200000h
PRINTER_ENUM_ICON7                   equ 400000h
PRINTER_ENUM_ICON8                   equ 800000h
PRINTER_CHANGE_ADD_PRINTER           equ 1h
PRINTER_CHANGE_SET_PRINTER           equ 2h
PRINTER_CHANGE_DELETE_PRINTER        equ 4h
PRINTER_CHANGE_PRINTER               equ 0FFh
PRINTER_CHANGE_ADD_JOB               equ 100h
PRINTER_CHANGE_SET_JOB               equ 200h
PRINTER_CHANGE_DELETE_JOB            equ 400h
PRINTER_CHANGE_WRITE_JOB             equ 800h
PRINTER_CHANGE_JOB                   equ 0FF00h
PRINTER_CHANGE_ADD_FORM              equ 10000h
PRINTER_CHANGE_SET_FORM              equ 20000h
PRINTER_CHANGE_DELETE_FORM           equ 40000h
PRINTER_CHANGE_FORM                  equ 70000h
PRINTER_CHANGE_ADD_PORT              equ 100000h
PRINTER_CHANGE_CONFIGURE_PORT        equ 200000h
PRINTER_CHANGE_DELETE_PORT           equ 400000h
PRINTER_CHANGE_PORT                  equ 700000h
PRINTER_CHANGE_ADD_PRINT_PROCESSOR   equ 1000000h
PRINTER_CHANGE_DELETE_PRINT_PROCESSOR                equ 4000000h
PRINTER_CHANGE_PRINT_PROCESSOR       equ 7000000h
PRINTER_CHANGE_ADD_PRINTER_DRIVER    equ 10000000h
PRINTER_CHANGE_DELETE_PRINTER_DRIVER equ 40000000h
PRINTER_CHANGE_PRINTER_DRIVER        equ 70000000h
PRINTER_CHANGE_TIMEOUT               equ 80000000h
PRINTER_CHANGE_ALL                   equ 7777FFFFh
PRINTER_ERROR_INFORMATION            equ 80000000h
PRINTER_ERROR_WARNING                equ 40000000h
PRINTER_ERROR_SEVERE                 equ 20000000h
PRINTER_ERROR_OUTOFPAPER             equ 1h
PRINTER_ERROR_JAM                    equ 2h
PRINTER_ERROR_OUTOFTONER             equ 4h
SERVER_ACCESS_ADMINISTER             equ 1h
SERVER_ACCESS_ENUMERATE              equ 2h
PRINTER_ACCESS_ADMINISTER            equ 4h
PRINTER_ACCESS_USE                   equ 8h
JOB_ACCESS_ADMINISTER                equ 10h
SERVER_ALL_ACCESS                    equ STANDARD_RIGHTS_REQUIRED OR SERVER_ACCESS_ADMINISTER OR SERVER_ACCESS_ENUMERATE
SERVER_READ                          equ STANDARD_RIGHTS_READ OR SERVER_ACCESS_ENUMERATE
SERVER_WRITE                         equ STANDARD_RIGHTS_WRITE OR SERVER_ACCESS_ADMINISTER OR SERVER_ACCESS_ENUMERATE
SERVER_EXECUTE                       equ STANDARD_RIGHTS_EXECUTE OR SERVER_ACCESS_ENUMERATE
PRINTER_ALL_ACCESS                   equ STANDARD_RIGHTS_REQUIRED OR PRINTER_ACCESS_ADMINISTER OR PRINTER_ACCESS_USE
PRINTER_READ                         equ STANDARD_RIGHTS_READ OR PRINTER_ACCESS_USE
PRINTER_WRITE                        equ STANDARD_RIGHTS_WRITE OR PRINTER_ACCESS_USE
PRINTER_EXECUTE                      equ STANDARD_RIGHTS_EXECUTE OR PRINTER_ACCESS_USE
JOB_ALL_ACCESS                       equ STANDARD_RIGHTS_REQUIRED OR JOB_ACCESS_ADMINISTER
JOB_READ                             equ STANDARD_RIGHTS_READ OR JOB_ACCESS_ADMINISTER
JOB_WRITE                            equ STANDARD_RIGHTS_WRITE OR JOB_ACCESS_ADMINISTER
JOB_EXECUTE                          equ STANDARD_RIGHTS_EXECUTE OR JOB_ACCESS_ADMINISTER
RESOURCE_CONNECTED                   equ 1h
RESOURCE_PUBLICNET                   equ 2h
RESOURCE_GLOBALNET                   equ 2h
RESOURCE_REMEMBERED                  equ 3h
RESOURCE_RECENT                      equ 4h
RESOURCE_CONTEXT                     equ 5h
RESOURCETYPE_ANY                     equ 0h
RESOURCETYPE_DISK                    equ 1h
RESOURCETYPE_PRINT                   equ 2h
RESOURCETYPE_UNKNOWN                 equ 0FFFFh
RESOURCEUSAGE_CONNECTABLE            equ 1h
RESOURCEUSAGE_CONTAINER              equ 2h
RESOURCEUSAGE_RESERVED               equ 80000000h
RESOURCEDISPLAYTYPE_GENERIC          equ 0h
RESOURCEDISPLAYTYPE_DOMAIN           equ 1h
RESOURCEDISPLAYTYPE_SERVER           equ 2h
RESOURCEDISPLAYTYPE_SHARE            equ 3h
RESOURCEDISPLAYTYPE_FILE             equ 4h
RESOURCEDISPLAYTYPE_GROUP            equ 5h
CONNECT_UPDATE_PROFILE               equ 1h
WN_SUCCESS                           equ NO_ERROR
WN_NOT_SUPPORTED                     equ ERROR_NOT_SUPPORTED
WN_NET_ERROR                         equ ERROR_UNEXP_NET_ERR
WN_MORE_DATA                         equ ERROR_MORE_DATA
WN_BAD_POINTER                       equ ERROR_INVALID_ADDRESS
WN_BAD_VALUE                         equ ERROR_INVALID_PARAMETER
WN_BAD_PASSWORD                      equ ERROR_INVALID_PASSWORD
WN_ACCESS_DENIED                     equ ERROR_ACCESS_DENIED
WN_FUNCTION_BUSY                     equ ERROR_BUSY
WN_WINDOWS_ERROR                     equ ERROR_UNEXP_NET_ERR
WN_BAD_USER                          equ ERROR_BAD_USERNAME
WN_OUT_OF_MEMORY                     equ ERROR_NOT_ENOUGH_MEMORY
WN_NO_NETWORK                        equ ERROR_NO_NETWORK
WN_EXTENDED_ERROR                    equ ERROR_EXTENDED_ERROR
WN_NOT_CONNECTED                     equ ERROR_NOT_CONNECTED
WN_OPEN_FILES                        equ ERROR_OPEN_FILES
WN_DEVICE_IN_USE                     equ ERROR_DEVICE_IN_USE
WN_BAD_NETNAME                       equ ERROR_BAD_NET_NAME
WN_BAD_LOCALNAME                     equ ERROR_BAD_DEVICE
WN_ALREADY_CONNECTED                 equ ERROR_ALREADY_ASSIGNED
WN_DEVICE_ERROR                      equ ERROR_GEN_FAILURE
WN_CONNECTION_CLOSED                 equ ERROR_CONNECTION_UNAVAIL
WN_NO_NET_OR_BAD_PATH                equ ERROR_NO_NET_OR_BAD_PATH
WN_BAD_PROVIDER                      equ ERROR_BAD_PROVIDER
WN_CANNOT_OPEN_PROFILE               equ ERROR_CANNOT_OPEN_PROFILE
WN_BAD_PROFILE                       equ ERROR_BAD_PROFILE
WN_BAD_HANDLE                        equ ERROR_INVALID_HANDLE
WN_NO_MORE_ENTRIES                   equ ERROR_NO_MORE_ITEMS
WN_NOT_CONTAINER                     equ ERROR_NOT_CONTAINER
WN_NO_ERROR                          equ NO_ERROR
NCBNAMSZ                             equ 16
MAX_LANA                             equ 254
NAME_FLAGS_MASK                      equ 87h
GROUP_NAME                           equ 80h
UNIQUE_NAME                          equ 0h
REGISTERING                          equ 0h
REGISTERED                           equ 4h
DEREGISTERED                         equ 5h
DUPLICATE                            equ 6h
DUPLICATE_DEREG                      equ 7h
LISTEN_OUTSTANDING                   equ 1h
CALL_PENDING                         equ 2h
SESSION_ESTABLISHED                  equ 3h
HANGUP_PENDING                       equ 4h
HANGUP_COMPLETE                      equ 5h
SESSION_ABORTED                      equ 6h
NCBCALL                              equ 10h
NCBLISTEN                            equ 11h
NCBHANGUP                            equ 12h
NCBSEND                              equ 14h
NCBRECV                              equ 15h
NCBRECVANY                           equ 16h
NCBCHAINSEND                         equ 17h
NCBDGSEND                            equ 20h
NCBDGRECV                            equ 21h
NCBDGSENDBC                          equ 22h
NCBDGRECVBC                          equ 23h
NCBADDNAME                           equ 30h
NCBDELNAME                           equ 31h
NCBRESET                             equ 32h
NCBASTAT                             equ 33h
NCBSSTAT                             equ 34h
NCBCANCEL                            equ 35h
NCBADDGRNAME                         equ 36h
NCBENUM                              equ 37h
NCBUNLINK                            equ 70h
NCBSENDNA                            equ 71h
NCBCHAINSENDNA                       equ 72h
NCBLANSTALERT                        equ 73h
NCBACTION                            equ 77h
NCBFINDNAME                          equ 78h
NCBTRACE                             equ 79h
ASYNCH                               equ 80h
NRC_GOODRET                          equ 0h
NRC_BUFLEN                           equ 1h
NRC_ILLCMD                           equ 3h
NRC_CMDTMO                           equ 5h
NRC_INCOMP                           equ 6h
NRC_BADDR                            equ 7h
NRC_SNUMOUT                          equ 8h
NRC_NORES                            equ 9h
NRC_SCLOSED                          equ 0Ah
NRC_CMDCAN                           equ 0Bh
NRC_DUPNAME                          equ 0Dh
NRC_NAMTFUL                          equ 0Eh
NRC_ACTSES                           equ 0Fh
NRC_LOCTFUL                          equ 11h
NRC_REMTFUL                          equ 12h
NRC_ILLNN                            equ 13h
NRC_NOCALL                           equ 14h
NRC_NOWILD                           equ 15h
NRC_INUSE                            equ 16h
NRC_NAMERR                           equ 17h
NRC_SABORT                           equ 18h
NRC_NAMCONF                          equ 19h
NRC_IFBUSY                           equ 21h
NRC_TOOMANY                          equ 22h
NRC_BRIDGE                           equ 23h
NRC_CANOCCR                          equ 24h
NRC_CANCEL                           equ 26h
NRC_DUPENV                           equ 30h
NRC_ENVNOTDEF                        equ 34h
NRC_OSRESNOTAV                       equ 35h
NRC_MAXAPPS                          equ 36h
NRC_NOSAPS                           equ 37h
NRC_NORESOURCES                      equ 38h
NRC_INVADDRESS                       equ 39h
NRC_INVDDID                          equ 3Bh
NRC_LOCKFAIL                         equ 3Ch
NRC_OPENERR                          equ 3Fh
NRC_SYSTEM                           equ 40h
NRC_PENDING                          equ 0FFh
EXCEPTION_EXECUTE_HANDLER            equ 1
EXCEPTION_CONTINUE_SEARCH            equ 0
EXCEPTION_CONTINUE_EXECUTION         equ -1
ctlFirst                             equ 400h
ctlLast                              equ 4FFh
psh1                                 equ 400h
psh2                                 equ 401h
psh3                                 equ 402h
psh4                                 equ 403h
psh5                                 equ 404h
psh6                                 equ 405h
psh7                                 equ 406h
psh8                                 equ 407h
psh9                                 equ 408h
psh10                                equ 409h
psh11                                equ 40Ah
psh12                                equ 40Bh
psh13                                equ 40Ch
psh14                                equ 40Dh
psh15                                equ 40Eh
pshHelp                              equ psh15
psh16                                equ 40Fh
chx1                                 equ 410h
chx2                                 equ 411h
chx3                                 equ 412h
chx4                                 equ 413h
chx5                                 equ 414h
chx6                                 equ 415h
chx7                                 equ 416h
chx8                                 equ 417h
chx9                                 equ 418h
chx10                                equ 419h
chx11                                equ 41Ah
chx12                                equ 41Bh
chx13                                equ 41Ch
chx14                                equ 41Dh
chx15                                equ 41Eh
chx16                                equ 41Dh
rad1                                 equ 420h
rad2                                 equ 421h
rad3                                 equ 422h
rad4                                 equ 423h
rad5                                 equ 424h
rad6                                 equ 425h
rad7                                 equ 426h
rad8                                 equ 427h
rad9                                 equ 428h
rad10                                equ 429h
rad11                                equ 42Ah
rad12                                equ 42Bh
rad13                                equ 42Ch
rad14                                equ 42Dh
rad15                                equ 42Eh
rad16                                equ 42Fh
grp1                                 equ 430h
grp2                                 equ 431h
grp3                                 equ 432h
grp4                                 equ 433h
frm1                                 equ 434h
frm2                                 equ 435h
frm3                                 equ 436h
frm4                                 equ 437h
rct1                                 equ 438h
rct2                                 equ 439h
rct3                                 equ 43Ah
rct4                                 equ 43Bh
ico1                                 equ 43Ch
ico2                                 equ 43Dh
ico3                                 equ 43Eh
ico4                                 equ 43Fh
stc1                                 equ 440h
stc2                                 equ 441h
stc3                                 equ 442h
stc4                                 equ 443h
stc5                                 equ 444h
stc6                                 equ 445h
stc7                                 equ 446h
stc8                                 equ 447h
stc9                                 equ 448h
stc10                                equ 449h
stc11                                equ 44Ah
stc12                                equ 44Bh
stc13                                equ 44Ch
stc14                                equ 44Dh
stc15                                equ 44Eh
stc16                                equ 44Fh
stc17                                equ 450h
stc18                                equ 451h
stc19                                equ 452h
stc20                                equ 453h
stc21                                equ 454h
stc22                                equ 455h
stc23                                equ 456h
stc24                                equ 457h
stc25                                equ 458h
stc26                                equ 459h
stc27                                equ 45Ah
stc28                                equ 45Bh
stc29                                equ 45Ch
stc30                                equ 45Dh
stc31                                equ 45Eh
stc32                                equ 45Fh
lst1                                 equ 460h
lst2                                 equ 461h
lst3                                 equ 462h
lst4                                 equ 463h
lst5                                 equ 464h
lst6                                 equ 465h
lst7                                 equ 466h
lst8                                 equ 467h
lst9                                 equ 468h
lst10                                equ 469h
lst11                                equ 46Ah
lst12                                equ 46Bh
lst13                                equ 46Ch
lst14                                equ 46Dh
lst15                                equ 46Eh
lst16                                equ 46Fh
cmb1                                 equ 470h
cmb2                                 equ 471h
cmb3                                 equ 472h
cmb4                                 equ 473h
cmb5                                 equ 474h
cmb6                                 equ 475h
cmb7                                 equ 476h
cmb8                                 equ 477h
cmb9                                 equ 478h
cmb10                                equ 479h
cmb11                                equ 47Ah
cmb12                                equ 47Bh
cmb13                                equ 47Ch
cmb14                                equ 47Dh
cmb15                                equ 47Eh
cmb16                                equ 47Fh
edt1                                 equ 480h
edt2                                 equ 481h
edt3                                 equ 482h
edt4                                 equ 483h
edt5                                 equ 484h
edt6                                 equ 485h
edt7                                 equ 486h
edt8                                 equ 487h
edt9                                 equ 488h
edt10                                equ 489h
edt11                                equ 48Ah
edt12                                equ 48Bh
edt13                                equ 48Ch
edt14                                equ 48Dh
edt15                                equ 48Eh
edt16                                equ 48Fh
scr1                                 equ 490h
scr2                                 equ 491h
scr3                                 equ 492h
scr4                                 equ 493h
scr5                                 equ 494h
scr6                                 equ 495h
scr7                                 equ 496h
scr8                                 equ 497h
FILEOPENORD                          equ 1536
MULTIFILEOPENORD                     equ 1537
PRINTDLGORD                          equ 1538
PRNSETUPDLGORD                       equ 1539
FINDDLGORD                           equ 1540
REPLACEDLGORD                        equ 1541
FONTDLGORD                           equ 1542
FORMATDLGORD31                       equ 1543
FORMATDLGORD30                       equ 1544
HKEY_CLASSES_ROOT                    equ 0FFFFFFFF80000000h
HKEY_CURRENT_USER                    equ 0FFFFFFFF80000001h
HKEY_LOCAL_MACHINE                   equ 0FFFFFFFF80000002h
HKEY_USERS                           equ 0FFFFFFFF80000003h
HKEY_PERFORMANCE_DATA                equ 0FFFFFFFF80000004h
HKEY_CURRENT_CONFIG                  equ 0FFFFFFFF80000005h
HKEY_DYN_DATA                        equ 0FFFFFFFF80000006h
SERVICE_NO_CHANGE                    equ 0FFFFFFFFh
SERVICE_ACTIVE                       equ 1h
SERVICE_INACTIVE                     equ 2h
SERVICE_STATE_ALL                    equ SERVICE_ACTIVE OR SERVICE_INACTIVE
SERVICE_CONTROL_STOP                 equ 1h
SERVICE_CONTROL_PAUSE                equ 2h
SERVICE_CONTROL_CONTINUE             equ 3h
SERVICE_CONTROL_INTERROGATE          equ 4h
SERVICE_CONTROL_SHUTDOWN             equ 5h
SERVICE_STOPPED                      equ 1h
SERVICE_START_PENDING                equ 2h
SERVICE_STOP_PENDING                 equ 3h
SERVICE_RUNNING                      equ 4h
SERVICE_CONTINUE_PENDING             equ 5h
SERVICE_PAUSE_PENDING                equ 6h
SERVICE_PAUSED                       equ 7h
SERVICE_ACCEPT_STOP                  equ 1h
SERVICE_ACCEPT_PAUSE_CONTINUE        equ 2h
SERVICE_ACCEPT_SHUTDOWN              equ 4h
SC_MANAGER_CONNECT                   equ 1h
SC_MANAGER_CREATE_SERVICE            equ 2h
SC_MANAGER_ENUMERATE_SERVICE         equ 4h
SC_MANAGER_LOCK                      equ 8h
SC_MANAGER_QUERY_LOCK_STATUS         equ 10h
SC_MANAGER_MODIFY_BOOT_CONFIG        equ 20h
SC_MANAGER_ALL_ACCESS                equ STANDARD_RIGHTS_REQUIRED OR SC_MANAGER_CONNECT OR SC_MANAGER_CREATE_SERVICE OR SC_MANAGER_ENUMERATE_SERVICE OR SC_MANAGER_LOCK or SC_MANAGER_QUERY_LOCK_STATUS or SC_MANAGER_MODIFY_BOOT_CONFIG
SERVICE_QUERY_CONFIG                 equ 1h
SERVICE_CHANGE_CONFIG                equ 2h
SERVICE_QUERY_STATUS                 equ 4h
SERVICE_ENUMERATE_DEPENDENTS         equ 8h
SERVICE_START                        equ 10h
SERVICE_STOP                         equ 20h
SERVICE_PAUSE_CONTINUE               equ 40h
SERVICE_INTERROGATE                  equ 80h
SERVICE_USER_DEFINED_CONTROL         equ 100h
SERVICE_ALL_ACCESS                   equ STANDARD_RIGHTS_REQUIRED OR SERVICE_QUERY_CONFIG OR SERVICE_CHANGE_CONFIG OR SERVICE_QUERY_STATUS or SERVICE_ENUMERATE_DEPENDENTS or SERVICE_START or SERVICE_STOP or SERVICE_PAUSE_CONTINUE or SERVICE_INTERROGATE or SERVICE_USER_DEFINED_CONTROL
PERF_DATA_VERSION                    equ 1
PERF_DATA_REVISION                   equ 1
PERF_NO_INSTANCES                    equ -1
PERF_SIZE_DWORD                      equ 0h
PERF_SIZE_LARGE                      equ 100h
PERF_SIZE_ZERO                       equ 200h
PERF_SIZE_VARIABLE_LEN               equ 300h
PERF_TYPE_NUMBER                     equ 0h
PERF_TYPE_COUNTER                    equ 400h
PERF_TYPE_TEXT                       equ 800h
PERF_TYPE_ZERO                       equ 0C00h
PERF_NUMBER_HEX                      equ 0h
PERF_NUMBER_DECIMAL                  equ 10000h
PERF_NUMBER_DEC_1000                 equ 20000h
PERF_COUNTER_VALUE                   equ 0h
PERF_COUNTER_RATE                    equ 10000h
PERF_COUNTER_FRACTION                equ 20000h
PERF_COUNTER_BASE                    equ 30000h
PERF_COUNTER_ELAPSED                 equ 40000h
PERF_COUNTER_QUEUELEN                equ 50000h
PERF_COUNTER_HISTOGRAM               equ 60000h
PERF_TEXT_UNICODE                    equ 0h
PERF_TEXT_ASCII                      equ 10000h
PERF_TIMER_TICK                      equ 0h
PERF_TIMER_100NS                     equ 100000h
PERF_OBJECT_TIMER                    equ 200000h
PERF_DELTA_COUNTER                   equ 400000h
PERF_DELTA_BASE                      equ 800000h
PERF_INVERSE_COUNTER                 equ 1000000h
PERF_MULTI_COUNTER                   equ 2000000h
PERF_DISPLAY_NO_SUFFIX               equ 0h
PERF_DISPLAY_PER_SEC                 equ 10000000h
PERF_DISPLAY_PERCENT                 equ 20000000h
PERF_DISPLAY_SECONDS                 equ 30000000h
PERF_DISPLAY_NOSHOW                  equ 40000000h
PERF_COUNTER_COUNTER                 equ PERF_SIZE_DWORD OR PERF_TYPE_COUNTER OR PERF_COUNTER_RATE OR PERF_TIMER_TICK OR PERF_DELTA_COUNTER OR PERF_DISPLAY_PER_SEC
PERF_COUNTER_TIMER                   equ PERF_SIZE_LARGE OR PERF_TYPE_COUNTER OR PERF_COUNTER_RATE OR PERF_TIMER_TICK OR PERF_DELTA_COUNTER OR PERF_DISPLAY_PERCENT
PERF_COUNTER_QUEUELEN_TYPE           equ PERF_SIZE_DWORD OR PERF_TYPE_COUNTER OR PERF_COUNTER_QUEUELEN OR PERF_TIMER_TICK OR PERF_DELTA_COUNTER OR PERF_DISPLAY_NO_SUFFIX
PERF_COUNTER_BULK_COUNT              equ PERF_SIZE_LARGE OR PERF_TYPE_COUNTER OR PERF_COUNTER_RATE OR PERF_TIMER_TICK OR PERF_DELTA_COUNTER OR PERF_DISPLAY_PER_SEC
PERF_COUNTER_TEXT                    equ PERF_SIZE_VARIABLE_LEN OR PERF_TYPE_TEXT OR PERF_TEXT_UNICODE OR PERF_DISPLAY_NO_SUFFIX
PERF_COUNTER_RAWCOUNT                equ PERF_SIZE_DWORD OR PERF_TYPE_NUMBER OR PERF_NUMBER_DECIMAL OR PERF_DISPLAY_NO_SUFFIX
PERF_SAMPLE_FRACTION                 equ PERF_SIZE_DWORD OR PERF_TYPE_COUNTER OR PERF_COUNTER_FRACTION OR PERF_DELTA_COUNTER OR PERF_DELTA_BASE OR PERF_DISPLAY_PERCENT
PERF_SAMPLE_COUNTER                  equ PERF_SIZE_DWORD OR PERF_TYPE_COUNTER OR PERF_COUNTER_RATE OR PERF_TIMER_TICK OR PERF_DELTA_COUNTER OR PERF_DISPLAY_NO_SUFFIX
PERF_COUNTER_NODATA                  equ PERF_SIZE_ZERO OR PERF_DISPLAY_NOSHOW
PERF_COUNTER_TIMER_INV               equ PERF_SIZE_LARGE OR PERF_TYPE_COUNTER OR PERF_COUNTER_RATE OR PERF_TIMER_TICK OR PERF_DELTA_COUNTER OR PERF_INVERSE_COUNTER OR PERF_DISPLAY_PERCENT
PERF_SAMPLE_BASE                     equ PERF_SIZE_DWORD OR PERF_TYPE_COUNTER OR PERF_COUNTER_BASE OR PERF_DISPLAY_NOSHOW OR 1h
PERF_AVERAGE_TIMER                   equ PERF_SIZE_DWORD OR PERF_TYPE_COUNTER OR PERF_COUNTER_FRACTION OR PERF_DISPLAY_SECONDS
PERF_AVERAGE_BASE                    equ PERF_SIZE_DWORD OR PERF_TYPE_COUNTER OR PERF_COUNTER_BASE OR PERF_DISPLAY_NOSHOW OR 2h
PERF_AVERAGE_BULK                    equ PERF_SIZE_LARGE OR PERF_TYPE_COUNTER OR PERF_COUNTER_FRACTION OR PERF_DISPLAY_NOSHOW
PERF_100NSEC_TIMER                   equ PERF_SIZE_LARGE OR PERF_TYPE_COUNTER OR PERF_COUNTER_RATE OR PERF_TIMER_100NS OR PERF_DELTA_COUNTER OR PERF_DISPLAY_PERCENT
PERF_100NSEC_TIMER_INV               equ PERF_SIZE_LARGE OR PERF_TYPE_COUNTER OR PERF_COUNTER_RATE OR PERF_TIMER_100NS OR PERF_DELTA_COUNTER OR PERF_INVERSE_COUNTER OR PERF_DISPLAY_PERCENT
PERF_COUNTER_MULTI_TIMER             equ PERF_SIZE_LARGE OR PERF_TYPE_COUNTER OR PERF_COUNTER_RATE OR PERF_DELTA_COUNTER OR PERF_TIMER_TICK OR PERF_MULTI_COUNTER OR PERF_DISPLAY_PERCENT
PERF_COUNTER_MULTI_TIMER_INV         equ PERF_SIZE_LARGE OR PERF_TYPE_COUNTER OR PERF_COUNTER_RATE OR PERF_DELTA_COUNTER OR PERF_MULTI_COUNTER OR PERF_TIMER_TICK OR PERF_INVERSE_COUNTER OR PERF_DISPLAY_PERCENT
PERF_COUNTER_MULTI_BASE              equ PERF_SIZE_LARGE OR PERF_TYPE_COUNTER OR PERF_COUNTER_BASE OR PERF_MULTI_COUNTER OR PERF_DISPLAY_NOSHOW
PERF_100NSEC_MULTI_TIMER             equ PERF_SIZE_LARGE OR PERF_TYPE_COUNTER OR PERF_DELTA_COUNTER OR PERF_COUNTER_RATE OR PERF_TIMER_100NS OR PERF_MULTI_COUNTER OR PERF_DISPLAY_PERCENT
PERF_100NSEC_MULTI_TIMER_INV         equ PERF_SIZE_LARGE OR PERF_TYPE_COUNTER OR PERF_DELTA_COUNTER OR PERF_COUNTER_RATE OR PERF_TIMER_100NS OR PERF_MULTI_COUNTER OR PERF_INVERSE_COUNTER OR PERF_DISPLAY_PERCENT
PERF_RAW_FRACTION                    equ PERF_SIZE_DWORD OR PERF_TYPE_COUNTER OR PERF_COUNTER_FRACTION OR PERF_DISPLAY_PERCENT
PERF_RAW_BASE                        equ PERF_SIZE_DWORD OR PERF_TYPE_COUNTER OR PERF_COUNTER_BASE OR PERF_DISPLAY_NOSHOW OR 3h
PERF_ELAPSED_TIME                    equ PERF_SIZE_LARGE OR PERF_TYPE_COUNTER OR PERF_COUNTER_ELAPSED OR PERF_OBJECT_TIMER OR PERF_DISPLAY_SECONDS
PERF_COUNTER_HISTOGRAM_TYPE          equ 80000000h
PERF_DETAIL_NOVICE                   equ 100
PERF_DETAIL_ADVANCED                 equ 200
PERF_DETAIL_EXPERT                   equ 300
PERF_DETAIL_WIZARD                   equ 400
PERF_NO_UNIQUE_ID                    equ -1
LZERROR_BADINHANDLE                  equ -1
LZERROR_BADOUTHANDLE                 equ -2
LZERROR_READ                         equ -3
LZERROR_WRITE                        equ -4
LZERROR_PUBLICLOC                    equ -5
LZERROR_GLOBLOCK                     equ -6
LZERROR_BADVALUE                     equ -7
LZERROR_UNKNOWNALG                   equ -8
VK_PROCESSKEY                        equ 0E5h
STYLE_DESCRIPTION_SIZE               equ 32
WM_CONVERTREQUESTEX                  equ 108h

WM_IME_REQUEST                  	  equ 288h
WM_IME_STARTCOMPOSITION              equ 10Dh
WM_IME_ENDCOMPOSITION                equ 10Eh
WM_IME_COMPOSITION                   equ 10Fh
WM_IME_KEYLAST                       equ 10Fh
WM_IME_SETCONTEXT                    equ 281h
WM_IME_NOTIFY                        equ 282h
WM_IME_CONTROL                       equ 283h
WM_IME_COMPOSITIONFULL               equ 284h
WM_IME_SELECT                        equ 285h
WM_IME_CHAR                          equ 286h
WM_IME_KEYDOWN                       equ 290h
WM_IME_KEYUP                         equ 291h
IMC_GETCANDIDATEPOS                  equ 7h
IMC_SETCANDIDATEPOS                  equ 8h
IMC_GETCOMPOSITIONFONT               equ 9h
IMC_SETCOMPOSITIONFONT               equ 0Ah
IMC_GETCOMPOSITIONWINDOW             equ 0Bh
IMC_SETCOMPOSITIONWINDOW             equ 0Ch
IMC_GETSTATUSWINDOWPOS               equ 0Fh
IMC_SETSTATUSWINDOWPOS               equ 10h
IMC_CLOSESTATUSWINDOW                equ 21h
IMC_OPENSTATUSWINDOW                 equ 22h
NI_OPENCANDIDATE                     equ 10h
NI_CLOSECANDIDATE                    equ 11h
NI_SELECTCANDIDATESTR                equ 12h
NI_CHANGECANDIDATELIST               equ 13h
NI_FINALIZECONVERSIONRESULT          equ 14h
NI_COMPOSITIONSTR                    equ 15h
NI_SETCANDIDATE_PAGESTART            equ 16h
NI_SETCANDIDATE_PAGESIZE             equ 17h
ISC_SHOWUICANDIDATEWINDOW            equ 1h
ISC_SHOWUICOMPOSITIONWINDOW          equ 80000000h
ISC_SHOWUIGUIDELINE                  equ 40000000h
ISC_SHOWUIALLCANDIDATEWINDOW         equ 0Fh
ISC_SHOWUIALL                        equ 0C000000Fh
CPS_COMPLETE                         equ 1h
CPS_CONVERT                          equ 2h
CPS_REVERT                           equ 3h
CPS_CANCEL                           equ 4h
IME_CHOTKEY_IME_NONIME_TOGGLE        equ 10h
IME_CHOTKEY_SHAPE_TOGGLE             equ 11h
IME_CHOTKEY_SYMBOL_TOGGLE            equ 12h
IME_JHOTKEY_CLOSE_OPEN               equ 30h
IME_KHOTKEY_SHAPE_TOGGLE             equ 50h
IME_KHOTKEY_HANJACONVERT             equ 51h
IME_KHOTKEY_ENGLISH                  equ 52h
IME_THOTKEY_IME_NONIME_TOGGLE        equ 70h
IME_THOTKEY_SHAPE_TOGGLE             equ 71h
IME_THOTKEY_SYMBOL_TOGGLE            equ 72h
IME_HOTKEY_DSWITCH_FIRST             equ 100h
IME_HOTKEY_DSWITCH_LAST              equ 11Fh
IME_ITHOTKEY_RESEND_RESULTSTR        equ 200h
IME_ITHOTKEY_PREVIOUS_COMPOSITION    equ 201h
IME_ITHOTKEY_UISTYLE_TOGGLE          equ 202h
GCS_COMPREADSTR                      equ 1h
GCS_COMPREADATTR                     equ 2h
GCS_COMPREADCLAUSE                   equ 4h
GCS_COMPSTR                          equ 8h
GCS_COMPATTR                         equ 10h
GCS_COMPCLAUSE                       equ 20h
GCS_CURSORPOS                        equ 80h
GCS_DELTASTART                       equ 100h
GCS_RESULTREADSTR                    equ 200h
GCS_RESULTREADCLAUSE                 equ 400h
GCS_RESULTSTR                        equ 800h
GCS_RESULTCLAUSE                     equ 1000h
CS_INSERTCHAR                        equ 2000h
CS_NOMOVECARET                       equ 4000h
IME_PROP_AT_CARET                    equ 10000h
IME_PROP_SPECIAL_UI                  equ 20000h
IME_PROP_CANDLIST_START_FROM_1       equ 40000h
IME_PROP_UNICODE                     equ 80000h
UI_CAP_2700                          equ 1h
UI_CAP_ROT90                         equ 2h
UI_CAP_ROTANY                        equ 4h
SCS_CAP_COMPSTR                      equ 1h
SCS_CAP_MAKEREAD                     equ 2h
SELECT_CAP_CONVERSION                equ 1h
SELECT_CAP_SENTENCE                  equ 2h
GGL_LEVEL                            equ 1h
GGL_INDEX                            equ 2h
GGL_STRING                           equ 3h
GGL_PRIVATE                          equ 4h
GL_LEVEL_NOGUIDELINE                 equ 0h
GL_LEVEL_FATAL                       equ 1h
GL_LEVEL_ERROR                       equ 2h
GL_LEVEL_WARNING                     equ 3h
GL_LEVEL_INFORMATION                 equ 4h
GL_ID_UNKNOWN                        equ 0h
GL_ID_NOMODULE                       equ 1h
GL_ID_NODICTIONARY                   equ 10h
GL_ID_CANNOTSAVE                     equ 11h
GL_ID_NOCONVERT                      equ 20h
GL_ID_TYPINGERROR                    equ 21h
GL_ID_TOOMANYSTROKE                  equ 22h
GL_ID_READINGCONFLICT                equ 23h
GL_ID_INPUTREADING                   equ 24h
GL_ID_INPUTRADICAL                   equ 25h
GL_ID_INPUTCODE                      equ 26h
GL_ID_INPUTSYMBOL                    equ 27h
GL_ID_CHOOSECANDIDATE                equ 28h
GL_ID_REVERSECONVERSION              equ 29h
GL_ID_PRIVATE_FIRST                  equ 8000h
GL_ID_PRIVATE_LAST                   equ 0FFFFh
IGP_PROPERTY                         equ 4h
IGP_CONVERSION                       equ 8h
IGP_SENTENCE                         equ 0Ch
IGP_UI                               equ 10h
IGP_SETCOMPSTR                       equ 14h
IGP_SELECT                           equ 18h
SCS_SETSTR                           equ GCS_COMPREADSTR OR GCS_COMPSTR
SCS_CHANGEATTR                       equ GCS_COMPREADATTR OR GCS_COMPATTR
SCS_CHANGECLAUSE                     equ GCS_COMPREADCLAUSE OR GCS_COMPCLAUSE
ATTR_INPUT                           equ 0h
ATTR_TARGET_CONVERTED                equ 1h
ATTR_CONVERTED                       equ 2h
ATTR_TARGET_NOTCONVERTED             equ 3h
ATTR_INPUT_ERROR                     equ 4h
CFS_DEFAULT                          equ 0h
CFS_RECT                             equ 1h
CFS_POINT                            equ 2h
CFS_SCREEN                           equ 4h
CFS_FORCE_POSITION                   equ 20h
CFS_CANDIDATEPOS                     equ 40h
CFS_EXCLUDE                          equ 80h
GCL_CONVERSION                       equ 1h
GCL_REVERSECONVERSION                equ 2h
GCL_REVERSE_LENGTH                   equ 3h
IME_CMODE_ALPHANUMERIC               equ 0h
IME_CMODE_NATIVE                     equ 1h
IME_CMODE_CHINESE                    equ IME_CMODE_NATIVE
IME_CMODE_HANGEUL                    equ IME_CMODE_NATIVE
IME_CMODE_JAPANESE                   equ IME_CMODE_NATIVE
IME_CMODE_KATAKANA                   equ 2h
IME_CMODE_LANGUAGE                   equ 3h
IME_CMODE_FULLSHAPE                  equ 8h
IME_CMODE_ROMAN                      equ 10h
IME_CMODE_CHARCODE                   equ 20h
IME_CMODE_HANJACONVERT               equ 40h
IME_CMODE_SOFTKBD                    equ 80h
IME_CMODE_NOCONVERSION               equ 100h
IME_CMODE_EUDC                       equ 200h
IME_CMODE_SYMBOL                     equ 400h
IME_SMODE_NONE                       equ 0h
IME_SMODE_PLAURALCLAUSE              equ 1h
IME_SMODE_SINGLECONVERT              equ 2h
IME_SMODE_AUTOMATIC                  equ 4h
IME_SMODE_PHRASEPREDICT              equ 8h
IME_CAND_UNKNOWN                     equ 0h
IME_CAND_READ                        equ 1h
IME_CAND_CODE                        equ 2h
IME_CAND_MEANING                     equ 3h
IME_CAND_RADICAL                     equ 4h
IME_CAND_STROKE                      equ 5h
IMN_CLOSESTATUSWINDOW                equ 1h
IMN_OPENSTATUSWINDOW                 equ 2h
IMN_CHANGECANDIDATE                  equ 3h
IMN_CLOSECANDIDATE                   equ 4h
IMN_OPENCANDIDATE                    equ 5h
IMN_SETCONVERSIONMODE                equ 6h
IMN_SETSENTENCEMODE                  equ 7h
IMN_SETOPENSTATUS                    equ 8h
IMN_SETCANDIDATEPOS                  equ 9h
IMN_SETCOMPOSITIONFONT               equ 0Ah
IMN_SETCOMPOSITIONWINDOW             equ 0Bh
IMN_SETSTATUSWINDOWPOS               equ 0Ch
IMN_GUIDELINE                        equ 0Dh
IMN_PRIVATE                          equ 0Eh
IMM_ERROR_NODATA                     equ -1
IMM_ERROR_GENERAL                    equ -2
IME_CONFIG_GENERAL                   equ 1
IME_CONFIG_REGISTERWORD              equ 2
IME_CONFIG_SELECTDICTIONARY          equ 3
IME_ESC_QUERY_SUPPORT                equ 3h
IME_ESC_RESERVED_FIRST               equ 4h
IME_ESC_RESERVED_LAST                equ 7FFh
IME_ESC_PRIVATE_FIRST                equ 800h
IME_ESC_PRIVATE_LAST                 equ 0FFFh
IME_ESC_SEQUENCE_TO_INTERNAL         equ 1001h
IME_ESC_GET_EUDC_DICTIONARY          equ 1003h
IME_ESC_SET_EUDC_DICTIONARY          equ 1004h
IME_ESC_MAX_KEY                      equ 1005h
IME_ESC_IME_NAME                     equ 1006h
IME_ESC_SYNC_HOTKEY                  equ 1007h
IME_ESC_HANJA_MODE                   equ 1008h
IME_REGWORD_STYLE_EUDC               equ 1h
IME_REGWORD_STYLE_USER_FIRST         equ 80000000h
IME_REGWORD_STYLE_USER_LAST          equ 0FFFFh
SOFTKEYBOARD_TYPE_T1                 equ 1h
SOFTKEYBOARD_TYPE_C1                 equ 2h
DIALOPTION_BILLING                   equ 40h
DIALOPTION_QUIET                     equ 80h
DIALOPTION_DIALTONE                  equ 100h
MDMVOLFLAG_LOW                       equ 1h
MDMVOLFLAG_MEDIUM                    equ 2h
MDMVOLFLAG_HIGH                      equ 4h
MDMVOL_LOW                           equ 0h
MDMVOL_MEDIUM                        equ 1h
MDMVOL_HIGH                          equ 2h
MDMSPKRFLAG_OFF                      equ 1h
MDMSPKRFLAG_DIAL                     equ 2h
MDMSPKRFLAG_ON                       equ 4h
MDMSPKRFLAG_CALLSETUP                equ 8h
MDMSPKR_OFF                          equ 0h
MDMSPKR_DIAL                         equ 1h
MDMSPKR_ON                           equ 2h
MDMSPKR_CALLSETUP                    equ 3h
MDM_COMPRESSION                      equ 1h
MDM_ERROR_CONTROL                    equ 2h
MDM_FORCED_EC                        equ 4h
MDM_CELLULAR                         equ 8h
MDM_FLOWCONTROL_HARD                 equ 10h
MDM_FLOWCONTROL_SOFT                 equ 20h
MDM_CCITT_OVERRIDE                   equ 40h
MDM_SPEED_ADJUST                     equ 80h
MDM_TONE_DIAL                        equ 100h
MDM_BLIND_DIAL                       equ 200h
MDM_V23_OVERRIDE                     equ 400h
ABM_NEW                              equ 0h
ABM_REMOVE                           equ 1h
ABM_QUERYPOS                         equ 2h
ABM_SETPOS                           equ 3h
ABM_GETSTATE                         equ 4h
ABM_GETTASKBARPOS                    equ 5h
ABM_ACTIVATE                         equ 6h
ABM_GETAUTOHIDEBAR                   equ 7h
ABM_SETAUTOHIDEBAR                   equ 8h
ABM_WINDOWPOSCHANGED                 equ 9h
ABN_STATECHANGE                      equ 0h
ABN_POSCHANGED                       equ 1h
ABN_FULLSCREENAPP                    equ 2h
ABN_WINDOWARRANGE                    equ 3h
ABS_AUTOHIDE                         equ 1h
ABS_ALWAYSONTOP                      equ 2h
ABE_LEFT                             equ 0
ABE_TOP                              equ 1
ABE_RIGHT                            equ 2
ABE_BOTTOM                           equ 3
EIRESID                              equ -1
FO_MOVE                              equ 1h
FO_COPY                              equ 2h
FO_DELETE                            equ 3h
FO_RENAME                            equ 4h
FOF_MULTIDESTFILES                   equ 1h
FOF_CONFIRMMOUSE                     equ 2h
FOF_SILENT                           equ 4h
FOF_RENAMEONCOLLISION                equ 8h
FOF_NOCONFIRMATION                   equ 10h
FOF_WANTMAPPINGHANDLE                equ 20h
FOF_ALLOWUNDO                        equ 40h
FOF_FILESONLY                        equ 80h
FOF_SIMPLEPROGRESS                   equ 100h
FOF_NOCONFIRMMKDIR                   equ 200h
PO_DELETE                            equ 13h
PO_RENAME                            equ 14h
PO_PORTCHANGE                        equ 20h
PO_REN_PORT                          equ 34h
SE_ERR_FNF                           equ 2
SE_ERR_PNF                           equ 3
SE_ERR_ACCESSDENIED                  equ 5
SE_ERR_OOM                           equ 8
SE_ERR_DLLNOTFOUND                   equ 32
SEE_MASK_CLASSNAME                   equ 1h
SEE_MASK_CLASSKEY                    equ 3h
SEE_MASK_IDLIST                      equ 4h
SEE_MASK_INVOKEIDLIST                equ 0Ch
SEE_MASK_ICON                        equ 10h
SEE_MASK_HOTKEY                      equ 20h
SEE_MASK_NOCLOSEPROCESS              equ 40h
SEE_MASK_CONNECTNETDRV               equ 80h
SEE_MASK_FLAG_DDEWAIT                equ 100h
SEE_MASK_DOENVSUBST                  equ 200h
SEE_MASK_FLAG_NO_UI                  equ 400h
NIM_ADD                              equ 0h
NIM_MODIFY                           equ 1h
NIM_DELETE                           equ 2h
NIF_MESSAGE                          equ 1h
NIF_ICON                             equ 2h
NIF_TIP                              equ 4h
SHGFI_ICON                           equ 100h
SHGFI_DISPLAYNAME                    equ 200h
SHGFI_TYPENAME                       equ 400h
SHGFI_ATTRIBUTES                     equ 800h
SHGFI_ICONLOCATION                   equ 1000h
SHGFI_EXETYPE                        equ 2000h
SHGFI_SYSICONINDEX                   equ 4000h
SHGFI_LINKOVERLAY                    equ 8000h
SHGFI_SELECTED                       equ 10000h
SHGFI_LARGEICON                      equ 0h
SHGFI_SMALLICON                      equ 1h
SHGFI_OPENICON                       equ 2h
SHGFI_SHELLICONSIZE                  equ 4h
SHGFI_PIDL                           equ 8h
SHGFI_USEFILEATTRIBUTES              equ 10h
SHGNLI_PIDL                          equ 1h
SHGNLI_PREFIXNAME                    equ 2h
VS_VERSION_INFO                      equ 1
VS_USER_DEFINED                      equ 100
VS_FFI_SIGNATURE                     equ 0FEEF04BDh
VS_FFI_STRUCVERSION                  equ 10000h
VS_FFI_FILEFLAGSMASK                 equ 3Fh
VS_FF_DEBUG                          equ 1h
VS_FF_PRERELEASE                     equ 2h
VS_FF_PATCHED                        equ 4h
VS_FF_PRIVATEBUILD                   equ 8h
VS_FF_INFOINFERRED                   equ 10h
VS_FF_SPECIALBUILD                   equ 20h
VOS_UNKNOWN                          equ 0h
VOS_DOS                              equ 10000h
VOS_OS216                            equ 20000h
VOS_OS232                            equ 30000h
VOS_NT                               equ 40000h
VOS__BASE                            equ 0h
VOS__WINDOWS16                       equ 1h
VOS__PM16                            equ 2h
VOS__PM32                            equ 3h
VOS__WINDOWS32                       equ 4h
VOS_DOS_WINDOWS16                    equ 10001h
VOS_DOS_WINDOWS32                    equ 10004h
VOS_OS216_PM16                       equ 20002h
VOS_OS232_PM32                       equ 30003h
VOS_NT_WINDOWS32                     equ 40004h
VFT_UNKNOWN                          equ 0h
VFT_APP                              equ 1h
VFT_DLL                              equ 2h
VFT_DRV                              equ 3h
VFT_FONT                             equ 4h
VFT_VXD                              equ 5h
VFT_STATIC_LIB                       equ 7h
VFT2_UNKNOWN                         equ 0h
VFT2_DRV_PRINTER                     equ 1h
VFT2_DRV_KEYBOARD                    equ 2h
VFT2_DRV_LANGUAGE                    equ 3h
VFT2_DRV_DISPLAY                     equ 4h
VFT2_DRV_MOUSE                       equ 5h
VFT2_DRV_NETWORK                     equ 6h
VFT2_DRV_SYSTEM                      equ 7h
VFT2_DRV_INSTALLABLE                 equ 8h
VFT2_DRV_SOUND                       equ 9h
VFT2_DRV_COMM                        equ 0Ah
VFT2_DRV_INPUTMETHOD                 equ 0Bh
VFT2_FONT_RASTER                     equ 1h
VFT2_FONT_VECTOR                     equ 2h
VFT2_FONT_TRUETYPE                   equ 3h
VFFF_ISSHAREDFILE                    equ 1h
VFF_CURNEDEST                        equ 1h
VFF_FILEINUSE                        equ 2h
VFF_BUFFTOOSMALL                     equ 4h
VIFF_FORCEINSTALL                    equ 1h
VIFF_DONTDELETEOLD                   equ 2h
VIF_TEMPFILE                         equ 1h
VIF_MISMATCH                         equ 2h
VIF_SRCOLD                           equ 4h
VIF_DIFFLANG                         equ 8h
VIF_DIFFCODEPG                       equ 10h
VIF_DIFFTYPE                         equ 20h
VIF_WRITEPROT                        equ 40h
VIF_FILEINUSE                        equ 80h
VIF_OUTOFSPACE                       equ 100h
VIF_ACCESSVIOLATION                  equ 200h
VIF_SHARINGVIOLATION                 equ 400h
VIF_CANNOTCREATE                     equ 800h
VIF_CANNOTDELETE                     equ 1000h
VIF_CANNOTRENAME                     equ 2000h
VIF_CANNOTDELETECUR                  equ 4000h
VIF_OUTOFMEMORY                      equ 8000h
VIF_CANNOTREADSRC                    equ 10000h
VIF_CANNOTREADDST                    equ 20000h
VIF_BUFFTOOSMALL                     equ 40000h
PROCESS_HEAP_REGION                  equ 1h
PROCESS_HEAP_UNCOMMITTED_RANGE       equ 2h
PROCESS_HEAP_ENTRY_BUSY              equ 4h
PROCESS_HEAP_ENTRY_MOVEABLE          equ 10h
PROCESS_HEAP_ENTRY_DDESHARE          equ 20h
SCS_32BIT_BINARY                     equ 0
SCS_DOS_BINARY                       equ 1
SCS_WOW_BINARY                       equ 2
SCS_PIF_BINARY                       equ 3
SCS_POSIX_BINARY                     equ 4
SCS_OS216_BINARY                     equ 5
LOGON32_LOGON_INTERACTIVE            equ 2
LOGON32_LOGON_BATCH                  equ 4
LOGON32_LOGON_SERVICE                equ 5
LOGON32_PROVIDER_DEFAULT             equ 0
LOGON32_PROVIDER_WINNT35             equ 1
VER_PLATFORM_WIN32s                  equ 0
VER_PLATFORM_WIN32_WINDOWS           equ 1
VER_PLATFORM_WIN32_NT                equ 2
AC_LINE_OFFLINE                      equ 0h
AC_LINE_ONLINE                       equ 1h
AC_LINE_BACKUP_POWER                 equ 2h
AC_LINE_UNKNOWN                      equ 0FFh
BATTERY_FLAG_HIGH                    equ 1h
BATTERY_FLAG_LOW                     equ 2h
BATTERY_FLAG_CRITICAL                equ 4h
BATTERY_FLAG_CHARGING                equ 8h
BATTERY_FLAG_NO_BATTERY              equ 80h
BATTERY_FLAG_UNKNOWN                 equ 0FFh
BATTERY_PERCENTAGE_UNKNOWN           equ 0FFh
BATTERY_LIFE_UNKNOWN                 equ 0FFFFh
CDM_FIRST                            equ WM_USER + 100
CDM_LAST                             equ WM_USER + 200
CDM_GETSPEC                          equ CDM_FIRST + 0h
CDM_GETFILEPATH                      equ CDM_FIRST + 1h
CDM_GETFOLDERPATH                    equ CDM_FIRST + 2h
CDM_GETFOLDERIDLIST                  equ CDM_FIRST + 3h
CDM_SETCONTROLTEXT                   equ CDM_FIRST + 4h
CDM_HIDECONTROL                      equ CDM_FIRST + 5h
CDM_SETDEFEXT                        equ CDM_FIRST + 6h
SIMULATED_FONTTYPE                   equ 8000h
PRINTER_FONTTYPE                     equ 4000h
SCREEN_FONTTYPE                      equ 2000h
BOLD_FONTTYPE                        equ 100h
ITALIC_FONTTYPE                      equ 200h
REGULAR_FONTTYPE                     equ 400h
WM_PSD_PAGESETUPDLG                  equ WM_USER
WM_PSD_FULLPAGERECT                  equ WM_USER + 1
WM_PSD_MINMARGINRECT                 equ WM_USER + 2
WM_PSD_MARGINRECT                    equ WM_USER + 3
WM_PSD_GREEKTEXTRECT                 equ WM_USER + 4
WM_PSD_ENVSTAMPRECT                  equ WM_USER + 5
WM_PSD_YAFULLPAGERECT                equ WM_USER + 6
PSD_DEFAULTMINMARGINS                equ 0h
PSD_INWININIINTLMEASURE              equ 0h
PSD_MINMARGINS                       equ 1h
PSD_MARGINS                          equ 2h
PSD_INTHOUSANDTHSOFINCHES            equ 4h
PSD_INHUNDREDTHSOFMILLIMETERS        equ 8h
PSD_DISABLEMARGINS                   equ 10h
PSD_DISABLEPRINTER                   equ 20h
PSD_NOWARNING                        equ 80h
PSD_DISABLEORIENTATION               equ 100h
PSD_RETURNDEFAULT                    equ 400h
PSD_DISABLEPAPER                     equ 200h
PSD_SHOWHELP                         equ 800h
PSD_ENABLEPAGESETUPHOOK              equ 2000h
PSD_ENABLEPAGESETUPTEMPLATE          equ 8000h
PSD_ENABLEPAGESETUPTEMPLATEHANDLE    equ 20000h
PSD_ENABLEPAGEPAINTHOOK              equ 40000h
PSD_DISABLEPAGEPAINTING              equ 80000h
NM_FIRST                             equ 0-  0
NM_LAST                              equ 0-99
DBG_CONTINUE                         equ 00010002h
DBG_TERMINATE_THREAD                 equ 40010003h
DBG_TERMINATE_PROCESS                equ 40010004h
DBG_CONTROL_C                        equ 40010005h
DBG_CONTROL_BREAK                    equ 40010008h
DBG_EXCEPTION_NOT_HANDLED            equ 80010001h
SIZE_OF_80387_REGISTERS   equ 80
STATUS_WAIT_0             equ 00000000h
STATUS_ABANDONED_WAIT_0   equ 00000080h
STATUS_USER_APC           equ 000000C0h
STATUS_TIMEOUT            equ 00000102h
STATUS_PENDING            equ 00000103h
STATUS_DATATYPE_MISALIGNMENT              equ 80000002h
STATUS_BREAKPOINT         equ 80000003h
STATUS_SINGLE_STEP        equ 80000004h
STATUS_ACCESS_VIOLATION   equ 0C0000005h
STATUS_IN_PAGE_ERROR      equ 0C0000006h
STATUS_NO_MEMORY          equ 0C0000017h
STATUS_ILLEGAL_INSTRUCTION                equ 0C000001Dh
STATUS_NONCONTINUABLE_EXCEPTION           equ 0C0000025h
STATUS_INVALID_DISPOSITION                equ 0C0000026h
STATUS_ARRAY_BOUNDS_EXCEEDED              equ 0C000008Ch
STATUS_FLOAT_DENORMAL_OPERAND             equ 0C000008Dh
STATUS_FLOAT_DIVIDE_BY_ZERO               equ 0C000008Eh
STATUS_FLOAT_INEXACT_RESULT               equ 0C000008Fh
STATUS_FLOAT_INVALID_OPERATION            equ 0C0000090h
STATUS_FLOAT_OVERFLOW     equ 0C0000091h
STATUS_FLOAT_STACK_CHECK  equ 0C0000092h
STATUS_FLOAT_UNDERFLOW    equ 0C0000093h
STATUS_INTEGER_DIVIDE_BY_ZERO             equ 0C0000094h
STATUS_INTEGER_OVERFLOW   equ 0C0000095h
STATUS_PRIVILEGED_INSTRUCTION             equ 0C0000096h
STATUS_STACK_OVERFLOW     equ 0C00000FDh
STATUS_CONTROL_C_EXIT     equ 0C000013Ah
WAIT_FAILED               equ -1
WAIT_OBJECT_0             equ STATUS_WAIT_0
WAIT_ABANDONED            equ STATUS_ABANDONED_WAIT_0
WAIT_ABANDONED_0          equ STATUS_ABANDONED_WAIT_0
WAIT_TIMEOUT              equ STATUS_TIMEOUT
WAIT_IO_COMPLETION        equ STATUS_USER_APC
STILL_ACTIVE              equ STATUS_PENDING

EXCEPTION_CONTINUABLE     equ 0
EXCEPTION_NONCONTINUABLE  equ 1h
EXCEPTION_ACCESS_VIOLATION                equ STATUS_ACCESS_VIOLATION
EXCEPTION_DATATYPE_MISALIGNMENT           equ STATUS_DATATYPE_MISALIGNMENT
EXCEPTION_BREAKPOINT      equ STATUS_BREAKPOINT
EXCEPTION_SINGLE_STEP     equ STATUS_SINGLE_STEP
EXCEPTION_ARRAY_BOUNDS_EXCEEDED           equ STATUS_ARRAY_BOUNDS_EXCEEDED
EXCEPTION_FLT_DENORMAL_OPERAND            equ STATUS_FLOAT_DENORMAL_OPERAND
EXCEPTION_FLT_DIVIDE_BY_ZERO              equ STATUS_FLOAT_DIVIDE_BY_ZERO
EXCEPTION_FLT_INEXACT_RESULT              equ STATUS_FLOAT_INEXACT_RESULT
EXCEPTION_FLT_INVALID_OPERATION           equ STATUS_FLOAT_INVALID_OPERATION
EXCEPTION_FLT_OVERFLOW    equ STATUS_FLOAT_OVERFLOW
EXCEPTION_FLT_STACK_CHECK equ STATUS_FLOAT_STACK_CHECK
EXCEPTION_FLT_UNDERFLOW   equ STATUS_FLOAT_UNDERFLOW
EXCEPTION_INT_DIVIDE_BY_ZERO              equ STATUS_INTEGER_DIVIDE_BY_ZERO
EXCEPTION_INT_OVERFLOW    equ STATUS_INTEGER_OVERFLOW
EXCEPTION_ILLEGAL_INSTRUCTION     equ  STATUS_ILLEGAL_INSTRUCTION
EXCEPTION_PRIV_INSTRUCTION                equ STATUS_PRIVILEGED_INSTRUCTION
EXCEPTION_IN_PAGE_ERROR   equ STATUS_IN_PAGE_ERROR
CONTEXT_i386              equ 00010000h
CONTEXT_i486              equ 00010000h
PAGE_NOACCESS             equ 1
PAGE_READONLY             equ 2
PAGE_READWRITE            equ 4
PAGE_WRITECOPY            equ 8
PAGE_EXECUTE              equ 10h
PAGE_EXECUTE_READ         equ 20h
PAGE_EXECUTE_READWRITE    equ 40h
PAGE_EXECUTE_WRITECOPY    equ 80h
PAGE_GUARD                equ 100h
PAGE_NOCACHE              equ 200h
MEM_COMMIT                equ 1000h
MEM_RESERVE               equ 2000h
MEM_DECOMMIT              equ 4000h
MEM_RELEASE               equ 8000h
MEM_FREE                  equ 10000h
MEM_PRIVATE               equ 20000h
MEM_MAPPED                equ 40000h
MEM_RESET                 equ 80000h     
MEM_TOP_DOWN              equ 100000h
SEC_FILE                  equ 800000h
SEC_IMAGE                 equ 1000000h
SEC_RESERVE               equ 4000000h
SEC_COMMIT                equ 8000000h
SEC_NOCACHE               equ 10000000h
MEM_IMAGE                 equ   <SEC_IMAGE>

IMAGE_DIRECTORY_ENTRY_EXPORT                equ  0
IMAGE_DIRECTORY_ENTRY_IMPORT                equ  1
IMAGE_DIRECTORY_ENTRY_RESOURCE              equ  2
IMAGE_DIRECTORY_ENTRY_EXCEPTION             equ  3
IMAGE_DIRECTORY_ENTRY_SECURITY              equ  4
IMAGE_DIRECTORY_ENTRY_BASERELOC             equ  5
IMAGE_DIRECTORY_ENTRY_DEBUG equ  6
IMAGE_DIRECTORY_ENTRY_COPYRIGHT             equ  7
IMAGE_DIRECTORY_ENTRY_GLOBALPTR             equ  8
IMAGE_DIRECTORY_ENTRY_TLS   equ  9
IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG           equ 10
IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT          equ 11
IMAGE_DIRECTORY_ENTRY_IAT   equ 12
IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT   		equ 13		;Delay Load Import Descriptors
IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR		equ 14		;COM Runtime descriptor
IMAGE_NUMBEROF_DIRECTORY_ENTRIES            equ 16
IMAGE_BITMAP                equ 0
IMAGE_ICON                  equ 1
IMAGE_CURSOR                equ 2
IMAGE_ENHMETAFILE           equ 3
PROCESSOR_INTEL_386         equ 386
PROCESSOR_INTEL_486         equ 486
PROCESSOR_INTEL_PENTIUM     equ 586
PROCESSOR_MIPS_R4000        equ 4000
PROCESSOR_ALPHA_21064       equ 21064

FXPT2DOT30      equ  <DWORD>
MMVERSION       equ  <DWORD>
SECURITY_CONTEXT_TRACKING_MODE  equ  <BOOLEAN>
MAX_JOYSTICKOEMVXDNAME equ 260
FOURCC          equ  <DWORD>

LOAD_LIBRARY_AS_DATAFILE        equ 2
LOAD_WITH_ALTERED_SEARCH_PATH   equ 8

EVENT_MODIFY_STATE      equ 2

LMA_ALPHA    equ 2
LMA_COLORKEY equ 1

;;;; win64st

; ************************* win64 structures ******************************
POINT STRUCT
  x  DWORD ?
  y  DWORD ?
POINT ENDS
MSG STRUCT STRUCT_ALIGN
	hwnd		HWND ?
	message		DWORD ?
	wParam		WPARAM ?
	lParam		LPARAM ?
	time		DWORD ?
	pt			POINT<>
MSG ENDS
WNDCLASSEX STRUCT
  cbSize            DWORD ?
  style             DWORD ?
  lpfnWndProc       PVOID ?
  cbClsExtra        DWORD ?
  cbWndExtra        DWORD ?
  hInstance         HINSTANCE ?
  hIcon             HICON ?
  hCursor           HCURSOR ?
  hbrBackground     HBRUSH ?
  lpszMenuName      LPSTR ?
  lpszClassName     LPSTR ?
  hIconSm           HICON ?
WNDCLASSEX ENDS
PWNDCLASSEX	TYPEDEF	PTR WNDCLASSEX
RECT STRUC
	left	LONG ?
	top		LONG ?
	right	LONG ?
	bottom	LONG ?
RECT ENDS
PRECT TYPEDEF PTR RECT
PAINTSTRUCT STRUC
	hdc			HDC ?
	fErase		BOOL ?
				DWORD ?
	rcPaint		RECT{}
	fRestore	BOOL ?
	fIncUpdate	BOOL ?
	rgbReserved	BYTE 32 dup(?)
PAINTSTRUCT ENDS
PPAINTSTRUCT	TYPEDEF PTR PAINTSTRUCT
IMAGE_DATA_DIRECTORY STRUCT
  VirtualAddress    DWORD      ?
  isize             DWORD      ?
IMAGE_DATA_DIRECTORY ENDS

IMAGE_OPTIONAL_HEADER64 STRUCT
  Magic                         WORD       ?
  MajorLinkerVersion            BYTE       ?
  MinorLinkerVersion            BYTE       ?
  SizeOfCode                    DWORD      ?
  SizeOfInitializedData         DWORD      ?
  SizeOfUninitializedData       DWORD      ?
  AddressOfEntryPoint           DWORD      ?
  BaseOfCode                    DWORD      ?
  ImageBase                     QWORD      ?
  SectionAlignment              DWORD      ?
  FileAlignment                 DWORD      ?
  MajorOperatingSystemVersion   WORD       ?
  MinorOperatingSystemVersion   WORD       ?
  MajorImageVersion             WORD       ?
  MinorImageVersion             WORD       ?
  MajorSubsystemVersion         WORD       ?
  MinorSubsystemVersion         WORD       ?
  Win32VersionValue             DWORD      ?
  SizeOfImage                   DWORD      ?
  SizeOfHeaders                 DWORD      ?
  CheckSum                      DWORD      ?
  Subsystem                     WORD       ?
  DllCharacteristics            WORD       ?
  SizeOfStackReserve            QWORD      ?
  SizeOfStackCommit             QWORD      ?
  SizeOfHeapReserve             QWORD      ?
  SizeOfHeapCommit              QWORD      ?
  LoaderFlags                   DWORD      ?
  NumberOfRvaAndSizes           DWORD      ?
  DataDirectory                 IMAGE_DATA_DIRECTORY IMAGE_NUMBEROF_DIRECTORY_ENTRIES dup(<>)
IMAGE_OPTIONAL_HEADER64 ENDS

IMAGE_OPTIONAL_HEADER  typedef  IMAGE_OPTIONAL_HEADER64

IMAGE_FILE_HEADER STRUCT
  Machine               WORD    ?
  NumberOfSections      WORD    ?
  TimeDateStamp         DWORD   ?
  PointerToSymbolTable  DWORD   ?
  NumberOfSymbols       DWORD   ?
  SizeOfOptionalHeader  WORD    ?
  Characteristics       WORD    ?
IMAGE_FILE_HEADER ENDS

IMAGE_NT_HEADERS STRUCT
  Signature         DWORD                   ?
  FileHeader        IMAGE_FILE_HEADER       <>
  OptionalHeader    IMAGE_OPTIONAL_HEADER64 <>
IMAGE_NT_HEADERS ENDS
IMAGE_OPTIONAL_HEADER32 STRUCT
  Magic                         WORD       ?
  MajorLinkerVersion            BYTE       ?
  MinorLinkerVersion            BYTE       ?
  SizeOfCode                    DWORD      ?
  SizeOfInitializedData         DWORD      ?
  SizeOfUninitializedData       DWORD      ?
  AddressOfEntryPoint           DWORD      ?
  BaseOfCode                    DWORD      ?
  BaseOfData                    DWORD      ?
  ImageBase                     DWORD      ?
  SectionAlignment              DWORD      ?
  FileAlignment                 DWORD      ?
  MajorOperatingSystemVersion   WORD       ?
  MinorOperatingSystemVersion   WORD       ?
  MajorImageVersion             WORD       ?
  MinorImageVersion             WORD       ?
  MajorSubsystemVersion         WORD       ?
  MinorSubsystemVersion         WORD       ?
  Win32VersionValue             DWORD      ?
  SizeOfImage                   DWORD      ?
  SizeOfHeaders                 DWORD      ?
  CheckSum                      DWORD      ?
  Subsystem                     WORD       ?
  DllCharacteristics            WORD       ?
  SizeOfStackReserve            DWORD      ?
  SizeOfStackCommit             DWORD      ?
  SizeOfHeapReserve             DWORD      ?
  SizeOfHeapCommit              DWORD      ?
  LoaderFlags                   DWORD      ?
  NumberOfRvaAndSizes           DWORD      ?
  DataDirectory                 IMAGE_DATA_DIRECTORY IMAGE_NUMBEROF_DIRECTORY_ENTRIES dup(<>)
IMAGE_OPTIONAL_HEADER32 ENDS
IMAGE_NT_HEADERS32 STRUCT
  Signature         DWORD                   ?
  FileHeader        IMAGE_FILE_HEADER       <>
  OptionalHeader    IMAGE_OPTIONAL_HEADER32 <>
IMAGE_NT_HEADERS32 ENDS
IMAGE_SIZEOF_SHORT_NAME equ 8
IMAGE_SECTION_HEADER STRUCT
    Name1 db IMAGE_SIZEOF_SHORT_NAME dup(?)
    union Misc
        PhysicalAddress dd  ?
        VirtualSize dd      ?
    ends
    VirtualAddress dd       ?
    SizeOfRawData dd        ?
    PointerToRawData dd     ?
    PointerToRelocations dd ?
    PointerToLinenumbers dd ?
    NumberOfRelocations dw  ?
    NumberOfLinenumbers dw  ?
    Characteristics dd      ?
IMAGE_SECTION_HEADER ENDS
IMAGE_EXPORT_DIRECTORY STRUCT
  Characteristics           DWORD      ?
  TimeDateStamp             DWORD      ?
  MajorVersion              WORD       ?
  MinorVersion              WORD       ?
  nName                     DWORD      ?
  nBase                     DWORD      ?
  NumberOfFunctions         DWORD      ?
  NumberOfNames             DWORD      ?
  AddressOfFunctions        DWORD      ?
  AddressOfNames            DWORD      ?
  AddressOfNameOrdinals     DWORD      ?
IMAGE_EXPORT_DIRECTORY ENDS

IMAGE_DOS_HEADER STRUCT
  e_magic           WORD      ?
  e_cblp            WORD      ?
  e_cp              WORD      ?
  e_crlc            WORD      ?
  e_cparhdr         WORD      ?
  e_minalloc        WORD      ?
  e_maxalloc        WORD      ?
  e_ss              WORD      ?
  e_sp              WORD      ?
  e_csum            WORD      ?
  e_ip              WORD      ?
  e_cs              WORD      ?
  e_lfarlc          WORD      ?
  e_ovno            WORD      ?
  e_res             WORD   4 dup(?)
  e_oemid           WORD      ?
  e_oeminfo         WORD      ?
  e_res2            WORD  10 dup(?)
  e_lfanew          DWORD      ?
IMAGE_DOS_HEADER ENDS

FILETIME STRUCT
  dwLowDateTime     DWORD     ?
  dwHighDateTime    DWORD     ?
FILETIME ENDS

WIN32_FIND_DATA STRUCT
	dwFileAttributes	DWORD ?
	ftCreationTime		FILETIME<>
	ftLastAccessTime	FILETIME<>
	ftLastWriteTime		FILETIME<>
	nFileSizeHigh		DWORD ?
	nFileSizeLow		DWORD ?
	dwReserved0			DWORD ? 
	dwReserved1			DWORD ?
	cFileName			BYTE MAX_PATH dup(?)
	cAlternate			BYTE 14 dup(?)
WIN32_FIND_DATA ENDS
PWIN32_FIND_DATA TYPEDEF PTR WIN32_FIND_DATA
LPWIN32_FIND_DATA TYPEDEF PTR WIN32_FIND_DATA
PUCHAR TYPEDEF PTR BYTE
WSABUF STRUC
    b_long	QWORD ?
	buf		PVOID ?
WSABUF ENDS

ST_DEFAULT           equ    0
ST_KEEPUNDO          equ    1
ST_SELECTION         equ    2

; ----------------------
; edit control messages
; ----------------------
EM_GETSEL                            equ 0B0h
EM_SETSEL                            equ 0B1h
EM_GETRECT                           equ 0B2h
EM_SETRECT                           equ 0B3h
EM_SETRECTNP                         equ 0B4h
EM_SCROLL                            equ 0B5h
EM_LINESCROLL                        equ 0B6h
EM_SCROLLCARET                       equ 0B7h
EM_GETMODIFY                         equ 0B8h
EM_SETMODIFY                         equ 0B9h
EM_GETLINECOUNT                      equ 0BAh
EM_LINEINDEX                         equ 0BBh
EM_SETHANDLE                         equ 0BCh
EM_GETHANDLE                         equ 0BDh
EM_GETTHUMB                          equ 0BEh
EM_LINELENGTH                        equ 0C1h
EM_REPLACESEL                        equ 0C2h
EM_GETLINE                           equ 0C4h
EM_LIMITTEXT                         equ 0C5h
EM_CANUNDO                           equ 0C6h
EM_UNDO                              equ 0C7h
EM_FMTLINES                          equ 0C8h
EM_LINEFROMCHAR                      equ 0C9h
EM_SETTABSTOPS                       equ 0CBh
EM_SETPASSWORDCHAR                   equ 0CCh
EM_EMPTYUNDOBUFFER                   equ 0CDh
EM_GETFIRSTVISIBLELINE               equ 0CEh
EM_SETREADONLY                       equ 0CFh
EM_SETWORDBREAKPROC                  equ 0D0h
EM_GETWORDBREAKPROC                  equ 0D1h
EM_GETPASSWORDCHAR                   equ 0D2h
EM_SETMARGINS                        equ 0D3h
EM_GETMARGINS                        equ 0D4h
EM_SETLIMITTEXT                      equ EM_LIMITTEXT
EM_GETLIMITTEXT                      equ 0D5h
EM_POSFROMCHAR                       equ 0D6h
EM_CHARFROMPOS                       equ 0D7h
EM_SETIMESTATUS                      equ 0D8h
EM_GETIMESTATUS                      equ 0D9h

; -------------------------- riched equates -------------------------------

cchTextLimitDefault         equ 32767

EM_CANPASTE                 equ WM_USER + 50
EM_DISPLAYBAND              equ WM_USER + 51
EM_EXGETSEL                 equ WM_USER + 52
EM_EXLIMITTEXT              equ WM_USER + 53
EM_EXLINEFROMCHAR           equ WM_USER + 54
EM_EXSETSEL                 equ WM_USER + 55
EM_FINDTEXT                 equ WM_USER + 56
EM_FORMATRANGE              equ WM_USER + 57
EM_GETCHARFORMAT            equ WM_USER + 58
EM_GETEVENTMASK             equ WM_USER + 59
EM_GETOLEINTERFACE          equ WM_USER + 60
EM_GETPARAFORMAT            equ WM_USER + 61
EM_GETSELTEXT               equ WM_USER + 62
EM_HIDESELECTION            equ WM_USER + 63
EM_PASTESPECIAL             equ WM_USER + 64
EM_REQUESTRESIZE            equ WM_USER + 65
EM_SELECTIONTYPE            equ WM_USER + 66
EM_SETBKGNDCOLOR            equ WM_USER + 67
EM_SETCHARFORMAT            equ WM_USER + 68
EM_SETEVENTMASK             equ WM_USER + 69
EM_SETOLECALLBACK           equ WM_USER + 70
EM_SETPARAFORMAT            equ WM_USER + 71
EM_SETTARGETDEVICE          equ WM_USER + 72
EM_STREAMIN                 equ WM_USER + 73
EM_STREAMOUT                equ WM_USER + 74
EM_GETTEXTRANGE             equ WM_USER + 75
EM_FINDWORDBREAK            equ WM_USER + 76
EM_SETOPTIONS               equ WM_USER + 77
EM_GETOPTIONS               equ WM_USER + 78
EM_FINDTEXTEX               equ WM_USER + 79
EM_GETWORDBREAKPROCEX       equ WM_USER + 80
EM_SETWORDBREAKPROCEX       equ WM_USER + 81
EM_SETUNDOLIMIT             equ WM_USER + 82
EM_REDO                     equ WM_USER + 84
EM_CANREDO                  equ WM_USER + 85
EM_GETUNDONAME              equ WM_USER + 86
EM_GETREDONAME              equ WM_USER + 87
EM_STOPGROUPTYPING          equ WM_USER + 88
EM_SETTEXTMODE              equ WM_USER + 89
EM_GETTEXTMODE              equ WM_USER + 90
EM_AUTOURLDETECT            equ WM_USER + 91
EM_GETAUTOURLDETECT         equ WM_USER + 92
EM_SETPALETTE               equ WM_USER + 93
EM_GETTEXTEX                equ WM_USER + 94
EM_GETTEXTLENGTHEX          equ WM_USER + 95
EM_SHOWSCROLLBAR            equ WM_USER + 96

EM_SETPUNCTUATION           equ WM_USER + 100
EM_GETPUNCTUATION           equ WM_USER + 101
EM_SETWORDWRAPMODE          equ WM_USER + 102
EM_GETWORDWRAPMODE          equ WM_USER + 103
EM_SETIMECOLOR              equ WM_USER + 104
EM_GETIMECOLOR              equ WM_USER + 105
EM_SETIMEOPTIONS            equ WM_USER + 106
EM_GETIMEOPTIONS            equ WM_USER + 107
EM_CONVPOSITION             equ WM_USER + 108
EM_SETLANGOPTIONS           equ WM_USER + 120
EM_GETLANGOPTIONS           equ WM_USER + 121
EM_GETIMECOMPMODE           equ WM_USER + 122
EM_FINDTEXTW                equ WM_USER + 123
EM_FINDTEXTEXW              equ WM_USER + 124
EM_RECONVERSION             equ WM_USER + 125
EM_SETIMEMODEBIAS           equ WM_USER + 126  
EM_GETIMEMODEBIAS           equ WM_USER + 127
EM_SETBIDIOPTIONS           equ WM_USER + 200
EM_GETBIDIOPTIONS           equ WM_USER + 201
EM_SETTYPOGRAPHYOPTIONS     equ WM_USER + 202
EM_GETTYPOGRAPHYOPTIONS     equ WM_USER + 203
EM_SETEDITSTYLE             equ WM_USER + 204
EM_GETEDITSTYLE             equ WM_USER + 205

EM_OUTLINE                  equ WM_USER + 220
EM_GETSCROLLPOS             equ WM_USER + 221
EM_SETSCROLLPOS             equ WM_USER + 222
EM_SETFONTSIZE              equ WM_USER + 223
EM_GETZOOM                  equ WM_USER + 224
EM_SETZOOM                  equ WM_USER + 225

EM_SETTEXTEX                equ WM_USER + 97

; ----------------------
; notification messages
; ----------------------
EN_SETFOCUS                 equ 100h
EN_KILLFOCUS                equ 200h
EN_CHANGE                   equ 300h
EN_UPDATE                   equ 400h
EN_ERRSPACE                 equ 500h
EN_MAXTEXT                  equ 501h
EN_HSCROLL                  equ 601h
EN_VSCROLL                  equ 602h

EN_MSGFILTER                equ 0700h
EN_REQUESTRESIZE            equ 0701h
EN_SELCHANGE                equ 0702h
EN_DROPFILES                equ 0703h
EN_PROTECTED                equ 0704h
EN_CORRECTTEXT              equ 0705h
EN_STOPNOUNDO               equ 0706h
EN_IMECHANGE                equ 0707h
EN_SAVECLIPBOARD            equ 0708h
EN_OLEOPFAILED              equ 0709h

; ***************** additional equates from server 2003 *******************

SES_NOIME                        equ 128
SES_UPPERCASE                    equ 512
SES_LOWERCASE                    equ 1024
SES_NOINPUTSEQUENCECHK           equ 2048
SES_BIDI                         equ 4096
SES_SCROLLONKILLFOCUS            equ 8192
SES_XLTCRCRLFTOCR                equ 16384
SES_DRAFTMODE                    equ 32768
SES_USECTF                       equ 0010000h
SES_HIDEGRIDLINES                equ 0020000h
SES_USEATFONT                    equ 0040000h
SES_CUSTOMLOOK                   equ 0080000h
SES_LBSCROLLNOTIFY               equ 0100000h
SES_CTFALLOWEMBED                equ 0200000h
SES_CTFALLOWSMARTTAG             equ 0400000h
SES_CTFALLOWPROOFING             equ 0800000h
IMF_AUTOKEYBOARD                 equ 0001h
IMF_AUTOFONT                     equ 0002h
IMF_IMECANCELCOMPLETE            equ 0004h
IMF_IMEALWAYSSENDNOTIFY          equ 0008h
IMF_AUTOFONTSIZEADJUST           equ 0010h
IMF_UIFONTS                      equ 0020h
IMF_DUALFONT                     equ 0080h
ICM_NOTOPEN                      equ 0000h
ICM_LEVEL3                       equ 0001h
ICM_LEVEL2                       equ 0002h
ICM_LEVEL2_5                     equ 0003h
ICM_LEVEL2_SUI                   equ 0004h
ICM_CTF                          equ 0005h
TO_DISABLECUSTOMTEXTOUT          equ 4
TO_ADVANCEDLAYOUT                equ 8
EM_GETVIEWKIND                   equ (WM_USER + 226)
EM_SETVIEWKIND                   equ (WM_USER + 227)
EM_GETPAGE                       equ (WM_USER + 228)
EM_SETPAGE                       equ (WM_USER + 229)
EM_GETHYPHENATEINFO              equ (WM_USER + 230)
EM_SETHYPHENATEINFO              equ (WM_USER + 231)
EM_GETPAGEROTATE                 equ (WM_USER + 235)
EM_SETPAGEROTATE                 equ (WM_USER + 236)
EM_GETCTFMODEBIAS                equ (WM_USER + 237)
EM_SETCTFMODEBIAS                equ (WM_USER + 238)
EM_GETCTFOPENSTATUS              equ (WM_USER + 240)
EM_SETCTFOPENSTATUS              equ (WM_USER + 241)
EM_GETIMECOMPTEXT                equ (WM_USER + 242)
EM_ISIME                         equ (WM_USER + 243)
EM_GETIMEPROPERTY                equ (WM_USER + 244)
EPR_0                            equ 0
EPR_270                          equ 1
EPR_180                          equ 2
EPR_90                           equ 3
CTFMODEBIAS_DEFAULT              equ 0000h
CTFMODEBIAS_FILENAME             equ 0001h
CTFMODEBIAS_NAME                 equ 0002h
CTFMODEBIAS_READING              equ 0003h
CTFMODEBIAS_DATETIME             equ 0004h
CTFMODEBIAS_CONVERSATION         equ 0005h
CTFMODEBIAS_NUMERIC              equ 0006h
CTFMODEBIAS_HIRAGANA             equ 0007h
CTFMODEBIAS_KATAKANA             equ 0008h
CTFMODEBIAS_HANGUL               equ 0009h
CTFMODEBIAS_HALFWIDTHKATAKANA    equ 000Ah
CTFMODEBIAS_FULLWIDTHALPHANUMERIC equ 000Bh
CTFMODEBIAS_HALFWIDTHALPHANUMERIC equ 000Ch
IMF_SMODE_PLAURALCLAUSE          equ 0001h
IMF_SMODE_NONE                   equ 0002h
ICT_RESULTREADSTR                equ 1
EMO_EXIT                         equ 0
EMO_ENTER                        equ 1
EMO_PROMOTE                      equ 2
EMO_EXPAND                       equ 3
EMO_MOVESELECTION                equ 4
EMO_GETVIEWMODE                  equ 5
EMO_EXPANDSELECTION              equ 0
EMO_EXPANDDOCUMENT               equ 1
VM_NORMAL                        equ 4
VM_OUTLINE                       equ 2
VM_PAGE                          equ 9
EN_OBJECTPOSITIONS               equ 070ah
EN_DRAGDROPDONE                  equ 070ch
EN_PARAGRAPHEXPANDED             equ 070dh
EN_PAGECHANGE                    equ 070eh
EN_LOWFIRTF                      equ 070fh
EN_ALIGNLTR                      equ 0710h
EN_ALIGNRTL                      equ 0711h
ENM_SCROLLEVENTS                 equ 00000008h
ENM_DRAGDROPDONE                 equ 00000010h
ENM_PARAGRAPHEXPANDED            equ 00000020h
ENM_PAGECHANGE                   equ 00000040h
ENM_LANGCHANGE                   equ 01000000h
ENM_OBJECTPOSITIONS              equ 02000000h
ENM_LINK                         equ 04000000h
ENM_LOWFIRTF                     equ 08000000h
ES_NOOLEDRAGDROP                 equ 00000008h
IMF_MULTIPLEEDIT                 equ 0400h
CFM_LINK                         equ 00000020h
CFE_LINK                         equ 0020h
CFE_SUBSCRIPT                    equ 00010000h
CFE_SUPERSCRIPT                  equ 00020000h
CFM_SUBSCRIPT                    equ CFE_SUBSCRIPT or CFE_SUPERSCRIPT
CFM_SUPERSCRIPT                  equ CFM_SUBSCRIPT
CFE_SMALLCAPS                    equ CFM_SMALLCAPS
CFE_ALLCAPS                      equ CFM_ALLCAPS
CFE_HIDDEN                       equ CFM_HIDDEN
CFE_OUTLINE                      equ CFM_OUTLINE
CFE_SHADOW                       equ CFM_SHADOW
CFE_EMBOSS                       equ CFM_EMBOSS
CFE_IMPRINT                      equ CFM_IMPRINT
CFE_DISABLED                     equ CFM_DISABLED
CFE_REVISED                      equ CFM_REVISED
CFE_AUTOBACKCOLOR                equ CFM_BACKCOLOR
CFU_UNDERLINETHICKLONGDASH       equ 18
CFU_UNDERLINETHICKDOTTED         equ 17
CFU_UNDERLINETHICKDASHDOTDOT     equ 16
CFU_UNDERLINETHICKDASHDOT        equ 15
CFU_UNDERLINETHICKDASH           equ 14
CFU_UNDERLINELONGDASH            equ 13
CFU_UNDERLINEHEAVYWAVE           equ 12
CFU_UNDERLINEDOUBLEWAVE          equ 11
SCF_ASSOCIATEFONT                equ 0010h
SCF_NOKBUPDATE                   equ 0020h
SCF_ASSOCIATEFONT2               equ 0040h
SF_UNICODE                       equ 0010h
SF_USECODEPAGE                   equ 0020h
SF_NCRFORNONASCII                equ 40h
SFF_WRITEXTRAPAR                 equ 80h
SFF_PERSISTVIEWSCALE             equ 2000h
SFF_KEEPDOCINFO                  equ 1000h
SFF_PWD                          equ 0800h
SF_RTFVAL                        equ 0700h
MAX_TABLE_CELLS                  equ 63
PFM_TEXTWRAPPINGBREAK            equ 20000000h
PFM_TABLEROWDELIMITER            equ 10000000h
PFM_RESERVED2                    equ 08000000h
PFN_ARABIC                       equ 2
PFN_LCLETTER                     equ 3
PFN_UCLETTER                     equ 4
PFN_LCROMAN                      equ 5
PFN_UCROMAN                      equ 6
PFNS_PAREN                       equ 000h
PFNS_PARENS                      equ 100h
PFNS_PERIOD                      equ 200h
PFNS_PLAIN                       equ 300h
PFNS_NONUMBER                    equ 400h
PFNS_NEWNUMBER                   equ 8000h
PFA_JUSTIFY                      equ 4
PFA_FULL_INTERWORD               equ 4
PFA_FULL_INTERLETTER             equ 5
PFA_FULL_SCALED                  equ 6
PFA_FULL_GLYPHS                  equ 7
PFA_SNAP_GRID                    equ 8
GCM_RIGHTMOUSEDROP               equ 8000h
ST_NEWCHARS                      equ 4
GT_SELECTION                     equ 2
GT_RAWTEXT                       equ 4
GT_NOHIDDENTEXT                  equ 8
BOM_DEFPARADIR                   equ 0001h
BOM_PLAINTEXT                    equ 0002h
BOM_NEUTRALOVERRIDE              equ 0004h
BOM_CONTEXTREADING               equ 0008h
BOM_CONTEXTALIGNMENT             equ 0010h
BOE_RTLDIR                       equ 0001h
BOE_PLAINTEXT                    equ 0002h
BOE_NEUTRALOVERRIDE              equ 0004h
BOE_CONTEXTREADING               equ 0008h
BOE_CONTEXTALIGNMENT             equ 0010h
FR_MATCHDIAC                     equ 20000000h
FR_MATCHKASHIDA                  equ 40000000h
FR_MATCHALEFHAMZA                equ 80000000h
WCH_EMBEDDING                    equ 0FFFCh

;;;; end riched

;-------------------------- wsock32 equates -------------------------------

WSADESCRIPTION_LEN          equ 256
WSASYS_STATUS_LEN           equ 128
IPPROTO_IP          equ             0
IPPROTO_ICMP          equ           1
IPPROTO_GGP          equ            2
IPPROTO_TCP          equ            6
IPPROTO_PUP          equ            12
IPPROTO_UDP          equ            17
IPPROTO_IDP          equ            22
IPPROTO_ND          equ             77
IPPROTO_RAW          equ            255
IPPROTO_MAX          equ            256
IOCPARM_MASK           equ 7Fh
IOC_VOID               equ 20000000h
IOC_OUT                equ 40000000h
IOC_IN equ 80000000h
IOC_INOUT              equ IOC_IN OR IOC_OUT
FIONBIO                equ 8004667Eh
FIONSYNC               equ 8004667Dh
FIONREAD               equ 4004667Fh
IPPORT_ECHO          equ            7
IPPORT_DISCARD          equ         9
IPPORT_SYSTAT          equ          11
IPPORT_DAYTIME          equ         13
IPPORT_NETSTAT          equ         15
IPPORT_FTP          equ             21
IPPORT_TELNET          equ          23
IPPORT_SMTP          equ            25
IPPORT_TIMESERVER          equ      37
IPPORT_NAMESERVER          equ      42
IPPORT_WHOIS          equ           43
IPPORT_MTP          equ             57
IPPORT_TFTP          equ            69
IPPORT_RJE          equ             77
IPPORT_FINGER          equ          79
IPPORT_TTYLINK          equ         87
IPPORT_SUPDUP          equ          95
IPPORT_EXECSERVER          equ      512
IPPORT_LOGINSERVER          equ     513
IPPORT_CMDSERVER          equ       514
IPPORT_EFSSERVER          equ       520
IPPORT_BIFFUDP          equ         512
IPPORT_WHOSERVER          equ       513
IPPORT_ROUTESERVER          equ     520
IPPORT_RESERVED          equ        1024
IMPLINK_IP          equ             155
IMPLINK_LOWEXPER          equ       156
IMPLINK_HIGHEXPER          equ      158
IN_CLASSA_NET          equ          0FF000000h
IN_CLASSA_NSHIFT          equ       24
IN_CLASSA_HOST          equ         000FFFFFFh
IN_CLASSA_MAX          equ          128
IN_CLASSB_NET          equ          0FFFF0000h
IN_CLASSB_NSHIFT          equ       16
IN_CLASSB_HOST          equ         00000FFFFh
IN_CLASSB_MAX          equ          65536
IN_CLASSC_NET          equ          0FFFFFF00h
IN_CLASSC_NSHIFT          equ       8
IN_CLASSC_HOST          equ         0000000FFh
INADDR_ANY          equ             000000000h
INADDR_LOOPBACK          equ        07F000001h
INADDR_BROADCAST          equ       0FFFFFFFFh
INADDR_NONE          equ            0FFFFFFFFh
SOCK_STREAM          equ    1
SOCK_DGRAM          equ     2
SOCK_RAW          equ       3
SOCK_RDM          equ       4
SOCK_SEQPACKET          equ 5
SO_DEBUG          equ       00001h
SO_ACCEPTCONN          equ  00002h
SO_REUSEADDR          equ   00004h
SO_KEEPALIVE          equ   00008h
SO_DONTROUTE          equ   00010h
SO_BROADCAST          equ   00020h
SO_USELOOPBACK          equ 00040h
SO_LINGER          equ      00080h
SO_OOBINLINE          equ   00100h
SOL_SOCKET            equ   0FFFFh
SO_DONTLINGER          equ  NOT SO_LINGER
SO_SNDBUF          equ      01001h
SO_RCVBUF          equ      01002h
SO_SNDLOWAT          equ    01003h
SO_RCVLOWAT          equ    01004h
SO_SNDTIMEO          equ    01005h
SO_RCVTIMEO          equ    01006h
SO_ERROR          equ       01007h
SO_TYPE          equ        01008h
TCP_NODELAY          equ    00001h
AF_UNSPEC          equ      0
AF_UNIX          equ        1
AF_INET          equ        2
AF_IMPLINK          equ     3
AF_PUP          equ         4
AF_CHAOS          equ       5
AF_NS          equ          6
AF_IPX          equ         6
AF_ISO          equ         7
AF_OSI          equ         AF_ISO
AF_ECMA          equ        8
AF_DATAKIT          equ     9
AF_CCITT          equ       10
AF_SNA          equ         11
AF_DECnet          equ      12
AF_DLI          equ         13
AF_LAT          equ         14
AF_HYLINK          equ      15
AF_APPLETALK          equ   16
AF_NETBIOS          equ     17
AF_MAX          equ         18
PF_UNSPEC          equ      AF_UNSPEC
PF_UNIX          equ        AF_UNIX
PF_INET          equ        AF_INET
PF_IMPLINK          equ     AF_IMPLINK
PF_PUP          equ         AF_PUP
PF_CHAOS          equ       AF_CHAOS
PF_NS          equ          AF_NS
PF_IPX          equ         AF_IPX
PF_ISO          equ         AF_ISO
PF_OSI          equ         AF_OSI
PF_ECMA          equ        AF_ECMA
PF_DATAKIT          equ     AF_DATAKIT
PF_CCITT          equ       AF_CCITT
PF_SNA          equ         AF_SNA
PF_DECnet          equ      AF_DECnet
PF_DLI          equ         AF_DLI
PF_LAT          equ         AF_LAT
PF_HYLINK          equ      AF_HYLINK
PF_APPLETALK          equ   AF_APPLETALK
PF_MAX          equ         AF_MAX
SOMAXCONN          equ      5
MSG_OOB          equ        01h
MSG_PEEK          equ   02h
MSG_DONTROUTE          equ  04h
MSG_MAXIOVLEN          equ  16
MAXGETHOSTSTRUCT          equ       1024
FD_READ          equ        001h
FD_WRITE          equ       002h
FD_OOB          equ         004h
FD_ACCEPT          equ      008h
FD_CONNECT          equ     010h
FD_CLOSE          equ       020h
WSABASEERR          equ             10000
WSAEINTR          equ               WSABASEERR+4
WSAEBADF          equ               WSABASEERR+9
WSAEACCES          equ              WSABASEERR+13
WSAEFAULT          equ              WSABASEERR+14
WSAEINVAL          equ              WSABASEERR+22
WSAEMFILE          equ              WSABASEERR+24
WSAEWOULDBLOCK          equ         WSABASEERR + 35
WSAEINPROGRESS          equ         WSABASEERR + 36
WSAEALREADY          equ            WSABASEERR + 37
WSAENOTSOCK          equ            WSABASEERR + 38
WSAEDESTADDRREQ          equ        WSABASEERR + 39
WSAEMSGSIZE          equ            WSABASEERR + 40
WSAEPROTOTYPE          equ          WSABASEERR + 41
WSAENOPROTOOPT          equ         WSABASEERR + 42
WSAEPROTONOSUPPORT          equ     WSABASEERR + 43
WSAESOCKTNOSUPPORT          equ     WSABASEERR + 44
WSAEOPNOTSUPP          equ          WSABASEERR + 45
WSAEPFNOSUPPORT          equ        WSABASEERR + 46
WSAEAFNOSUPPORT          equ        WSABASEERR + 47
WSAEADDRINUSE          equ          WSABASEERR + 48
WSAEADDRNOTAVAIL          equ       WSABASEERR + 49
WSAENETDOWN          equ            WSABASEERR + 50
WSAENETUNREACH          equ         WSABASEERR + 51
WSAENETRESET          equ           WSABASEERR + 52
WSAECONNABORTED          equ        WSABASEERR + 53
WSAECONNRESET          equ          WSABASEERR + 54
WSAENOBUFS          equ             WSABASEERR + 55
WSAEISCONN          equ             WSABASEERR + 56
WSAENOTCONN          equ            WSABASEERR + 57
WSAESHUTDOWN          equ           WSABASEERR + 58
WSAETOOMANYREFS          equ        WSABASEERR + 59
WSAETIMEDOUT          equ           WSABASEERR + 60
WSAECONNREFUSED          equ        WSABASEERR + 61
WSAELOOP          equ               WSABASEERR + 62
WSAENAMETOOLONG          equ        WSABASEERR + 63
WSAEHOSTDOWN          equ           WSABASEERR + 64
WSAEHOSTUNREACH          equ        WSABASEERR + 65
WSAENOTEMPTY          equ           WSABASEERR + 66
WSAEPROCLIM          equ            WSABASEERR + 67
WSAEUSERS          equ              WSABASEERR + 68
WSAEDQUOT          equ              WSABASEERR + 69
WSAESTALE          equ              WSABASEERR + 70
WSAEREMOTE          equ             WSABASEERR + 71
WSASYSNOTREADY          equ         WSABASEERR+91
WSAVERNOTSUPPORTED          equ     WSABASEERR+92
WSANOTINITIALISED          equ      WSABASEERR+93
WSAHOST_NOT_FOUND          equ      WSABASEERR + 1001
HOST_NOT_FOUND          equ         WSAHOST_NOT_FOUND
WSATRY_AGAIN          equ           WSABASEERR + 1002
TRY_AGAIN          equ              WSATRY_AGAIN
WSANO_RECOVERY          equ         WSABASEERR + 1003
NO_RECOVERY          equ            WSANO_RECOVERY
WSANO_DATA          equ             WSABASEERR + 1004
NO_DATA          equ                WSANO_DATA
WSANO_ADDRESS          equ          WSANO_DATA
NO_ADDRESS          equ             WSANO_ADDRESS
EWOULDBLOCK          equ            WSAEWOULDBLOCK
EINPROGRESS          equ            WSAEINPROGRESS
EALREADY          equ               WSAEALREADY
ENOTSOCK          equ               WSAENOTSOCK
EDESTADDRREQ          equ           WSAEDESTADDRREQ
EMSGSIZE          equ               WSAEMSGSIZE
EPROTOTYPE          equ             WSAEPROTOTYPE
ENOPROTOOPT          equ            WSAENOPROTOOPT
EPROTONOSUPPORT          equ        WSAEPROTONOSUPPORT
ESOCKTNOSUPPORT          equ        WSAESOCKTNOSUPPORT
EOPNOTSUPP          equ             WSAEOPNOTSUPP
EPFNOSUPPORT          equ           WSAEPFNOSUPPORT
EAFNOSUPPORT          equ           WSAEAFNOSUPPORT
EADDRINUSE          equ             WSAEADDRINUSE
EADDRNOTAVAIL          equ          WSAEADDRNOTAVAIL
ENETDOWN          equ               WSAENETDOWN
ENETUNREACH          equ            WSAENETUNREACH
ENETRESET          equ              WSAENETRESET
ECONNABORTED          equ           WSAECONNABORTED
ECONNRESET          equ             WSAECONNRESET
ENOBUFS          equ                WSAENOBUFS
EISCONN          equ                WSAEISCONN
ENOTCONN          equ               WSAENOTCONN
ESHUTDOWN          equ              WSAESHUTDOWN
ETOOMANYREFS          equ           WSAETOOMANYREFS
ETIMEDOUT          equ              WSAETIMEDOUT
ECONNREFUSED          equ           WSAECONNREFUSED
ELOOP          equ                  WSAELOOP
ENAMETOOLONG          equ           WSAENAMETOOLONG
EHOSTDOWN          equ              WSAEHOSTDOWN
EHOSTUNREACH          equ           WSAEHOSTUNREACH
ENOTEMPTY          equ              WSAENOTEMPTY
EPROCLIM          equ               WSAEPROCLIM
EUSERS          equ                 WSAEUSERS
EDQUOT          equ                 WSAEDQUOT
ESTALE          equ                 WSAESTALE
EREMOTE          equ                WSAEREMOTE
FD_SETSIZE  equ 64
INVALID_SOCKET              equ NOT 0
SOCKET_ERROR                equ -1
SOCKET_BUFFER_SIZE          equ 512
ICMP_ECHOREPLY          equ   0
ICMP_ECHOREQ            equ   8
IMAGE_SIZEOF_SECTION_HEADER equ 40
COMPRESSION_FORMAT_NONE equ (0000h)   
COMPRESSION_FORMAT_DEFAULT equ (0001h)   
COMPRESSION_FORMAT_LZNT1 equ (0002h)   
COMPRESSION_ENGINE_STANDARD equ (0000h)   
COMPRESSION_ENGINE_MAXIMUM equ (0100h) 
DATAINFO STRUC
	ulTotalSize			ULONG ?
	ulavrPacketSize		ULONG ?
	ulConnectSpeed		ULONG ?
	ulProcessorSpeed	ULONG ?
DATAINFO ENDS
IEncodingFilterFactory STRUC
;	IEncodingFilterFactory *LPENCODINGFILTERFACTORY;
	DataInfo DATAINFO<?,?,?,?>
	FindBestFilter PVOID ?
;            [in]    LPCWSTR                 pwzCodeIn,
;            [in]    LPCWSTR                 pwzCodeOut,
;            [in]    DATAINFO                info,
;            [out]   IDataFilter**           ppDF
	GetDefaultFilter PVOID ?
;            [in]    LPCWSTR                 pwzCodeIn,
;            [in]    LPCWSTR                 pwzCodeOut,
;            [out]   IDataFilter**           ppDF
IEncodingFilterFactory ENDS
IEncodingFilterFactoryVtbl STRUC
	QueryInterface		PANYARGS ?
	AddRef 				PANYARGS ?
	Release				PANYARGS ?
	FindBestFilter		PANYARGS ?
	GetDefaultFilter	PANYARGS ?
IEncodingFilterFactoryVtbl ENDS
IDataFilterVtbl STRUC
	QueryInterface	PANYARGS ?
;            IDataFilter * This,
;            /* [in] */ REFIID riid,
;            /* [iid_is][out] */ void **ppvObject)
	AddRef			PANYARGS ?
;            IDataFilter * This);
	Release			PANYARGS ?
;            IDataFilter * This
	DoEncode		PANYARGS ?
;            IDataFilter * This,
;            /* [in] */ DWORD dwFlags,
;            /* [in] */ LONG lInBufferSize,
;            /* [size_is][in] */ BYTE *pbInBuffer,
;            /* [in] */ LONG lOutBufferSize,
;            /* [size_is][out] */ BYTE *pbOutBuffer,
;            /* [in] */ LONG lInBytesAvailable,
;            /* [out] */ LONG *plInBytesRead,
;            /* [out] */ LONG *plOutBytesWritten,
;            /* [in] */ DWORD dwReserved
	DoDecode		PANYARGS ?
;            IDataFilter * This,
;            /* [in] */ DWORD dwFlags,
;            /* [in] */ LONG lInBufferSize,
;            /* [size_is][in] */ BYTE *pbInBuffer,
;            /* [in] */ LONG lOutBufferSize,
;            /* [size_is][out] */ BYTE *pbOutBuffer,
;            /* [in] */ LONG lInBytesAvailable,
;            /* [out] */ LONG *plInBytesRead,
;            /* [out] */ LONG *plOutBytesWritten,
;            /* [in] */ DWORD dwReserved
	SetEncodingLevel	PANYARGS ?
            ;IDataFilter * This,
            ;/* [in] */ DWORD dwEncLevel
IDataFilterVtbl ENDS
; --------------------- equates & structures for WINNT ---------------------

MAX_NATURAL_ALIGNMENT           equ sizeof DWORD
LANG_AFRIKAANS equ 36h
LANG_ALBANIAN equ 1ch
LANG_ARABIC equ 01h
LANG_ARMENIAN equ 2bh
LANG_ASSAMESE equ 4dh
LANG_AZERI equ 2ch
LANG_BASQUE equ 2dh
LANG_BELARUSIAN equ 23h
LANG_BENGALI equ 45h
LANG_CATALAN equ 03h
LANG_ESTONIAN equ 25h
LANG_FAEROESE equ 38h
LANG_FARSI equ 29h
LANG_GEORGIAN equ 37h
LANG_GUJARATI equ 47h
LANG_HEBREW equ 0dh
LANG_HINDI equ 39h
LANG_INDONESIAN equ 21h
LANG_KANNADA equ 4bh
LANG_KASHMIRI equ 60h
LANG_KAZAK equ 3fh
LANG_KONKANI equ 57h
LANG_LATVIAN equ 26h
LANG_LITHUANIAN equ 27h
LANG_MACEDONIAN equ 2fh
LANG_MALAY equ 3eh
LANG_MALAYALAM equ 4ch
LANG_MANIPURI equ 58h
LANG_MARATHI equ 4eh
LANG_NEPALI equ 61h
LANG_ORIYA equ 48h
LANG_PUNJABI equ 46h
LANG_SANSKRIT equ 4fh
LANG_SERBIAN equ 1ah
LANG_SINDHI equ 59h
LANG_SWAHILI equ 41h
LANG_TAMIL equ 49h
LANG_TATAR equ 44h
LANG_TELUGU equ 4ah
LANG_THAI equ 1eh
LANG_UKRAINIAN equ 22h
LANG_URDU equ 20h
LANG_UZBEK equ 43h
LANG_VIETNAMESE equ 2ah
SUBLANG_ARABIC_SAUDI_ARABIA equ 01h    
SUBLANG_ARABIC_IRAQ equ 02h    
SUBLANG_ARABIC_EGYPT equ 03h    
SUBLANG_ARABIC_LIBYA equ 04h    
SUBLANG_ARABIC_ALGERIA equ 05h    
SUBLANG_ARABIC_MOROCCO equ 06h    
SUBLANG_ARABIC_TUNISIA equ 07h    
SUBLANG_ARABIC_OMAN equ 08h    
SUBLANG_ARABIC_YEMEN equ 09h    
SUBLANG_ARABIC_SYRIA equ 0ah    
SUBLANG_ARABIC_JORDAN equ 0bh    
SUBLANG_ARABIC_LEBANON equ 0ch    
SUBLANG_ARABIC_KUWAIT equ 0dh    
SUBLANG_ARABIC_UAE equ 0eh    
SUBLANG_ARABIC_BAHRAIN equ 0fh    
SUBLANG_ARABIC_QATAR equ 10h    
SUBLANG_AZERI_LATIN equ 01h    
SUBLANG_AZERI_CYRILLIC equ 02h    
SUBLANG_CHINESE_MACAU equ 05h    
SUBLANG_ENGLISH_SOUTH_AFRICA equ 07h    
SUBLANG_ENGLISH_JAMAICA equ 08h    
SUBLANG_ENGLISH_CARIBBEAN equ 09h    
SUBLANG_ENGLISH_BELIZE equ 0ah    
SUBLANG_ENGLISH_TRINIDAD equ 0bh    
SUBLANG_ENGLISH_ZIMBABWE equ 0ch    
SUBLANG_ENGLISH_PHILIPPINES equ 0dh    
SUBLANG_FRENCH_LUXEMBOURG equ 05h    
SUBLANG_FRENCH_MONACO equ 06h    
SUBLANG_GERMAN_LUXEMBOURG equ 04h    
SUBLANG_GERMAN_LIECHTENSTEIN equ 05h    
SUBLANG_KASHMIRI_INDIA equ 02h    
SUBLANG_KOREAN equ 01h    
SUBLANG_LITHUANIAN equ 01h    
SUBLANG_LITHUANIAN_CLASSIC equ 02h    
SUBLANG_MALAY_MALAYSIA equ 01h    
SUBLANG_MALAY_BRUNEI_DARUSSALAM equ 02h    
SUBLANG_NEPALI_INDIA equ 02h    
SUBLANG_SERBIAN_LATIN equ 02h    
SUBLANG_SERBIAN_CYRILLIC equ 03h    
SUBLANG_SPANISH_GUATEMALA equ 04h    
SUBLANG_SPANISH_COSTA_RICA equ 05h    
SUBLANG_SPANISH_PANAMA equ 06h    
SUBLANG_SPANISH_DOMINICAN_REPUBLIC equ 07h  
SUBLANG_SPANISH_VENEZUELA equ 08h    
SUBLANG_SPANISH_COLOMBIA equ 09h    
SUBLANG_SPANISH_PERU equ 0ah    
SUBLANG_SPANISH_ARGENTINA equ 0bh    
SUBLANG_SPANISH_ECUADOR equ 0ch    
SUBLANG_SPANISH_CHILE equ 0dh    
SUBLANG_SPANISH_URUGUAY equ 0eh    
SUBLANG_SPANISH_PARAGUAY equ 0fh    
SUBLANG_SPANISH_BOLIVIA equ 10h    
SUBLANG_SPANISH_EL_SALVADOR equ 11h    
SUBLANG_SPANISH_HONDURAS equ 12h    
SUBLANG_SPANISH_NICARAGUA equ 13h    
SUBLANG_SPANISH_PUERTO_RICO equ 14h    
SUBLANG_SWEDISH equ 01h    
SUBLANG_SWEDISH_FINLAND equ 02h    
SUBLANG_URDU_PAKISTAN equ 01h    
SUBLANG_URDU_INDIA equ 02h    
SUBLANG_UZBEK_LATIN equ 01h    
SUBLANG_UZBEK_CYRILLIC equ 02h    
SORT_CHINESE_PRCP equ 0h     
SORT_CHINESE_PRC equ 2h     
SORT_CHINESE_BOPOMOFO equ 3h     
SORT_GERMAN_PHONE_BOOK equ 1h     
SORT_HUNGARIAN_DEFAULT equ 0h     
SORT_HUNGARIAN_TECHNICAL equ 1h     
SORT_GEORGIAN_TRADITIONAL equ 0h     
SORT_GEORGIAN_MODERN equ 1h     
NLS_VALID_LOCALE_MASK equ 000fffffh
STATUS_SEGMENT_NOTIFICATION equ 40000005h
STATUS_GUARD_PAGE_VIOLATION equ 80000001h
STATUS_INVALID_HANDLE equ 0C0000008h
STATUS_FLOAT_MULTIPLE_FAULTS equ 0C00002B4h
STATUS_FLOAT_MULTIPLE_TRAPS equ 0C00002B5h
STATUS_ILLEGAL_VLM_REFERENCE equ 0C00002C0h     
MAXIMUM_WAIT_OBJECTS equ 64     
MAXIMUM_SUSPEND_COUNT equ MAXCHAR 
CONTEXT_EXTENDED_REGISTERS equ (CONTEXT_i386 + 00000020h) 
SECURITY_NULL_SID_AUTHORITY equ {0,0,0,0,0,0}
SECURITY_WORLD_SID_AUTHORITY equ {0,0,0,0,0,1}
SECURITY_LOCAL_SID_AUTHORITY equ {0,0,0,0,0,2}
SECURITY_CREATOR_SID_AUTHORITY equ {0,0,0,0,0,3}
SECURITY_NON_UNIQUE_AUTHORITY equ {0,0,0,0,0,4}
SECURITY_CREATOR_OWNER_SERVER_RID equ (00000002h)
SECURITY_CREATOR_GROUP_SERVER_RID equ (00000003h)
SECURITY_NT_AUTHORITY equ {0,0,0,0,0,5}   
SECURITY_PROXY_RID equ (00000008h)
SECURITY_ENTERPRISE_CONTROLLERS_RID equ (00000009h)
SECURITY_SERVER_LOGON_RID equ SECURITY_ENTERPRISE_CONTROLLERS_RID
SECURITY_PRINCIPAL_SELF_RID equ (0000000Ah)
SECURITY_AUTHENTICATED_USER_RID equ (0000000Bh)
SECURITY_RESTRICTED_CODE_RID equ (0000000Ch)
SECURITY_LOGON_IDS_RID_COUNT equ (3)
DOMAIN_USER_RID_KRBTGT equ (000001F6h)
DOMAIN_GROUP_RID_COMPUTERS equ (00000203h)
DOMAIN_GROUP_RID_CONTROLLERS equ (00000204h)
DOMAIN_GROUP_RID_CERT_ADMINS equ (00000205h)
DOMAIN_GROUP_RID_SCHEMA_ADMINS equ (00000206h)
SYSTEM_LUID equ { 3E7h, 0h }
ANONYMOUS_LOGON_LUID equ { 3e6h, 0h }
SE_GROUP_USE_FOR_DENY_ONLY equ (00000010h)
ACL_REVISION_DS equ (4)
MIN_ACL_REVISION equ ACL_REVISION2
ACL_REVISION3 equ (3)
ACL_REVISION4 equ (4)
MAX_ACL_REVISION equ ACL_REVISION4
ACCESS_MIN_MS_ACE_TYPE equ (0h)
ACCESS_MAX_MS_V2_ACE_TYPE equ (3h)
ACCESS_ALLOWED_COMPOUND_ACE_TYPE equ (4h)
ACCESS_MAX_MS_V3_ACE_TYPE equ (4h)
ACCESS_MIN_MS_OBJECT_ACE_TYPE equ (5h)
ACCESS_ALLOWED_OBJECT_ACE_TYPE equ (5h)
ACCESS_DENIED_OBJECT_ACE_TYPE equ (6h)
SYSTEM_AUDIT_OBJECT_ACE_TYPE equ (7h)
SYSTEM_ALARM_OBJECT_ACE_TYPE equ (8h)
ACCESS_MAX_MS_OBJECT_ACE_TYPE equ (8h)
ACCESS_MAX_MS_V4_ACE_TYPE equ (8h)
ACCESS_MAX_MS_ACE_TYPE equ (8h)
INHERITED_ACE equ (10h)
ACE_OBJECT_TYPE_PRESENT equ 1h
ACE_INHERITED_OBJECT_TYPE_PRESENT equ 2h
SE_DACL_AUTO_INHERIT_REQ equ (0100h)
SE_SACL_AUTO_INHERIT_REQ equ (0200h)
SE_DACL_AUTO_INHERITED equ (0400h)
SE_SACL_AUTO_INHERITED equ (0800h)
SE_DACL_PROTECTED equ (1000h)
SE_SACL_PROTECTED equ (2000h)
ACCESS_OBJECT_GUID equ 0
ACCESS_PROPERTY_SET_GUID equ 1
ACCESS_PROPERTY_GUID equ 2
ACCESS_MAX_LEVEL equ 4
AUDIT_ALLOW_NO_PRIVILEGE equ 1h
ACCESS_DS_SOURCE_A equ "DS"
ACCESS_DS_OBJECT_TYPE_NAME_A equ "Directory Service Object"
SE_CREATE_TOKEN_NAME equ "SeCreateTokenPrivilege"
SE_ASSIGNPRIMARYTOKEN_NAME equ "SeAssignPrimaryTokenPrivilege"
SE_LOCK_MEMORY_NAME equ "SeLockMemoryPrivilege"
SE_INCREASE_QUOTA_NAME equ ("SeIncreaseQuotaPrivilege")
SE_UNSOLICITED_INPUT_NAME equ ("SeUnsolicitedInputPrivilege")
SE_MACHINE_ACCOUNT_NAME equ ("SeMachineAccountPrivilege")
SE_TCB_NAME equ ("SeTcbPrivilege")
SE_SECURITY_NAME equ ("SeSecurityPrivilege")
SE_TAKE_OWNERSHIP_NAME equ ("SeTakeOwnershipPrivilege")
SE_LOAD_DRIVER_NAME equ ("SeLoadDriverPrivilege")
SE_SYSTEM_PROFILE_NAME equ ("SeSystemProfilePrivilege")
SE_SYSTEMTIME_NAME equ ("SeSystemtimePrivilege")
SE_PROF_SINGLE_PROCESS_NAME equ ("SeProfileSingleProcessPrivilege")
SE_INC_BASE_PRIORITY_NAME equ ("SeIncreaseBasePriorityPrivilege")
SE_CREATE_PAGEFILE_NAME equ ("SeCreatePagefilePrivilege")
SE_CREATE_PERMANENT_NAME equ ("SeCreatePermanentPrivilege")
SE_BACKUP_NAME equ ("SeBackupPrivilege")
SE_RESTORE_NAME equ ("SeRestorePrivilege")
SE_SHUTDOWN_NAME equ ("SeShutdownPrivilege")
SE_DEBUG_NAME equ "SeDebugPrivilege"
SE_AUDIT_NAME equ ("SeAuditPrivilege")
SE_SYSTEM_ENVIRONMENT_NAME equ ("SeSystemEnvironmentPrivilege")
SE_CHANGE_NOTIFY_NAME equ ("SeChangeNotifyPrivilege")
SE_REMOTE_SHUTDOWN_NAME equ ("SeRemoteShutdownPrivilege")
TOKEN_ASSIGN_PRIMARY equ (0001h)
TOKEN_DUPLICATE equ (0002h)
TOKEN_IMPERSONATE equ (0004h)
TOKEN_QUERY equ (0008h)
TOKEN_QUERY_SOURCE equ (0010h)
TOKEN_ADJUST_GROUPS equ (0040h)
TOKEN_ADJUST_DEFAULT equ (0080h)
TOKEN_ADJUST_SESSIONID equ (0100h)
TOKEN_ALL_ACCESS equ (STANDARD_RIGHTS_REQUIRED+TOKEN_ASSIGN_PRIMARY+TOKEN_DUPLICATE+TOKEN_IMPERSONATE+TOKEN_QUERY+TOKEN_QUERY_SOURCE+TOKEN_ADJUST_PRIVILEGES+TOKEN_ADJUST_GROUPS+TOKEN_ADJUST_SESSIONID+TOKEN_ADJUST_DEFAULT)
TOKEN_READ equ (STANDARD_RIGHTS_READ+TOKEN_QUERY)
TOKEN_WRITE equ (STANDARD_RIGHTS_WRITE+TOKEN_ADJUST_PRIVILEGES+TOKEN_ADJUST_GROUPS+TOKEN_ADJUST_DEFAULT)
TOKEN_EXECUTE equ (STANDARD_RIGHTS_EXECUTE)
TOKEN_SOURCE_LENGTH equ 8
SECURITY_DYNAMIC_TRACKING equ TRUE
SECURITY_STATIC_TRACKING equ FALSE
OWNER_SECURITY_INFORMATION equ (00000001h)
GROUP_SECURITY_INFORMATION equ (00000002h)
DACL_SECURITY_INFORMATION equ (00000004h)
SACL_SECURITY_INFORMATION equ (00000008h)
PROCESS_TERMINATE equ (0001h)  
PROCESS_CREATE_THREAD equ (0002h)  
PROCESS_SET_SESSIONID equ (0004h)  
PROCESS_VM_OPERATION equ (0008h)  
PROCESS_VM_READ equ (0010h)  
PROCESS_VM_WRITE equ (0020h)  
PROCESS_DUP_HANDLE equ (0040h)  
PROCESS_CREATE_PROCESS equ (0080h)  
PROCESS_SET_QUOTA equ (0100h)  
PROCESS_SET_INFORMATION equ (0200h)  
PROCESS_QUERY_INFORMATION equ (0400h)  
PROCESS_ALL_ACCESS equ (STANDARD_RIGHTS_REQUIRED + SYNCHRONIZE + 0FFFh)
MAXIMUM_PROCESSORS equ 32
THREAD_TERMINATE equ (0001h)  
THREAD_SUSPEND_RESUME equ (0002h)  
THREAD_GET_CONTEXT equ (0008h)  
THREAD_SET_CONTEXT equ (0010h)  
THREAD_SET_INFORMATION equ (0020h)  
THREAD_QUERY_INFORMATION equ (0040h)  
THREAD_SET_THREAD_TOKEN equ (0080h)
THREAD_IMPERSONATE equ (0100h)
THREAD_DIRECT_IMPERSONATION equ (0200h)
THREAD_ALL_ACCESS equ (STANDARD_RIGHTS_REQUIRED + SYNCHRONIZE +  3FFh) 
                                  
JOB_OBJECT_ASSIGN_PROCESS equ (0001h)
JOB_OBJECT_SET_ATTRIBUTES equ (0002h)
JOB_OBJECT_QUERY equ (0004h)
JOB_OBJECT_TERMINATE equ (0008h)
JOB_OBJECT_SET_SECURITY_ATTRIBUTES equ (0010h)
JOB_OBJECT_ALL_ACCESS equ (STANDARD_RIGHTS_REQUIRED + SYNCHRONIZE +   1Fh )
                                      
TLS_MINIMUM_AVAILABLE equ 64    
EVENT_ALL_ACCESS equ (STANDARD_RIGHTS_REQUIRED+SYNCHRONIZE+3h) 
MUTANT_QUERY_STATE equ 0001h
MUTANT_ALL_ACCESS equ (STANDARD_RIGHTS_REQUIRED+SYNCHRONIZE+ MUTANT_QUERY_STATE)
SEMAPHORE_MODIFY_STATE equ 0002h  
SEMAPHORE_ALL_ACCESS equ (STANDARD_RIGHTS_REQUIRED+SYNCHRONIZE+3h) 
TIMER_QUERY_STATE equ 0001h
TIMER_MODIFY_STATE equ 0002h
TIMER_ALL_ACCESS equ (STANDARD_RIGHTS_REQUIRED+SYNCHRONIZE+TIMER_QUERY_STATE+TIMER_MODIFY_STATE)
TIME_ZONE_ID_UNKNOWN equ 0
TIME_ZONE_ID_STANDARD equ 1
TIME_ZONE_ID_DAYLIGHT equ 2
PROCESSOR_PPC_601 equ 601
PROCESSOR_PPC_603 equ 603
PROCESSOR_PPC_604 equ 604
PROCESSOR_PPC_620 equ 620
PROCESSOR_HITACHI_SH3 equ 10003   
PROCESSOR_HITACHI_SH3E equ 10004   
PROCESSOR_HITACHI_SH4 equ 10005   
PROCESSOR_MOTOROLA_821 equ 821     
PROCESSOR_SHx_SH3 equ 103     
PROCESSOR_SHx_SH4 equ 104     
PROCESSOR_STRONGARM equ 2577    
PROCESSOR_ARM720 equ 1824    
PROCESSOR_ARM820 equ 2080    
PROCESSOR_ARM920 equ 2336    
PROCESSOR_ARM_7TDMI equ 70001   
PROCESSOR_ARCHITECTURE_INTEL equ 0
PROCESSOR_ARCHITECTURE_MIPS equ 1
PROCESSOR_ARCHITECTURE_ALPHA equ 2
PROCESSOR_ARCHITECTURE_PPC equ 3
PROCESSOR_ARCHITECTURE_SHX equ 4
PROCESSOR_ARCHITECTURE_ARM equ 5
PROCESSOR_ARCHITECTURE_IA64 equ 6
PROCESSOR_ARCHITECTURE_ALPHA64 equ 7
PROCESSOR_ARCHITECTURE_UNKNOWN equ 0FFFFh
PF_FLOATING_POINT_PRECISION_ERRATA equ 0   
PF_FLOATING_POINT_EMULATED equ 1   
PF_COMPARE_EXCHANGE_DOUBLE equ 2   
PF_MMX_INSTRUCTIONS_AVAILABLE equ 3   
PF_PPC_MOVEMEM_64BIT_OK equ 4   
PF_ALPHA_BYTE_INSTRUCTIONS equ 5   
PF_XMMI_INSTRUCTIONS_AVAILABLE equ 6   
PF_AMD3D_INSTRUCTIONS_AVAILABLE equ 7   
SYSTEM_FLAG_REMOTE_BOOT_CLIENT equ 00000001h   
SYSTEM_FLAG_DISKLESS_CLIENT equ 00000002h  
SECTION_ALL_ACCESS equ (STANDARD_RIGHTS_REQUIRED+SECTION_QUERY+SECTION_MAP_WRITE+SECTION_MAP_READ+SECTION_MAP_EXECUTE+SECTION_EXTEND_SIZE)
PAGE_WRITECOMBINE equ 400h     
MEM_4MB_PAGES equ 80000000h     
SEC_VLM equ 2000000h     
FILE_GENERIC_READ equ (STANDARD_RIGHTS_READ+FILE_READ_DATA+FILE_READ_ATTRIBUTES+FILE_READ_EA+SYNCHRONIZE)
FILE_GENERIC_WRITE equ (STANDARD_RIGHTS_WRITE+FILE_WRITE_DATA+FILE_WRITE_ATTRIBUTES+FILE_WRITE_EA+FILE_APPEND_DATA+SYNCHRONIZE)
FILE_GENERIC_EXECUTE equ (STANDARD_RIGHTS_EXECUTE+FILE_READ_ATTRIBUTES+FILE_EXECUTE+SYNCHRONIZE)
FILE_SHARE_DELETE equ 00000004h  
FILE_ATTRIBUTE_ENCRYPTED equ 00000040h  
FILE_ATTRIBUTE_SPARSE_FILE equ 00000200h  
FILE_ATTRIBUTE_REPARSE_POINT equ 00000400h  
FILE_ATTRIBUTE_OFFLINE equ 00001000h  
FILE_ATTRIBUTE_NOT_CONTENT_INDEXED equ 00002000h  
FILE_NOTIFY_CHANGE_LAST_ACCESS equ 00000020h   
FILE_NOTIFY_CHANGE_CREATION equ 00000040h   
FILE_ACTION_ADDED equ 00000001h   
FILE_ACTION_REMOVED equ 00000002h   
FILE_ACTION_MODIFIED equ 00000003h   
FILE_ACTION_RENAMED_OLD_NAME equ 00000004h   
FILE_ACTION_RENAMED_NEW_NAME equ 00000005h   
FILE_VOLUME_QUOTAS equ 00000020h  
FILE_SUPPORTS_SPARSE_FILES equ 00000040h  
FILE_SUPPORTS_REPARSE_POINTS equ 00000080h  
FILE_SUPPORTS_REMOTE_STORAGE equ 00000100h  
FILE_SUPPORTS_OBJECT_IDS equ 00010000h  
FILE_SUPPORTS_ENCRYPTION equ 00020000h  
MAXIMUM_REPARSE_DATA_BUFFER_SIZE equ ( 16 * 1024 )
IO_REPARSE_TAG_RESERVED_ZERO equ (0)
IO_REPARSE_TAG_RESERVED_ONE equ (1)
IO_REPARSE_TAG_RESERVED_RANGE equ IO_REPARSE_TAG_RESERVED_ONE
IO_REPARSE_TAG_VALID_VALUES equ (0E000FFFFh)
IO_REPARSE_TAG_SYMBOLIC_LINK equ IO_REPARSE_TAG_RESERVED_ZERO
IO_REPARSE_TAG_MOUNT_POINT equ (0A0000003h)
IO_REPARSE_TAG_HSM equ (0C0000004h)
IO_REPARSE_TAG_NSS equ (80000005h)
IO_REPARSE_TAG_NSSRECOVER equ (80000006h)
IO_REPARSE_TAG_SIS equ (80000007h)
IO_REPARSE_TAG_DFS equ (80000008h)
ES_SYSTEM_REQUIRED equ (00000001h)
ES_DISPLAY_REQUIRED equ (00000002h)
ES_USER_PRESENT equ (00000004h)
ES_CONTINUOUS equ (80000000h)
IMAGE_DOS_SIGNATURE equ 5A4Dh      
IMAGE_OS2_SIGNATURE equ 454Eh      
IMAGE_OS2_SIGNATURE_LE equ 454Ch      
IMAGE_VXD_SIGNATURE equ 454Ch      
IMAGE_NT_SIGNATURE equ 00004550h  
IMAGE_SIZEOF_FILE_HEADER equ 20
IMAGE_FILE_RELOCS_STRIPPED equ 0001h  
IMAGE_FILE_EXECUTABLE_IMAGE equ 0002h  
IMAGE_FILE_LINE_NUMS_STRIPPED equ 0004h  
IMAGE_FILE_LOCAL_SYMS_STRIPPED equ 0008h  
IMAGE_FILE_AGGRESIVE_WS_TRIM equ 0010h  
IMAGE_FILE_LARGE_ADDRESS_AWARE equ 0020h  
IMAGE_FILE_BYTES_REVERSED_LO equ 0080h  
IMAGE_FILE_32BIT_MACHINE equ 0100h  
IMAGE_FILE_DEBUG_STRIPPED equ 0200h  
IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP equ 0400h  
IMAGE_FILE_NET_RUN_FROM_SWAP equ 0800h  
IMAGE_FILE_SYSTEM equ 1000h  
IMAGE_FILE_DLL equ 2000h  
IMAGE_FILE_UP_SYSTEM_ONLY equ 4000h  
IMAGE_FILE_BYTES_REVERSED_HI equ 8000h  
IMAGE_FILE_MACHINE_UNKNOWN equ 0
IMAGE_FILE_MACHINE_I386 equ 014ch  
IMAGE_FILE_MACHINE_R3000 equ 0162h  
IMAGE_FILE_MACHINE_R4000 equ 0166h  
IMAGE_FILE_MACHINE_R10000 equ 0168h  
IMAGE_FILE_MACHINE_WCEMIPSV2 equ 0169h  
IMAGE_FILE_MACHINE_ALPHA equ 0184h  
IMAGE_FILE_MACHINE_POWERPC equ 01F0h  
IMAGE_FILE_MACHINE_SH3 equ 01a2h  
IMAGE_FILE_MACHINE_SH3E equ 01a4h  
IMAGE_FILE_MACHINE_SH4 equ 01a6h  
IMAGE_FILE_MACHINE_ARM equ 01c0h  
IMAGE_FILE_MACHINE_THUMB equ 01c2h
IMAGE_FILE_MACHINE_IA64 equ 0200h  
IMAGE_FILE_MACHINE_MIPS16 equ 0266h  
IMAGE_FILE_MACHINE_MIPSFPU equ 0366h  
IMAGE_FILE_MACHINE_MIPSFPU16 equ 0466h  
IMAGE_FILE_MACHINE_ALPHA64 equ 0284h  
IMAGE_FILE_MACHINE_AXP64 equ IMAGE_FILE_MACHINE_ALPHA64
IMAGE_SIZEOF_ROM_OPTIONAL_HEADER equ 56
IMAGE_SIZEOF_STD_OPTIONAL_HEADER equ 28
IMAGE_SIZEOF_NT_OPTIONAL32_HEADER equ 224
IMAGE_SIZEOF_NT_OPTIONAL64_HEADER equ 240
IMAGE_NT_OPTIONAL_HDR32_MAGIC equ 10bh
IMAGE_NT_OPTIONAL_HDR64_MAGIC equ 20bh
IMAGE_ROM_OPTIONAL_HDR_MAGIC equ 107h
IMAGE_SUBSYSTEM_UNKNOWN equ 0   
IMAGE_SUBSYSTEM_NATIVE equ 1   
IMAGE_SUBSYSTEM_WINDOWS_GUI equ 2   
IMAGE_SUBSYSTEM_WINDOWS_CUI equ 3   
IMAGE_SUBSYSTEM_OS2_CUI equ 5   
IMAGE_SUBSYSTEM_POSIX_CUI equ 7   
IMAGE_SUBSYSTEM_NATIVE_WINDOWS equ 8   
IMAGE_SUBSYSTEM_WINDOWS_CE_GUI equ 9   
IMAGE_DLLCHARACTERISTICS_WDM_DRIVER equ 2000h     
IMAGE_DIRECTORY_ENTRY_ARCHITECTURE equ 7   
IMAGE_SIZEOF_SHORT_NAME equ 8
IMAGE_SCN_TYPE_NO_PAD equ 00000008h  
IMAGE_SCN_CNT_CODE equ 00000020h  
IMAGE_SCN_CNT_INITIALIZED_DATA equ 00000040h  
IMAGE_SCN_CNT_UNINITIALIZED_DATA equ 00000080h  
IMAGE_SCN_LNK_OTHER equ 00000100h  
IMAGE_SCN_LNK_INFO equ 00000200h  
IMAGE_SCN_LNK_REMOVE equ 00000800h  
IMAGE_SCN_LNK_COMDAT equ 00001000h  
IMAGE_SCN_NO_DEFER_SPEC_EXC equ 00004000h  
IMAGE_SCN_GPREL equ 00008000h  
IMAGE_SCN_MEM_FARDATA equ 00008000h
IMAGE_SCN_MEM_PURGEABLE equ 00020000h
IMAGE_SCN_MEM_16BIT equ 00020000h
IMAGE_SCN_MEM_LOCKED equ 00040000h
IMAGE_SCN_MEM_PRELOAD equ 00080000h
IMAGE_SCN_ALIGN_1BYTES equ 00100000h  
IMAGE_SCN_ALIGN_2BYTES equ 00200000h  
IMAGE_SCN_ALIGN_4BYTES equ 00300000h  
IMAGE_SCN_ALIGN_8BYTES equ 00400000h  
IMAGE_SCN_ALIGN_16BYTES equ 00500000h  
IMAGE_SCN_ALIGN_32BYTES equ 00600000h  
IMAGE_SCN_ALIGN_64BYTES equ 00700000h  
IMAGE_SCN_ALIGN_128BYTES equ 00800000h  
IMAGE_SCN_ALIGN_256BYTES equ 00900000h  
IMAGE_SCN_ALIGN_512BYTES equ 00A00000h  
IMAGE_SCN_ALIGN_1024BYTES equ 00B00000h  
IMAGE_SCN_ALIGN_2048BYTES equ 00C00000h  
IMAGE_SCN_ALIGN_4096BYTES equ 00D00000h  
IMAGE_SCN_ALIGN_8192BYTES equ 00E00000h  
IMAGE_SCN_LNK_NRELOC_OVFL equ 01000000h  
IMAGE_SCN_MEM_DISCARDABLE equ 02000000h  
IMAGE_SCN_MEM_NOT_CACHED equ 04000000h  
IMAGE_SCN_MEM_NOT_PAGED equ 08000000h  
IMAGE_SCN_MEM_SHARED equ 10000000h  
IMAGE_SCN_MEM_EXECUTE equ 20000000h  
IMAGE_SCN_MEM_READ equ 40000000h  
IMAGE_SCN_MEM_WRITE equ 80000000h  
IMAGE_SCN_SCALE_INDEX equ 00000001h  
IMAGE_SIZEOF_SYMBOL equ 18
IMAGE_SYM_UNDEFINED equ 0          
IMAGE_SYM_ABSOLUTE equ -1         
IMAGE_SYM_DEBUG equ -2         
IMAGE_SYM_TYPE_NULL equ 0000h  
IMAGE_SYM_TYPE_VOID equ 0001h  
IMAGE_SYM_TYPE_CHAR equ 0002h  
IMAGE_SYM_TYPE_SHORT equ 0003h  
IMAGE_SYM_TYPE_INT equ 0004h  
IMAGE_SYM_TYPE_LONG equ 0005h  
IMAGE_SYM_TYPE_FLOAT equ 0006h  
IMAGE_SYM_TYPE_DOUBLE equ 0007h  
IMAGE_SYM_TYPE_STRUCT equ 0008h  
IMAGE_SYM_TYPE_UNION equ 0009h  
IMAGE_SYM_TYPE_ENUM equ 000Ah  
IMAGE_SYM_TYPE_MOE equ 000Bh  
IMAGE_SYM_TYPE_BYTE equ 000Ch  
IMAGE_SYM_TYPE_WORD equ 000Dh  
IMAGE_SYM_TYPE_UINT equ 000Eh  
IMAGE_SYM_TYPE_DWORD equ 000Fh  
IMAGE_SYM_TYPE_PCODE equ 8000h  
IMAGE_SYM_DTYPE_NULL equ 0       
IMAGE_SYM_DTYPE_POINTER equ 1       
IMAGE_SYM_DTYPE_FUNCTION equ 2       
IMAGE_SYM_DTYPE_ARRAY equ 3       
IMAGE_SYM_CLASS_END_OF_FUNCTION equ -1
IMAGE_SYM_CLASS_NULL equ 0000h
IMAGE_SYM_CLASS_AUTOMATIC equ 0001h
IMAGE_SYM_CLASS_EXTERNAL equ 0002h
IMAGE_SYM_CLASS_STATIC equ 0003h
IMAGE_SYM_CLASS_REGISTER equ 0004h
IMAGE_SYM_CLASS_EXTERNAL_DEF equ 0005h
IMAGE_SYM_CLASS_LABEL equ 0006h
IMAGE_SYM_CLASS_UNDEFINED_LABEL equ 0007h
IMAGE_SYM_CLASS_MEMBER_OF_STRUCT equ 0008h
IMAGE_SYM_CLASS_ARGUMENT equ 0009h
IMAGE_SYM_CLASS_STRUCT_TAG equ 000Ah
IMAGE_SYM_CLASS_MEMBER_OF_UNION equ 000Bh
IMAGE_SYM_CLASS_UNION_TAG equ 000Ch
IMAGE_SYM_CLASS_TYPE_DEFINITION equ 000Dh
IMAGE_SYM_CLASS_UNDEFINED_STATIC equ 000Eh
IMAGE_SYM_CLASS_ENUM_TAG equ 000Fh
IMAGE_SYM_CLASS_MEMBER_OF_ENUM equ 0010h
IMAGE_SYM_CLASS_REGISTER_PARAM equ 0011h
IMAGE_SYM_CLASS_BIT_FIELD equ 0012h
IMAGE_SYM_CLASS_FAR_EXTERNAL equ 0044h  
IMAGE_SYM_CLASS_BLOCK equ 0064h
IMAGE_SYM_CLASS_FUNCTION equ 0065h
IMAGE_SYM_CLASS_END_OF_STRUCT equ 0066h
IMAGE_SYM_CLASS_FILE equ 0067h
IMAGE_SYM_CLASS_SECTION equ 0068h
IMAGE_SYM_CLASS_WEAK_EXTERNAL equ 0069h
N_BTMASK equ 000Fh
N_TMASK equ 0030h
N_TMASK1 equ 00C0h
N_TMASK2 equ 00F0h
N_BTSHFT equ 4
N_TSHIFT equ 2
IMAGE_SIZEOF_AUX_SYMBOL equ 18
IMAGE_COMDAT_SELECT_NODUPLICATES equ 1
IMAGE_COMDAT_SELECT_ANY equ 2
IMAGE_COMDAT_SELECT_SAME_SIZE equ 3
IMAGE_COMDAT_SELECT_EXACT_MATCH equ 4
IMAGE_COMDAT_SELECT_ASSOCIATIVE equ 5
IMAGE_COMDAT_SELECT_LARGEST equ 6
IMAGE_COMDAT_SELECT_NEWEST equ 7
IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY equ 1
IMAGE_WEAK_EXTERN_SEARCH_LIBRARY equ 2
IMAGE_WEAK_EXTERN_SEARCH_ALIAS equ 3
IMAGE_SIZEOF_RELOCATION equ 10
IMAGE_REL_I386_ABSOLUTE equ 0000h  
IMAGE_REL_I386_DIR16 equ 0001h  
IMAGE_REL_I386_REL16 equ 0002h  
IMAGE_REL_I386_DIR32 equ 0006h  
IMAGE_REL_I386_DIR32NB equ 0007h  
IMAGE_REL_I386_SEG12 equ 0009h  
IMAGE_REL_I386_SECTION equ 000Ah
IMAGE_REL_I386_SECREL equ 000Bh
IMAGE_REL_I386_REL32 equ 0014h  
IMAGE_SIZEOF_LINENUMBER equ 6
IMAGE_SIZEOF_BASE_RELOCATION equ 8
IMAGE_REL_BASED_ABSOLUTE equ 0
IMAGE_REL_BASED_HIGH equ 1
IMAGE_REL_BASED_LOW equ 2
IMAGE_REL_BASED_HIGHLOW equ 3
IMAGE_REL_BASED_HIGHADJ equ 4
IMAGE_REL_BASED_MIPS_JMPADDR equ 5
IMAGE_REL_BASED_SECTION equ 6
IMAGE_REL_BASED_REL32 equ 7
IMAGE_REL_BASED_MIPS_JMPADDR16 equ 9
IMAGE_REL_BASED_IA64_IMM64 equ 9
IMAGE_REL_BASED_DIR64 equ 10
IMAGE_REL_BASED_HIGH3ADJ equ 11
IMAGE_ARCHIVE_START_SIZE equ 8
IMAGE_ARCHIVE_START equ "!<arch>",10
IMAGE_ARCHIVE_END equ "`",10
IMAGE_ARCHIVE_PAD equ 10
IMAGE_ARCHIVE_LINKER_MEMBER equ "/               "
IMAGE_ARCHIVE_LONGNAMES_MEMBER equ "//              "
IMAGE_SIZEOF_ARCHIVE_MEMBER_HDR equ 60
IMAGE_ORDINAL_FLAG32 equ 80000000h
IMAGE_RESOURCE_NAME_IS_STRING equ 80000000h
IMAGE_RESOURCE_DATA_IS_DIRECTORY equ 80000000h
IMAGE_DEBUG_TYPE_UNKNOWN equ 0
IMAGE_DEBUG_TYPE_COFF equ 1
IMAGE_DEBUG_TYPE_CODEVIEW equ 2
IMAGE_DEBUG_TYPE_FPO equ 3
IMAGE_DEBUG_TYPE_MISC equ 4
IMAGE_DEBUG_TYPE_EXCEPTION equ 5
IMAGE_DEBUG_TYPE_FIXUP equ 6
IMAGE_DEBUG_TYPE_OMAP_TO_SRC equ 7
IMAGE_DEBUG_TYPE_OMAP_FROM_SRC equ 8
IMAGE_DEBUG_TYPE_BORLAND equ 9
IMAGE_DEBUG_TYPE_RESERVED10 equ 10
FRAME_FPO equ 0
FRAME_TRAP equ 1
FRAME_TSS equ 2
FRAME_NONFPO equ 3
SIZEOF_RFPO_DATA equ 16
IMAGE_DEBUG_MISC_EXENAME equ 1
IMAGE_SEPARATE_DEBUG_SIGNATURE equ 4944h
IMAGE_SEPARATE_DEBUG_FLAGS_MASK equ 8000h
IMAGE_SEPARATE_DEBUG_MISMATCH equ 8000h  
HEAP_NO_SERIALIZE equ 00000001h      
HEAP_GROWABLE equ 00000002h      
HEAP_GENERATE_EXCEPTIONS equ 00000004h      
HEAP_ZERO_MEMORY equ 00000008h      
HEAP_REALLOC_IN_PLACE_ONLY equ 00000010h      
HEAP_TAIL_CHECKING_ENABLED equ 00000020h      
HEAP_FREE_CHECKING_ENABLED equ 00000040h      
HEAP_DISABLE_COALESCE_ON_FREE equ 00000080h      
HEAP_CREATE_ALIGN_16 equ 00010000h      
HEAP_CREATE_ENABLE_TRACING equ 00020000h      
HEAP_MAXIMUM_TAG equ 0FFFh              
HEAP_PSEUDO_TAG_FLAG equ 8000h              
HEAP_TAG_SHIFT equ 18                  
IS_TEXT_UNICODE_ASCII16 equ 0001h
IS_TEXT_UNICODE_REVERSE_ASCII16 equ 0010h
IS_TEXT_UNICODE_STATISTICS equ 0002h
IS_TEXT_UNICODE_REVERSE_STATISTICS equ 0020h
IS_TEXT_UNICODE_CONTROLS equ 0004h
IS_TEXT_UNICODE_REVERSE_CONTROLS equ 0040h
IS_TEXT_UNICODE_SIGNATURE equ 0008h
IS_TEXT_UNICODE_REVERSE_SIGNATURE equ 0080h
IS_TEXT_UNICODE_ILLEGAL_CHARS equ 0100h
IS_TEXT_UNICODE_ODD_LENGTH equ 0200h
IS_TEXT_UNICODE_DBCS_LEADBYTE equ 0400h
IS_TEXT_UNICODE_NULL_BYTES equ 1000h
IS_TEXT_UNICODE_UNICODE_MASK equ 000Fh
IS_TEXT_UNICODE_REVERSE_MASK equ 00F0h
IS_TEXT_UNICODE_NOT_UNICODE_MASK equ 0F00h
IS_TEXT_UNICODE_NOT_ASCII_MASK equ 0F000h
COMPRESSION_FORMAT_NONE equ (0000h)   
COMPRESSION_FORMAT_DEFAULT equ (0001h)   
COMPRESSION_FORMAT_LZNT1 equ (0002h)   
COMPRESSION_ENGINE_STANDARD equ (0000h)   
COMPRESSION_ENGINE_MAXIMUM equ (0100h)   
MESSAGE_RESOURCE_UNICODE equ 0001h
RTL_CRITSECT_TYPE equ 0
RTL_RESOURCE_TYPE equ 1
SEF_DACL_AUTO_INHERIT equ 1h
SEF_SACL_AUTO_INHERIT equ 2h
SEF_DEFAULT_DESCRIPTOR_FOR_OBJECT equ 4h
SEF_AVOID_PRIVILEGE_CHECK equ 8h
WT_EXECUTEDEFAULT equ 00000000h                           
WT_EXECUTEINIOTHREAD equ 00000001h                           
WT_EXECUTEINUITHREAD equ 00000002h                           
WT_EXECUTEINWAITTHREAD equ 00000004h                           
WT_EXECUTEDELETEWAIT equ 00000008h                           
WT_EXECUTEINLONGTHREAD equ 00000010h                           
EVENTLOG_SEQUENTIAL_READ equ 0001h
EVENTLOG_SEEK_READ equ 0002h
EVENTLOG_FORWARDS_READ equ 0004h
EVENTLOG_BACKWARDS_READ equ 0008h
EVENTLOG_SUCCESS equ 0000h
EVENTLOG_ERROR_TYPE equ 0001h
EVENTLOG_WARNING_TYPE equ 0002h
EVENTLOG_INFORMATION_TYPE equ 0004h
EVENTLOG_AUDIT_SUCCESS equ 0008h
EVENTLOG_AUDIT_FAILURE equ 0010h
EVENTLOG_START_PAIRED_EVENT equ 0001h
EVENTLOG_END_PAIRED_EVENT equ 0002h
EVENTLOG_END_ALL_PAIRED_EVENTS equ 0004h
EVENTLOG_PAIRED_EVENT_ACTIVE equ 0008h
EVENTLOG_PAIRED_EVENT_INACTIVE equ 0010h
MAXLOGICALLOGNAMESIZE equ 256
REG_OPTION_OPEN_LINK equ (00000008h)   
REG_NO_LAZY_FLUSH equ (00000004h)   
SERVICE_KERNEL_DRIVER equ 00000001h
SERVICE_FILE_SYSTEM_DRIVER equ 00000002h
SERVICE_ADAPTER equ 00000004h
SERVICE_RECOGNIZER_DRIVER equ 00000008h
SERVICE_DRIVER equ (SERVICE_KERNEL_DRIVER + SERVICE_FILE_SYSTEM_DRIVER + SERVICE_RECOGNIZER_DRIVER)
SERVICE_WIN32_OWN_PROCESS equ 00000010h
SERVICE_WIN32_SHARE_PROCESS equ 00000020h
SERVICE_WIN32 equ (SERVICE_WIN32_OWN_PROCESS + SERVICE_WIN32_SHARE_PROCESS)
SERVICE_INTERACTIVE_PROCESS equ 00000100h
SERVICE_TYPE_ALL equ (SERVICE_WIN32+SERVICE_ADAPTER + SERVICE_DRIVER  + SERVICE_INTERACTIVE_PROCESS)
SERVICE_BOOT_START equ 00000000h
SERVICE_SYSTEM_START equ 00000001h
SERVICE_AUTO_START equ 00000002h
SERVICE_DEMAND_START equ 00000003h
SERVICE_DISABLED equ 00000004h
SERVICE_ERROR_IGNORE equ 00000000h
SERVICE_ERROR_NORMAL equ 00000001h
SERVICE_ERROR_SEVERE equ 00000002h
SERVICE_ERROR_CRITICAL equ 00000003h
TAPE_ERASE_SHORT equ 0
TAPE_ERASE_LONG equ 1
TAPE_LOAD equ 0
TAPE_UNLOAD equ 1
TAPE_TENSION equ 2
TAPE_LOCK equ 3
TAPE_UNLOCK equ 4
TAPE_FORMAT equ 5
TAPE_SETMARKS equ 0
TAPE_FILEMARKS equ 1
TAPE_SHORT_FILEMARKS equ 2
TAPE_LONG_FILEMARKS equ 3
TAPE_ABSOLUTE_POSITION equ 0
TAPE_LOGICAL_POSITION equ 1
TAPE_PSEUDO_LOGICAL_POSITION equ 2
TAPE_REWIND equ 0
TAPE_ABSOLUTE_BLOCK equ 1
TAPE_LOGICAL_BLOCK equ 2
TAPE_PSEUDO_LOGICAL_BLOCK equ 3
TAPE_SPACE_END_OF_DATA equ 4
TAPE_SPACE_RELATIVE_BLOCKS equ 5
TAPE_SPACE_FILEMARKS equ 6
TAPE_SPACE_SEQUENTIAL_FMKS equ 7
TAPE_SPACE_SETMARKS equ 8
TAPE_SPACE_SEQUENTIAL_SMKS equ 9
TAPE_DRIVE_FIXED equ 00000001h
TAPE_DRIVE_SELECT equ 00000002h
TAPE_DRIVE_INITIATOR equ 00000004h
TAPE_DRIVE_ERASE_SHORT equ 00000010h
TAPE_DRIVE_ERASE_LONG equ 00000020h
TAPE_DRIVE_ERASE_BOP_ONLY equ 00000040h
TAPE_DRIVE_ERASE_IMMEDIATE equ 00000080h
TAPE_DRIVE_TAPE_CAPACITY equ 00000100h
TAPE_DRIVE_TAPE_REMAINING equ 00000200h
TAPE_DRIVE_FIXED_BLOCK equ 00000400h
TAPE_DRIVE_VARIABLE_BLOCK equ 00000800h
TAPE_DRIVE_WRITE_PROTECT equ 00001000h
TAPE_DRIVE_EOT_WZ_SIZE equ 00002000h
TAPE_DRIVE_ECC equ 00010000h
TAPE_DRIVE_COMPRESSION equ 00020000h
TAPE_DRIVE_PADDING equ 00040000h
TAPE_DRIVE_REPORT_SMKS equ 00080000h
TAPE_DRIVE_GET_ABSOLUTE_BLK equ 00100000h
TAPE_DRIVE_GET_LOGICAL_BLK equ 00200000h
TAPE_DRIVE_SET_EOT_WZ_SIZE equ 00400000h
TAPE_DRIVE_EJECT_MEDIA equ 01000000h
TAPE_DRIVE_CLEAN_REQUESTS equ 02000000h
TAPE_DRIVE_SET_CMP_BOP_ONLY equ 04000000h
TAPE_DRIVE_RESERVED_BIT equ 80000000h  
TAPE_DRIVE_LOAD_UNLOAD equ 80000001h
TAPE_DRIVE_TENSION equ 80000002h
TAPE_DRIVE_LOCK_UNLOCK equ 80000004h
TAPE_DRIVE_REWIND_IMMEDIATE equ 80000008h
TAPE_DRIVE_SET_BLOCK_SIZE equ 80000010h
TAPE_DRIVE_LOAD_UNLD_IMMED equ 80000020h
TAPE_DRIVE_TENSION_IMMED equ 80000040h
TAPE_DRIVE_LOCK_UNLK_IMMED equ 80000080h
TAPE_DRIVE_SET_ECC equ 80000100h
TAPE_DRIVE_SET_COMPRESSION equ 80000200h
TAPE_DRIVE_SET_PADDING equ 80000400h
TAPE_DRIVE_SET_REPORT_SMKS equ 80000800h
TAPE_DRIVE_ABSOLUTE_BLK equ 80001000h
TAPE_DRIVE_ABS_BLK_IMMED equ 80002000h
TAPE_DRIVE_LOGICAL_BLK equ 80004000h
TAPE_DRIVE_LOG_BLK_IMMED equ 80008000h
TAPE_DRIVE_END_OF_DATA equ 80010000h
TAPE_DRIVE_RELATIVE_BLKS equ 80020000h
TAPE_DRIVE_FILEMARKS equ 80040000h
TAPE_DRIVE_SEQUENTIAL_FMKS equ 80080000h
TAPE_DRIVE_SETMARKS equ 80100000h
TAPE_DRIVE_SEQUENTIAL_SMKS equ 80200000h
TAPE_DRIVE_REVERSE_POSITION equ 80400000h
TAPE_DRIVE_SPACE_IMMEDIATE equ 80800000h
TAPE_DRIVE_WRITE_SETMARKS equ 81000000h
TAPE_DRIVE_WRITE_FILEMARKS equ 82000000h
TAPE_DRIVE_WRITE_SHORT_FMKS equ 84000000h
TAPE_DRIVE_WRITE_LONG_FMKS equ 88000000h
TAPE_DRIVE_WRITE_MARK_IMMED equ 090000000h
TAPE_DRIVE_FORMAT equ 0A0000000h
TAPE_DRIVE_FORMAT_IMMEDIATE equ 0C0000000h
TAPE_DRIVE_HIGH_FEATURES equ 80000000h  
IMPORT_OBJECT_HDR_SIG2 equ 0ffffh
TAPE_FIXED_PARTITIONS equ 0
TAPE_SELECT_PARTITIONS equ 1
TAPE_INITIATOR_PARTITIONS equ 2


DriverType               equ SERVICE_KERNEL_DRIVER
FileSystemType           equ SERVICE_FILE_SYSTEM_DRIVER
Win32ServiceOwnProcess   equ SERVICE_WIN32_OWN_PROCESS
Win32ServiceShareProcess equ SERVICE_WIN32_SHARE_PROCESS
AdapterType              equ SERVICE_ADAPTER
RecognizerType           equ SERVICE_RECOGNIZER_DRIVER

BootLoad    equ SERVICE_BOOT_START
SystemLoad  equ SERVICE_SYSTEM_START
AutoLoad    equ SERVICE_AUTO_START
DemandLoad  equ SERVICE_DEMAND_START
DisableLoad equ SERVICE_DISABLED

IgnoreError   equ SERVICE_ERROR_IGNORE
NormalError   equ SERVICE_ERROR_NORMAL
SevereError   equ SERVICE_ERROR_SEVERE
CriticalError equ SERVICE_ERROR_CRITICAL

IMPORT_OBJECT_CODE      equ 0
IMPORT_OBJECT_DATA      equ 1
IMPORT_OBJECT_CONST     equ 2

IMPORT_OBJECT_ORDINAL   equ 0
IMPORT_OBJECT_NAME      equ 1
IMPORT_OBJECT_NAME_NO_PREFIX equ  2
IMPORT_OBJECT_NAME_UNDECORATE equ 3

EXECUTION_STATE         equ DWORD

LT_DONT_CARE            equ 0
LT_LOWEST_LATENCY       equ 1

TokenPrimary            equ 1
TokenImpersonation      equ 2

TokenRestrictedSids     equ 11
TokenSessionId          equ 12

AuditEventObjectAccess  equ 0
AuditEventDirectoryServiceAccess equ 1


SidTypeComputer         equ 9

MEMORY_ALLOCATION_ALIGNMENT      equ 16
SYSTEM_CACHE_ALIGNMENT_SIZE      equ 64
PRAGMA_DEPRECATED_DDK            equ 1
UCSCHAR_INVALID_CHARACTER        equ 0ffffffffh
MIN_UCSCHAR                      equ 0
MAX_UCSCHAR                      equ 0010FFFFh
VER_SUITE_STORAGE_SERVER         equ 00002000h
VER_SUITE_COMPUTE_SERVER         equ 00004000h
PRODUCT_UNDEFINED                equ 00000000h
PRODUCT_ULTIMATE                 equ 00000001h
PRODUCT_HOME_BASIC               equ 00000002h
PRODUCT_HOME_PREMIUM             equ 00000003h
PRODUCT_ENTERPRISE               equ 00000004h
PRODUCT_HOME_BASIC_N             equ 00000005h
PRODUCT_BUSINESS                 equ 00000006h
PRODUCT_STANDARD_SERVER          equ 00000007h
PRODUCT_DATACENTER_SERVER        equ 00000008h
PRODUCT_SMALLBUSINESS_SERVER     equ 00000009h
PRODUCT_ENTERPRISE_SERVER        equ 0000000Ah
PRODUCT_STARTER                  equ 0000000Bh
PRODUCT_DATACENTER_SERVER_CORE   equ 0000000Ch
PRODUCT_STANDARD_SERVER_CORE     equ 0000000Dh
PRODUCT_ENTERPRISE_SERVER_CORE   equ 0000000Eh
PRODUCT_ENTERPRISE_SERVER_IA64   equ 0000000Fh
PRODUCT_BUSINESS_N               equ 00000010h
PRODUCT_WEB_SERVER               equ 00000011h
PRODUCT_CLUSTER_SERVER           equ 00000012h
PRODUCT_HOME_SERVER              equ 00000013h
PRODUCT_STORAGE_EXPRESS_SERVER   equ 00000014h
PRODUCT_STORAGE_STANDARD_SERVER  equ 00000015h
PRODUCT_STORAGE_WORKGROUP_SERVER equ 00000016h
PRODUCT_STORAGE_ENTERPRISE_SERVER equ 00000017h
PRODUCT_SERVER_FOR_SMALLBUSINESS equ 00000018h
PRODUCT_SMALLBUSINESS_SERVER_PREMIUM equ 00000019h
PRODUCT_UNLICENSED               equ 0ABCDABCDh
LANG_ALSATIAN                    equ 84h
LANG_AMHARIC                     equ 5eh
LANG_BASHKIR                     equ 6dh
LANG_BRETON                      equ 7eh
LANG_BOSNIAN                     equ 1ah
LANG_BOSNIAN_NEUTRAL             equ 781ah
LANG_CHINESE_SIMPLIFIED          equ 04h
LANG_CHINESE_TRADITIONAL         equ 7c04h
LANG_CORSICAN                    equ 83h
LANG_DARI                        equ 8ch
LANG_FILIPINO                    equ 64h
LANG_FRISIAN                     equ 62h
LANG_GREENLANDIC                 equ 6fh
LANG_HAUSA                       equ 68h
LANG_IGBO                        equ 70h
LANG_INUKTITUT                   equ 5dh
LANG_IRISH                       equ 3ch
LANG_KHMER                       equ 53h
LANG_KICHE                       equ 86h
LANG_KINYARWANDA                 equ 87h
LANG_LAO                         equ 54h
LANG_LOWER_SORBIAN               equ 2eh
LANG_LUXEMBOURGISH               equ 6eh
LANG_MALTESE                     equ 3ah
LANG_MAORI                       equ 81h
LANG_MAPUDUNGUN                  equ 7ah
LANG_MOHAWK                      equ 7ch
LANG_OCCITAN                     equ 82h
LANG_PASHTO                      equ 63h
LANG_PERSIAN                     equ 29h
LANG_QUECHUA                     equ 6bh
LANG_ROMANSH                     equ 17h
LANG_SAMI                        equ 3bh
LANG_SERBIAN_NEUTRAL             equ 7c1ah
LANG_SINHALESE                   equ 5bh
LANG_SOTHO                       equ 6ch
LANG_TAJIK                       equ 28h
LANG_TAMAZIGHT                   equ 5fh
LANG_TIBETAN                     equ 51h
LANG_TIGRIGNA                    equ 73h
LANG_TSWANA                      equ 32h
LANG_TURKMEN                     equ 42h
LANG_UIGHUR                      equ 80h
LANG_UPPER_SORBIAN               equ 2eh
LANG_WELSH                       equ 52h
LANG_WOLOF                       equ 88h
LANG_XHOSA                       equ 34h
LANG_YAKUT                       equ 85h
LANG_YI                          equ 78h
LANG_YORUBA                      equ 6ah
LANG_ZULU                        equ 35h
SUBLANG_CUSTOM_DEFAULT           equ 03h
SUBLANG_CUSTOM_UNSPECIFIED       equ 04h
SUBLANG_UI_CUSTOM_DEFAULT        equ 05h
SUBLANG_AFRIKAANS_SOUTH_AFRICA   equ 01h
SUBLANG_ALBANIAN_ALBANIA         equ 01h
SUBLANG_ALSATIAN_FRANCE          equ 01h
SUBLANG_AMHARIC_ETHIOPIA         equ 01h
SUBLANG_ARMENIAN_ARMENIA         equ 01h
SUBLANG_ASSAMESE_INDIA           equ 01h
SUBLANG_BASHKIR_RUSSIA           equ 01h
SUBLANG_BASQUE_BASQUE            equ 01h
SUBLANG_BELARUSIAN_BELARUS       equ 01h
SUBLANG_BENGALI_INDIA            equ 01h
SUBLANG_BENGALI_BANGLADESH       equ 02h
SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_LATIN equ 05h
SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_CYRILLIC equ 08h
SUBLANG_BRETON_FRANCE            equ 01h
SUBLANG_BULGARIAN_BULGARIA       equ 01h
SUBLANG_CATALAN_CATALAN          equ 01h
SUBLANG_CORSICAN_FRANCE          equ 01h
SUBLANG_CZECH_CZECH_REPUBLIC     equ 01h
SUBLANG_CROATIAN_CROATIA         equ 01h
SUBLANG_CROATIAN_BOSNIA_HERZEGOVINA_LATIN equ 04h
SUBLANG_DANISH_DENMARK           equ 01h
SUBLANG_DARI_AFGHANISTAN         equ 01h
SUBLANG_DIVEHI_MALDIVES          equ 01h
SUBLANG_ENGLISH_INDIA            equ 10h
SUBLANG_ENGLISH_MALAYSIA         equ 11h
SUBLANG_ENGLISH_SINGAPORE        equ 12h
SUBLANG_ESTONIAN_ESTONIA         equ 01h
SUBLANG_FAEROESE_FAROE_ISLANDS   equ 01h
SUBLANG_FILIPINO_PHILIPPINES     equ 01h
SUBLANG_FINNISH_FINLAND          equ 01h
SUBLANG_FRISIAN_NETHERLANDS      equ 01h
SUBLANG_GALICIAN_GALICIAN        equ 01h
SUBLANG_GEORGIAN_GEORGIA         equ 01h
SUBLANG_GREEK_GREECE             equ 01h
SUBLANG_GREENLANDIC_GREENLAND    equ 01h
SUBLANG_GUJARATI_INDIA           equ 01h
SUBLANG_HAUSA_NIGERIA_LATIN      equ 01h
SUBLANG_HEBREW_ISRAEL            equ 01h
SUBLANG_HINDI_INDIA              equ 01h
SUBLANG_HUNGARIAN_HUNGARY        equ 01h
SUBLANG_ICELANDIC_ICELAND        equ 01h
SUBLANG_IGBO_NIGERIA             equ 01h
SUBLANG_INDONESIAN_INDONESIA     equ 01h
SUBLANG_INUKTITUT_CANADA         equ 01h
SUBLANG_INUKTITUT_CANADA_LATIN   equ 02h
SUBLANG_IRISH_IRELAND            equ 02h
SUBLANG_JAPANESE_JAPAN           equ 01h
SUBLANG_KANNADA_INDIA            equ 01h
SUBLANG_KAZAK_KAZAKHSTAN         equ 01h
SUBLANG_KHMER_CAMBODIA           equ 01h
SUBLANG_KICHE_GUATEMALA          equ 01h
SUBLANG_KINYARWANDA_RWANDA       equ 01h
SUBLANG_KONKANI_INDIA            equ 01h
SUBLANG_KYRGYZ_KYRGYZSTAN        equ 01h
SUBLANG_LAO_LAO                  equ 01h
SUBLANG_LATVIAN_LATVIA           equ 01h
SUBLANG_LOWER_SORBIAN_GERMANY    equ 02h
SUBLANG_LUXEMBOURGISH_LUXEMBOURG equ 01h
SUBLANG_MACEDONIAN_MACEDONIA     equ 01h
SUBLANG_MALAYALAM_INDIA          equ 01h
SUBLANG_MALTESE_MALTA            equ 01h
SUBLANG_MAORI_NEW_ZEALAND        equ 01h
SUBLANG_MAPUDUNGUN_CHILE         equ 01h
SUBLANG_MARATHI_INDIA            equ 01h
SUBLANG_MOHAWK_MOHAWK            equ 01h
SUBLANG_MONGOLIAN_CYRILLIC_MONGOLIA equ 01h
SUBLANG_MONGOLIAN_PRC            equ 02h
SUBLANG_NEPALI_NEPAL             equ 01h
SUBLANG_OCCITAN_FRANCE           equ 01h
SUBLANG_ORIYA_INDIA              equ 01h
SUBLANG_PASHTO_AFGHANISTAN       equ 01h
SUBLANG_PERSIAN_IRAN             equ 01h
SUBLANG_POLISH_POLAND            equ 01h
SUBLANG_PUNJABI_INDIA            equ 01h
SUBLANG_QUECHUA_BOLIVIA          equ 01h
SUBLANG_QUECHUA_ECUADOR          equ 02h
SUBLANG_QUECHUA_PERU             equ 03h
SUBLANG_ROMANIAN_ROMANIA         equ 01h
SUBLANG_ROMANSH_SWITZERLAND      equ 01h
SUBLANG_RUSSIAN_RUSSIA           equ 01h
SUBLANG_SAMI_NORTHERN_NORWAY     equ 01h
SUBLANG_SAMI_NORTHERN_SWEDEN     equ 02h
SUBLANG_SAMI_NORTHERN_FINLAND    equ 03h
SUBLANG_SAMI_LULE_NORWAY         equ 04h
SUBLANG_SAMI_LULE_SWEDEN         equ 05h
SUBLANG_SAMI_SOUTHERN_NORWAY     equ 06h
SUBLANG_SAMI_SOUTHERN_SWEDEN     equ 07h
SUBLANG_SAMI_SKOLT_FINLAND       equ 08h
SUBLANG_SAMI_INARI_FINLAND       equ 09h
SUBLANG_SANSKRIT_INDIA           equ 01h
SUBLANG_SERBIAN_BOSNIA_HERZEGOVINA_LATIN equ 06h
SUBLANG_SERBIAN_BOSNIA_HERZEGOVINA_CYRILLIC equ 07h
SUBLANG_SERBIAN_CROATIA          equ 01h
SUBLANG_SINDHI_INDIA             equ 01h
SUBLANG_SINDHI_PAKISTAN          equ 02h
SUBLANG_SINDHI_AFGHANISTAN       equ 02h
SUBLANG_SINHALESE_SRI_LANKA      equ 01h
SUBLANG_SOTHO_NORTHERN_SOUTH_AFRICA equ 01h
SUBLANG_SLOVAK_SLOVAKIA          equ 01h
SUBLANG_SLOVENIAN_SLOVENIA       equ 01h
SUBLANG_SPANISH_US               equ 15h
SUBLANG_SWAHILI_KENYA            equ 01h
SUBLANG_SYRIAC_SYRIA             equ 01h
SUBLANG_TAJIK_TAJIKISTAN         equ 01h
SUBLANG_TAMAZIGHT_ALGERIA_LATIN  equ 02h
SUBLANG_TAMIL_INDIA              equ 01h
SUBLANG_TATAR_RUSSIA             equ 01h
SUBLANG_TELUGU_INDIA             equ 01h
SUBLANG_THAI_THAILAND            equ 01h
SUBLANG_TIBETAN_PRC              equ 01h
SUBLANG_TIGRIGNA_ERITREA         equ 02h
SUBLANG_TSWANA_SOUTH_AFRICA      equ 01h
SUBLANG_TURKISH_TURKEY           equ 01h
SUBLANG_TURKMEN_TURKMENISTAN     equ 01h
SUBLANG_UIGHUR_PRC               equ 01h
SUBLANG_UKRAINIAN_UKRAINE        equ 01h
SUBLANG_UPPER_SORBIAN_GERMANY    equ 01h
SUBLANG_VIETNAMESE_VIETNAM       equ 01h
SUBLANG_WELSH_UNITED_KINGDOM     equ 01h
SUBLANG_WOLOF_SENEGAL            equ 01h
SUBLANG_XHOSA_SOUTH_AFRICA       equ 01h
SUBLANG_YAKUT_RUSSIA             equ 01h
SUBLANG_YI_PRC                   equ 01h
SUBLANG_YORUBA_NIGERIA           equ 01h
SUBLANG_ZULU_SOUTH_AFRICA        equ 01h
SORT_INVARIANT_MATH              equ 1h
SORT_JAPANESE_RADICALSTROKE      equ 4h
LOCALE_NAME_MAX_LENGTH           equ 85
EXCEPTION_READ_FAULT             equ 0
EXCEPTION_WRITE_FAULT            equ 1
EXCEPTION_EXECUTE_FAULT          equ 8
INITIAL_FPCSR                    equ 027fh
RUNTIME_FUNCTION_INDIRECT        equ 1h
BREAK_DEBUG_BASE                 equ 080000h
WOW64_CONTEXT_i386               equ 00010000h
WOW64_CONTEXT_i486               equ 00010000h
WOW64_SIZE_OF_80387_REGISTERS    equ 80
WOW64_MAXIMUM_SUPPORTED_EXTENSION equ 512
SID_HASH_SIZE                    equ 32
SECURITY_CREATOR_OWNER_RIGHTS_RID equ 00000004h
SECURITY_IUSER_RID               equ 00000011h
SECURITY_ENTERPRISE_READONLY_CONTROLLERS_RID equ 00000016h
SECURITY_WRITE_RESTRICTED_CODE_RID equ 00000021h
SECURITY_SERVICE_ID_BASE_RID     equ 00000050h
SECURITY_SERVICE_ID_RID_COUNT    equ 6
SECURITY_RESERVED_ID_BASE_RID    equ 00000051h
DOMAIN_GROUP_RID_READONLY_CONTROLLERS equ 00000209h
DOMAIN_ALIAS_RID_DCOM_USERS      equ 00000232h
DOMAIN_ALIAS_RID_IUSERS          equ 00000238h
DOMAIN_ALIAS_RID_CRYPTO_OPERATORS equ 00000239h
DOMAIN_ALIAS_RID_CACHEABLE_PRINCIPALS_GROUP equ 0000023Bh
DOMAIN_ALIAS_RID_NON_CACHEABLE_PRINCIPALS_GROUP equ 0000023Ch
DOMAIN_ALIAS_RID_EVENT_LOG_READERS_GROUP equ 0000023Dh
SECURITY_MANDATORY_UNTRUSTED_RID equ 00000000h
SECURITY_MANDATORY_LOW_RID       equ 00001000h
SECURITY_MANDATORY_MEDIUM_RID    equ 00002000h
SECURITY_MANDATORY_HIGH_RID      equ 00003000h
SECURITY_MANDATORY_SYSTEM_RID    equ 00004000h
SECURITY_MANDATORY_PROTECTED_PROCESS_RID equ 00005000h
SECURITY_MANDATORY_MAXIMUM_USER_RID equ SECURITY_MANDATORY_SYSTEM_RID
SE_GROUP_INTEGRITY               equ 00000020h
SE_GROUP_INTEGRITY_ENABLED       equ 00000040h
SYSTEM_MANDATORY_LABEL_ACE_TYPE  equ 11h
SYSTEM_MANDATORY_LABEL_NO_WRITE_UP equ 1h
SYSTEM_MANDATORY_LABEL_NO_READ_UP equ 2h
SYSTEM_MANDATORY_LABEL_NO_EXECUTE_UP equ 4h
TOKEN_MANDATORY_POLICY_OFF       equ 0h
TOKEN_MANDATORY_POLICY_NO_WRITE_UP equ 1h
TOKEN_MANDATORY_POLICY_NEW_PROCESS_MIN equ 2h
POLICY_AUDIT_SUBCATEGORY_COUNT   equ 50
LUA_TOKEN                        equ 4h
WRITE_RESTRICTED                 equ 8h
LABEL_SECURITY_INFORMATION       equ 00000010h
PROCESS_QUERY_LIMITED_INFORMATION equ 1000h
THREAD_SET_LIMITED_INFORMATION   equ 0400h
THREAD_QUERY_LIMITED_INFORMATION equ 0800h
QUOTA_LIMITS_USE_DEFAULT_LIMITS  equ 00000010h
PS_RATE_PHASE_BITS               equ 4
CACHE_FULLY_ASSOCIATIVE          equ 0FFh
PF_SSE_DAZ_MODE_AVAILABLE        equ 11
PF_NX_ENABLED                    equ 12
PF_SSE3_INSTRUCTIONS_AVAILABLE   equ 13
PF_COMPARE_EXCHANGE128           equ 14
PF_COMPARE64_EXCHANGE128         equ 15
PF_CHANNELS_ENABLED              equ 16
SECTION_MAP_EXECUTE_EXPLICIT     equ 0020h
SESSION_QUERY_ACCESS             equ 0001h
SESSION_MODIFY_ACCESS            equ 0002h
MEM_ROTATE                       equ 800000h
SEC_PROTECTED_IMAGE              equ 2000000h
SEC_WRITECOMBINE                 equ 40000000h
SEC_LARGE_PAGES                  equ 80000000h
FILE_ATTRIBUTE_VIRTUAL           equ 00010000h
FILE_SEQUENTIAL_WRITE_ONCE       equ 00100000h
FILE_SUPPORTS_TRANSACTIONS       equ 00200000h
IO_REPARSE_TAG_SYMLINK           equ 0A000000Ch
IO_REPARSE_TAG_DFSR              equ 80000012h
ES_AWAYMODE_REQUIRED             equ 00000040h
PO_TRANSITION_VETO_TYPE_WINDOW   equ 00000001h
PO_TRANSITION_VETO_TYPE_SERVICE  equ 00000002h
POWER_SETTING_VALUE_VERSION      equ 1h
PROC_IDLE_BUCKET_COUNT           equ 6
ACPI_PPM_SOFTWARE_ALL            equ 0FCh
ACPI_PPM_SOFTWARE_ANY            equ 0FDh
ACPI_PPM_HARDWARE_ALL            equ 0FEh
MS_PPM_SOFTWARE_ALL              equ 1h
BATTERY_DISCHARGE_FLAGS_EVENTCODE_MASK equ 00000007h
BATTERY_DISCHARGE_FLAGS_ENABLE   equ 80000000h
PROCESSOR_IDLESTATE_POLICY_COUNT equ 3h
PERFSTATE_POLICY_CHANGE_IDEAL    equ 00h
PERFSTATE_POLICY_CHANGE_SINGLE   equ 01h
PERFSTATE_POLICY_CHANGE_ROCKET   equ 02h
PERFSTATE_POLICY_CHANGE_MAX      equ PERFSTATE_POLICY_CHANGE_ROCKET
IMAGE_NT_OPTIONAL_HDR_MAGIC      equ IMAGE_NT_OPTIONAL_HDR64_MAGIC
IMAGE_SUBSYSTEM_WINDOWS_BOOT_APPLICATION equ 16
IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE equ 0040h
IMAGE_DLLCHARACTERISTICS_FORCE_INTEGRITY equ 0080h
IMAGE_DLLCHARACTERISTICS_NX_COMPAT equ 0100h
IMAGE_REL_SHM_PCRELPT            equ 0013h
IMAGE_REL_SHM_REFLO              equ 0014h
IMAGE_REL_SHM_REFHALF            equ 0015h
IMAGE_REL_SHM_RELLO              equ 0016h
IMAGE_REL_SHM_RELHALF            equ 0017h
IMAGE_REL_SHM_PAIR               equ 0018h
IMAGE_REL_SH_NOMODE              equ 8000h
IMAGE_REL_EBC_ABSOLUTE           equ 0000h
IMAGE_REL_EBC_ADDR32NB           equ 0001h
IMAGE_REL_EBC_REL32              equ 0002h
IMAGE_REL_EBC_SECTION            equ 0003h
IMAGE_REL_EBC_SECREL             equ 0004h
X3_OPCODE_INST_WORD_X            equ 3
X3_OPCODE_SIZE_X                 equ 4
X3_OPCODE_INST_WORD_POS_X        equ 28
X3_OPCODE_SIGN_VAL_POS_X         equ 0
X3_I_INST_WORD_X                 equ 3
X3_I_SIZE_X                      equ 1
X3_I_INST_WORD_POS_X             equ 27
X3_I_SIGN_VAL_POS_X              equ 59
X3_D_WH_INST_WORD_X              equ 3
X3_D_WH_SIZE_X                   equ 3
X3_D_WH_INST_WORD_POS_X          equ 24
X3_D_WH_SIGN_VAL_POS_X           equ 0
X3_IMM20_INST_WORD_X             equ 3
X3_IMM20_SIZE_X                  equ 20
X3_IMM20_INST_WORD_POS_X         equ 4
X3_IMM20_SIGN_VAL_POS_X          equ 0
X3_IMM39_1_INST_WORD_X           equ 2
X3_IMM39_1_SIZE_X                equ 23
X3_IMM39_1_INST_WORD_POS_X       equ 0
X3_IMM39_1_SIGN_VAL_POS_X        equ 36
X3_IMM39_2_INST_WORD_X           equ 1
X3_IMM39_2_SIZE_X                equ 16
X3_IMM39_2_INST_WORD_POS_X       equ 16
X3_IMM39_2_SIGN_VAL_POS_X        equ 20
X3_P_INST_WORD_X                 equ 3
X3_P_SIZE_X                      equ 4
X3_P_INST_WORD_POS_X             equ 0
X3_P_SIGN_VAL_POS_X              equ 0
X3_TMPLT_INST_WORD_X             equ 0
X3_TMPLT_SIZE_X                  equ 4
X3_TMPLT_INST_WORD_POS_X         equ 0
X3_TMPLT_SIGN_VAL_POS_X          equ 0
X3_BTYPE_QP_INST_WORD_X          equ 2
X3_BTYPE_QP_SIZE_X               equ 9
X3_BTYPE_QP_INST_WORD_POS_X      equ 23
X3_BTYPE_QP_INST_VAL_POS_X       equ 0
X3_EMPTY_INST_WORD_X             equ 1
X3_EMPTY_SIZE_X                  equ 2
X3_EMPTY_INST_WORD_POS_X         equ 14
X3_EMPTY_INST_VAL_POS_X          equ 0
RTL_RUN_ONCE_INIT                equ 0
RTL_RUN_ONCE_CHECK_ONLY          equ 00000001Uh
RTL_RUN_ONCE_ASYNC               equ 00000002Uh
RTL_RUN_ONCE_INIT_FAILED         equ 00000004Uh
RTL_RUN_ONCE_CTX_RESERVED_BITS   equ 2
HEAP_CREATE_ENABLE_EXECUTE       equ 00040000h
SEF_MACL_NO_WRITE_UP             equ 100h
SEF_MACL_NO_READ_UP              equ 200h
SEF_MACL_NO_EXECUTE_UP           equ 400h
SEF_AVOID_OWNER_RESTRICTION      equ 1000h
RTL_CRITICAL_SECTION_FLAG_NO_DEBUG_INFO equ 01000000h
RTL_CRITICAL_SECTION_FLAG_DYNAMIC_SPIN equ 02000000h
RTL_CRITICAL_SECTION_FLAG_STATIC_INIT equ 04000000h
RTL_CRITICAL_SECTION_ALL_FLAG_BITS equ 0FF000000h
RTL_CRITICAL_SECTION_DEBUG_FLAG_STATIC_INIT equ 00000001h
RTL_SRWLOCK_INIT                 equ 0
RTL_CONDITION_VARIABLE_INIT      equ 0
RTL_CONDITION_VARIABLE_LOCKMODE_SHARED equ 1h
REG_APP_HIVE                     equ 00000010h
REG_PROCESS_PRIVATE              equ 00000020h
REG_START_JOURNAL                equ 00000040h
REG_HIVE_EXACT_FILE_GROWTH       equ 00000080h
REG_HIVE_NO_RM                   equ 00000100h
REG_HIVE_SINGLE_LOG              equ 00000200h
TRANSACTIONMANAGER_QUERY_INFORMATION equ 0001h
TRANSACTIONMANAGER_SET_INFORMATION equ 0002h
TRANSACTIONMANAGER_RECOVER       equ 0004h
TRANSACTIONMANAGER_RENAME        equ 0008h
TRANSACTIONMANAGER_CREATE_RM     equ 0010h
TRANSACTIONMANAGER_BIND_TRANSACTION equ 0020h
TRANSACTIONMANAGER_GENERIC_EXECUTE equ STANDARD_RIGHTS_EXECUTE
TRANSACTION_QUERY_INFORMATION    equ 0001h
TRANSACTION_SET_INFORMATION      equ 0002h
TRANSACTION_ENLIST               equ 0004h
TRANSACTION_COMMIT               equ 0008h
TRANSACTION_ROLLBACK             equ 0010h
TRANSACTION_PROPAGATE            equ 0020h
TRANSACTION_SAVEPOINT            equ 0040h
TRANSACTION_MARSHALL             equ TRANSACTION_QUERY_INFORMATION
RESOURCEMANAGER_QUERY_INFORMATION equ 0001h
RESOURCEMANAGER_SET_INFORMATION  equ 0002h
RESOURCEMANAGER_RECOVER          equ 0004h
RESOURCEMANAGER_ENLIST           equ 0008h
RESOURCEMANAGER_GET_NOTIFICATION equ 0010h
RESOURCEMANAGER_REGISTER_PROTOCOL equ 0020h
RESOURCEMANAGER_COMPLETE_PROPAGATION equ 0040h
ENLISTMENT_QUERY_INFORMATION     equ 0001h
ENLISTMENT_SET_INFORMATION       equ 0002h
ENLISTMENT_RECOVER               equ 0004h
ENLISTMENT_SUBORDINATE_RIGHTS    equ 0008h
ENLISTMENT_SUPERIOR_RIGHTS       equ 0010h
PcTeb                            equ 18h
ACTIVATION_CONTEXT_SECTION_APPLICATION_SETTINGS equ 10
LEGACY_SAVE_AREA struc
	ControlWord     dw ?	;00000000
	Reserved0       dw ?	;00000002
	StatusWord      dw ?	;00000004
	Reserved1       dw ?	;00000006
	TagWord         dw ?	;00000008
	Reserved2       dw ?	;0000000A
	ErrorOffset     dd ?	;0000000C
	ErrorSelector   dw ?	;00000010
	ErrorOpcode     dw ?	;00000012
	DataOffset      dd ?	;00000014
	DataSelector    dw ?	;00000018
	Reserved3       dw ?	;0000001A
	FloatRegisters  db 80 dup(?)	;0000001C
LEGACY_SAVE_AREA ends
M128 TYPEDEF OWORD
;CONTEXT64 struc
;	P1Home					dq ?	;00000000
;	P2Home					dq ?	;00000008
;	P3Home					dq ?	;00000010
;	P4Home					dq ?	;00000018
;	P5Home					dq ?	;00000020
;	P6Home					dq ?	;00000028
;	ContextFlags			dd ?	;00000030
;	MxCsr					dd ?	;00000034
;	SegCs					dw ?	;00000038
;	SegDs					dw ?	;0000003A
;	SegEs					dw ?	;0000003C
;	SegFs					dw ?	;0000003E
;	SegGs					dw ?	;00000040
;	SegSs					dw ?	;00000042
;	EFlags					dd ?	;00000044
;	_Dr0					dq ?	;00000048
;	_Dr1					dq ?	;00000050
;	_Dr2					dq ?	;00000058
;	_Dr3					dq ?	;00000060
;	_Dr6					dq ?	;00000068
;	_Dr7					dq ?	;00000070
;	_Rax					dq ?	;00000078
;	_Rcx					dq ?	;00000080
;	_Rdx					dq ?	;00000088
;	_Rbx					dq ?	;00000090
;	_Rsp					dq ?	;00000098
;	_Rbp					dq ?	;000000A0
;	_Rsi					dq ?	;000000A8
;	_Rdi					dq ?	;000000B0
;	_R8						dq ?	;000000B8
;	_R9						dq ?	;000000C0
;	_R10					dq ?	;000000C8
;	_R11					dq ?	;000000D0
;	_R12					dq ?	;000000D8
;	_R13					dq ?	;000000E0
;	_R14					dq ?	;000000E8
;	_R15					dq ?	;000000F0
;	Rip						dq ?	;000000F8
;	_Xmm0					M128 ?	;00000100
;	_Xmm1					M128 ?	;00000110
;	_Xmm2					M128 ?	;00000120
;	_Xmm3					M128 ?	;00000130
;	_Xmm4					M128 ?	;00000140
;	_Xmm5					M128 ?	;00000150
;	_Xmm6					M128 ?	;00000160
;	_Xmm7					M128 ?	;00000170
;	_Xmm8					M128 ?	;00000180
;	_Xmm9					M128 ?	;00000190
;	_Xmm10					M128 ?	;000001A0
;	_Xmm11					M128 ?	;000001B0
;	_Xmm12					M128 ?	;000001C0
;	_Xmm13					M128 ?	;000001D0
;	_Xmm14					M128 ?	;000001E0
;	_Xmm15					M128 ?	;000001F0
;	FltSave					LEGACY_SAVE_AREA <>	;00000200
;	Fill					dd ?	;0000026C
;	DebugControl			dq ?	;00000270
;	LastBranchToRip			dq ?	;00000278
;	LastBranchFromRip		dq ?	;00000280
;	LastExceptionToRip		dq ?	;00000288
;	LastExceptionFromRip	dq ?	;00000290
;	Fill1					dq ?	;00000298
;CONTEXT64 ends
;
;CONTEXT TYPEDEF CONTEXT64
;PCONTEXT TYPEDEF PTR CONTEXT64
RUNTIME_FUNCTION STRUC
	BeginAddress	DWORD ?
	EndAddress		DWORD ?
	UnwindData		DWORD ?
RUNTIME_FUNCTION ENDS
PRUNTIME_FUNCTION	TYPEDEF PTR RUNTIME_FUNCTION

ULONG64 TYPEDEF QWORD
DWORD64	TYPEDEF QWORD
PEXCEPTION_ROUTINE TYPEDEF PVOID
_MM_HINT_T0		equ 1
_MM_HINT_T1		equ 2
_MM_HINT_T2		equ 3
_MM_HINT_NTA	equ 0
PF_TEMPORAL_LEVEL_1			equ _MM_HINT_T0
PF_NON_TEMPORAL_LEVEL_ALL	equ _MM_HINT_NTA
CONTEXT_AMD64			equ 100000h
CONTEXT_CONTROL			equ CONTEXT_AMD64 or 1
CONTEXT_INTEGER			equ CONTEXT_AMD64 or 2
CONTEXT_SEGMENTS		equ CONTEXT_AMD64 or 4
CONTEXT_FLOATING_POINT	equ CONTEXT_AMD64 or 8
CONTEXT_DEBUG_REGISTERS	equ CONTEXT_AMD64 or 10h
CONTEXT_FULL			equ CONTEXT_CONTROL or CONTEXT_INTEGER or CONTEXT_FLOATING_POINT
CONTEXT_ALL				equ CONTEXT_CONTROL or CONTEXT_INTEGER or CONTEXT_SEGMENTS or CONTEXT_FLOATING_POINT or CONTEXT_DEBUG_REGISTERS
INITIAL_MXCSR	equ 1F80h
M128A STRUC
	_Low	ULONGLONG ?
	_High	LONGLONG ?
M128A ENDS
PM128A	TYPEDEF PTR M128A
XMM_SAVE_AREA32 STRUC
	ControlWord		WORD ?  ;+00h
	StatusWord		WORD ?  ;+02h
	TagWord			BYTE ?  ;+04h
	Reserved1		BYTE ?  ;+05h
	ErrorOpcode		WORD ?  ;+06h
	ErrorOffset		DWORD ? ;+08h
	ErrorSelector	WORD ?  ;+0Ch
	Reserved2		WORD ?  ;+0Eh
	DataOffset		DWORD ? ;+10h
	DataSelector	WORD ?  ;+14h
	Reserved3		WORD ?  ;+16h
	MxCsr			DWORD ? ;+18h
	MxCsr_Mask		DWORD ? ;+1Ch
	FloatRegisters	M128A 8 dup({}) ;+20h
	XmmRegisters	M128A 16 dup({}) ;+A0h
	Reserved4		BYTE 6*16 dup(?) ;+1A0h
XMM_SAVE_AREA32 ENDS
PXMM_SAVE_AREA32	TYPEDEF PTR XMM_SAVE_AREA32
LEGACY_SAVE_AREA_LENGTH	equ sizeof XMM_SAVE_AREA32
CONTEXT STRUC
	P1Home			DWORD64 ? ;+00h
	P2Home			DWORD64 ? ;+08h
	P3Home			DWORD64 ? ;+10h
	P4Home			DWORD64 ? ;+18h
	P5Home			DWORD64 ? ;+20h
	P6Home			DWORD64 ? ;+28h
	ContextFlags	DWORD ?   ;+30h
	MxCsr			DWORD ?   ;+34h
	SegCs			WORD ?    ;+38h
	SegDs			WORD ?    ;+3Ah
	SegEs			WORD ?    ;+3Ch
	SegFs			WORD ?    ;+3Eh
	SegGs			WORD ?    ;+40h
	SegSs			WORD ?    ;+42h
	EFlags			DWORD ?   ;+44h
	_Dr0			DWORD64 ? ;+48h
	_Dr1			DWORD64 ? ;+50h
	_Dr2			DWORD64 ? ;+58h
	_Dr3			DWORD64 ? ;+60h
	_Dr6			DWORD64 ? ;+68h
	_Dr7			DWORD64 ? ;+70h
	_Rax			DWORD64 ? ;+78h
	_Rcx			DWORD64 ? ;+80h
	_Rdx			DWORD64 ? ;+88h
	_Rbx			DWORD64 ? ;+90h
	_Rsp			DWORD64 ? ;+98h
	_Rbp			DWORD64 ? ;+0A0h
	_Rsi			DWORD64 ? ;+0A8h
	_Rdi			DWORD64 ? ;+0B0h
	_R8				DWORD64 ? ;+0B8h
	_R9				DWORD64 ? ;+0C0h
	_R10			DWORD64 ? ;+0C8h
	_R11			DWORD64 ? ;+0D0h
	_R12			DWORD64 ? ;+0D8h
	_R13			DWORD64 ? ;+0E0h
	_R14			DWORD64 ? ;+0E8h
	_R15			DWORD64 ? ;+0F0h
	Rip				DWORD64 ? ;+0F8h
	UNION
		FltSave		XMM_SAVE_AREA32{} ;+100h
		STRUC
			Header	M128A 2 dup({})
			Legacy	M128A 8 dup({})
			_Xmm0	M128A{} ;+1A0h
			_Xmm1	M128A{}
			_Xmm2	M128A{}
			_Xmm3	M128A{}
			_Xmm4	M128A{}
			_Xmm5	M128A{}
			_Xmm6	M128A{}
			_Xmm7	M128A{}
			_Xmm8	M128A{}
			_Xmm9	M128A{}
			_Xmm10	M128A{}
			_Xmm11	M128A{}
			_Xmm12	M128A{}
			_Xmm13	M128A{}
			_Xmm14	M128A{}
			_Xmm15	M128A{}
		ENDS
	ENDS
	VectorRegister			M128A 26 dup({}) ;+300h
	VectorControl			DWORD64 ? ;+4A0h
	DebugControl			DWORD64 ? ;+4A8h
	LastBranchToRip			DWORD64 ? ;+4B0h
	LastBranchFromRip		DWORD64 ? ;+4B8h
	LastExceptionToRip		DWORD64 ? ;+4C0h
	LastExceptionFromRip	DWORD64 ? ;+4C8h
CONTEXT ENDS ;+4D0h
PCONTEXT	TYPEDEF PTR CONTEXT
CONTEXT64	TYPEDEF CONTEXT

WOW64_SIZE_OF_80387_REGISTERS equ 80
WOW64_FLOATING_SAVE_AREA STRUC
	ControlWord		DWORD ?
	StatusWord		DWORD ?
	TagWord			DWORD ?
	ErrorOffset		DWORD ?
	ErrorSelector	DWORD ?
	DataOffset		DWORD ?
	DataSelector	DWORD ?
	RegisterArea	BYTE WOW64_SIZE_OF_80387_REGISTERS dup(?)
	Cr0NpxState		DWORD ?
WOW64_FLOATING_SAVE_AREA ENDS

PWOW64_FLOATING_SAVE_AREA TYPEDEF PTR WOW64_FLOATING_SAVE_AREA
WOW64_MAXIMUM_SUPPORTED_EXTENSION equ 512
;
; Context Frame
;
;  This frame has a several purposes: 1) it is used as an argument to
;  NtContinue, 2) is is used to constuct a call frame for APC delivery,
;  and 3) it is used in the user level thread creation routines.
;
;  The layout of the record conforms to a standard call frame.
;

WOW64_CONTEXT STRUC 8

    ;
    ; The flags values within this flag control the contents of
    ; a CONTEXT record.
    ;
    ; If the context record is used as an input parameter, then
    ; for each portion of the context record controlled by a flag
    ; whose value is set, it is assumed that that portion of the
    ; context record contains valid context. If the context record
    ; is being used to modify a threads context, then only that
    ; portion of the threads context will be modified.
    ;
    ; If the context record is used as an IN OUT parameter to capture
    ; the context of a thread, then only those portions of the thread's
    ; context corresponding to set flags will be returned.
    ;
    ; The context record is never used as an OUT only parameter.
    ;

	ContextFlags	DWORD ?

    ;
    ; This section is specified/returned if CONTEXT_DEBUG_REGISTERS is
    ; set in ContextFlags.  Note that CONTEXT_DEBUG_REGISTERS is NOT
    ; included in CONTEXT_FULL.
    ;

	regDr0	DWORD ?
	regDr1	DWORD ?
	regDr2	DWORD ?
	regDr3	DWORD ?
	regDr6	DWORD ?
	regDr7	DWORD ?

    ;
    ; This section is specified/returned if the
    ; ContextFlags word contians the flag CONTEXT_FLOATING_POINT.
    ;

	FloatSave	WOW64_FLOATING_SAVE_AREA<>

    ;
    ; This section is specified/returned if the
    ; ContextFlags word contians the flag CONTEXT_SEGMENTS.
    ;

	SegGs	DWORD ?
	SegFs	DWORD ?
	SegEs	DWORD ?
	SegDs	DWORD ?

    ;
    ; This section is specified/returned if the
    ; ContextFlags word contians the flag CONTEXT_INTEGER.
    ;

	regEdi	DWORD ?
	regEsi	DWORD ?
	regEbx	DWORD ?
	regEdx	DWORD ?
	regEcx	DWORD ?
	regEax	DWORD ?

    ;
    ; This section is specified/returned if the
    ; ContextFlags word contians the flag CONTEXT_CONTROL.
    ;

	regEbp	DWORD ?
	Eip		DWORD ?
	SegCs	DWORD ?          ; MUST BE SANITIZED
	EFlags	DWORD ?          ; MUST BE SANITIZED
	regEsp	DWORD ?
	SegSs	DWORD ?

    ;
    ; This section is specified/returned if the ContextFlags word
    ; contains the flag CONTEXT_EXTENDED_REGISTERS.
    ; The format and contexts are processor specific
    ;

	ExtendedRegisters	BYTE WOW64_MAXIMUM_SUPPORTED_EXTENSION dup(?)
WOW64_CONTEXT ENDS
PWOW64_CONTEXT TYPEDEF WOW64_CONTEXT
DISPATCHER_CONTEXT STRUC
	ControlPc			ULONG64 ?
	ImageBase			ULONG64 ?
	FunctionEntry		PRUNTIME_FUNCTION ?
	EstablisherFrame	ULONG64 ?
	TargetIp			ULONG64 ?
	ContextRecord		PCONTEXT ?
	LanguageHandler		PEXCEPTION_ROUTINE ?
	HandlerData			PVOID ?
DISPATCHER_CONTEXT ENDS
ACL STRUC
	AclRevision	BYTE ?
	Sbz1		BYTE ?
	AclSize		WORD ?
	AceCount	WORD ?
	Sbz2		WORD ?
ACL ENDS
PACL	TYPEDEF PTR ACL
PSID	TYPEDEF PVOID
SECURITY_DESCRIPTOR_CONTROL	TYPEDEF WORD
PSECURITY_DESCRIPTOR_CONTROL	TYPEDEF PTR SECURITY_DESCRIPTOR_CONTROL
SECURITY_DESCRIPTOR STRUC
	Revision	BYTE ?
	Sbz1		BYTE ?
	Control		SECURITY_DESCRIPTOR_CONTROL ?
				DWORD ?
	Owner		PSID ?
	_Group		PSID ?
	Sacl		PACL ?
	Dacl		PACL ?
SECURITY_DESCRIPTOR ENDS
PISECURITY_DESCRIPTOR	TYPEDEF PTR SECURITY_DESCRIPTOR
;typedef PRUNTIME_FUNCTION (*PGET_RUNTIME_FUNCTION_CALLBACK)(DWORD64,PVOID);
;typedef DWORD (*POUT_OF_PROCESS_FUNCTION_TABLE_CALLBACK)(HANDLE,PVOID,PDWORD,PRUNTIME_FUNCTION*);
OUT_OF_PROCESS_FUNCTION_TABLE_CALLBACK_EXPORT_NAME  equ "OutOfProcessFunctionTableCallback"
; -------------------------------------
; additional equates from server 2003
; -------------------------------------

VER_SERVER_NT                    equ 80000000h
VER_WORKSTATION_NT               equ 40000000h
VER_SUITE_SMALLBUSINESS          equ 00000001h
VER_SUITE_ENTERPRISE             equ 00000002h
VER_SUITE_BACKOFFICE             equ 00000004h
VER_SUITE_COMMUNICATIONS         equ 00000008h
VER_SUITE_TERMINAL               equ 00000010h
VER_SUITE_SMALLBUSINESS_RESTRICTED equ 00000020h
VER_SUITE_EMBEDDEDNT             equ 00000040h
VER_SUITE_DATACENTER             equ 00000080h
VER_SUITE_SINGLEUSERTS           equ 00000100h
VER_SUITE_PERSONAL               equ 00000200h
VER_SUITE_BLADE                  equ 00000400h
VER_SUITE_EMBEDDED_RESTRICTED    equ 00000800h
VER_SUITE_SECURITY_APPLIANCE     equ 00001000h
LANG_INVARIANT                   equ 7fh
LANG_DIVEHI                      equ 65h
LANG_GALICIAN                    equ 56h
LANG_KYRGYZ                      equ 40h
LANG_MONGOLIAN                   equ 50h
LANG_SYRIAC                      equ 5ah
SUBLANG_KASHMIRI_SASIA           equ 02h
DBG_EXCEPTION_HANDLED            equ (00010001h)
DBG_COMMAND_EXCEPTION            equ (40010009h)
STATUS_REG_NAT_CONSUMPTION       equ (0C00002C9h)
STATUS_SXS_EARLY_DEACTIVATION    equ (0C015000Fh)
STATUS_SXS_INVALID_DEACTIVATION  equ (0C0150010h)
CONTEXT32_LENGTH                 equ 130h
MD_LFHINT_NONE                   equ 00h
MD_LFHINT_NT1                    equ 01h
MD_LFHINT_NT2                    equ 02h
MD_LFHINT_NTA                    equ 03h
CONTEXT_EXCEPTION_ACTIVE         equ 8000000h
CONTEXT_SERVICE_ACTIVE           equ 10000000h
CONTEXT_EXCEPTION_REQUEST        equ 40000000h
CONTEXT_EXCEPTION_REPORTING      equ 80000000h
SECURITY_TERMINAL_SERVER_RID     equ (0000000Dh)
SECURITY_REMOTE_LOGON_RID        equ (0000000Eh)
SECURITY_THIS_ORGANIZATION_RID   equ (0000000Fh)
SECURITY_LOCAL_SERVICE_RID       equ (00000013h)
SECURITY_NETWORK_SERVICE_RID     equ (00000014h)
SECURITY_NT_NON_UNIQUE_SUB_AUTH_COUNT equ (3h)
SECURITY_PACKAGE_BASE_RID        equ (00000040h)
SECURITY_PACKAGE_RID_COUNT       equ (2h)
SECURITY_PACKAGE_NTLM_RID        equ (0000000Ah)
SECURITY_PACKAGE_SCHANNEL_RID    equ (0000000Eh)
SECURITY_PACKAGE_DIGEST_RID      equ (00000015h)
SECURITY_MAX_ALWAYS_FILTERED     equ (000003E7h)
SECURITY_MIN_NEVER_FILTERED      equ (000003E8h)
SECURITY_OTHER_ORGANIZATION_RID  equ (000003E8h)
FOREST_USER_RID_MAX              equ (000001F3h)
DOMAIN_USER_RID_MAX              equ (000003E7h)
DOMAIN_GROUP_RID_ENTERPRISE_ADMINS equ (00000207h)
DOMAIN_GROUP_RID_POLICY_ADMINS   equ (00000208h)
DOMAIN_ALIAS_RID_RAS_SERVERS     equ (00000229h)
DOMAIN_ALIAS_RID_PREW2KCOMPACCESS equ (0000022Ah)
DOMAIN_ALIAS_RID_REMOTE_DESKTOP_USERS equ (0000022Bh)
DOMAIN_ALIAS_RID_NETWORK_CONFIGURATION_OPS equ (0000022Ch)
DOMAIN_ALIAS_RID_INCOMING_FOREST_TRUST_BUILDERS equ (0000022Dh)
DOMAIN_ALIAS_RID_MONITORING_USERS equ (0000022Eh)
DOMAIN_ALIAS_RID_LOGGING_USERS   equ (0000022Fh)
DOMAIN_ALIAS_RID_AUTHORIZATIONACCESS equ (00000230h)
DOMAIN_ALIAS_RID_TS_LICENSE_SERVERS equ (00000231h)
SE_GROUP_RESOURCE                equ (20000000h)
ACCESS_ALLOWED_CALLBACK_ACE_TYPE equ (09h)
ACCESS_DENIED_CALLBACK_ACE_TYPE  equ (0Ah)
ACCESS_ALLOWED_CALLBACK_OBJECT_ACE_TYPE equ (Bh)
ACCESS_DENIED_CALLBACK_OBJECT_ACE_TYPE equ (Ch)
SYSTEM_AUDIT_CALLBACK_ACE_TYPE   equ (Dh)
SYSTEM_ALARM_CALLBACK_ACE_TYPE   equ (Eh)
SYSTEM_AUDIT_CALLBACK_OBJECT_ACE_TYPE equ (Fh)
SYSTEM_ALARM_CALLBACK_OBJECT_ACE_TYPE equ (10h)
ACCESS_MAX_MS_V5_ACE_TYPE        equ (10h)
SE_RM_CONTROL_VALID              equ (4000h)
SECURITY_MAX_IMPERSONATION_LEVEL equ SecurityDelegation
SECURITY_MIN_IMPERSONATION_LEVEL equ SecurityAnonymous
DEFAULT_IMPERSONATION_LEVEL      equ SecurityImpersonation
TOKEN_AUDIT_SUCCESS_INCLUDE      equ 1h
TOKEN_AUDIT_SUCCESS_EXCLUDE      equ 2h
TOKEN_AUDIT_FAILURE_INCLUDE      equ 4h
TOKEN_AUDIT_FAILURE_EXCLUDE      equ 8h
DISABLE_MAX_PRIVILEGE            equ 1h
SANDBOX_INERT                    equ 2h
PROTECTED_DACL_SECURITY_INFORMATION equ (80000000h)
PROTECTED_SACL_SECURITY_INFORMATION equ (40000000h)
UNPROTECTED_DACL_SECURITY_INFORMATION equ (20000000h)
UNPROTECTED_SACL_SECURITY_INFORMATION equ (10000000h)
PROCESS_SUSPEND_RESUME           equ (0800)
FLS_MAXIMUM_AVAILABLE            equ 128
QUOTA_LIMITS_HARDWS_MIN_ENABLE   equ 00000001h
QUOTA_LIMITS_HARDWS_MIN_DISABLE  equ 00000002h
QUOTA_LIMITS_HARDWS_MAX_ENABLE   equ 00000004h
QUOTA_LIMITS_HARDWS_MAX_DISABLE  equ 00000008h
JOB_OBJECT_TERMINATE_AT_END_OF_JOB equ 0
JOB_OBJECT_POST_AT_END_OF_JOB    equ 1
JOB_OBJECT_MSG_END_OF_JOB_TIME   equ 1
JOB_OBJECT_MSG_END_OF_PROCESS_TIME equ 2
JOB_OBJECT_MSG_ACTIVE_PROCESS_LIMIT equ 3
JOB_OBJECT_MSG_ACTIVE_PROCESS_ZERO equ 4
JOB_OBJECT_MSG_NEW_PROCESS       equ 6
JOB_OBJECT_MSG_EXIT_PROCESS      equ 7
JOB_OBJECT_MSG_ABNORMAL_EXIT_PROCESS equ 8
JOB_OBJECT_MSG_PROCESS_MEMORY_LIMIT equ 9
JOB_OBJECT_MSG_JOB_MEMORY_LIMIT  equ 10
JOB_OBJECT_LIMIT_WORKINGSET      equ 00000001h
JOB_OBJECT_LIMIT_PROCESS_TIME    equ 00000002h
JOB_OBJECT_LIMIT_JOB_TIME        equ 00000004h
JOB_OBJECT_LIMIT_ACTIVE_PROCESS  equ 00000008h
JOB_OBJECT_LIMIT_AFFINITY        equ 00000010h
JOB_OBJECT_LIMIT_PRIORITY_CLASS  equ 00000020h
JOB_OBJECT_LIMIT_PRESERVE_JOB_TIME equ 00000040h
JOB_OBJECT_LIMIT_SCHEDULING_CLASS equ 00000080h
JOB_OBJECT_LIMIT_PROCESS_MEMORY  equ 00000100h
JOB_OBJECT_LIMIT_JOB_MEMORY      equ 00000200h
JOB_OBJECT_LIMIT_DIE_ON_UNHANDLED_EXCEPTION equ 00000400h
JOB_OBJECT_LIMIT_BREAKAWAY_OK    equ 00000800h
JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK equ 00001000h
JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE equ 00002000h
JOB_OBJECT_LIMIT_RESERVED2       equ 00004000h
JOB_OBJECT_LIMIT_RESERVED3       equ 00008000h
JOB_OBJECT_LIMIT_RESERVED4       equ 00010000h
JOB_OBJECT_LIMIT_RESERVED5       equ 00020000h
JOB_OBJECT_LIMIT_RESERVED6       equ 00040000h
JOB_OBJECT_LIMIT_VALID_FLAGS     equ 0007ffffh
JOB_OBJECT_BASIC_LIMIT_VALID_FLAGS equ 000000ffh
JOB_OBJECT_EXTENDED_LIMIT_VALID_FLAGS equ 00003fffh
JOB_OBJECT_RESERVED_LIMIT_VALID_FLAGS equ 0007ffffh
JOB_OBJECT_UILIMIT_NONE          equ 00000000h
JOB_OBJECT_UILIMIT_HANDLES       equ 00000001h
JOB_OBJECT_UILIMIT_READCLIPBOARD equ 00000002h
JOB_OBJECT_UILIMIT_WRITECLIPBOARD equ 00000004h
JOB_OBJECT_UILIMIT_SYSTEMPARAMETERS equ 00000008h
JOB_OBJECT_UILIMIT_DISPLAYSETTINGS equ 00000010h
JOB_OBJECT_UILIMIT_GLOBALATOMS   equ 00000020h
JOB_OBJECT_UILIMIT_DESKTOP       equ 00000040h
JOB_OBJECT_UILIMIT_EXITWINDOWS   equ 00000080h
JOB_OBJECT_UILIMIT_ALL           equ 000000FFh
JOB_OBJECT_UI_VALID_FLAGS        equ 000000FFh
JOB_OBJECT_SECURITY_NO_ADMIN     equ 00000001h
JOB_OBJECT_SECURITY_RESTRICTED_TOKEN equ 00000002h
JOB_OBJECT_SECURITY_ONLY_TOKEN   equ 00000004h
JOB_OBJECT_SECURITY_FILTER_TOKENS equ 00000008h
JOB_OBJECT_SECURITY_VALID_FLAGS  equ 0000000fh
LTP_PC_SMT                       equ 1h
PROCESSOR_INTEL_IA64             equ 2200
PROCESSOR_AMD_X8664              equ 8664
PROCESSOR_OPTIL                  equ 494fh
PROCESSOR_ARCHITECTURE_MSIL      equ 8
PROCESSOR_ARCHITECTURE_AMD64     equ 9
PROCESSOR_ARCHITECTURE_IA32_ON_WIN64 equ 10
PF_3DNOW_INSTRUCTIONS_AVAILABLE  equ 7
PF_RDTSC_INSTRUCTION_AVAILABLE   equ 8
PF_PAE_ENABLED                   equ 9
PF_XMMI64_INSTRUCTIONS_AVAILABLE equ 10
MEM_WRITE_WATCH                  equ 200000h
MEM_PHYSICAL                     equ 400000h
MEM_LARGE_PAGES                  equ 20000000h
WRITE_WATCH_FLAG_RESET           equ 01h
FILE_ATTRIBUTE_DEVICE            equ 00000040h
FILE_NAMED_STREAMS               equ 00040000h
FILE_READ_ONLY_VOLUME            equ 00080000h
IO_REPARSE_TAG_FILTER_MANAGER    equ (8000000Bh)
POWER_SYSTEM_MAXIMUM             equ 7
PDCAP_D0_SUPPORTED               equ 00000001h
PDCAP_D1_SUPPORTED               equ 00000002h
PDCAP_D2_SUPPORTED               equ 00000004h
PDCAP_D3_SUPPORTED               equ 00000008h
PDCAP_WAKE_FROM_D0_SUPPORTED     equ 00000010h
PDCAP_WAKE_FROM_D1_SUPPORTED     equ 00000020h
PDCAP_WAKE_FROM_D2_SUPPORTED     equ 00000040h
PDCAP_WAKE_FROM_D3_SUPPORTED     equ 00000080h
PDCAP_WARM_EJECT_SUPPORTED       equ 00000100h
POWER_ACTION_QUERY_ALLOWED       equ 00000001h
POWER_ACTION_UI_ALLOWED          equ 00000002h
POWER_ACTION_OVERRIDE_APPS       equ 00000004h
POWER_ACTION_LIGHTEST_FIRST      equ 10000000h
POWER_ACTION_LOCK_CONSOLE        equ 20000000h
POWER_ACTION_DISABLE_WAKES       equ 40000000h
POWER_ACTION_CRITICAL            equ 80000000h
POWER_LEVEL_USER_NOTIFY_TEXT     equ 00000001h
POWER_LEVEL_USER_NOTIFY_SOUND    equ 00000002h
POWER_LEVEL_USER_NOTIFY_EXEC     equ 00000004h
POWER_USER_NOTIFY_BUTTON         equ 00000008h
POWER_USER_NOTIFY_SHUTDOWN       equ 00000010h
POWER_FORCE_TRIGGER_RESET        equ 80000000h
NUM_DISCHARGE_POLICIES           equ 4
DISCHARGE_POLICY_CRITICAL        equ 0
DISCHARGE_POLICY_LOW             equ 1
PO_THROTTLE_NONE                 equ 0
PO_THROTTLE_CONSTANT             equ 1
PO_THROTTLE_DEGRADE              equ 2
PO_THROTTLE_ADAPTIVE             equ 3
PO_THROTTLE_MAXIMUM              equ 4
IMAGE_FILE_MACHINE_SH3DSP        equ 01a3h
IMAGE_FILE_MACHINE_SH5           equ 01a8h
IMAGE_FILE_MACHINE_AM33          equ 01d3h
IMAGE_FILE_MACHINE_POWERPCFP     equ 01f1h
IMAGE_FILE_MACHINE_TRICORE       equ 0520h
IMAGE_FILE_MACHINE_CEF           equ 0CEFh
IMAGE_FILE_MACHINE_EBC           equ 0EBCh
IMAGE_FILE_MACHINE_AMD64         equ 8664h
IMAGE_FILE_MACHINE_M32R          equ 9041h
IMAGE_FILE_MACHINE_CEE           equ C0EEh
IMAGE_SUBSYSTEM_EFI_APPLICATION  equ 10
IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER equ 11
IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER equ 12
IMAGE_SUBSYSTEM_EFI_ROM          equ 13
IMAGE_SUBSYSTEM_XBOX             equ 14
IMAGE_DLLCHARACTERISTICS_NO_ISOLATION equ 0200h
IMAGE_DLLCHARACTERISTICS_NO_SEH  equ 0400h
IMAGE_DLLCHARACTERISTICS_NO_BIND equ 0800h
IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE equ 8000h
IMAGE_SCN_ALIGN_MASK             equ 00F00000h
IMAGE_SYM_SECTION_MAX            equ FEFFh
IMAGE_SYM_CLASS_CLR_TOKEN        equ 006Bh
IMAGE_REL_I386_TOKEN             equ 000Ch
IMAGE_REL_I386_SECREL7           equ 000Dh
IMAGE_REL_MIPS_ABSOLUTE          equ 0000h
IMAGE_REL_MIPS_REFHALF           equ 0001h
IMAGE_REL_MIPS_REFWORD           equ 0002h
IMAGE_REL_MIPS_JMPADDR           equ 0003h
IMAGE_REL_MIPS_REFHI             equ 0004h
IMAGE_REL_MIPS_REFLO             equ 0005h
IMAGE_REL_MIPS_GPREL             equ 0006h
IMAGE_REL_MIPS_LITERAL           equ 0007h
IMAGE_REL_MIPS_SECTION           equ 000Ah
IMAGE_REL_MIPS_SECREL            equ 000Bh
IMAGE_REL_MIPS_SECRELLO          equ 000Ch
IMAGE_REL_MIPS_SECRELHI          equ 000Dh
IMAGE_REL_MIPS_TOKEN             equ 000Eh
IMAGE_REL_MIPS_JMPADDR16         equ 0010h
IMAGE_REL_MIPS_REFWORDNB         equ 0022h
IMAGE_REL_MIPS_PAIR              equ 0025h
IMAGE_REL_ALPHA_ABSOLUTE         equ 0000h
IMAGE_REL_ALPHA_REFLONG          equ 0001h
IMAGE_REL_ALPHA_REFQUAD          equ 0002h
IMAGE_REL_ALPHA_GPREL32          equ 0003h
IMAGE_REL_ALPHA_LITERAL          equ 0004h
IMAGE_REL_ALPHA_LITUSE           equ 0005h
IMAGE_REL_ALPHA_GPDISP           equ 0006h
IMAGE_REL_ALPHA_BRADDR           equ 0007h
IMAGE_REL_ALPHA_HINT             equ 0008h
IMAGE_REL_ALPHA_INLINE_REFLONG   equ 0009h
IMAGE_REL_ALPHA_REFHI            equ 000Ah
IMAGE_REL_ALPHA_REFLO            equ 000Bh
IMAGE_REL_ALPHA_PAIR             equ 000Ch
IMAGE_REL_ALPHA_MATCH            equ 000Dh
IMAGE_REL_ALPHA_SECTION          equ 000Eh
IMAGE_REL_ALPHA_SECREL           equ 000Fh
IMAGE_REL_ALPHA_REFLONGNB        equ 0010h
IMAGE_REL_ALPHA_SECRELLO         equ 0011h
IMAGE_REL_ALPHA_SECRELHI         equ 0012h
IMAGE_REL_ALPHA_REFQ3            equ 0013h
IMAGE_REL_ALPHA_REFQ2            equ 0014h
IMAGE_REL_ALPHA_REFQ1            equ 0015h
IMAGE_REL_ALPHA_GPRELLO          equ 0016h
IMAGE_REL_ALPHA_GPRELHI          equ 0017h
IMAGE_REL_PPC_ABSOLUTE           equ 0000h
IMAGE_REL_PPC_ADDR64             equ 0001h
IMAGE_REL_PPC_ADDR32             equ 0002h
IMAGE_REL_PPC_ADDR24             equ 0003h
IMAGE_REL_PPC_ADDR16             equ 0004h
IMAGE_REL_PPC_ADDR14             equ 0005h
IMAGE_REL_PPC_REL24              equ 0006h
IMAGE_REL_PPC_REL14              equ 0007h
IMAGE_REL_PPC_TOCREL16           equ 0008h
IMAGE_REL_PPC_TOCREL14           equ 0009h
IMAGE_REL_PPC_ADDR32NB           equ 000Ah
IMAGE_REL_PPC_SECREL             equ 000Bh
IMAGE_REL_PPC_SECTION            equ 000Ch
IMAGE_REL_PPC_IFGLUE             equ 000Dh
IMAGE_REL_PPC_IMGLUE             equ 000Eh
IMAGE_REL_PPC_SECREL16           equ 000Fh
IMAGE_REL_PPC_REFHI              equ 0010h
IMAGE_REL_PPC_REFLO              equ 0011h
IMAGE_REL_PPC_PAIR               equ 0012h
IMAGE_REL_PPC_SECRELLO           equ 0013h
IMAGE_REL_PPC_SECRELHI           equ 0014h
IMAGE_REL_PPC_GPREL              equ 0015h
IMAGE_REL_PPC_TOKEN              equ 0016h
IMAGE_REL_PPC_TYPEMASK           equ 00FFh
IMAGE_REL_PPC_NEG                equ 0100h
IMAGE_REL_PPC_BRTAKEN            equ 0200h
IMAGE_REL_PPC_BRNTAKEN           equ 0400h
IMAGE_REL_PPC_TOCDEFN            equ 0800h
IMAGE_REL_SH3_ABSOLUTE           equ 0000h
IMAGE_REL_SH3_DIRECT16           equ 0001h
IMAGE_REL_SH3_DIRECT32           equ 0002h
IMAGE_REL_SH3_DIRECT8            equ 0003h
IMAGE_REL_SH3_DIRECT8_WORD       equ 0004h
IMAGE_REL_SH3_DIRECT8_LONG       equ 0005h
IMAGE_REL_SH3_DIRECT4            equ 0006h
IMAGE_REL_SH3_DIRECT4_WORD       equ 0007h
IMAGE_REL_SH3_DIRECT4_LONG       equ 0008h
IMAGE_REL_SH3_PCREL8_WORD        equ 0009h
IMAGE_REL_SH3_PCREL8_LONG        equ 000Ah
IMAGE_REL_SH3_PCREL12_WORD       equ 000Bh
IMAGE_REL_SH3_STARTOF_SECTION    equ 000Ch
IMAGE_REL_SH3_SIZEOF_SECTION     equ 000Dh
IMAGE_REL_SH3_SECTION            equ 000Eh
IMAGE_REL_SH3_SECREL             equ 000Fh
IMAGE_REL_SH3_DIRECT32_NB        equ 0010h
IMAGE_REL_SH3_GPREL4_LONG        equ 0011h
IMAGE_REL_SH3_TOKEN              equ 0012h
IMAGE_REL_ARM_ABSOLUTE           equ 0000h
IMAGE_REL_ARM_ADDR32             equ 0001h
IMAGE_REL_ARM_ADDR32NB           equ 0002h
IMAGE_REL_ARM_BRANCH24           equ 0003h
IMAGE_REL_ARM_BRANCH11           equ 0004h
IMAGE_REL_ARM_TOKEN              equ 0005h
IMAGE_REL_ARM_GPREL12            equ 0006h
IMAGE_REL_ARM_GPREL7             equ 0007h
IMAGE_REL_ARM_BLX24              equ 0008h
IMAGE_REL_ARM_BLX11              equ 0009h
IMAGE_REL_ARM_SECTION            equ 000Eh
IMAGE_REL_ARM_SECREL             equ 000Fh
IMAGE_REL_AM_ABSOLUTE            equ 0000h
IMAGE_REL_AM_ADDR32              equ 0001h
IMAGE_REL_AM_ADDR32NB            equ 0002h
IMAGE_REL_AM_CALL32              equ 0003h
IMAGE_REL_AM_FUNCINFO            equ 0004h
IMAGE_REL_AM_REL32_1             equ 0005h
IMAGE_REL_AM_REL32_2             equ 0006h
IMAGE_REL_AM_SECREL              equ 0007h
IMAGE_REL_AM_SECTION             equ 0008h
IMAGE_REL_AM_TOKEN               equ 0009h
IMAGE_REL_AMD64_ABSOLUTE         equ 0000h
IMAGE_REL_AMD64_ADDR64           equ 0001h
IMAGE_REL_AMD64_ADDR32           equ 0002h
IMAGE_REL_AMD64_ADDR32NB         equ 0003h
IMAGE_REL_AMD64_REL32            equ 0004h
IMAGE_REL_AMD64_REL32_1          equ 0005h
IMAGE_REL_AMD64_REL32_2          equ 0006h
IMAGE_REL_AMD64_REL32_3          equ 0007h
IMAGE_REL_AMD64_REL32_4          equ 0008h
IMAGE_REL_AMD64_REL32_5          equ 0009h
IMAGE_REL_AMD64_SECTION          equ 000Ah
IMAGE_REL_AMD64_SECREL           equ 000Bh
IMAGE_REL_AMD64_SECREL7          equ 000Ch
IMAGE_REL_AMD64_TOKEN            equ 000Dh
IMAGE_REL_AMD64_SREL32           equ 000Eh
IMAGE_REL_AMD64_PAIR             equ 000Fh
IMAGE_REL_AMD64_SSPAN32          equ 0010h
IMAGE_REL_IA64_ABSOLUTE          equ 0000h
IMAGE_REL_IA64_IMM14             equ 0001h
IMAGE_REL_IA64_IMM22             equ 0002h
IMAGE_REL_IA64_IMM64             equ 0003h
IMAGE_REL_IA64_DIR32             equ 0004h
IMAGE_REL_IA64_DIR64             equ 0005h
IMAGE_REL_IA64_PCREL21B          equ 0006h
IMAGE_REL_IA64_PCREL21M          equ 0007h
IMAGE_REL_IA64_PCREL21F          equ 0008h
IMAGE_REL_IA64_GPREL22           equ 0009h
IMAGE_REL_IA64_LTOFF22           equ 000Ah
IMAGE_REL_IA64_SECTION           equ 000Bh
IMAGE_REL_IA64_SECREL22          equ 000Ch
IMAGE_REL_IA64_SECREL64I         equ 000Dh
IMAGE_REL_IA64_SECREL32          equ 000Eh
IMAGE_REL_IA64_DIR32NB           equ 0010h
IMAGE_REL_IA64_SREL14            equ 0011h
IMAGE_REL_IA64_SREL22            equ 0012h
IMAGE_REL_IA64_SREL32            equ 0013h
IMAGE_REL_IA64_UREL32            equ 0014h
IMAGE_REL_IA64_PCREL60X          equ 0015h
IMAGE_REL_IA64_PCREL60B          equ 0016h
IMAGE_REL_IA64_PCREL60F          equ 0017h
IMAGE_REL_IA64_PCREL60I          equ 0018h
IMAGE_REL_IA64_PCREL60M          equ 0019h
IMAGE_REL_IA64_IMMGPREL64        equ 001Ah
IMAGE_REL_IA64_TOKEN             equ 001Bh
IMAGE_REL_IA64_GPREL32           equ 001Ch
IMAGE_REL_IA64_ADDEND            equ 001Fh
IMAGE_REL_CEF_ABSOLUTE           equ 0000h
IMAGE_REL_CEF_ADDR32             equ 0001h
IMAGE_REL_CEF_ADDR64             equ 0002h
IMAGE_REL_CEF_ADDR32NB           equ 0003h
IMAGE_REL_CEF_SECTION            equ 0004h
IMAGE_REL_CEF_SECREL             equ 0005h
IMAGE_REL_CEF_TOKEN              equ 0006h
IMAGE_REL_CEE_ABSOLUTE           equ 0000h
IMAGE_REL_CEE_ADDR32             equ 0001h
IMAGE_REL_CEE_ADDR64             equ 0002h
IMAGE_REL_CEE_ADDR32NB           equ 0003h
IMAGE_REL_CEE_SECTION            equ 0004h
IMAGE_REL_CEE_SECREL             equ 0005h
IMAGE_REL_CEE_TOKEN              equ 0006h
IMAGE_REL_M32R_ABSOLUTE          equ 0000h
IMAGE_REL_M32R_ADDR32            equ 0001h
IMAGE_REL_M32R_ADDR32NB          equ 0002h
IMAGE_REL_M32R_ADDR24            equ 0003h
IMAGE_REL_M32R_GPREL16           equ 0004h
IMAGE_REL_M32R_PCREL24           equ 0005h
IMAGE_REL_M32R_PCREL16           equ 0006h
IMAGE_REL_M32R_PCREL8            equ 0007h
IMAGE_REL_M32R_REFHALF           equ 0008h
IMAGE_REL_M32R_REFHI             equ 0009h
IMAGE_REL_M32R_REFLO             equ 000Ah
IMAGE_REL_M32R_PAIR              equ 000Bh
IMAGE_REL_M32R_SECTION           equ 000Ch
IMAGE_REL_M32R_SECREL32          equ 000Dh
IMAGE_REL_M32R_TOKEN             equ 000Eh
EMARCH_ENC_I17_IMM7B_INST_WORD_X equ 3
EMARCH_ENC_I17_IMM7B_SIZE_X      equ 7
EMARCH_ENC_I17_IMM7B_INST_WORD_POS_X equ 4
EMARCH_ENC_I17_IMM7B_VAL_POS_X   equ 0
EMARCH_ENC_I17_IMM9D_INST_WORD_X equ 3
EMARCH_ENC_I17_IMM9D_SIZE_X      equ 9
EMARCH_ENC_I17_IMM9D_INST_WORD_POS_X equ 18
EMARCH_ENC_I17_IMM9D_VAL_POS_X   equ 7
EMARCH_ENC_I17_IMM5C_INST_WORD_X equ 3
EMARCH_ENC_I17_IMM5C_SIZE_X      equ 5
EMARCH_ENC_I17_IMM5C_INST_WORD_POS_X equ 13
EMARCH_ENC_I17_IMM5C_VAL_POS_X   equ 16
EMARCH_ENC_I17_IC_INST_WORD_X    equ 3
EMARCH_ENC_I17_IC_SIZE_X         equ 1
EMARCH_ENC_I17_IC_INST_WORD_POS_X equ 12
EMARCH_ENC_I17_IC_VAL_POS_X      equ 21
EMARCH_ENC_I17_IMM41a_INST_WORD_X equ 1
EMARCH_ENC_I17_IMM41a_SIZE_X     equ 10
EMARCH_ENC_I17_IMM41a_INST_WORD_POS_X equ 14
EMARCH_ENC_I17_IMM41a_VAL_POS_X  equ 22
EMARCH_ENC_I17_IMM41b_INST_WORD_X equ 1
EMARCH_ENC_I17_IMM41b_SIZE_X     equ 8
EMARCH_ENC_I17_IMM41b_INST_WORD_POS_X equ 24
EMARCH_ENC_I17_IMM41b_VAL_POS_X  equ 32
EMARCH_ENC_I17_IMM41c_INST_WORD_X equ 2
EMARCH_ENC_I17_IMM41c_SIZE_X     equ 23
EMARCH_ENC_I17_IMM41c_INST_WORD_POS_X equ 0
EMARCH_ENC_I17_IMM41c_VAL_POS_X  equ 40
EMARCH_ENC_I17_SIGN_INST_WORD_X  equ 3
EMARCH_ENC_I17_SIGN_SIZE_X       equ 1
EMARCH_ENC_I17_SIGN_INST_WORD_POS_X equ 27
EMARCH_ENC_I17_SIGN_VAL_POS_X    equ 63
SLIST_ENTRY                      equ SINGLE_LIST_ENTRY
_SLIST_ENTRY                     equ _SINGLE_LIST_ENTRY
PSLIST_ENTRY                     equ PSINGLE_LIST_ENTRY
VER_EQUAL                        equ 1
VER_GREATER                      equ 2
VER_GREATER_EQUAL                equ 3
VER_LESS                         equ 4
VER_LESS_EQUAL                   equ 5
VER_AND                          equ 6
VER_OR                           equ 7
VER_CONDITION_MASK               equ 7
VER_NUM_BITS_PER_CONDITION_MASK  equ 3
VER_MINORVERSION                 equ 0000001h
VER_MAJORVERSION                 equ 0000002h
VER_BUILDNUMBER                  equ 0000004h
VER_PLATFORMID                   equ 0000008h
VER_SERVICEPACKMINOR             equ 0000010h
VER_SERVICEPACKMAJOR             equ 0000020h
VER_SUITENAME                    equ 0000040h
VER_PRODUCT_TYPE                 equ 0000080h
VER_NT_WORKSTATION               equ 0000001h
VER_NT_DOMAIN_CONTROLLER         equ 0000002h
VER_NT_SERVER                    equ 0000003h
RTL_VRF_FLG_FULL_PAGE_HEAP       equ 00000001h
RTL_VRF_FLG_RESERVED_DONOTUSE    equ 00000002h
RTL_VRF_FLG_HANDLE_CHECKS        equ 00000004h
RTL_VRF_FLG_STACK_CHECKS         equ 00000008h
RTL_VRF_FLG_APPCOMPAT_CHECKS     equ 00000010h
RTL_VRF_FLG_TLS_CHECKS           equ 00000020h
RTL_VRF_FLG_DIRTY_STACKS         equ 00000040h
RTL_VRF_FLG_RPC_CHECKS           equ 00000080h
RTL_VRF_FLG_COM_CHECKS           equ 00000100h
RTL_VRF_FLG_DANGEROUS_APIS       equ 00000200h
RTL_VRF_FLG_RACE_CHECKS          equ 00000400h
RTL_VRF_FLG_DEADLOCK_CHECKS      equ 00000800h
RTL_VRF_FLG_FIRST_CHANCE_EXCEPTION_CHECKS equ 00001000h
RTL_VRF_FLG_VIRTUAL_MEM_CHECKS   equ 00002000h
RTL_VRF_FLG_ENABLE_LOGGING       equ 00004000h
RTL_VRF_FLG_FAST_FILL_HEAP       equ 00008000h
RTL_VRF_FLG_VIRTUAL_SPACE_TRACKING equ 00010000h
RTL_VRF_FLG_ENABLED_SYSTEM_WIDE  equ 00020000h
RTL_VRF_FLG_MISCELLANEOUS_CHECKS equ 00020000h
RTL_VRF_FLG_LOCK_CHECKS          equ 00040000h
APPLICATION_VERIFIER_INTERNAL_ERROR equ 80000000h
APPLICATION_VERIFIER_INTERNAL_WARNING equ 40000000h
APPLICATION_VERIFIER_NO_BREAK    equ 20000000h
APPLICATION_VERIFIER_CONTINUABLE_BREAK equ 10000000h
APPLICATION_VERIFIER_UNKNOWN_ERROR equ 0001h
APPLICATION_VERIFIER_ACCESS_VIOLATION equ 0002h
APPLICATION_VERIFIER_UNSYNCHRONIZED_ACCESS equ 0003h
APPLICATION_VERIFIER_EXTREME_SIZE_REQUEST equ 0004h
APPLICATION_VERIFIER_BAD_HEAP_HANDLE equ 0005h
APPLICATION_VERIFIER_SWITCHED_HEAP_HANDLE equ 0006h
APPLICATION_VERIFIER_DOUBLE_FREE equ 0007h
APPLICATION_VERIFIER_CORRUPTED_HEAP_BLOCK equ 0008h
APPLICATION_VERIFIER_DESTROY_PROCESS_HEAP equ 0009h
APPLICATION_VERIFIER_UNEXPECTED_EXCEPTION equ 000Ah
APPLICATION_VERIFIER_STACK_OVERFLOW equ 000Bh
APPLICATION_VERIFIER_TERMINATE_THREAD_CALL equ 0100h
APPLICATION_VERIFIER_INVALID_EXIT_PROCESS_CALL equ 0101h
APPLICATION_VERIFIER_EXIT_THREAD_OWNS_LOCK equ 0200h
APPLICATION_VERIFIER_LOCK_IN_UNLOADED_DLL equ 0201h
APPLICATION_VERIFIER_LOCK_IN_FREED_HEAP equ 0202h
APPLICATION_VERIFIER_LOCK_DOUBLE_INITIALIZE equ 0203h
APPLICATION_VERIFIER_LOCK_IN_FREED_MEMORY equ 0204h
APPLICATION_VERIFIER_LOCK_CORRUPTED equ 0205h
APPLICATION_VERIFIER_LOCK_INVALID_OWNER equ 0206h
APPLICATION_VERIFIER_LOCK_INVALID_RECURSION_COUNT equ 0207h
APPLICATION_VERIFIER_LOCK_INVALID_LOCK_COUNT equ 0208h
APPLICATION_VERIFIER_LOCK_OVER_RELEASED equ 0209h
APPLICATION_VERIFIER_LOCK_NOT_INITIALIZED equ 0210h
APPLICATION_VERIFIER_LOCK_ALREADY_INITIALIZED equ 0211h
APPLICATION_VERIFIER_INVALID_HANDLE equ 0300h
APPLICATION_VERIFIER_INVALID_TLS_VALUE equ 0301h
APPLICATION_VERIFIER_INCORRECT_WAIT_CALL equ 0302h
APPLICATION_VERIFIER_NULL_HANDLE equ 0303h
APPLICATION_VERIFIER_WAIT_IN_DLLMAIN equ 0304h
APPLICATION_VERIFIER_COM_ERROR   equ 0400h
APPLICATION_VERIFIER_COM_API_IN_DLLMAIN equ 0401h
APPLICATION_VERIFIER_COM_UNHANDLED_EXCEPTION equ 0402h
APPLICATION_VERIFIER_COM_UNBALANCED_COINIT equ 0403h
APPLICATION_VERIFIER_COM_UNBALANCED_OLEINIT equ 0404h
APPLICATION_VERIFIER_COM_UNBALANCED_SWC equ 0405h
APPLICATION_VERIFIER_COM_NULL_DACL equ 0406h
APPLICATION_VERIFIER_COM_UNSAFE_IMPERSONATION equ 0407h
APPLICATION_VERIFIER_COM_SMUGGLED_WRAPPER equ 0408h
APPLICATION_VERIFIER_COM_SMUGGLED_PROXY equ 0409h
APPLICATION_VERIFIER_COM_CF_SUCCESS_WITH_NULL equ 040Ah
APPLICATION_VERIFIER_COM_GCO_SUCCESS_WITH_NULL equ 040Bh
APPLICATION_VERIFIER_COM_OBJECT_IN_FREED_MEMORY equ 040Ch
APPLICATION_VERIFIER_COM_OBJECT_IN_UNLOADED_DLL equ 040Dh
APPLICATION_VERIFIER_COM_VTBL_IN_FREED_MEMORY equ 040Eh
APPLICATION_VERIFIER_COM_VTBL_IN_UNLOADED_DLL equ 040Fh
APPLICATION_VERIFIER_COM_HOLDING_LOCKS_ON_CALL equ 0410h
APPLICATION_VERIFIER_RPC_ERROR   equ 0500h
APPLICATION_VERIFIER_INVALID_FREEMEM equ 0600h
APPLICATION_VERIFIER_INVALID_ALLOCMEM equ 0601h
APPLICATION_VERIFIER_INVALID_MAPVIEW equ 0602h
APPLICATION_VERIFIER_PROBE_INVALID_ADDRESS equ 0603h
APPLICATION_VERIFIER_PROBE_FREE_MEM equ 0604h
APPLICATION_VERIFIER_PROBE_GUARD_PAGE equ 0605h
APPLICATION_VERIFIER_PROBE_NULL  equ 0606h
APPLICATION_VERIFIER_PROBE_INVALID_START_OR_SIZE equ 0607h
SEF_AVOID_OWNER_CHECK            equ 10h
SEF_DEFAULT_OWNER_FROM_PARENT    equ 20h
SEF_DEFAULT_GROUP_FROM_PARENT    equ 40h
WT_EXECUTEONLYONCE               equ 00000008h
WT_EXECUTEINTIMERTHREAD          equ 00000020h
WT_EXECUTELONGFUNCTION           equ 00000010h
WT_EXECUTEINPERSISTENTIOTHREAD   equ 00000040h
WT_EXECUTEINPERSISTENTTHREAD     equ 00000080h
WT_TRANSFER_IMPERSONATION        equ 00000100h
ACTIVATIONCONTEXTINFOCLASS       equ ACTIVATION_CONTEXT_INFO_CLASS
ACTIVATION_CONTEXT_PATH_TYPE_NONE equ (1)
ACTIVATION_CONTEXT_PATH_TYPE_WIN32_FILE equ (2)
ACTIVATION_CONTEXT_PATH_TYPE_URL equ (3)
ACTIVATION_CONTEXT_PATH_TYPE_ASSEMBLYREF equ (4)
_ASSEMBLY_DLL_REDIRECTION_DETAILED_INFORMATION equ _ASSEMBLY_FILE_DETAILED_INFORMATION
ASSEMBLY_DLL_REDIRECTION_DETAILED_INFORMATION equ ASSEMBLY_FILE_DETAILED_INFORMATION
PASSEMBLY_DLL_REDIRECTION_DETAILED_INFORMATION equ PASSEMBLY_FILE_DETAILED_INFORMATION
PCASSEMBLY_DLL_REDIRECTION_DETAILED_INFORMATION equ PCASSEMBLY_FILE_DETAILED_INFORMATION
DLL_PROCESS_VERIFIER             equ 4
KEY_WOW64_32KEY                  equ (0200)
KEY_WOW64_64KEY                  equ (0100)
KEY_WOW64_RES                    equ (0300)
REG_STANDARD_FORMAT              equ 1
REG_LATEST_FORMAT                equ 2
REG_NO_COMPRESSION               equ 4
REG_FORCE_RESTORE                equ (00000008h)
REG_FORCE_UNLOAD                 equ 1
REG_QWORD                        equ 11
REG_QWORD_LITTLE_ENDIAN          equ ( 11 )
TAPE_QUERY_DRIVE_PARAMETERS      equ 0
TAPE_QUERY_MEDIA_CAPACITY        equ 1
TAPE_CHECK_FOR_DRIVE_PROBLEM     equ 2
TAPE_QUERY_IO_ERROR_DATA         equ 3
TAPE_QUERY_DEVICE_ERROR_DATA     equ 4
ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION equ (1)
ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION equ (2)
ACTIVATION_CONTEXT_SECTION_WINDOW_CLASS_REDIRECTION equ (3)
ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION equ (4)
ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION equ (5)
ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION equ (6)
ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION equ (7)
ACTIVATION_CONTEXT_SECTION_GLOBAL_OBJECT_RENAME_TABLE equ (8)
ACTIVATION_CONTEXT_SECTION_CLR_SURROGATES equ (9)
RTL_REGISTRY_ABSOLUTE     equ 0   ; Path is a full path
RTL_REGISTRY_SERVICES     equ 1   ; \Registry\Machine\System\CurrentControlSet\Services
RTL_REGISTRY_CONTROL      equ 2   ; \Registry\Machine\System\CurrentControlSet\Control
RTL_REGISTRY_WINDOWS_NT   equ 3   ; \Registry\Machine\Software\Microsoft\Windows NT\CurrentVersion
RTL_REGISTRY_DEVICEMAP    equ 4   ; \Registry\Machine\Hardware\DeviceMap
RTL_REGISTRY_USER         equ 5   ; \Registry\User\CurrentUser
RTL_REGISTRY_MAXIMUM      equ 6
RTL_REGISTRY_HANDLE       equ 40000000h    ; Low order bits are registry handle
RTL_REGISTRY_OPTIONAL     equ 80000000h    ; Indicates the key node is optional
OBJ_INHERIT equ 2
OBJ_PERMANENT equ 10h
OBJ_EXCLUSIVE equ 20h
OBJ_CASE_INSENSITIVE equ 40h
OBJ_OPENIF equ 80h
OBJ_OPENLINK equ 100h
OBJ_KERNEL_HANDLE equ 200h
SECURITY_ATTRIBUTES STRUCT
  nLength				ULONG ?
  						DWORD ?
  lpSecurityDescriptor  PSECURITY_DESCRIPTOR ?
  bInheritHandle        BOOL ?
  						DWORD ?
SECURITY_ATTRIBUTES ENDS
PSECURITY_ATTRIBUTES	TYPEDEF PTR SECURITY_ATTRIBUTES
LPSECURITY_ATTRIBUTES	TYPEDEF PTR SECURITY_ATTRIBUTES
STARTUPINFO STRUC
	cb				DWORD 2 dup(?)
	lpReserved      LPTSTR ?
	lpDesktop       LPTSTR ?
	lpTitle         LPTSTR ?
	dwX             DWORD ?
	dwY             DWORD ?
	dwXSize         DWORD ?
	dwYSize         DWORD ?
	dwXCountChars   DWORD ?
	dwYCountChars   DWORD ?
	dwFillAttribute DWORD ?
	dwFlags         DWORD ?
	wShowWindow     WORD ?
	cbReserved2     WORD 3 dup(?)
	lpReserved2		LPBYTE ?
	hStdInput		HANDLE ?
	hStdOutput		HANDLE ?
	hStdError		HANDLE ?
STARTUPINFO ENDS
PROCESS_INFORMATION STRUC
	hProcess        HANDLE ?
	hThread         HANDLE ?
	dwProcessId     DWORD ?
	dwThreadId      DWORD ?
PROCESS_INFORMATION ENDS
LPPROCESS_INFORMATION	TYPEDEF PTR PROCESS_INFORMATION
;;;; ntstatus

STATUS_SUCCESS                   equ 00000000h
FACILITY_USB_ERROR_CODE          equ 10h
FACILITY_TERMINAL_SERVER         equ Ah
FACILITY_SXS_ERROR_CODE          equ 15h
FACILITY_RPC_STUBS               equ 3h
FACILITY_RPC_RUNTIME             equ 2h
FACILITY_IO_ERROR_CODE           equ 4h
FACILITY_HID_ERROR_CODE          equ 11h
FACILITY_FIREWIRE_ERROR_CODE     equ 12h
FACILITY_DEBUGGER                equ 1h
FACILITY_CLUSTER_ERROR_CODE      equ 13h
FACILITY_ACPI_ERROR_CODE         equ 14h
STATUS_SEVERITY_WARNING          equ 2h
STATUS_SEVERITY_SUCCESS          equ 0h
STATUS_SEVERITY_INFORMATIONAL    equ 1h
STATUS_SEVERITY_ERROR            equ 3h
STATUS_WAIT_1                    equ 00000001h
STATUS_WAIT_2                    equ 00000002h
STATUS_WAIT_3                    equ 00000003h
STATUS_WAIT_63                   equ 0000003Fh
STATUS_ABANDONED                 equ 00000080h
STATUS_ABANDONED_WAIT_63         equ 000000BFh
STATUS_KERNEL_APC                equ 00000100h
STATUS_ALERTED                   equ 00000101h
STATUS_REPARSE                   equ 00000104h
STATUS_MORE_ENTRIES              equ 00000105h
STATUS_NOT_ALL_ASSIGNED          equ 00000106h
STATUS_SOME_NOT_MAPPED           equ 00000107h
STATUS_OPLOCK_BREAK_IN_PROGRESS  equ 00000108h
STATUS_VOLUME_MOUNTED            equ 00000109h
STATUS_RXACT_COMMITTED           equ 0000010Ah
STATUS_NOTIFY_CLEANUP            equ 0000010Bh
STATUS_NOTIFY_ENUM_DIR           equ 0000010Ch
STATUS_NO_QUOTAS_FOR_ACCOUNT     equ 0000010Dh
STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED equ 0000010Eh
STATUS_PAGE_FAULT_TRANSITION     equ 00000110h
STATUS_PAGE_FAULT_DEMAND_ZERO    equ 00000111h
STATUS_PAGE_FAULT_COPY_ON_WRITE  equ 00000112h
STATUS_PAGE_FAULT_GUARD_PAGE     equ 00000113h
STATUS_PAGE_FAULT_PAGING_FILE    equ 00000114h
STATUS_CACHE_PAGE_LOCKED         equ 00000115h
STATUS_CRASH_DUMP                equ 00000116h
STATUS_BUFFER_ALL_ZEROS          equ 00000117h
STATUS_REPARSE_OBJECT            equ 00000118h
STATUS_RESOURCE_REQUIREMENTS_CHANGED equ 00000119h
STATUS_TRANSLATION_COMPLETE      equ 00000120h
STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY equ 00000121h
STATUS_NOTHING_TO_TERMINATE      equ 00000122h
STATUS_PROCESS_NOT_IN_JOB        equ 00000123h
STATUS_PROCESS_IN_JOB            equ 00000124h
STATUS_VOLSNAP_HIBERNATE_READY   equ 00000125h
STATUS_FSFILTER_OP_COMPLETED_SUCCESSFULLY equ 00000126h
STATUS_OBJECT_NAME_EXISTS        equ 40000000h
STATUS_THREAD_WAS_SUSPENDED      equ 40000001h
STATUS_WORKING_SET_LIMIT_RANGE   equ 40000002h
STATUS_IMAGE_NOT_AT_BASE         equ 40000003h
STATUS_RXACT_STATE_CREATED       equ 40000004h
STATUS_LOCAL_USER_SESSION_KEY    equ 40000006h
STATUS_BAD_CURRENT_DIRECTORY     equ 40000007h
STATUS_SERIAL_MORE_WRITES        equ 40000008h
STATUS_REGISTRY_RECOVERED        equ 40000009h
STATUS_FT_READ_RECOVERY_FROM_BACKUP equ 4000000Ah
STATUS_FT_WRITE_RECOVERY         equ 4000000Bh
STATUS_SERIAL_COUNTER_TIMEOUT    equ 4000000Ch
STATUS_NULL_LM_PASSWORD          equ 4000000Dh
STATUS_IMAGE_MACHINE_TYPE_MISMATCH equ 4000000Eh
STATUS_RECEIVE_PARTIAL           equ 4000000Fh
STATUS_RECEIVE_EXPEDITED         equ 40000010h
STATUS_RECEIVE_PARTIAL_EXPEDITED equ 40000011h
STATUS_EVENT_DONE                equ 40000012h
STATUS_EVENT_PENDING             equ 40000013h
STATUS_CHECKING_FILE_SYSTEM      equ 40000014h
STATUS_FATAL_APP_EXIT            equ 40000015h
STATUS_PREDEFINED_HANDLE         equ 40000016h
STATUS_WAS_UNLOCKED              equ 40000017h
STATUS_SERVICE_NOTIFICATION      equ 40000018h
STATUS_WAS_LOCKED                equ 40000019h
STATUS_LOG_HARD_ERROR            equ 4000001Ah
STATUS_ALREADY_WIN32             equ 4000001Bh
STATUS_WX86_UNSIMULATE           equ 4000001Ch
STATUS_WX86_CONTINUE             equ 4000001Dh
STATUS_WX86_SINGLE_STEP          equ 4000001Eh
STATUS_WX86_BREAKPOINT           equ 4000001Fh
STATUS_WX86_EXCEPTION_CONTINUE   equ 40000020h
STATUS_WX86_EXCEPTION_LASTCHANCE equ 40000021h
STATUS_WX86_EXCEPTION_CHAIN      equ 40000022h
STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE equ 40000023h
STATUS_NO_YIELD_PERFORMED        equ 40000024h
STATUS_TIMER_RESUME_IGNORED      equ 40000025h
STATUS_ARBITRATION_UNHANDLED     equ 40000026h
STATUS_CARDBUS_NOT_SUPPORTED     equ 40000027h
STATUS_WX86_CREATEWX86TIB        equ 40000028h
STATUS_MP_PROCESSOR_MISMATCH     equ 40000029h
STATUS_HIBERNATED                equ 4000002Ah
STATUS_RESUME_HIBERNATION        equ 4000002Bh
STATUS_FIRMWARE_UPDATED          equ 4000002Ch
STATUS_DRIVERS_LEAKING_LOCKED_PAGES equ 4000002Dh
DBG_REPLY_LATER                  equ 40010001h
DBG_UNABLE_TO_PROVIDE_HANDLE     equ 40010002h
DBG_PRINTEXCEPTION_C             equ 40010006h
DBG_RIPEXCEPTION                 equ 40010007h
STATUS_BUFFER_OVERFLOW           equ 80000005h
STATUS_NO_MORE_FILES             equ 80000006h
STATUS_WAKE_SYSTEM_DEBUGGER      equ 80000007h
STATUS_HANDLES_CLOSED            equ 8000000Ah
STATUS_NO_INHERITANCE            equ 8000000Bh
STATUS_GUID_SUBSTITUTION_MADE    equ 8000000Ch
STATUS_PARTIAL_COPY              equ 8000000Dh
STATUS_DEVICE_PAPER_EMPTY        equ 8000000Eh
STATUS_DEVICE_POWERED_OFF        equ 8000000Fh
STATUS_DEVICE_OFF_LINE           equ 80000010h
STATUS_DEVICE_BUSY               equ 80000011h
STATUS_NO_MORE_EAS               equ 80000012h
STATUS_INVALID_EA_NAME           equ 80000013h
STATUS_EA_LIST_INCONSISTENT      equ 80000014h
STATUS_INVALID_EA_FLAG           equ 80000015h
STATUS_VERIFY_REQUIRED           equ 80000016h
STATUS_EXTRANEOUS_INFORMATION    equ 80000017h
STATUS_RXACT_COMMIT_NECESSARY    equ 80000018h
STATUS_NO_MORE_ENTRIES           equ 8000001Ah
STATUS_FILEMARK_DETECTED         equ 8000001Bh
STATUS_MEDIA_CHANGED             equ 8000001Ch
STATUS_BUS_RESET                 equ 8000001Dh
STATUS_END_OF_MEDIA              equ 8000001Eh
STATUS_BEGINNING_OF_MEDIA        equ 8000001Fh
STATUS_MEDIA_CHECK               equ 80000020h
STATUS_SETMARK_DETECTED          equ 80000021h
STATUS_NO_DATA_DETECTED          equ 80000022h
STATUS_REDIRECTOR_HAS_OPEN_HANDLES equ 80000023h
STATUS_SERVER_HAS_OPEN_HANDLES   equ 80000024h
STATUS_ALREADY_DISCONNECTED      equ 80000025h
STATUS_LONGJUMP                  equ 80000026h
STATUS_CLEANER_CARTRIDGE_INSTALLED equ 80000027h
STATUS_PLUGPLAY_QUERY_VETOED     equ 80000028h
STATUS_UNWIND_CONSOLIDATE        equ 80000029h
STATUS_REGISTRY_HIVE_RECOVERED   equ 8000002Ah
STATUS_DLL_MIGHT_BE_INSECURE     equ 8000002Bh
STATUS_DLL_MIGHT_BE_INCOMPATIBLE equ 8000002Ch
STATUS_CLUSTER_NODE_ALREADY_UP   equ 80130001h
STATUS_CLUSTER_NODE_ALREADY_DOWN equ 80130002h
STATUS_CLUSTER_NETWORK_ALREADY_ONLINE equ 80130003h
STATUS_CLUSTER_NETWORK_ALREADY_OFFLINE equ 80130004h
STATUS_CLUSTER_NODE_ALREADY_MEMBER equ 80130005h
STATUS_UNSUCCESSFUL              equ 0C0000001h
STATUS_NOT_IMPLEMENTED           equ 0C0000002h
STATUS_INVALID_INFO_CLASS        equ 0C0000003h
STATUS_INFO_LENGTH_MISMATCH      equ 0C0000004h
STATUS_PAGEFILE_QUOTA            equ 0C0000007h
STATUS_BAD_INITIAL_STACK         equ 0C0000009h
STATUS_BAD_INITIAL_PC            equ 0C000000Ah
STATUS_INVALID_CID               equ 0C000000Bh
STATUS_TIMER_NOT_CANCELED        equ 0C000000Ch
STATUS_INVALID_PARAMETER         equ 0C000000Dh
STATUS_NO_SUCH_DEVICE            equ 0C000000Eh
STATUS_NO_SUCH_FILE              equ 0C000000Fh
STATUS_INVALID_DEVICE_REQUEST    equ 0C0000010h
STATUS_END_OF_FILE               equ 0C0000011h
STATUS_WRONG_VOLUME              equ 0C0000012h
STATUS_NO_MEDIA_IN_DEVICE        equ 0C0000013h
STATUS_UNRECOGNIZED_MEDIA        equ 0C0000014h
STATUS_NONEXISTENT_SECTOR        equ 0C0000015h
STATUS_MORE_PROCESSING_REQUIRED  equ 0C0000016h
STATUS_CONFLICTING_ADDRESSES     equ 0C0000018h
STATUS_NOT_MAPPED_VIEW           equ 0C0000019h
STATUS_UNABLE_TO_FREE_VM         equ 0C000001Ah
STATUS_UNABLE_TO_DELETE_SECTION  equ 0C000001Bh
STATUS_INVALID_SYSTEM_SERVICE    equ 0C000001Ch
STATUS_INVALID_LOCK_SEQUENCE     equ 0C000001Eh
STATUS_INVALID_VIEW_SIZE         equ 0C000001Fh
STATUS_INVALID_FILE_FOR_SECTION  equ 0C0000020h
STATUS_ALREADY_COMMITTED         equ 0C0000021h
STATUS_ACCESS_DENIED             equ 0C0000022h
STATUS_BUFFER_TOO_SMALL          equ 0C0000023h
STATUS_OBJECT_TYPE_MISMATCH      equ 0C0000024h
STATUS_UNWIND                    equ 0C0000027h
STATUS_BAD_STACK                 equ 0C0000028h
STATUS_INVALID_UNWIND_TARGET     equ 0C0000029h
STATUS_NOT_LOCKED                equ 0C000002Ah
STATUS_PARITY_ERROR              equ 0C000002Bh
STATUS_UNABLE_TO_DECOMMIT_VM     equ 0C000002Ch
STATUS_NOT_COMMITTED             equ 0C000002Dh
STATUS_INVALID_PORT_ATTRIBUTES   equ 0C000002Eh
STATUS_PORT_MESSAGE_TOO_LONG     equ 0C000002Fh
STATUS_INVALID_PARAMETER_MIX     equ 0C0000030h
STATUS_INVALID_QUOTA_LOWER       equ 0C0000031h
STATUS_DISK_CORRUPT_ERROR        equ 0C0000032h
STATUS_OBJECT_NAME_INVALID       equ 0C0000033h
STATUS_OBJECT_NAME_NOT_FOUND     equ 0C0000034h
STATUS_OBJECT_NAME_COLLISION     equ 0C0000035h
STATUS_PORT_DISCONNECTED         equ 0C0000037h
STATUS_DEVICE_ALREADY_ATTACHED   equ 0C0000038h
STATUS_OBJECT_PATH_INVALID       equ 0C0000039h
STATUS_OBJECT_PATH_NOT_FOUND     equ 0C000003Ah
STATUS_OBJECT_PATH_SYNTAX_BAD    equ 0C000003Bh
STATUS_DATA_OVERRUN              equ 0C000003Ch
STATUS_DATA_LATE_ERROR           equ 0C000003Dh
STATUS_DATA_ERROR                equ 0C000003Eh
STATUS_CRC_ERROR                 equ 0C000003Fh
STATUS_SECTION_TOO_BIG           equ 0C0000040h
STATUS_PORT_CONNECTION_REFUSED   equ 0C0000041h
STATUS_INVALID_PORT_HANDLE       equ 0C0000042h
STATUS_SHARING_VIOLATION         equ 0C0000043h
STATUS_QUOTA_EXCEEDED            equ 0C0000044h
STATUS_INVALID_PAGE_PROTECTION   equ 0C0000045h
STATUS_MUTANT_NOT_OWNED          equ 0C0000046h
STATUS_SEMAPHORE_LIMIT_EXCEEDED  equ 0C0000047h
STATUS_PORT_ALREADY_SET          equ 0C0000048h
STATUS_SECTION_NOT_IMAGE         equ 0C0000049h
STATUS_SUSPEND_COUNT_EXCEEDED    equ 0C000004Ah
STATUS_THREAD_IS_TERMINATING     equ 0C000004Bh
STATUS_BAD_WORKING_SET_LIMIT     equ 0C000004Ch
STATUS_INCOMPATIBLE_FILE_MAP     equ 0C000004Dh
STATUS_SECTION_PROTECTION        equ 0C000004Eh
STATUS_EAS_NOT_SUPPORTED         equ 0C000004Fh
STATUS_EA_TOO_LARGE              equ 0C0000050h
STATUS_NONEXISTENT_EA_ENTRY      equ 0C0000051h
STATUS_NO_EAS_ON_FILE            equ 0C0000052h
STATUS_EA_CORRUPT_ERROR          equ 0C0000053h
STATUS_FILE_LOCK_CONFLICT        equ 0C0000054h
STATUS_LOCK_NOT_GRANTED          equ 0C0000055h
STATUS_DELETE_PENDING            equ 0C0000056h
STATUS_CTL_FILE_NOT_SUPPORTED    equ 0C0000057h
STATUS_UNKNOWN_REVISION          equ 0C0000058h
STATUS_REVISION_MISMATCH         equ 0C0000059h
STATUS_INVALID_OWNER             equ 0C000005Ah
STATUS_INVALID_PRIMARY_GROUP     equ 0C000005Bh
STATUS_NO_IMPERSONATION_TOKEN    equ 0C000005Ch
STATUS_CANT_DISABLE_MANDATORY    equ 0C000005Dh
STATUS_NO_LOGON_SERVERS          equ 0C000005Eh
STATUS_NO_SUCH_LOGON_SESSION     equ 0C000005Fh
STATUS_NO_SUCH_PRIVILEGE         equ 0C0000060h
STATUS_PRIVILEGE_NOT_HELD        equ 0C0000061h
STATUS_INVALID_ACCOUNT_NAME      equ 0C0000062h
STATUS_USER_EXISTS               equ 0C0000063h
STATUS_NO_SUCH_USER              equ 0C0000064h
STATUS_GROUP_EXISTS              equ 0C0000065h
STATUS_NO_SUCH_GROUP             equ 0C0000066h
STATUS_MEMBER_IN_GROUP           equ 0C0000067h
STATUS_MEMBER_NOT_IN_GROUP       equ 0C0000068h
STATUS_LAST_ADMIN                equ 0C0000069h
STATUS_WRONG_PASSWORD            equ 0C000006Ah
STATUS_ILL_FORMED_PASSWORD       equ 0C000006Bh
STATUS_PASSWORD_RESTRICTION      equ 0C000006Ch
STATUS_LOGON_FAILURE             equ 0C000006Dh
STATUS_ACCOUNT_RESTRICTION       equ 0C000006Eh
STATUS_INVALID_LOGON_HOURS       equ 0C000006Fh
STATUS_INVALID_WORKSTATION       equ 0C0000070h
STATUS_PASSWORD_EXPIRED          equ 0C0000071h
STATUS_ACCOUNT_DISABLED          equ 0C0000072h
STATUS_NONE_MAPPED               equ 0C0000073h
STATUS_TOO_MANY_LUIDS_REQUESTED  equ 0C0000074h
STATUS_LUIDS_EXHAUSTED           equ 0C0000075h
STATUS_INVALID_SUB_AUTHORITY     equ 0C0000076h
STATUS_INVALID_ACL               equ 0C0000077h
STATUS_INVALID_SID               equ 0C0000078h
STATUS_INVALID_SECURITY_DESCR    equ 0C0000079h
STATUS_PROCEDURE_NOT_FOUND       equ 0C000007Ah
STATUS_INVALID_IMAGE_FORMAT      equ 0C000007Bh
STATUS_NO_TOKEN                  equ 0C000007Ch
STATUS_BAD_INHERITANCE_ACL       equ 0C000007Dh
STATUS_RANGE_NOT_LOCKED          equ 0C000007Eh
STATUS_DISK_FULL                 equ 0C000007Fh
STATUS_SERVER_DISABLED           equ 0C0000080h
STATUS_SERVER_NOT_DISABLED       equ 0C0000081h
STATUS_TOO_MANY_GUIDS_REQUESTED  equ 0C0000082h
STATUS_GUIDS_EXHAUSTED           equ 0C0000083h
STATUS_INVALID_ID_AUTHORITY      equ 0C0000084h
STATUS_AGENTS_EXHAUSTED          equ 0C0000085h
STATUS_INVALID_VOLUME_LABEL      equ 0C0000086h
STATUS_SECTION_NOT_EXTENDED      equ 0C0000087h
STATUS_NOT_MAPPED_DATA           equ 0C0000088h
STATUS_RESOURCE_DATA_NOT_FOUND   equ 0C0000089h
STATUS_RESOURCE_TYPE_NOT_FOUND   equ 0C000008Ah
STATUS_RESOURCE_NAME_NOT_FOUND   equ 0C000008Bh
STATUS_TOO_MANY_PAGING_FILES     equ 0C0000097h
STATUS_FILE_INVALID              equ 0C0000098h
STATUS_ALLOTTED_SPACE_EXCEEDED   equ 0C0000099h
STATUS_INSUFFICIENT_RESOURCES    equ 0C000009Ah
STATUS_DFS_EXIT_PATH_FOUND       equ 0C000009Bh
STATUS_DEVICE_DATA_ERROR         equ 0C000009Ch
STATUS_DEVICE_NOT_CONNECTED      equ 0C000009Dh
STATUS_DEVICE_POWER_FAILURE      equ 0C000009Eh
STATUS_FREE_VM_NOT_AT_BASE       equ 0C000009Fh
STATUS_MEMORY_NOT_ALLOCATED      equ 0C00000A0h
STATUS_WORKING_SET_QUOTA         equ 0C00000A1h
STATUS_MEDIA_WRITE_PROTECTED     equ 0C00000A2h
STATUS_DEVICE_NOT_READY          equ 0C00000A3h
STATUS_INVALID_GROUP_ATTRIBUTES  equ 0C00000A4h
STATUS_BAD_IMPERSONATION_LEVEL   equ 0C00000A5h
STATUS_CANT_OPEN_ANONYMOUS       equ 0C00000A6h
STATUS_BAD_VALIDATION_CLASS      equ 0C00000A7h
STATUS_BAD_TOKEN_TYPE            equ 0C00000A8h
STATUS_BAD_MASTER_BOOT_RECORD    equ 0C00000A9h
STATUS_INSTRUCTION_MISALIGNMENT  equ 0C00000AAh
STATUS_INSTANCE_NOT_AVAILABLE    equ 0C00000ABh
STATUS_PIPE_NOT_AVAILABLE        equ 0C00000ACh
STATUS_INVALID_PIPE_STATE        equ 0C00000ADh
STATUS_PIPE_BUSY                 equ 0C00000AEh
STATUS_ILLEGAL_FUNCTION          equ 0C00000AFh
STATUS_PIPE_DISCONNECTED         equ 0C00000B0h
STATUS_PIPE_CLOSING              equ 0C00000B1h
STATUS_PIPE_CONNECTED            equ 0C00000B2h
STATUS_PIPE_LISTENING            equ 0C00000B3h
STATUS_INVALID_READ_MODE         equ 0C00000B4h
STATUS_IO_TIMEOUT                equ 0C00000B5h
STATUS_FILE_FORCED_CLOSED        equ 0C00000B6h
STATUS_PROFILING_NOT_STARTED     equ 0C00000B7h
STATUS_PROFILING_NOT_STOPPED     equ 0C00000B8h
STATUS_COULD_NOT_INTERPRET       equ 0C00000B9h
STATUS_FILE_IS_A_DIRECTORY       equ 0C00000BAh
STATUS_NOT_SUPPORTED             equ 0C00000BBh
STATUS_REMOTE_NOT_LISTENING      equ 0C00000BCh
STATUS_DUPLICATE_NAME            equ 0C00000BDh
STATUS_BAD_NETWORK_PATH          equ 0C00000BEh
STATUS_NETWORK_BUSY              equ 0C00000BFh
STATUS_DEVICE_DOES_NOT_EXIST     equ 0C00000C0h
STATUS_TOO_MANY_COMMANDS         equ 0C00000C1h
STATUS_ADAPTER_HARDWARE_ERROR    equ 0C00000C2h
STATUS_INVALID_NETWORK_RESPONSE  equ 0C00000C3h
STATUS_UNEXPECTED_NETWORK_ERROR  equ 0C00000C4h
STATUS_BAD_REMOTE_ADAPTER        equ 0C00000C5h
STATUS_PRINT_QUEUE_FULL          equ 0C00000C6h
STATUS_NO_SPOOL_SPACE            equ 0C00000C7h
STATUS_PRINT_CANCELLED           equ 0C00000C8h
STATUS_NETWORK_NAME_DELETED      equ 0C00000C9h
STATUS_NETWORK_ACCESS_DENIED     equ 0C00000CAh
STATUS_BAD_DEVICE_TYPE           equ 0C00000CBh
STATUS_BAD_NETWORK_NAME          equ 0C00000CCh
STATUS_TOO_MANY_NAMES            equ 0C00000CDh
STATUS_TOO_MANY_SESSIONS         equ 0C00000CEh
STATUS_SHARING_PAUSED            equ 0C00000CFh
STATUS_REQUEST_NOT_ACCEPTED      equ 0C00000D0h
STATUS_REDIRECTOR_PAUSED         equ 0C00000D1h
STATUS_NET_WRITE_FAULT           equ 0C00000D2h
STATUS_PROFILING_AT_LIMIT        equ 0C00000D3h
STATUS_NOT_SAME_DEVICE           equ 0C00000D4h
STATUS_FILE_RENAMED              equ 0C00000D5h
STATUS_VIRTUAL_CIRCUIT_CLOSED    equ 0C00000D6h
STATUS_NO_SECURITY_ON_OBJECT     equ 0C00000D7h
STATUS_CANT_WAIT                 equ 0C00000D8h
STATUS_PIPE_EMPTY                equ 0C00000D9h
STATUS_CANT_ACCESS_DOMAIN_INFO   equ 0C00000DAh
STATUS_CANT_TERMINATE_SELF       equ 0C00000DBh
STATUS_INVALID_SERVER_STATE      equ 0C00000DCh
STATUS_INVALID_DOMAIN_STATE      equ 0C00000DDh
STATUS_INVALID_DOMAIN_ROLE       equ 0C00000DEh
STATUS_NO_SUCH_DOMAIN            equ 0C00000DFh
STATUS_DOMAIN_EXISTS             equ 0C00000E0h
STATUS_DOMAIN_LIMIT_EXCEEDED     equ 0C00000E1h
STATUS_OPLOCK_NOT_GRANTED        equ 0C00000E2h
STATUS_INVALID_OPLOCK_PROTOCOL   equ 0C00000E3h
STATUS_INTERNAL_DB_CORRUPTION    equ 0C00000E4h
STATUS_INTERNAL_ERROR            equ 0C00000E5h
STATUS_GENERIC_NOT_MAPPED        equ 0C00000E6h
STATUS_BAD_DESCRIPTOR_FORMAT     equ 0C00000E7h
STATUS_INVALID_USER_BUFFER       equ 0C00000E8h
STATUS_UNEXPECTED_IO_ERROR       equ 0C00000E9h
STATUS_UNEXPECTED_MM_CREATE_ERR  equ 0C00000EAh
STATUS_UNEXPECTED_MM_MAP_ERROR   equ 0C00000EBh
STATUS_UNEXPECTED_MM_EXTEND_ERR  equ 0C00000ECh
STATUS_NOT_LOGON_PROCESS         equ 0C00000EDh
STATUS_LOGON_SESSION_EXISTS      equ 0C00000EEh
STATUS_INVALID_PARAMETER_1       equ 0C00000EFh
STATUS_INVALID_PARAMETER_2       equ 0C00000F0h
STATUS_INVALID_PARAMETER_3       equ 0C00000F1h
STATUS_INVALID_PARAMETER_4       equ 0C00000F2h
STATUS_INVALID_PARAMETER_5       equ 0C00000F3h
STATUS_INVALID_PARAMETER_6       equ 0C00000F4h
STATUS_INVALID_PARAMETER_7       equ 0C00000F5h
STATUS_INVALID_PARAMETER_8       equ 0C00000F6h
STATUS_INVALID_PARAMETER_9       equ 0C00000F7h
STATUS_INVALID_PARAMETER_10      equ 0C00000F8h
STATUS_INVALID_PARAMETER_11      equ 0C00000F9h
STATUS_INVALID_PARAMETER_12      equ 0C00000FAh
STATUS_REDIRECTOR_NOT_STARTED    equ 0C00000FBh
STATUS_REDIRECTOR_STARTED        equ 0C00000FCh
STATUS_NO_SUCH_PACKAGE           equ 0C00000FEh
STATUS_BAD_FUNCTION_TABLE        equ 0C00000FFh
STATUS_VARIABLE_NOT_FOUND        equ 0C0000100h
STATUS_DIRECTORY_NOT_EMPTY       equ 0C0000101h
STATUS_FILE_CORRUPT_ERROR        equ 0C0000102h
STATUS_NOT_A_DIRECTORY           equ 0C0000103h
STATUS_BAD_LOGON_SESSION_STATE   equ 0C0000104h
STATUS_LOGON_SESSION_COLLISION   equ 0C0000105h
STATUS_NAME_TOO_LONG             equ 0C0000106h
STATUS_FILES_OPEN                equ 0C0000107h
STATUS_CONNECTION_IN_USE         equ 0C0000108h
STATUS_MESSAGE_NOT_FOUND         equ 0C0000109h
STATUS_PROCESS_IS_TERMINATING    equ 0C000010Ah
STATUS_INVALID_LOGON_TYPE        equ 0C000010Bh
STATUS_NO_GUID_TRANSLATION       equ 0C000010Ch
STATUS_CANNOT_IMPERSONATE        equ 0C000010Dh
STATUS_IMAGE_ALREADY_LOADED      equ 0C000010Eh
STATUS_ABIOS_NOT_PRESENT         equ 0C000010Fh
STATUS_ABIOS_LID_NOT_EXIST       equ 0C0000110h
STATUS_ABIOS_LID_ALREADY_OWNED   equ 0C0000111h
STATUS_ABIOS_NOT_LID_OWNER       equ 0C0000112h
STATUS_ABIOS_INVALID_COMMAND     equ 0C0000113h
STATUS_ABIOS_INVALID_LID         equ 0C0000114h
STATUS_ABIOS_SELECTOR_NOT_AVAILABLE equ 0C0000115h
STATUS_ABIOS_INVALID_SELECTOR    equ 0C0000116h
STATUS_NO_LDT                    equ 0C0000117h
STATUS_INVALID_LDT_SIZE          equ 0C0000118h
STATUS_INVALID_LDT_OFFSET        equ 0C0000119h
STATUS_INVALID_LDT_DESCRIPTOR    equ 0C000011Ah
STATUS_INVALID_IMAGE_NE_FORMAT   equ 0C000011Bh
STATUS_RXACT_INVALID_STATE       equ 0C000011Ch
STATUS_RXACT_COMMIT_FAILURE      equ 0C000011Dh
STATUS_MAPPED_FILE_SIZE_ZERO     equ 0C000011Eh
STATUS_TOO_MANY_OPENED_FILES     equ 0C000011Fh
STATUS_CANCELLED                 equ 0C0000120h
STATUS_CANNOT_DELETE             equ 0C0000121h
STATUS_INVALID_COMPUTER_NAME     equ 0C0000122h
STATUS_FILE_DELETED              equ 0C0000123h
STATUS_SPECIAL_ACCOUNT           equ 0C0000124h
STATUS_SPECIAL_GROUP             equ 0C0000125h
STATUS_SPECIAL_USER              equ 0C0000126h
STATUS_MEMBERS_PRIMARY_GROUP     equ 0C0000127h
STATUS_FILE_CLOSED               equ 0C0000128h
STATUS_TOO_MANY_THREADS          equ 0C0000129h
STATUS_THREAD_NOT_IN_PROCESS     equ 0C000012Ah
STATUS_TOKEN_ALREADY_IN_USE      equ 0C000012Bh
STATUS_PAGEFILE_QUOTA_EXCEEDED   equ 0C000012Ch
STATUS_COMMITMENT_LIMIT          equ 0C000012Dh
STATUS_INVALID_IMAGE_LE_FORMAT   equ 0C000012Eh
STATUS_INVALID_IMAGE_NOT_MZ      equ 0C000012Fh
STATUS_INVALID_IMAGE_PROTECT     equ 0C0000130h
STATUS_INVALID_IMAGE_WIN_16      equ 0C0000131h
STATUS_LOGON_SERVER_CONFLICT     equ 0C0000132h
STATUS_TIME_DIFFERENCE_AT_DC     equ 0C0000133h
STATUS_SYNCHRONIZATION_REQUIRED  equ 0C0000134h
STATUS_DLL_NOT_FOUND             equ 0C0000135h
STATUS_OPEN_FAILED               equ 0C0000136h
STATUS_IO_PRIVILEGE_FAILED       equ 0C0000137h
STATUS_ORDINAL_NOT_FOUND         equ 0C0000138h
STATUS_ENTRYPOINT_NOT_FOUND      equ 0C0000139h
STATUS_LOCAL_DISCONNECT          equ 0C000013Bh
STATUS_REMOTE_DISCONNECT         equ 0C000013Ch
STATUS_REMOTE_RESOURCES          equ 0C000013Dh
STATUS_LINK_FAILED               equ 0C000013Eh
STATUS_LINK_TIMEOUT              equ 0C000013Fh
STATUS_INVALID_CONNECTION        equ 0C0000140h
STATUS_INVALID_ADDRESS           equ 0C0000141h
STATUS_DLL_INIT_FAILED           equ 0C0000142h
STATUS_MISSING_SYSTEMFILE        equ 0C0000143h
STATUS_UNHANDLED_EXCEPTION       equ 0C0000144h
STATUS_APP_INIT_FAILURE          equ 0C0000145h
STATUS_PAGEFILE_CREATE_FAILED    equ 0C0000146h
STATUS_NO_PAGEFILE               equ 0C0000147h
STATUS_INVALID_LEVEL             equ 0C0000148h
STATUS_WRONG_PASSWORD_CORE       equ 0C0000149h
STATUS_ILLEGAL_FLOAT_CONTEXT     equ 0C000014Ah
STATUS_PIPE_BROKEN               equ 0C000014Bh
STATUS_REGISTRY_CORRUPT          equ 0C000014Ch
STATUS_REGISTRY_IO_FAILED        equ 0C000014Dh
STATUS_NO_EVENT_PAIR             equ 0C000014Eh
STATUS_UNRECOGNIZED_VOLUME       equ 0C000014Fh
STATUS_SERIAL_NO_DEVICE_INITED   equ 0C0000150h
STATUS_NO_SUCH_ALIAS             equ 0C0000151h
STATUS_MEMBER_NOT_IN_ALIAS       equ 0C0000152h
STATUS_MEMBER_IN_ALIAS           equ 0C0000153h
STATUS_ALIAS_EXISTS              equ 0C0000154h
STATUS_LOGON_NOT_GRANTED         equ 0C0000155h
STATUS_TOO_MANY_SECRETS          equ 0C0000156h
STATUS_SECRET_TOO_LONG           equ 0C0000157h
STATUS_INTERNAL_DB_ERROR         equ 0C0000158h
STATUS_FULLSCREEN_MODE           equ 0C0000159h
STATUS_TOO_MANY_CONTEXT_IDS      equ 0C000015Ah
STATUS_LOGON_TYPE_NOT_GRANTED    equ 0C000015Bh
STATUS_NOT_REGISTRY_FILE         equ 0C000015Ch
STATUS_NT_CROSS_ENCRYPTION_REQUIRED equ 0C000015Dh
STATUS_DOMAIN_CTRLR_CONFIG_ERROR equ 0C000015Eh
STATUS_FT_MISSING_MEMBER         equ 0C000015Fh
STATUS_ILL_FORMED_SERVICE_ENTRY  equ 0C0000160h
STATUS_ILLEGAL_CHARACTER         equ 0C0000161h
STATUS_UNMAPPABLE_CHARACTER      equ 0C0000162h
STATUS_UNDEFINED_CHARACTER       equ 0C0000163h
STATUS_FLOPPY_VOLUME             equ 0C0000164h
STATUS_FLOPPY_ID_MARK_NOT_FOUND  equ 0C0000165h
STATUS_FLOPPY_WRONG_CYLINDER     equ 0C0000166h
STATUS_FLOPPY_UNKNOWN_ERROR      equ 0C0000167h
STATUS_FLOPPY_BAD_REGISTERS      equ 0C0000168h
STATUS_DISK_RECALIBRATE_FAILED   equ 0C0000169h
STATUS_DISK_OPERATION_FAILED     equ 0C000016Ah
STATUS_DISK_RESET_FAILED         equ 0C000016Bh
STATUS_SHARED_IRQ_BUSY           equ 0C000016Ch
STATUS_FT_ORPHANING              equ 0C000016Dh
STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT equ 0C000016Eh
STATUS_PARTITION_FAILURE         equ 0C0000172h
STATUS_INVALID_BLOCK_LENGTH      equ 0C0000173h
STATUS_DEVICE_NOT_PARTITIONED    equ 0C0000174h
STATUS_UNABLE_TO_LOCK_MEDIA      equ 0C0000175h
STATUS_UNABLE_TO_UNLOAD_MEDIA    equ 0C0000176h
STATUS_EOM_OVERFLOW              equ 0C0000177h
STATUS_NO_MEDIA                  equ 0C0000178h
STATUS_NO_SUCH_MEMBER            equ 0C000017Ah
STATUS_INVALID_MEMBER            equ 0C000017Bh
STATUS_KEY_DELETED               equ 0C000017Ch
STATUS_NO_LOG_SPACE              equ 0C000017Dh
STATUS_TOO_MANY_SIDS             equ 0C000017Eh
STATUS_LM_CROSS_ENCRYPTION_REQUIRED equ 0C000017Fh
STATUS_KEY_HAS_CHILDREN          equ 0C0000180h
STATUS_CHILD_MUST_BE_VOLATILE    equ 0C0000181h
STATUS_DEVICE_CONFIGURATION_ERROR equ 0C0000182h
STATUS_DRIVER_INTERNAL_ERROR     equ 0C0000183h
STATUS_INVALID_DEVICE_STATE      equ 0C0000184h
STATUS_IO_DEVICE_ERROR           equ 0C0000185h
STATUS_DEVICE_PROTOCOL_ERROR     equ 0C0000186h
STATUS_BACKUP_CONTROLLER         equ 0C0000187h
STATUS_LOG_FILE_FULL             equ 0C0000188h
STATUS_TOO_LATE                  equ 0C0000189h
STATUS_NO_TRUST_LSA_SECRET       equ 0C000018Ah
STATUS_NO_TRUST_SAM_ACCOUNT      equ 0C000018Bh
STATUS_TRUSTED_DOMAIN_FAILURE    equ 0C000018Ch
STATUS_TRUSTED_RELATIONSHIP_FAILURE equ 0C000018Dh
STATUS_EVENTLOG_FILE_CORRUPT     equ 0C000018Eh
STATUS_EVENTLOG_CANT_START       equ 0C000018Fh
STATUS_TRUST_FAILURE             equ 0C0000190h
STATUS_MUTANT_LIMIT_EXCEEDED     equ 0C0000191h
STATUS_NETLOGON_NOT_STARTED      equ 0C0000192h
STATUS_ACCOUNT_EXPIRED           equ 0C0000193h
STATUS_POSSIBLE_DEADLOCK         equ 0C0000194h
STATUS_NETWORK_CREDENTIAL_CONFLICT equ 0C0000195h
STATUS_REMOTE_SESSION_LIMIT      equ 0C0000196h
STATUS_EVENTLOG_FILE_CHANGED     equ 0C0000197h
STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT equ 0C0000198h
STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT equ 0C0000199h
STATUS_NOLOGON_SERVER_TRUST_ACCOUNT equ 0C000019Ah
STATUS_DOMAIN_TRUST_INCONSISTENT equ 0C000019Bh
STATUS_FS_DRIVER_REQUIRED        equ 0C000019Ch
STATUS_NO_USER_SESSION_KEY       equ 0C0000202h
STATUS_USER_SESSION_DELETED      equ 0C0000203h
STATUS_RESOURCE_LANG_NOT_FOUND   equ 0C0000204h
STATUS_INSUFF_SERVER_RESOURCES   equ 0C0000205h
STATUS_INVALID_BUFFER_SIZE       equ 0C0000206h
STATUS_INVALID_ADDRESS_COMPONENT equ 0C0000207h
STATUS_INVALID_ADDRESS_WILDCARD  equ 0C0000208h
STATUS_TOO_MANY_ADDRESSES        equ 0C0000209h
STATUS_ADDRESS_ALREADY_EXISTS    equ 0C000020Ah
STATUS_ADDRESS_CLOSED            equ 0C000020Bh
STATUS_CONNECTION_DISCONNECTED   equ 0C000020Ch
STATUS_CONNECTION_RESET          equ 0C000020Dh
STATUS_TOO_MANY_NODES            equ 0C000020Eh
STATUS_TRANSACTION_ABORTED       equ 0C000020Fh
STATUS_TRANSACTION_TIMED_OUT     equ 0C0000210h
STATUS_TRANSACTION_NO_RELEASE    equ 0C0000211h
STATUS_TRANSACTION_NO_MATCH      equ 0C0000212h
STATUS_TRANSACTION_RESPONDED     equ 0C0000213h
STATUS_TRANSACTION_INVALID_ID    equ 0C0000214h
STATUS_TRANSACTION_INVALID_TYPE  equ 0C0000215h
STATUS_NOT_SERVER_SESSION        equ 0C0000216h
STATUS_NOT_CLIENT_SESSION        equ 0C0000217h
STATUS_CANNOT_LOAD_REGISTRY_FILE equ 0C0000218h
STATUS_DEBUG_ATTACH_FAILED       equ 0C0000219h
STATUS_SYSTEM_PROCESS_TERMINATED equ 0C000021Ah
STATUS_DATA_NOT_ACCEPTED         equ 0C000021Bh
STATUS_NO_BROWSER_SERVERS_FOUND  equ 0C000021Ch
STATUS_VDM_HARD_ERROR            equ 0C000021Dh
STATUS_DRIVER_CANCEL_TIMEOUT     equ 0C000021Eh
STATUS_REPLY_MESSAGE_MISMATCH    equ 0C000021Fh
STATUS_MAPPED_ALIGNMENT          equ 0C0000220h
STATUS_IMAGE_CHECKSUM_MISMATCH   equ 0C0000221h
STATUS_LOST_WRITEBEHIND_DATA     equ 0C0000222h
STATUS_CLIENT_SERVER_PARAMETERS_INVALID equ 0C0000223h
STATUS_PASSWORD_MUST_CHANGE      equ 0C0000224h
STATUS_NOT_FOUND                 equ 0C0000225h
STATUS_NOT_TINY_STREAM           equ 0C0000226h
STATUS_RECOVERY_FAILURE          equ 0C0000227h
STATUS_STACK_OVERFLOW_READ       equ 0C0000228h
STATUS_FAIL_CHECK                equ 0C0000229h
STATUS_DUPLICATE_OBJECTID        equ 0C000022Ah
STATUS_OBJECTID_EXISTS           equ 0C000022Bh
STATUS_CONVERT_TO_LARGE          equ 0C000022Ch
STATUS_RETRY                     equ 0C000022Dh
STATUS_FOUND_OUT_OF_SCOPE        equ 0C000022Eh
STATUS_ALLOCATE_BUCKET           equ 0C000022Fh
STATUS_PROPSET_NOT_FOUND         equ 0C0000230h
STATUS_MARSHALL_OVERFLOW         equ 0C0000231h
STATUS_INVALID_VARIANT           equ 0C0000232h
STATUS_DOMAIN_CONTROLLER_NOT_FOUND equ 0C0000233h
STATUS_ACCOUNT_LOCKED_OUT        equ 0C0000234h
STATUS_HANDLE_NOT_CLOSABLE       equ 0C0000235h
STATUS_CONNECTION_REFUSED        equ 0C0000236h
STATUS_GRACEFUL_DISCONNECT       equ 0C0000237h
STATUS_ADDRESS_ALREADY_ASSOCIATED equ 0C0000238h
STATUS_ADDRESS_NOT_ASSOCIATED    equ 0C0000239h
STATUS_CONNECTION_INVALID        equ 0C000023Ah
STATUS_CONNECTION_ACTIVE         equ 0C000023Bh
STATUS_NETWORK_UNREACHABLE       equ 0C000023Ch
STATUS_HOST_UNREACHABLE          equ 0C000023Dh
STATUS_PROTOCOL_UNREACHABLE      equ 0C000023Eh
STATUS_PORT_UNREACHABLE          equ 0C000023Fh
STATUS_REQUEST_ABORTED           equ 0C0000240h
STATUS_CONNECTION_ABORTED        equ 0C0000241h
STATUS_BAD_COMPRESSION_BUFFER    equ 0C0000242h
STATUS_USER_MAPPED_FILE          equ 0C0000243h
STATUS_AUDIT_FAILED              equ 0C0000244h
STATUS_TIMER_RESOLUTION_NOT_SET  equ 0C0000245h
STATUS_CONNECTION_COUNT_LIMIT    equ 0C0000246h
STATUS_LOGIN_TIME_RESTRICTION    equ 0C0000247h
STATUS_LOGIN_WKSTA_RESTRICTION   equ 0C0000248h
STATUS_IMAGE_MP_UP_MISMATCH      equ 0C0000249h
STATUS_INSUFFICIENT_LOGON_INFO   equ 0C0000250h
STATUS_BAD_DLL_ENTRYPOINT        equ 0C0000251h
STATUS_BAD_SERVICE_ENTRYPOINT    equ 0C0000252h
STATUS_LPC_REPLY_LOST            equ 0C0000253h
STATUS_IP_ADDRESS_CONFLICT1      equ 0C0000254h
STATUS_IP_ADDRESS_CONFLICT2      equ 0C0000255h
STATUS_REGISTRY_QUOTA_LIMIT      equ 0C0000256h
STATUS_PATH_NOT_COVERED          equ 0C0000257h
STATUS_NO_CALLBACK_ACTIVE        equ 0C0000258h
STATUS_LICENSE_QUOTA_EXCEEDED    equ 0C0000259h
STATUS_PWD_TOO_SHORT             equ 0C000025Ah
STATUS_PWD_TOO_RECENT            equ 0C000025Bh
STATUS_PWD_HISTORY_CONFLICT      equ 0C000025Ch
STATUS_PLUGPLAY_NO_DEVICE        equ 0C000025Eh
STATUS_UNSUPPORTED_COMPRESSION   equ 0C000025Fh
STATUS_INVALID_HW_PROFILE        equ 0C0000260h
STATUS_INVALID_PLUGPLAY_DEVICE_PATH equ 0C0000261h
STATUS_DRIVER_ORDINAL_NOT_FOUND  equ 0C0000262h
STATUS_DRIVER_ENTRYPOINT_NOT_FOUND equ 0C0000263h
STATUS_RESOURCE_NOT_OWNED        equ 0C0000264h
STATUS_TOO_MANY_LINKS            equ 0C0000265h
STATUS_QUOTA_LIST_INCONSISTENT   equ 0C0000266h
STATUS_FILE_IS_OFFLINE           equ 0C0000267h
STATUS_EVALUATION_EXPIRATION     equ 0C0000268h
STATUS_ILLEGAL_DLL_RELOCATION    equ 0C0000269h
STATUS_LICENSE_VIOLATION         equ 0C000026Ah
STATUS_DLL_INIT_FAILED_LOGOFF    equ 0C000026Bh
STATUS_DRIVER_UNABLE_TO_LOAD     equ 0C000026Ch
STATUS_DFS_UNAVAILABLE           equ 0C000026Dh
STATUS_VOLUME_DISMOUNTED         equ 0C000026Eh
STATUS_WX86_INTERNAL_ERROR       equ 0C000026Fh
STATUS_WX86_FLOAT_STACK_CHECK    equ 0C0000270h
STATUS_VALIDATE_CONTINUE         equ 0C0000271h
STATUS_NO_MATCH                  equ 0C0000272h
STATUS_NO_MORE_MATCHES           equ 0C0000273h
STATUS_NOT_A_REPARSE_POINT       equ 0C0000275h
STATUS_IO_REPARSE_TAG_INVALID    equ 0C0000276h
STATUS_IO_REPARSE_TAG_MISMATCH   equ 0C0000277h
STATUS_IO_REPARSE_DATA_INVALID   equ 0C0000278h
STATUS_IO_REPARSE_TAG_NOT_HANDLED equ 0C0000279h
STATUS_REPARSE_POINT_NOT_RESOLVED equ 0C0000280h
STATUS_DIRECTORY_IS_A_REPARSE_POINT equ 0C0000281h
STATUS_RANGE_LIST_CONFLICT       equ 0C0000282h
STATUS_SOURCE_ELEMENT_EMPTY      equ 0C0000283h
STATUS_DESTINATION_ELEMENT_FULL  equ 0C0000284h
STATUS_ILLEGAL_ELEMENT_ADDRESS   equ 0C0000285h
STATUS_MAGAZINE_NOT_PRESENT      equ 0C0000286h
STATUS_REINITIALIZATION_NEEDED   equ 0C0000287h
STATUS_DEVICE_REQUIRES_CLEANING  equ 80000288h
STATUS_DEVICE_DOOR_OPEN          equ 80000289h
STATUS_ENCRYPTION_FAILED         equ 0C000028Ah
STATUS_DECRYPTION_FAILED         equ 0C000028Bh
STATUS_RANGE_NOT_FOUND           equ 0C000028Ch
STATUS_NO_RECOVERY_POLICY        equ 0C000028Dh
STATUS_NO_EFS                    equ 0C000028Eh
STATUS_WRONG_EFS                 equ 0C000028Fh
STATUS_NO_USER_KEYS              equ 0C0000290h
STATUS_FILE_NOT_ENCRYPTED        equ 0C0000291h
STATUS_NOT_EXPORT_FORMAT         equ 0C0000292h
STATUS_FILE_ENCRYPTED            equ 0C0000293h
STATUS_WAKE_SYSTEM               equ 40000294h
STATUS_WMI_GUID_NOT_FOUND        equ 0C0000295h
STATUS_WMI_INSTANCE_NOT_FOUND    equ 0C0000296h
STATUS_WMI_ITEMID_NOT_FOUND      equ 0C0000297h
STATUS_WMI_TRY_AGAIN             equ 0C0000298h
STATUS_SHARED_POLICY             equ 0C0000299h
STATUS_POLICY_OBJECT_NOT_FOUND   equ 0C000029Ah
STATUS_POLICY_ONLY_IN_DS         equ 0C000029Bh
STATUS_VOLUME_NOT_UPGRADED       equ 0C000029Ch
STATUS_REMOTE_STORAGE_NOT_ACTIVE equ 0C000029Dh
STATUS_REMOTE_STORAGE_MEDIA_ERROR equ 0C000029Eh
STATUS_NO_TRACKING_SERVICE       equ 0C000029Fh
STATUS_SERVER_SID_MISMATCH       equ 0C00002A0h
STATUS_DS_NO_ATTRIBUTE_OR_VALUE  equ 0C00002A1h
STATUS_DS_INVALID_ATTRIBUTE_SYNTAX equ 0C00002A2h
STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED equ 0C00002A3h
STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS equ 0C00002A4h
STATUS_DS_BUSY                   equ 0C00002A5h
STATUS_DS_UNAVAILABLE            equ 0C00002A6h
STATUS_DS_NO_RIDS_ALLOCATED      equ 0C00002A7h
STATUS_DS_NO_MORE_RIDS           equ 0C00002A8h
STATUS_DS_INCORRECT_ROLE_OWNER   equ 0C00002A9h
STATUS_DS_RIDMGR_INIT_ERROR      equ 0C00002AAh
STATUS_DS_OBJ_CLASS_VIOLATION    equ 0C00002ABh
STATUS_DS_CANT_ON_NON_LEAF       equ 0C00002ACh
STATUS_DS_CANT_ON_RDN            equ 0C00002ADh
STATUS_DS_CANT_MOD_OBJ_CLASS     equ 0C00002AEh
STATUS_DS_CROSS_DOM_MOVE_FAILED  equ 0C00002AFh
STATUS_DS_GC_NOT_AVAILABLE       equ 0C00002B0h
STATUS_DIRECTORY_SERVICE_REQUIRED equ 0C00002B1h
STATUS_REPARSE_ATTRIBUTE_CONFLICT equ 0C00002B2h
STATUS_CANT_ENABLE_DENY_ONLY     equ 0C00002B3h
STATUS_DEVICE_REMOVED            equ 0C00002B6h
STATUS_JOURNAL_DELETE_IN_PROGRESS equ 0C00002B7h
STATUS_JOURNAL_NOT_ACTIVE        equ 0C00002B8h
STATUS_NOINTERFACE               equ 0C00002B9h
STATUS_DS_ADMIN_LIMIT_EXCEEDED   equ 0C00002C1h
STATUS_DRIVER_FAILED_SLEEP       equ 0C00002C2h
STATUS_MUTUAL_AUTHENTICATION_FAILED equ 0C00002C3h
STATUS_CORRUPT_SYSTEM_FILE       equ 0C00002C4h
STATUS_DATATYPE_MISALIGNMENT_ERROR equ 0C00002C5h
STATUS_WMI_READ_ONLY             equ 0C00002C6h
STATUS_WMI_SET_FAILURE           equ 0C00002C7h
STATUS_COMMITMENT_MINIMUM        equ 0C00002C8h
STATUS_TRANSPORT_FULL            equ 0C00002CAh
STATUS_DS_SAM_INIT_FAILURE       equ 0C00002CBh
STATUS_ONLY_IF_CONNECTED         equ 0C00002CCh
STATUS_DS_SENSITIVE_GROUP_VIOLATION equ 0C00002CDh
STATUS_PNP_RESTART_ENUMERATION   equ 0C00002CEh
STATUS_JOURNAL_ENTRY_DELETED     equ 0C00002CFh
STATUS_DS_CANT_MOD_PRIMARYGROUPID equ 0C00002D0h
STATUS_SYSTEM_IMAGE_BAD_SIGNATURE equ 0C00002D1h
STATUS_PNP_REBOOT_REQUIRED       equ 0C00002D2h
STATUS_POWER_STATE_INVALID       equ 0C00002D3h
STATUS_DS_INVALID_GROUP_TYPE     equ 0C00002D4h
STATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN equ 0C00002D5h
STATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN equ 0C00002D6h
STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER equ 0C00002D7h
STATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER equ 0C00002D8h
STATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER equ 0C00002D9h
STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER equ 0C00002DAh
STATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER equ 0C00002DBh
STATUS_DS_HAVE_PRIMARY_MEMBERS   equ 0C00002DCh
STATUS_WMI_NOT_SUPPORTED         equ 0C00002DDh
STATUS_INSUFFICIENT_POWER        equ 0C00002DEh
STATUS_SAM_NEED_BOOTKEY_PASSWORD equ 0C00002DFh
STATUS_SAM_NEED_BOOTKEY_FLOPPY   equ 0C00002E0h
STATUS_DS_CANT_START             equ 0C00002E1h
STATUS_DS_INIT_FAILURE           equ 0C00002E2h
STATUS_SAM_INIT_FAILURE          equ 0C00002E3h
STATUS_DS_GC_REQUIRED            equ 0C00002E4h
STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY equ 0C00002E5h
STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS equ 0C00002E6h
STATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED equ 0C00002E7h
STATUS_MULTIPLE_FAULT_VIOLATION  equ 0C00002E8h
STATUS_CURRENT_DOMAIN_NOT_ALLOWED equ 0C00002E9h
STATUS_CANNOT_MAKE               equ 0C00002EAh
STATUS_SYSTEM_SHUTDOWN           equ 0C00002EBh
STATUS_DS_INIT_FAILURE_CONSOLE   equ 0C00002ECh
STATUS_DS_SAM_INIT_FAILURE_CONSOLE equ 0C00002EDh
STATUS_UNFINISHED_CONTEXT_DELETED equ 0C00002EEh
STATUS_NO_TGT_REPLY              equ 0C00002EFh
STATUS_OBJECTID_NOT_FOUND        equ 0C00002F0h
STATUS_NO_IP_ADDRESSES           equ 0C00002F1h
STATUS_WRONG_CREDENTIAL_HANDLE   equ 0C00002F2h
STATUS_CRYPTO_SYSTEM_INVALID     equ 0C00002F3h
STATUS_MAX_REFERRALS_EXCEEDED    equ 0C00002F4h
STATUS_MUST_BE_KDC               equ 0C00002F5h
STATUS_STRONG_CRYPTO_NOT_SUPPORTED equ 0C00002F6h
STATUS_TOO_MANY_PRINCIPALS       equ 0C00002F7h
STATUS_NO_PA_DATA                equ 0C00002F8h
STATUS_PKINIT_NAME_MISMATCH      equ 0C00002F9h
STATUS_SMARTCARD_LOGON_REQUIRED  equ 0C00002FAh
STATUS_KDC_INVALID_REQUEST       equ 0C00002FBh
STATUS_KDC_UNABLE_TO_REFER       equ 0C00002FCh
STATUS_KDC_UNKNOWN_ETYPE         equ 0C00002FDh
STATUS_SHUTDOWN_IN_PROGRESS      equ 0C00002FEh
STATUS_SERVER_SHUTDOWN_IN_PROGRESS equ 0C00002FFh
STATUS_NOT_SUPPORTED_ON_SBS      equ 0C0000300h
STATUS_WMI_GUID_DISCONNECTED     equ 0C0000301h
STATUS_WMI_ALREADY_DISABLED      equ 0C0000302h
STATUS_WMI_ALREADY_ENABLED       equ 0C0000303h
STATUS_MFT_TOO_FRAGMENTED        equ 0C0000304h
STATUS_COPY_PROTECTION_FAILURE   equ 0C0000305h
STATUS_CSS_AUTHENTICATION_FAILURE equ 0C0000306h
STATUS_CSS_KEY_NOT_PRESENT       equ 0C0000307h
STATUS_CSS_KEY_NOT_ESTABLISHED   equ 0C0000308h
STATUS_CSS_SCRAMBLED_SECTOR      equ 0C0000309h
STATUS_CSS_REGION_MISMATCH       equ 0C000030Ah
STATUS_CSS_RESETS_EXHAUSTED      equ 0C000030Bh
STATUS_PKINIT_FAILURE            equ 0C0000320h
STATUS_SMARTCARD_SUBSYSTEM_FAILURE equ 0C0000321h
STATUS_NO_KERB_KEY               equ 0C0000322h
STATUS_HOST_DOWN                 equ 0C0000350h
STATUS_UNSUPPORTED_PREAUTH       equ 0C0000351h
STATUS_EFS_ALG_BLOB_TOO_BIG      equ 0C0000352h
STATUS_PORT_NOT_SET              equ 0C0000353h
STATUS_DEBUGGER_INACTIVE         equ 0C0000354h
STATUS_DS_VERSION_CHECK_FAILURE  equ 0C0000355h
STATUS_AUDITING_DISABLED         equ 0C0000356h
STATUS_PRENT4_MACHINE_ACCOUNT    equ 0C0000357h
STATUS_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER equ 0C0000358h
STATUS_INVALID_IMAGE_WIN_32      equ 0C0000359h
STATUS_INVALID_IMAGE_WIN_64      equ 0C000035Ah
STATUS_BAD_BINDINGS              equ 0C000035Bh
STATUS_NETWORK_SESSION_EXPIRED   equ 0C000035Ch
STATUS_APPHELP_BLOCK             equ 0C000035Dh
STATUS_ALL_SIDS_FILTERED         equ 0C000035Eh
STATUS_NOT_SAFE_MODE_DRIVER      equ 0C000035Fh
STATUS_ACCESS_DISABLED_BY_POLICY_DEFAULT equ 0C0000361h
STATUS_ACCESS_DISABLED_BY_POLICY_PATH equ 0C0000362h
STATUS_ACCESS_DISABLED_BY_POLICY_PUBLISHER equ 0C0000363h
STATUS_ACCESS_DISABLED_BY_POLICY_OTHER equ 0C0000364h
STATUS_FAILED_DRIVER_ENTRY       equ 0C0000365h
STATUS_DEVICE_ENUMERATION_ERROR  equ 0C0000366h
STATUS_WAIT_FOR_OPLOCK           equ 00000367h
STATUS_MOUNT_POINT_NOT_RESOLVED  equ 0C0000368h
STATUS_INVALID_DEVICE_OBJECT_PARAMETER equ 0C0000369h
STATUS_MCA_OCCURED               equ 0C000036Ah
STATUS_DRIVER_BLOCKED_CRITICAL   equ 0C000036Bh
STATUS_DRIVER_BLOCKED            equ 0C000036Ch
STATUS_DRIVER_DATABASE_ERROR     equ 0C000036Dh
STATUS_SYSTEM_HIVE_TOO_LARGE     equ 0C000036Eh
STATUS_INVALID_IMPORT_OF_NON_DLL equ 0C000036Fh
STATUS_DS_SHUTTING_DOWN          equ 40000370h
STATUS_SMARTCARD_WRONG_PIN       equ 0C0000380h
STATUS_SMARTCARD_CARD_BLOCKED    equ 0C0000381h
STATUS_SMARTCARD_CARD_NOT_AUTHENTICATED equ 0C0000382h
STATUS_SMARTCARD_NO_CARD         equ 0C0000383h
STATUS_SMARTCARD_NO_KEY_CONTAINER equ 0C0000384h
STATUS_SMARTCARD_NO_CERTIFICATE  equ 0C0000385h
STATUS_SMARTCARD_NO_KEYSET       equ 0C0000386h
STATUS_SMARTCARD_IO_ERROR        equ 0C0000387h
STATUS_DOWNGRADE_DETECTED        equ 0C0000388h
STATUS_SMARTCARD_CERT_REVOKED    equ 0C0000389h
STATUS_ISSUING_CA_UNTRUSTED      equ 0C000038Ah
STATUS_REVOCATION_OFFLINE_C      equ 0C000038Bh
STATUS_PKINIT_CLIENT_FAILURE     equ 0C000038Ch
STATUS_SMARTCARD_CERT_EXPIRED    equ 0C000038Dh
STATUS_DRIVER_FAILED_PRIOR_UNLOAD equ 0C000038Eh
STATUS_SMARTCARD_SILENT_CONTEXT  equ 0C000038Fh
STATUS_PER_USER_TRUST_QUOTA_EXCEEDED equ 0C0000401h
STATUS_ALL_USER_TRUST_QUOTA_EXCEEDED equ 0C0000402h
STATUS_USER_DELETE_TRUST_QUOTA_EXCEEDED equ 0C0000403h
STATUS_DS_NAME_NOT_UNIQUE        equ 0C0000404h
STATUS_DS_DUPLICATE_ID_FOUND     equ 0C0000405h
STATUS_DS_GROUP_CONVERSION_ERROR equ 0C0000406h
STATUS_VOLSNAP_PREPARE_HIBERNATE equ 0C0000407h
STATUS_USER2USER_REQUIRED        equ 0C0000408h
STATUS_STACK_BUFFER_OVERRUN      equ 0C0000409h
STATUS_NO_S4U_PROT_SUPPORT       equ 0C000040Ah
STATUS_CROSSREALM_DELEGATION_FAILURE equ 0C000040Bh
STATUS_REVOCATION_OFFLINE_KDC    equ 0C000040Ch
STATUS_ISSUING_CA_UNTRUSTED_KDC  equ 0C000040Dh
STATUS_KDC_CERT_EXPIRED          equ 0C000040Eh
STATUS_KDC_CERT_REVOKED          equ 0C000040Fh
STATUS_PARAMETER_QUOTA_EXCEEDED  equ 0C0000410h
STATUS_HIBERNATION_FAILURE       equ 0C0000411h
STATUS_DELAY_LOAD_FAILED         equ 0C0000412h
STATUS_AUTHENTICATION_FIREWALL_FAILED equ 0C0000413h
STATUS_VDM_DISALLOWED            equ 0C0000414h
STATUS_HUNG_DISPLAY_DRIVER_THREAD equ 0C0000415h
STATUS_WOW_ASSERTION             equ 0C0009898h
DBG_NO_STATE_CHANGE              equ 0C0010001h
DBG_APP_NOT_IDLE                 equ 0C0010002h
RPC_NT_INVALID_STRING_BINDING    equ 0C0020001h
RPC_NT_WRONG_KIND_OF_BINDING     equ 0C0020002h
RPC_NT_INVALID_BINDING           equ 0C0020003h
RPC_NT_PROTSEQ_NOT_SUPPORTED     equ 0C0020004h
RPC_NT_INVALID_RPC_PROTSEQ       equ 0C0020005h
RPC_NT_INVALID_STRING_UUID       equ 0C0020006h
RPC_NT_INVALID_ENDPOINT_FORMAT   equ 0C0020007h
RPC_NT_INVALID_NET_ADDR          equ 0C0020008h
RPC_NT_NO_ENDPOINT_FOUND         equ 0C0020009h
RPC_NT_INVALID_TIMEOUT           equ 0C002000Ah
RPC_NT_OBJECT_NOT_FOUND          equ 0C002000Bh
RPC_NT_ALREADY_REGISTERED        equ 0C002000Ch
RPC_NT_TYPE_ALREADY_REGISTERED   equ 0C002000Dh
RPC_NT_ALREADY_LISTENING         equ 0C002000Eh
RPC_NT_NO_PROTSEQS_REGISTERED    equ 0C002000Fh
RPC_NT_NOT_LISTENING             equ 0C0020010h
RPC_NT_UNKNOWN_MGR_TYPE          equ 0C0020011h
RPC_NT_UNKNOWN_IF                equ 0C0020012h
RPC_NT_NO_BINDINGS               equ 0C0020013h
RPC_NT_NO_PROTSEQS               equ 0C0020014h
RPC_NT_CANT_CREATE_ENDPOINT      equ 0C0020015h
RPC_NT_OUT_OF_RESOURCES          equ 0C0020016h
RPC_NT_SERVER_UNAVAILABLE        equ 0C0020017h
RPC_NT_SERVER_TOO_BUSY           equ 0C0020018h
RPC_NT_INVALID_NETWORK_OPTIONS   equ 0C0020019h
RPC_NT_NO_CALL_ACTIVE            equ 0C002001Ah
RPC_NT_CALL_FAILED               equ 0C002001Bh
RPC_NT_CALL_FAILED_DNE           equ 0C002001Ch
RPC_NT_PROTOCOL_ERROR            equ 0C002001Dh
RPC_NT_UNSUPPORTED_TRANS_SYN     equ 0C002001Fh
RPC_NT_UNSUPPORTED_TYPE          equ 0C0020021h
RPC_NT_INVALID_TAG               equ 0C0020022h
RPC_NT_INVALID_BOUND             equ 0C0020023h
RPC_NT_NO_ENTRY_NAME             equ 0C0020024h
RPC_NT_INVALID_NAME_SYNTAX       equ 0C0020025h
RPC_NT_UNSUPPORTED_NAME_SYNTAX   equ 0C0020026h
RPC_NT_UUID_NO_ADDRESS           equ 0C0020028h
RPC_NT_DUPLICATE_ENDPOINT        equ 0C0020029h
RPC_NT_UNKNOWN_AUTHN_TYPE        equ 0C002002Ah
RPC_NT_MAX_CALLS_TOO_SMALL       equ 0C002002Bh
RPC_NT_STRING_TOO_LONG           equ 0C002002Ch
RPC_NT_PROTSEQ_NOT_FOUND         equ 0C002002Dh
RPC_NT_PROCNUM_OUT_OF_RANGE      equ 0C002002Eh
RPC_NT_BINDING_HAS_NO_AUTH       equ 0C002002Fh
RPC_NT_UNKNOWN_AUTHN_SERVICE     equ 0C0020030h
RPC_NT_UNKNOWN_AUTHN_LEVEL       equ 0C0020031h
RPC_NT_INVALID_AUTH_IDENTITY     equ 0C0020032h
RPC_NT_UNKNOWN_AUTHZ_SERVICE     equ 0C0020033h
EPT_NT_INVALID_ENTRY             equ 0C0020034h
EPT_NT_CANT_PERFORM_OP           equ 0C0020035h
EPT_NT_NOT_REGISTERED            equ 0C0020036h
RPC_NT_NOTHING_TO_EXPORT         equ 0C0020037h
RPC_NT_INCOMPLETE_NAME           equ 0C0020038h
RPC_NT_INVALID_VERS_OPTION       equ 0C0020039h
RPC_NT_NO_MORE_MEMBERS           equ 0C002003Ah
RPC_NT_NOT_ALL_OBJS_UNEXPORTED   equ 0C002003Bh
RPC_NT_INTERFACE_NOT_FOUND       equ 0C002003Ch
RPC_NT_ENTRY_ALREADY_EXISTS      equ 0C002003Dh
RPC_NT_ENTRY_NOT_FOUND           equ 0C002003Eh
RPC_NT_NAME_SERVICE_UNAVAILABLE  equ 0C002003Fh
RPC_NT_INVALID_NAF_ID            equ 0C0020040h
RPC_NT_CANNOT_SUPPORT            equ 0C0020041h
RPC_NT_NO_CONTEXT_AVAILABLE      equ 0C0020042h
RPC_NT_INTERNAL_ERROR            equ 0C0020043h
RPC_NT_ZERO_DIVIDE               equ 0C0020044h
RPC_NT_ADDRESS_ERROR             equ 0C0020045h
RPC_NT_FP_DIV_ZERO               equ 0C0020046h
RPC_NT_FP_UNDERFLOW              equ 0C0020047h
RPC_NT_FP_OVERFLOW               equ 0C0020048h
RPC_NT_NO_MORE_ENTRIES           equ 0C0030001h
RPC_NT_SS_CHAR_TRANS_OPEN_FAIL   equ 0C0030002h
RPC_NT_SS_CHAR_TRANS_SHORT_FILE  equ 0C0030003h
RPC_NT_SS_IN_NULL_CONTEXT        equ 0C0030004h
RPC_NT_SS_CONTEXT_MISMATCH       equ 0C0030005h
RPC_NT_SS_CONTEXT_DAMAGED        equ 0C0030006h
RPC_NT_SS_HANDLES_MISMATCH       equ 0C0030007h
RPC_NT_SS_CANNOT_GET_CALL_HANDLE equ 0C0030008h
RPC_NT_NULL_REF_POINTER          equ 0C0030009h
RPC_NT_ENUM_VALUE_OUT_OF_RANGE   equ 0C003000Ah
RPC_NT_BYTE_COUNT_TOO_SMALL      equ 0C003000Bh
RPC_NT_BAD_STUB_DATA             equ 0C003000Ch
RPC_NT_CALL_IN_PROGRESS          equ 0C0020049h
RPC_NT_NO_MORE_BINDINGS          equ 0C002004Ah
RPC_NT_GROUP_MEMBER_NOT_FOUND    equ 0C002004Bh
EPT_NT_CANT_CREATE               equ 0C002004Ch
RPC_NT_INVALID_OBJECT            equ 0C002004Dh
RPC_NT_NO_INTERFACES             equ 0C002004Fh
RPC_NT_CALL_CANCELLED            equ 0C0020050h
RPC_NT_BINDING_INCOMPLETE        equ 0C0020051h
RPC_NT_COMM_FAILURE              equ 0C0020052h
RPC_NT_UNSUPPORTED_AUTHN_LEVEL   equ 0C0020053h
RPC_NT_NO_PRINC_NAME             equ 0C0020054h
RPC_NT_NOT_RPC_ERROR             equ 0C0020055h
RPC_NT_UUID_LOCAL_ONLY           equ 40020056h
RPC_NT_SEC_PKG_ERROR             equ 0C0020057h
RPC_NT_NOT_CANCELLED             equ 0C0020058h
RPC_NT_INVALID_ES_ACTION         equ 0C0030059h
RPC_NT_WRONG_ES_VERSION          equ 0C003005Ah
RPC_NT_WRONG_STUB_VERSION        equ 0C003005Bh
RPC_NT_INVALID_PIPE_OBJECT       equ 0C003005Ch
RPC_NT_INVALID_PIPE_OPERATION    equ 0C003005Dh
RPC_NT_WRONG_PIPE_VERSION        equ 0C003005Eh
RPC_NT_PIPE_CLOSED               equ 0C003005Fh
RPC_NT_PIPE_DISCIPLINE_ERROR     equ 0C0030060h
RPC_NT_PIPE_EMPTY                equ 0C0030061h
RPC_NT_INVALID_ASYNC_HANDLE      equ 0C0020062h
RPC_NT_INVALID_ASYNC_CALL        equ 0C0020063h
RPC_NT_SEND_INCOMPLETE           equ 400200AFh
STATUS_ACPI_INVALID_OPCODE       equ 0C0140001h
STATUS_ACPI_STACK_OVERFLOW       equ 0C0140002h
STATUS_ACPI_ASSERT_FAILED        equ 0C0140003h
STATUS_ACPI_INVALID_INDEX        equ 0C0140004h
STATUS_ACPI_INVALID_ARGUMENT     equ 0C0140005h
STATUS_ACPI_FATAL                equ 0C0140006h
STATUS_ACPI_INVALID_SUPERNAME    equ 0C0140007h
STATUS_ACPI_INVALID_ARGTYPE      equ 0C0140008h
STATUS_ACPI_INVALID_OBJTYPE      equ 0C0140009h
STATUS_ACPI_INVALID_TARGETTYPE   equ 0C014000Ah
STATUS_ACPI_INCORRECT_ARGUMENT_COUNT equ 0C014000Bh
STATUS_ACPI_ADDRESS_NOT_MAPPED   equ 0C014000Ch
STATUS_ACPI_INVALID_EVENTTYPE    equ 0C014000Dh
STATUS_ACPI_HANDLER_COLLISION    equ 0C014000Eh
STATUS_ACPI_INVALID_DATA         equ 0C014000Fh
STATUS_ACPI_INVALID_REGION       equ 0C0140010h
STATUS_ACPI_INVALID_ACCESS_SIZE  equ 0C0140011h
STATUS_ACPI_ACQUIRE_GLOBAL_LOCK  equ 0C0140012h
STATUS_ACPI_ALREADY_INITIALIZED  equ 0C0140013h
STATUS_ACPI_NOT_INITIALIZED      equ 0C0140014h
STATUS_ACPI_INVALID_MUTEX_LEVEL  equ 0C0140015h
STATUS_ACPI_MUTEX_NOT_OWNED      equ 0C0140016h
STATUS_ACPI_MUTEX_NOT_OWNER      equ 0C0140017h
STATUS_ACPI_RS_ACCESS            equ 0C0140018h
STATUS_ACPI_INVALID_TABLE        equ 0C0140019h
STATUS_ACPI_REG_HANDLER_FAILED   equ 0C0140020h
STATUS_ACPI_POWER_REQUEST_FAILED equ 0C0140021h
STATUS_CTX_WINSTATION_NAME_INVALID equ 0C00A0001h
STATUS_CTX_INVALID_PD            equ 0C00A0002h
STATUS_CTX_PD_NOT_FOUND          equ 0C00A0003h
STATUS_CTX_CDM_CONNECT           equ 400A0004h
STATUS_CTX_CDM_DISCONNECT        equ 400A0005h
STATUS_CTX_CLOSE_PENDING         equ 0C00A0006h
STATUS_CTX_NO_OUTBUF             equ 0C00A0007h
STATUS_CTX_MODEM_INF_NOT_FOUND   equ 0C00A0008h
STATUS_CTX_INVALID_MODEMNAME     equ 0C00A0009h
STATUS_CTX_RESPONSE_ERROR        equ 0C00A000Ah
STATUS_CTX_MODEM_RESPONSE_TIMEOUT equ 0C00A000Bh
STATUS_CTX_MODEM_RESPONSE_NO_CARRIER equ 0C00A000Ch
STATUS_CTX_MODEM_RESPONSE_NO_DIALTONE equ 0C00A000Dh
STATUS_CTX_MODEM_RESPONSE_BUSY   equ 0C00A000Eh
STATUS_CTX_MODEM_RESPONSE_VOICE  equ 0C00A000Fh
STATUS_CTX_TD_ERROR              equ 0C00A0010h
STATUS_CTX_LICENSE_CLIENT_INVALID equ 0C00A0012h
STATUS_CTX_LICENSE_NOT_AVAILABLE equ 0C00A0013h
STATUS_CTX_LICENSE_EXPIRED       equ 0C00A0014h
STATUS_CTX_WINSTATION_NOT_FOUND  equ 0C00A0015h
STATUS_CTX_WINSTATION_NAME_COLLISION equ 0C00A0016h
STATUS_CTX_WINSTATION_BUSY       equ 0C00A0017h
STATUS_CTX_BAD_VIDEO_MODE        equ 0C00A0018h
STATUS_CTX_GRAPHICS_INVALID      equ 0C00A0022h
STATUS_CTX_NOT_CONSOLE           equ 0C00A0024h
STATUS_CTX_CLIENT_QUERY_TIMEOUT  equ 0C00A0026h
STATUS_CTX_CONSOLE_DISCONNECT    equ 0C00A0027h
STATUS_CTX_CONSOLE_CONNECT       equ 0C00A0028h
STATUS_CTX_SHADOW_DENIED         equ 0C00A002Ah
STATUS_CTX_WINSTATION_ACCESS_DENIED equ 0C00A002Bh
STATUS_CTX_INVALID_WD            equ 0C00A002Eh
STATUS_CTX_WD_NOT_FOUND          equ 0C00A002Fh
STATUS_CTX_SHADOW_INVALID        equ 0C00A0030h
STATUS_CTX_SHADOW_DISABLED       equ 0C00A0031h
STATUS_RDP_PROTOCOL_ERROR        equ 0C00A0032h
STATUS_CTX_CLIENT_LICENSE_NOT_SET equ 0C00A0033h
STATUS_CTX_CLIENT_LICENSE_IN_USE equ 0C00A0034h
STATUS_CTX_SHADOW_ENDED_BY_MODE_CHANGE equ 0C00A0035h
STATUS_CTX_SHADOW_NOT_RUNNING    equ 0C00A0036h
STATUS_PNP_BAD_MPS_TABLE         equ 0C0040035h
STATUS_PNP_TRANSLATION_FAILED    equ 0C0040036h
STATUS_PNP_IRQ_TRANSLATION_FAILED equ 0C0040037h
STATUS_PNP_INVALID_ID            equ 0C0040038h
STATUS_SXS_SECTION_NOT_FOUND     equ 0C0150001h
STATUS_SXS_CANT_GEN_ACTCTX       equ 0C0150002h
STATUS_SXS_INVALID_ACTCTXDATA_FORMAT equ 0C0150003h
STATUS_SXS_ASSEMBLY_NOT_FOUND    equ 0C0150004h
STATUS_SXS_MANIFEST_FORMAT_ERROR equ 0C0150005h
STATUS_SXS_MANIFEST_PARSE_ERROR  equ 0C0150006h
STATUS_SXS_ACTIVATION_CONTEXT_DISABLED equ 0C0150007h
STATUS_SXS_KEY_NOT_FOUND         equ 0C0150008h
STATUS_SXS_VERSION_CONFLICT      equ 0C0150009h
STATUS_SXS_WRONG_SECTION_TYPE    equ 0C015000Ah
STATUS_SXS_THREAD_QUERIES_DISABLED equ 0C015000Bh
STATUS_SXS_ASSEMBLY_MISSING      equ 0C015000Ch
STATUS_SXS_RELEASE_ACTIVATION_CONTEXT equ 4015000Dh
STATUS_SXS_PROCESS_DEFAULT_ALREADY_SET equ 0C015000Eh
STATUS_SXS_MULTIPLE_DEACTIVATION equ 0C0150011h
STATUS_SXS_SYSTEM_DEFAULT_ACTIVATION_CONTEXT_EMPTY equ 0C0150012h
STATUS_SXS_PROCESS_TERMINATION_REQUESTED equ 0C0150013h
STATUS_SXS_CORRUPT_ACTIVATION_STACK equ 0C0150014h
STATUS_SXS_CORRUPTION            equ 0C0150015h
STATUS_CLUSTER_INVALID_NODE      equ 0C0130001h
STATUS_CLUSTER_NODE_EXISTS       equ 0C0130002h
STATUS_CLUSTER_JOIN_IN_PROGRESS  equ 0C0130003h
STATUS_CLUSTER_NODE_NOT_FOUND    equ 0C0130004h
STATUS_CLUSTER_LOCAL_NODE_NOT_FOUND equ 0C0130005h
STATUS_CLUSTER_NETWORK_EXISTS    equ 0C0130006h
STATUS_CLUSTER_NETWORK_NOT_FOUND equ 0C0130007h
STATUS_CLUSTER_NETINTERFACE_EXISTS equ 0C0130008h
STATUS_CLUSTER_NETINTERFACE_NOT_FOUND equ 0C0130009h
STATUS_CLUSTER_INVALID_REQUEST   equ 0C013000Ah
STATUS_CLUSTER_INVALID_NETWORK_PROVIDER equ 0C013000Bh
STATUS_CLUSTER_NODE_DOWN         equ 0C013000Ch
STATUS_CLUSTER_NODE_UNREACHABLE  equ 0C013000Dh
STATUS_CLUSTER_NODE_NOT_MEMBER   equ 0C013000Eh
STATUS_CLUSTER_JOIN_NOT_IN_PROGRESS equ 0C013000Fh
STATUS_CLUSTER_INVALID_NETWORK   equ 0C0130010h
STATUS_CLUSTER_NO_NET_ADAPTERS   equ 0C0130011h
STATUS_CLUSTER_NODE_UP           equ 0C0130012h
STATUS_CLUSTER_NODE_PAUSED       equ 0C0130013h
STATUS_CLUSTER_NODE_NOT_PAUSED   equ 0C0130014h
STATUS_CLUSTER_NO_SECURITY_CONTEXT equ 0C0130015h
STATUS_CLUSTER_NETWORK_NOT_INTERNAL equ 0C0130016h
STATUS_CLUSTER_POISONED          equ 0C0130017h
FACILITY_VIDEO                   equ 1Bh
FACILITY_TRANSACTION             equ 19h
FACILITY_NTSSPI                  equ 9h
FACILITY_NTWIN32                 equ 7h
FACILITY_NDIS_ERROR_CODE         equ 23h
FACILTIY_MUI_ERROR_CODE          equ 0Bh
FACILITY_MONITOR                 equ 1Dh
FACILITY_MAXIMUM_VALUE           equ 37h
FACILITY_IPSEC                   equ 36h
FACILITY_HYPERVISOR              equ 35h
FACILITY_GRAPHICS_KERNEL         equ 1Eh
FACILITY_FWP_ERROR_CODE          equ 22h
FACILITY_FVE_ERROR_CODE          equ 21h
FACILITY_FILTER_MANAGER          equ 1Ch
FACILITY_DRIVER_FRAMEWORK        equ 20h
FACILITY_COMMONLOG               equ 1Ah
STATUS_INTERRUPT_VECTOR_ALREADY_CONNECTED equ 00000127h
STATUS_INTERRUPT_STILL_CONNECTED equ 00000128h
STATUS_PROCESS_CLONED            equ 00000129h
STATUS_FILE_LOCKED_WITH_ONLY_READERS equ 0000012Ah
STATUS_FILE_LOCKED_WITH_WRITERS  equ 0000012Bh
STATUS_RESOURCEMANAGER_READ_ONLY equ 00000202h
STATUS_FLT_IO_COMPLETE           equ 001C0001h
STATUS_MESSAGE_RETRIEVED         equ 4000002Eh
STATUS_SYSTEM_POWERSTATE_TRANSITION equ 4000002Fh
STATUS_ALPC_CHECK_COMPLETION_LIST equ 40000030h
STATUS_SYSTEM_POWERSTATE_COMPLEX_TRANSITION equ 40000031h
STATUS_ACCESS_AUDIT_BY_POLICY    equ 40000032h
STATUS_ABANDON_HIBERFILE         equ 40000033h
STATUS_BIZRULES_NOT_ENABLED      equ 40000034h
STATUS_FLT_BUFFER_TOO_SMALL      equ 801C0001h
STATUS_STOPPED_ON_SYMLINK        equ 8000002Dh
STATUS_FVE_PARTIAL_METADATA      equ 80210001h
STATUS_IMAGE_ALREADY_LOADED_AS_DLL equ 0C000019Dh
STATUS_NETWORK_OPEN_RESTRICTION  equ 0C0000201h
STATUS_NO_SECRETS                equ 0C0000371h
STATUS_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY equ 0C0000372h
STATUS_FAILED_STACK_SWITCH       equ 0C0000373h
STATUS_HEAP_CORRUPTION           equ 0C0000374h
STATUS_INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE equ 0C0000416h
STATUS_INVALID_CRUNTIME_PARAMETER equ 0C0000417h
STATUS_NTLM_BLOCKED              equ 0C0000418h
STATUS_ASSERTION_FAILURE         equ 0C0000420h
STATUS_VERIFIER_STOP             equ 0C0000421h
STATUS_CALLBACK_POP_STACK        equ 0C0000423h
STATUS_INCOMPATIBLE_DRIVER_BLOCKED equ 0C0000424h
STATUS_HIVE_UNLOADED             equ 0C0000425h
STATUS_COMPRESSION_DISABLED      equ 0C0000426h
STATUS_FILE_SYSTEM_LIMITATION    equ 0C0000427h
STATUS_INVALID_IMAGE_HASH        equ 0C0000428h
STATUS_NOT_CAPABLE               equ 0C0000429h
STATUS_REQUEST_OUT_OF_SEQUENCE   equ 0C000042Ah
STATUS_IMPLEMENTATION_LIMIT      equ 0C000042Bh
STATUS_ELEVATION_REQUIRED        equ 0C000042Ch
STATUS_BEYOND_VDL                equ 0C0000432h
STATUS_ENCOUNTERED_WRITE_IN_PROGRESS equ 0C0000433h
STATUS_PTE_CHANGED               equ 0C0000434h
STATUS_PURGE_FAILED              equ 0C0000435h
STATUS_CRED_REQUIRES_CONFIRMATION equ 0C0000440h
STATUS_CS_ENCRYPTION_INVALID_SERVER_RESPONSE equ 0C0000441h
STATUS_CS_ENCRYPTION_UNSUPPORTED_SERVER equ 0C0000442h
STATUS_CS_ENCRYPTION_EXISTING_ENCRYPTED_FILE equ 0C0000443h
STATUS_CS_ENCRYPTION_NEW_ENCRYPTED_FILE equ 0C0000444h
STATUS_CS_ENCRYPTION_FILE_NOT_CSE equ 0C0000445h
STATUS_INVALID_LABEL             equ 0C0000446h
STATUS_DRIVER_PROCESS_TERMINATED equ 0C0000450h
STATUS_AMBIGUOUS_SYSTEM_DEVICE   equ 0C0000451h
STATUS_SYSTEM_DEVICE_NOT_FOUND   equ 0C0000452h
STATUS_RESTART_BOOT_APPLICATION  equ 0C0000453h
STATUS_INVALID_TASK_NAME         equ 0C0000500h
STATUS_INVALID_TASK_INDEX        equ 0C0000501h
STATUS_THREAD_ALREADY_IN_TASK    equ 0C0000502h
STATUS_CALLBACK_BYPASS           equ 0C0000503h
STATUS_PORT_CLOSED               equ 0C0000700h
STATUS_MESSAGE_LOST              equ 0C0000701h
STATUS_INVALID_MESSAGE           equ 0C0000702h
STATUS_REQUEST_CANCELED          equ 0C0000703h
STATUS_RECURSIVE_DISPATCH        equ 0C0000704h
STATUS_LPC_RECEIVE_BUFFER_EXPECTED equ 0C0000705h
STATUS_LPC_INVALID_CONNECTION_USAGE equ 0C0000706h
STATUS_LPC_REQUESTS_NOT_ALLOWED  equ 0C0000707h
STATUS_RESOURCE_IN_USE           equ 0C0000708h
STATUS_HARDWARE_MEMORY_ERROR     equ 0C0000709h
STATUS_THREADPOOL_HANDLE_EXCEPTION equ 0C000070Ah
STATUS_THREADPOOL_SET_EVENT_ON_COMPLETION_FAILED equ 0C000070Bh
STATUS_THREADPOOL_RELEASE_SEMAPHORE_ON_COMPLETION_FAILED equ 0C000070Ch
STATUS_THREADPOOL_RELEASE_MUTEX_ON_COMPLETION_FAILED equ 0C000070Dh
STATUS_THREADPOOL_FREE_LIBRARY_ON_COMPLETION_FAILED equ 0C000070Eh
STATUS_THREADPOOL_RELEASED_DURING_OPERATION equ 0C000070Fh
STATUS_CALLBACK_RETURNED_WHILE_IMPERSONATING equ 0C0000710h
STATUS_APC_RETURNED_WHILE_IMPERSONATING equ 0C0000711h
STATUS_PROCESS_IS_PROTECTED      equ 0C0000712h
STATUS_MCA_EXCEPTION             equ 0C0000713h
STATUS_CERTIFICATE_MAPPING_NOT_UNIQUE equ 0C0000714h
STATUS_SYMLINK_CLASS_DISABLED    equ 0C0000715h
STATUS_INVALID_IDN_NORMALIZATION equ 0C0000716h
STATUS_NO_UNICODE_TRANSLATION    equ 0C0000717h
STATUS_ALREADY_REGISTERED        equ 0C0000718h
STATUS_CONTEXT_MISMATCH          equ 0C0000719h
STATUS_PORT_ALREADY_HAS_COMPLETION_LIST equ 0C000071Ah
STATUS_CALLBACK_RETURNED_THREAD_PRIORITY equ 0C000071Bh
STATUS_INVALID_THREAD            equ 0C000071Ch
STATUS_CALLBACK_RETURNED_TRANSACTION equ 0C000071Dh
STATUS_CALLBACK_RETURNED_LDR_LOCK equ 0C000071Eh
STATUS_CALLBACK_RETURNED_LANG    equ 0C000071Fh
STATUS_CALLBACK_RETURNED_PRI_BACK equ 0C0000720h
STATUS_CALLBACK_RETURNED_THREAD_AFFINITY equ 0C0000721h
STATUS_DISK_REPAIR_DISABLED      equ 0C0000800h
STATUS_DS_DOMAIN_RENAME_IN_PROGRESS equ 0C0000801h
STATUS_DISK_QUOTA_EXCEEDED       equ 0C0000802h
STATUS_DATA_LOST_REPAIR          equ 80000803h
STATUS_CONTENT_BLOCKED           equ 0C0000804h
STATUS_BAD_CLUSTERS              equ 0C0000805h
STATUS_VOLUME_DIRTY              equ 0C0000806h
STATUS_FILE_CHECKED_OUT          equ 0C0000901h
STATUS_CHECKOUT_REQUIRED         equ 0C0000902h
STATUS_BAD_FILE_TYPE             equ 0C0000903h
STATUS_FILE_TOO_LARGE            equ 0C0000904h
STATUS_FORMS_AUTH_REQUIRED       equ 0C0000905h
STATUS_VIRUS_INFECTED            equ 0C0000906h
STATUS_VIRUS_DELETED             equ 0C0000907h
STATUS_BAD_MCFG_TABLE            equ 0C0000908h
STATUS_INVALID_SIGNATURE         equ 0C000A000h
STATUS_HMAC_NOT_SUPPORTED        equ 0C000A001h
STATUS_IPSEC_QUEUE_OVERFLOW      equ 0C000A010h
STATUS_ND_QUEUE_OVERFLOW         equ 0C000A011h
STATUS_HOPLIMIT_EXCEEDED         equ 0C000A012h
STATUS_PROTOCOL_NOT_SUPPORTED    equ 0C000A013h
STATUS_LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED equ 0C000A080h
STATUS_LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR equ 0C000A081h
STATUS_LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR equ 0C000A082h
STATUS_XML_PARSE_ERROR           equ 0C000A083h
STATUS_XMLDSIG_ERROR             equ 0C000A084h
STATUS_WRONG_COMPARTMENT         equ 0C000A085h
STATUS_AUTHIP_FAILURE            equ 0C000A086h
RPC_NT_PROXY_ACCESS_DENIED       equ 0C0020064h
STATUS_CTX_LOGON_DISABLED        equ 0C00A0037h
STATUS_CTX_SECURITY_LAYER_ERROR  equ 0C00A0038h
STATUS_TS_INCOMPATIBLE_SESSIONS  equ 0C00A0039h
STATUS_IO_REISSUE_AS_CACHED      equ 0C0040039h
STATUS_MUI_FILE_NOT_FOUND        equ 0C00B0001h
STATUS_MUI_INVALID_FILE          equ 0C00B0002h
STATUS_MUI_INVALID_RC_CONFIG     equ 0C00B0003h
STATUS_MUI_INVALID_LOCALE_NAME   equ 0C00B0004h
STATUS_MUI_INVALID_ULTIMATEFALLBACK_NAME equ 0C00B0005h
STATUS_MUI_FILE_NOT_LOADED       equ 0C00B0006h
STATUS_RESOURCE_ENUM_USER_STOP   equ 0C00B0007h
STATUS_FLT_NO_HANDLER_DEFINED    equ 0C01C0001h
STATUS_FLT_CONTEXT_ALREADY_DEFINED equ 0C01C0002h
STATUS_FLT_INVALID_ASYNCHRONOUS_REQUEST equ 0C01C0003h
STATUS_FLT_DISALLOW_FAST_IO      equ 0C01C0004h
STATUS_FLT_INVALID_NAME_REQUEST  equ 0C01C0005h
STATUS_FLT_NOT_SAFE_TO_POST_OPERATION equ 0C01C0006h
STATUS_FLT_NOT_INITIALIZED       equ 0C01C0007h
STATUS_FLT_FILTER_NOT_READY      equ 0C01C0008h
STATUS_FLT_POST_OPERATION_CLEANUP equ 0C01C0009h
STATUS_FLT_INTERNAL_ERROR        equ 0C01C000Ah
STATUS_FLT_DELETING_OBJECT       equ 0C01C000Bh
STATUS_FLT_MUST_BE_NONPAGED_POOL equ 0C01C000Ch
STATUS_FLT_DUPLICATE_ENTRY       equ 0C01C000Dh
STATUS_FLT_CBDQ_DISABLED         equ 0C01C000Eh
STATUS_FLT_DO_NOT_ATTACH         equ 0C01C000Fh
STATUS_FLT_DO_NOT_DETACH         equ 0C01C0010h
STATUS_FLT_INSTANCE_ALTITUDE_COLLISION equ 0C01C0011h
STATUS_FLT_INSTANCE_NAME_COLLISION equ 0C01C0012h
STATUS_FLT_FILTER_NOT_FOUND      equ 0C01C0013h
STATUS_FLT_VOLUME_NOT_FOUND      equ 0C01C0014h
STATUS_FLT_INSTANCE_NOT_FOUND    equ 0C01C0015h
STATUS_FLT_CONTEXT_ALLOCATION_NOT_FOUND equ 0C01C0016h
STATUS_FLT_INVALID_CONTEXT_REGISTRATION equ 0C01C0017h
STATUS_FLT_NAME_CACHE_MISS       equ 0C01C0018h
STATUS_FLT_NO_DEVICE_OBJECT      equ 0C01C0019h
STATUS_FLT_VOLUME_ALREADY_MOUNTED equ 0C01C001Ah
STATUS_FLT_ALREADY_ENLISTED      equ 0C01C001Bh
STATUS_FLT_CONTEXT_ALREADY_LINKED equ 0C01C001Ch
STATUS_FLT_NO_WAITER_FOR_REPLY   equ 0C01C0020h
STATUS_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE equ 0C0150016h
STATUS_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME equ 0C0150017h
STATUS_SXS_IDENTITY_DUPLICATE_ATTRIBUTE equ 0C0150018h
STATUS_SXS_IDENTITY_PARSE_ERROR  equ 0C0150019h
STATUS_SXS_COMPONENT_STORE_CORRUPT equ 0C015001Ah
STATUS_SXS_FILE_HASH_MISMATCH    equ 0C015001Bh
STATUS_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT equ 0C015001Ch
STATUS_SXS_IDENTITIES_DIFFERENT  equ 0C015001Dh
STATUS_SXS_ASSEMBLY_IS_NOT_A_DEPLOYMENT equ 0C015001Eh
STATUS_SXS_FILE_NOT_PART_OF_ASSEMBLY equ 0C015001Fh
STATUS_ADVANCED_INSTALLER_FAILED equ 0C0150020h
STATUS_XML_ENCODING_MISMATCH     equ 0C0150021h
STATUS_SXS_MANIFEST_TOO_BIG      equ 0C0150022h
STATUS_SXS_SETTING_NOT_REGISTERED equ 0C0150023h
STATUS_SXS_TRANSACTION_CLOSURE_INCOMPLETE equ 0C0150024h
STATUS_SMI_PRIMITIVE_INSTALLER_FAILED equ 0C0150025h
STATUS_GENERIC_COMMAND_FAILED    equ 0C0150026h
STATUS_SXS_FILE_HASH_MISSING     equ 0C0150027h
STATUS_TRANSACTIONAL_CONFLICT    equ 0C0190001h
STATUS_INVALID_TRANSACTION       equ 0C0190002h
STATUS_TRANSACTION_NOT_ACTIVE    equ 0C0190003h
STATUS_TM_INITIALIZATION_FAILED  equ 0C0190004h
STATUS_RM_NOT_ACTIVE             equ 0C0190005h
STATUS_RM_METADATA_CORRUPT       equ 0C0190006h
STATUS_TRANSACTION_NOT_JOINED    equ 0C0190007h
STATUS_DIRECTORY_NOT_RM          equ 0C0190008h
STATUS_COULD_NOT_RESIZE_LOG      equ 80190009h
STATUS_TRANSACTIONS_UNSUPPORTED_REMOTE equ 0C019000Ah
STATUS_LOG_RESIZE_INVALID_SIZE   equ 0C019000Bh
STATUS_REMOTE_FILE_VERSION_MISMATCH equ 0C019000Ch
STATUS_CRM_PROTOCOL_ALREADY_EXISTS equ 0C019000Fh
STATUS_TRANSACTION_PROPAGATION_FAILED equ 0C0190010h
STATUS_CRM_PROTOCOL_NOT_FOUND    equ 0C0190011h
STATUS_TRANSACTION_SUPERIOR_EXISTS equ 0C0190012h
STATUS_TRANSACTION_REQUEST_NOT_VALID equ 0C0190013h
STATUS_TRANSACTION_NOT_REQUESTED equ 0C0190014h
STATUS_TRANSACTION_ALREADY_ABORTED equ 0C0190015h
STATUS_TRANSACTION_ALREADY_COMMITTED equ 0C0190016h
STATUS_TRANSACTION_INVALID_MARSHALL_BUFFER equ 0C0190017h
STATUS_CURRENT_TRANSACTION_NOT_VALID equ 0C0190018h
STATUS_LOG_GROWTH_FAILED         equ 0C0190019h
STATUS_OBJECT_NO_LONGER_EXISTS   equ 0C0190021h
STATUS_STREAM_MINIVERSION_NOT_FOUND equ 0C0190022h
STATUS_STREAM_MINIVERSION_NOT_VALID equ 0C0190023h
STATUS_MINIVERSION_INACCESSIBLE_FROM_SPECIFIED_TRANSACTION equ 0C0190024h
STATUS_CANT_OPEN_MINIVERSION_WITH_MODIFY_INTENT equ 0C0190025h
STATUS_CANT_CREATE_MORE_STREAM_MINIVERSIONS equ 0C0190026h
STATUS_HANDLE_NO_LONGER_VALID    equ 0C0190028h
STATUS_NO_TXF_METADATA           equ 80190029h
STATUS_LOG_CORRUPTION_DETECTED   equ 0C0190030h
STATUS_CANT_RECOVER_WITH_HANDLE_OPEN equ 80190031h
STATUS_RM_DISCONNECTED           equ 0C0190032h
STATUS_ENLISTMENT_NOT_SUPERIOR   equ 0C0190033h
STATUS_RECOVERY_NOT_NEEDED       equ 40190034h
STATUS_RM_ALREADY_STARTED        equ 40190035h
STATUS_FILE_IDENTITY_NOT_PERSISTENT equ 0C0190036h
STATUS_CANT_BREAK_TRANSACTIONAL_DEPENDENCY equ 0C0190037h
STATUS_CANT_CROSS_RM_BOUNDARY    equ 0C0190038h
STATUS_TXF_DIR_NOT_EMPTY         equ 0C0190039h
STATUS_INDOUBT_TRANSACTIONS_EXIST equ 0C019003Ah
STATUS_TM_VOLATILE               equ 0C019003Bh
STATUS_ROLLBACK_TIMER_EXPIRED    equ 0C019003Ch
STATUS_TXF_ATTRIBUTE_CORRUPT     equ 0C019003Dh
STATUS_EFS_NOT_ALLOWED_IN_TRANSACTION equ 0C019003Eh
STATUS_TRANSACTIONAL_OPEN_NOT_ALLOWED equ 0C019003Fh
STATUS_TRANSACTED_MAPPING_UNSUPPORTED_REMOTE equ 0C0190040h
STATUS_TXF_METADATA_ALREADY_PRESENT equ 80190041h
STATUS_TRANSACTION_SCOPE_CALLBACKS_NOT_SET equ 80190042h
STATUS_TRANSACTION_REQUIRED_PROMOTION equ 0C0190043h
STATUS_CANNOT_EXECUTE_FILE_IN_TRANSACTION equ 0C0190044h
STATUS_TRANSACTIONS_NOT_FROZEN   equ 0C0190045h
STATUS_TRANSACTION_FREEZE_IN_PROGRESS equ 0C0190046h
STATUS_NOT_SNAPSHOT_VOLUME       equ 0C0190047h
STATUS_NO_SAVEPOINT_WITH_OPEN_FILES equ 0C0190048h
STATUS_SPARSE_NOT_ALLOWED_IN_TRANSACTION equ 0C0190049h
STATUS_TM_IDENTITY_MISMATCH      equ 0C019004Ah
STATUS_FLOATED_SECTION           equ 0C019004Bh
STATUS_CANNOT_ACCEPT_TRANSACTED_WORK equ 0C019004Ch
STATUS_CANNOT_ABORT_TRANSACTIONS equ 0C019004Dh
STATUS_TRANSACTION_NOT_FOUND     equ 0C019004Eh
STATUS_RESOURCEMANAGER_NOT_FOUND equ 0C019004Fh
STATUS_ENLISTMENT_NOT_FOUND      equ 0C0190050h
STATUS_TRANSACTIONMANAGER_NOT_FOUND equ 0C0190051h
STATUS_TRANSACTIONMANAGER_NOT_ONLINE equ 0C0190052h
STATUS_TRANSACTIONMANAGER_RECOVERY_NAME_COLLISION equ 0C0190053h
STATUS_TRANSACTION_NOT_ROOT      equ 0C0190054h
STATUS_TRANSACTION_OBJECT_EXPIRED equ 0C0190055h
STATUS_COMPRESSION_NOT_ALLOWED_IN_TRANSACTION equ 0C0190056h
STATUS_TRANSACTION_RESPONSE_NOT_ENLISTED equ 0C0190057h
STATUS_TRANSACTION_RECORD_TOO_LONG equ 0C0190058h
STATUS_NO_LINK_TRACKING_IN_TRANSACTION equ 0C0190059h
STATUS_OPERATION_NOT_SUPPORTED_IN_TRANSACTION equ 0C019005Ah
STATUS_TRANSACTION_INTEGRITY_VIOLATED equ 0C019005Bh
STATUS_LOG_SECTOR_INVALID        equ 0C01A0001h
STATUS_LOG_SECTOR_PARITY_INVALID equ 0C01A0002h
STATUS_LOG_SECTOR_REMAPPED       equ 0C01A0003h
STATUS_LOG_BLOCK_INCOMPLETE      equ 0C01A0004h
STATUS_LOG_INVALID_RANGE         equ 0C01A0005h
STATUS_LOG_BLOCKS_EXHAUSTED      equ 0C01A0006h
STATUS_LOG_READ_CONTEXT_INVALID  equ 0C01A0007h
STATUS_LOG_RESTART_INVALID       equ 0C01A0008h
STATUS_LOG_BLOCK_VERSION         equ 0C01A0009h
STATUS_LOG_BLOCK_INVALID         equ 0C01A000Ah
STATUS_LOG_READ_MODE_INVALID     equ 0C01A000Bh
STATUS_LOG_NO_RESTART            equ 401A000Ch
STATUS_LOG_METADATA_CORRUPT      equ 0C01A000Dh
STATUS_LOG_METADATA_INVALID      equ 0C01A000Eh
STATUS_LOG_METADATA_INCONSISTENT equ 0C01A000Fh
STATUS_LOG_RESERVATION_INVALID   equ 0C01A0010h
STATUS_LOG_CANT_DELETE           equ 0C01A0011h
STATUS_LOG_CONTAINER_LIMIT_EXCEEDED equ 0C01A0012h
STATUS_LOG_START_OF_LOG          equ 0C01A0013h
STATUS_LOG_POLICY_ALREADY_INSTALLED equ 0C01A0014h
STATUS_LOG_POLICY_NOT_INSTALLED  equ 0C01A0015h
STATUS_LOG_POLICY_INVALID        equ 0C01A0016h
STATUS_LOG_POLICY_CONFLICT       equ 0C01A0017h
STATUS_LOG_PINNED_ARCHIVE_TAIL   equ 0C01A0018h
STATUS_LOG_RECORD_NONEXISTENT    equ 0C01A0019h
STATUS_LOG_RECORDS_RESERVED_INVALID equ 0C01A001Ah
STATUS_LOG_SPACE_RESERVED_INVALID equ 0C01A001Bh
STATUS_LOG_TAIL_INVALID          equ 0C01A001Ch
STATUS_LOG_FULL                  equ 0C01A001Dh
STATUS_LOG_MULTIPLEXED           equ 0C01A001Eh
STATUS_LOG_DEDICATED             equ 0C01A001Fh
STATUS_LOG_ARCHIVE_NOT_IN_PROGRESS equ 0C01A0020h
STATUS_LOG_ARCHIVE_IN_PROGRESS   equ 0C01A0021h
STATUS_LOG_EPHEMERAL             equ 0C01A0022h
STATUS_LOG_NOT_ENOUGH_CONTAINERS equ 0C01A0023h
STATUS_LOG_CLIENT_ALREADY_REGISTERED equ 0C01A0024h
STATUS_LOG_CLIENT_NOT_REGISTERED equ 0C01A0025h
STATUS_LOG_FULL_HANDLER_IN_PROGRESS equ 0C01A0026h
STATUS_LOG_CONTAINER_READ_FAILED equ 0C01A0027h
STATUS_LOG_CONTAINER_WRITE_FAILED equ 0C01A0028h
STATUS_LOG_CONTAINER_OPEN_FAILED equ 0C01A0029h
STATUS_LOG_CONTAINER_STATE_INVALID equ 0C01A002Ah
STATUS_LOG_STATE_INVALID         equ 0C01A002Bh
STATUS_LOG_PINNED                equ 0C01A002Ch
STATUS_LOG_METADATA_FLUSH_FAILED equ 0C01A002Dh
STATUS_LOG_INCONSISTENT_SECURITY equ 0C01A002Eh
STATUS_LOG_APPENDED_FLUSH_FAILED equ 0C01A002Fh
STATUS_LOG_PINNED_RESERVATION    equ 0C01A0030h
STATUS_VIDEO_HUNG_DISPLAY_DRIVER_THREAD equ 0C01B00EAh
STATUS_VIDEO_HUNG_DISPLAY_DRIVER_THREAD_RECOVERED equ 801B00EBh
STATUS_VIDEO_DRIVER_DEBUG_REPORT_REQUEST equ 401B00ECh
STATUS_MONITOR_NO_DESCRIPTOR     equ 0C01D0001h
STATUS_MONITOR_UNKNOWN_DESCRIPTOR_FORMAT equ 0C01D0002h
STATUS_MONITOR_INVALID_DESCRIPTOR_CHECKSUM equ 0C01D0003h
STATUS_MONITOR_INVALID_STANDARD_TIMING_BLOCK equ 0C01D0004h
STATUS_MONITOR_WMI_DATABLOCK_REGISTRATION_FAILED equ 0C01D0005h
STATUS_MONITOR_INVALID_SERIAL_NUMBER_MONDSC_BLOCK equ 0C01D0006h
STATUS_MONITOR_INVALID_USER_FRIENDLY_MONDSC_BLOCK equ 0C01D0007h
STATUS_MONITOR_NO_MORE_DESCRIPTOR_DATA equ 0C01D0008h
STATUS_MONITOR_INVALID_DETAILED_TIMING_BLOCK equ 0C01D0009h
STATUS_GRAPHICS_NOT_EXCLUSIVE_MODE_OWNER equ 0C01E0000h
STATUS_GRAPHICS_INSUFFICIENT_DMA_BUFFER equ 0C01E0001h
STATUS_GRAPHICS_INVALID_DISPLAY_ADAPTER equ 0C01E0002h
STATUS_GRAPHICS_ADAPTER_WAS_RESET equ 0C01E0003h
STATUS_GRAPHICS_INVALID_DRIVER_MODEL equ 0C01E0004h
STATUS_GRAPHICS_PRESENT_MODE_CHANGED equ 0C01E0005h
STATUS_GRAPHICS_PRESENT_OCCLUDED equ 0C01E0006h
STATUS_GRAPHICS_PRESENT_DENIED   equ 0C01E0007h
STATUS_GRAPHICS_CANNOTCOLORCONVERT equ 0C01E0008h
STATUS_GRAPHICS_DRIVER_MISMATCH  equ 0C01E0009h
STATUS_GRAPHICS_PARTIAL_DATA_POPULATED equ 401E000Ah
STATUS_GRAPHICS_NO_VIDEO_MEMORY  equ 0C01E0100h
STATUS_GRAPHICS_CANT_LOCK_MEMORY equ 0C01E0101h
STATUS_GRAPHICS_ALLOCATION_BUSY  equ 0C01E0102h
STATUS_GRAPHICS_TOO_MANY_REFERENCES equ 0C01E0103h
STATUS_GRAPHICS_TRY_AGAIN_LATER  equ 0C01E0104h
STATUS_GRAPHICS_TRY_AGAIN_NOW    equ 0C01E0105h
STATUS_GRAPHICS_ALLOCATION_INVALID equ 0C01E0106h
STATUS_GRAPHICS_UNSWIZZLING_APERTURE_UNAVAILABLE equ 0C01E0107h
STATUS_GRAPHICS_UNSWIZZLING_APERTURE_UNSUPPORTED equ 0C01E0108h
STATUS_GRAPHICS_CANT_EVICT_PINNED_ALLOCATION equ 0C01E0109h
STATUS_GRAPHICS_INVALID_ALLOCATION_USAGE equ 0C01E0110h
STATUS_GRAPHICS_CANT_RENDER_LOCKED_ALLOCATION equ 0C01E0111h
STATUS_GRAPHICS_ALLOCATION_CLOSED equ 0C01E0112h
STATUS_GRAPHICS_INVALID_ALLOCATION_INSTANCE equ 0C01E0113h
STATUS_GRAPHICS_INVALID_ALLOCATION_HANDLE equ 0C01E0114h
STATUS_GRAPHICS_WRONG_ALLOCATION_DEVICE equ 0C01E0115h
STATUS_GRAPHICS_ALLOCATION_CONTENT_LOST equ 0C01E0116h
STATUS_GRAPHICS_GPU_EXCEPTION_ON_DEVICE equ 0C01E0200h
STATUS_GRAPHICS_INVALID_VIDPN_TOPOLOGY equ 0C01E0300h
STATUS_GRAPHICS_VIDPN_TOPOLOGY_NOT_SUPPORTED equ 0C01E0301h
STATUS_GRAPHICS_VIDPN_TOPOLOGY_CURRENTLY_NOT_SUPPORTED equ 0C01E0302h
STATUS_GRAPHICS_INVALID_VIDPN    equ 0C01E0303h
STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE equ 0C01E0304h
STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET equ 0C01E0305h
STATUS_GRAPHICS_VIDPN_MODALITY_NOT_SUPPORTED equ 0C01E0306h
STATUS_GRAPHICS_MODE_NOT_PINNED  equ 401E0307h
STATUS_GRAPHICS_INVALID_VIDPN_SOURCEMODESET equ 0C01E0308h
STATUS_GRAPHICS_INVALID_VIDPN_TARGETMODESET equ 0C01E0309h
STATUS_GRAPHICS_INVALID_FREQUENCY equ 0C01E030Ah
STATUS_GRAPHICS_INVALID_ACTIVE_REGION equ 0C01E030Bh
STATUS_GRAPHICS_INVALID_TOTAL_REGION equ 0C01E030Ch
STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE_MODE equ 0C01E0310h
STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET_MODE equ 0C01E0311h
STATUS_GRAPHICS_PINNED_MODE_MUST_REMAIN_IN_SET equ 0C01E0312h
STATUS_GRAPHICS_PATH_ALREADY_IN_TOPOLOGY equ 0C01E0313h
STATUS_GRAPHICS_MODE_ALREADY_IN_MODESET equ 0C01E0314h
STATUS_GRAPHICS_INVALID_VIDEOPRESENTSOURCESET equ 0C01E0315h
STATUS_GRAPHICS_INVALID_VIDEOPRESENTTARGETSET equ 0C01E0316h
STATUS_GRAPHICS_SOURCE_ALREADY_IN_SET equ 0C01E0317h
STATUS_GRAPHICS_TARGET_ALREADY_IN_SET equ 0C01E0318h
STATUS_GRAPHICS_INVALID_VIDPN_PRESENT_PATH equ 0C01E0319h
STATUS_GRAPHICS_NO_RECOMMENDED_VIDPN_TOPOLOGY equ 0C01E031Ah
STATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGESET equ 0C01E031Bh
STATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE equ 0C01E031Ch
STATUS_GRAPHICS_FREQUENCYRANGE_NOT_IN_SET equ 0C01E031Dh
STATUS_GRAPHICS_NO_PREFERRED_MODE equ 401E031Eh
STATUS_GRAPHICS_FREQUENCYRANGE_ALREADY_IN_SET equ 0C01E031Fh
STATUS_GRAPHICS_STALE_MODESET    equ 0C01E0320h
STATUS_GRAPHICS_INVALID_MONITOR_SOURCEMODESET equ 0C01E0321h
STATUS_GRAPHICS_INVALID_MONITOR_SOURCE_MODE equ 0C01E0322h
STATUS_GRAPHICS_NO_RECOMMENDED_FUNCTIONAL_VIDPN equ 0C01E0323h
STATUS_GRAPHICS_MODE_ID_MUST_BE_UNIQUE equ 0C01E0324h
STATUS_GRAPHICS_EMPTY_ADAPTER_MONITOR_MODE_SUPPORT_INTERSECTION equ 0C01E0325h
STATUS_GRAPHICS_VIDEO_PRESENT_TARGETS_LESS_THAN_SOURCES equ 0C01E0326h
STATUS_GRAPHICS_PATH_NOT_IN_TOPOLOGY equ 0C01E0327h
STATUS_GRAPHICS_ADAPTER_MUST_HAVE_AT_LEAST_ONE_SOURCE equ 0C01E0328h
STATUS_GRAPHICS_ADAPTER_MUST_HAVE_AT_LEAST_ONE_TARGET equ 0C01E0329h
STATUS_GRAPHICS_INVALID_MONITORDESCRIPTORSET equ 0C01E032Ah
STATUS_GRAPHICS_INVALID_MONITORDESCRIPTOR equ 0C01E032Bh
STATUS_GRAPHICS_MONITORDESCRIPTOR_NOT_IN_SET equ 0C01E032Ch
STATUS_GRAPHICS_MONITORDESCRIPTOR_ALREADY_IN_SET equ 0C01E032Dh
STATUS_GRAPHICS_MONITORDESCRIPTOR_ID_MUST_BE_UNIQUE equ 0C01E032Eh
STATUS_GRAPHICS_INVALID_VIDPN_TARGET_SUBSET_TYPE equ 0C01E032Fh
STATUS_GRAPHICS_RESOURCES_NOT_RELATED equ 0C01E0330h
STATUS_GRAPHICS_SOURCE_ID_MUST_BE_UNIQUE equ 0C01E0331h
STATUS_GRAPHICS_TARGET_ID_MUST_BE_UNIQUE equ 0C01E0332h
STATUS_GRAPHICS_NO_AVAILABLE_VIDPN_TARGET equ 0C01E0333h
STATUS_GRAPHICS_MONITOR_COULD_NOT_BE_ASSOCIATED_WITH_ADAPTER equ 0C01E0334h
STATUS_GRAPHICS_NO_VIDPNMGR      equ 0C01E0335h
STATUS_GRAPHICS_NO_ACTIVE_VIDPN  equ 0C01E0336h
STATUS_GRAPHICS_STALE_VIDPN_TOPOLOGY equ 0C01E0337h
STATUS_GRAPHICS_MONITOR_NOT_CONNECTED equ 0C01E0338h
STATUS_GRAPHICS_SOURCE_NOT_IN_TOPOLOGY equ 0C01E0339h
STATUS_GRAPHICS_INVALID_PRIMARYSURFACE_SIZE equ 0C01E033Ah
STATUS_GRAPHICS_INVALID_VISIBLEREGION_SIZE equ 0C01E033Bh
STATUS_GRAPHICS_INVALID_STRIDE   equ 0C01E033Ch
STATUS_GRAPHICS_INVALID_PIXELFORMAT equ 0C01E033Dh
STATUS_GRAPHICS_INVALID_COLORBASIS equ 0C01E033Eh
STATUS_GRAPHICS_INVALID_PIXELVALUEACCESSMODE equ 0C01E033Fh
STATUS_GRAPHICS_TARGET_NOT_IN_TOPOLOGY equ 0C01E0340h
STATUS_GRAPHICS_NO_DISPLAY_MODE_MANAGEMENT_SUPPORT equ 0C01E0341h
STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE equ 0C01E0342h
STATUS_GRAPHICS_CANT_ACCESS_ACTIVE_VIDPN equ 0C01E0343h
STATUS_GRAPHICS_INVALID_PATH_IMPORTANCE_ORDINAL equ 0C01E0344h
STATUS_GRAPHICS_INVALID_PATH_CONTENT_GEOMETRY_TRANSFORMATION equ 0C01E0345h
STATUS_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_SUPPORTED equ 0C01E0346h
STATUS_GRAPHICS_INVALID_GAMMA_RAMP equ 0C01E0347h
STATUS_GRAPHICS_GAMMA_RAMP_NOT_SUPPORTED equ 0C01E0348h
STATUS_GRAPHICS_MULTISAMPLING_NOT_SUPPORTED equ 0C01E0349h
STATUS_GRAPHICS_MODE_NOT_IN_MODESET equ 0C01E034Ah
STATUS_GRAPHICS_DATASET_IS_EMPTY equ 401E034Bh
STATUS_GRAPHICS_NO_MORE_ELEMENTS_IN_DATASET equ 401E034Ch
STATUS_GRAPHICS_INVALID_VIDPN_TOPOLOGY_RECOMMENDATION_REASON equ 0C01E034Dh
STATUS_GRAPHICS_INVALID_PATH_CONTENT_TYPE equ 0C01E034Eh
STATUS_GRAPHICS_INVALID_COPYPROTECTION_TYPE equ 0C01E034Fh
STATUS_GRAPHICS_UNASSIGNED_MODESET_ALREADY_EXISTS equ 0C01E0350h
STATUS_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_PINNED equ 401E0351h
STATUS_GRAPHICS_INVALID_SCANLINE_ORDERING equ 0C01E0352h
STATUS_GRAPHICS_TOPOLOGY_CHANGES_NOT_ALLOWED equ 0C01E0353h
STATUS_GRAPHICS_NO_AVAILABLE_IMPORTANCE_ORDINALS equ 0C01E0354h
STATUS_GRAPHICS_INCOMPATIBLE_PRIVATE_FORMAT equ 0C01E0355h
STATUS_GRAPHICS_INVALID_MODE_PRUNING_ALGORITHM equ 0C01E0356h
STATUS_GRAPHICS_INVALID_MONITOR_CAPABILITY_ORIGIN equ 0C01E0357h
STATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE_CONSTRAINT equ 0C01E0358h
STATUS_GRAPHICS_MAX_NUM_PATHS_REACHED equ 0C01E0359h
STATUS_GRAPHICS_CANCEL_VIDPN_TOPOLOGY_AUGMENTATION equ 0C01E035Ah
STATUS_GRAPHICS_INVALID_CLIENT_TYPE equ 0C01E035Bh
STATUS_GRAPHICS_CLIENTVIDPN_NOT_SET equ 0C01E035Ch
STATUS_GRAPHICS_SPECIFIED_CHILD_ALREADY_CONNECTED equ 0C01E0400h
STATUS_GRAPHICS_CHILD_DESCRIPTOR_NOT_SUPPORTED equ 0C01E0401h
STATUS_GRAPHICS_UNKNOWN_CHILD_STATUS equ 401E042Fh
STATUS_GRAPHICS_NOT_A_LINKED_ADAPTER equ 0C01E0430h
STATUS_GRAPHICS_LEADLINK_NOT_ENUMERATED equ 0C01E0431h
STATUS_GRAPHICS_CHAINLINKS_NOT_ENUMERATED equ 0C01E0432h
STATUS_GRAPHICS_ADAPTER_CHAIN_NOT_READY equ 0C01E0433h
STATUS_GRAPHICS_CHAINLINKS_NOT_STARTED equ 0C01E0434h
STATUS_GRAPHICS_CHAINLINKS_NOT_POWERED_ON equ 0C01E0435h
STATUS_GRAPHICS_INCONSISTENT_DEVICE_LINK_STATE equ 0C01E0436h
STATUS_GRAPHICS_LEADLINK_START_DEFERRED equ 401E0437h
STATUS_GRAPHICS_NOT_POST_DEVICE_DRIVER equ 0C01E0438h
STATUS_GRAPHICS_POLLING_TOO_FREQUENTLY equ 401E0439h
STATUS_GRAPHICS_START_DEFERRED   equ 401E043Ah
STATUS_GRAPHICS_ADAPTER_ACCESS_NOT_EXCLUDED equ 0C01E043Bh
STATUS_GRAPHICS_OPM_NOT_SUPPORTED equ 0C01E0500h
STATUS_GRAPHICS_COPP_NOT_SUPPORTED equ 0C01E0501h
STATUS_GRAPHICS_UAB_NOT_SUPPORTED equ 0C01E0502h
STATUS_GRAPHICS_OPM_INVALID_ENCRYPTED_PARAMETERS equ 0C01E0503h
STATUS_GRAPHICS_OPM_NO_PROTECTED_OUTPUTS_EXIST equ 0C01E0505h
STATUS_GRAPHICS_OPM_INTERNAL_ERROR equ 0C01E050Bh
STATUS_GRAPHICS_OPM_INVALID_HANDLE equ 0C01E050Ch
STATUS_GRAPHICS_PVP_INVALID_CERTIFICATE_LENGTH equ 0C01E050Eh
STATUS_GRAPHICS_OPM_SPANNING_MODE_ENABLED equ 0C01E050Fh
STATUS_GRAPHICS_OPM_THEATER_MODE_ENABLED equ 0C01E0510h
STATUS_GRAPHICS_PVP_HFS_FAILED   equ 0C01E0511h
STATUS_GRAPHICS_OPM_INVALID_SRM  equ 0C01E0512h
STATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_HDCP equ 0C01E0513h
STATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_ACP equ 0C01E0514h
STATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_CGMSA equ 0C01E0515h
STATUS_GRAPHICS_OPM_HDCP_SRM_NEVER_SET equ 0C01E0516h
STATUS_GRAPHICS_OPM_RESOLUTION_TOO_HIGH equ 0C01E0517h
STATUS_GRAPHICS_OPM_ALL_HDCP_HARDWARE_ALREADY_IN_USE equ 0C01E0518h
STATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_NO_LONGER_EXISTS equ 0C01E051Ah
STATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_DOES_NOT_HAVE_COPP_SEMANTICS equ 0C01E051Ch
STATUS_GRAPHICS_OPM_INVALID_INFORMATION_REQUEST equ 0C01E051Dh
STATUS_GRAPHICS_OPM_DRIVER_INTERNAL_ERROR equ 0C01E051Eh
STATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_DOES_NOT_HAVE_OPM_SEMANTICS equ 0C01E051Fh
STATUS_GRAPHICS_OPM_SIGNALING_NOT_SUPPORTED equ 0C01E0520h
STATUS_GRAPHICS_OPM_INVALID_CONFIGURATION_REQUEST equ 0C01E0521h
STATUS_GRAPHICS_I2C_NOT_SUPPORTED equ 0C01E0580h
STATUS_GRAPHICS_I2C_DEVICE_DOES_NOT_EXIST equ 0C01E0581h
STATUS_GRAPHICS_I2C_ERROR_TRANSMITTING_DATA equ 0C01E0582h
STATUS_GRAPHICS_I2C_ERROR_RECEIVING_DATA equ 0C01E0583h
STATUS_GRAPHICS_DDCCI_VCP_NOT_SUPPORTED equ 0C01E0584h
STATUS_GRAPHICS_DDCCI_INVALID_DATA equ 0C01E0585h
STATUS_GRAPHICS_DDCCI_MONITOR_RETURNED_INVALID_TIMING_STATUS_BYTE equ 0C01E0586h
STATUS_GRAPHICS_DDCCI_INVALID_CAPABILITIES_STRING equ 0C01E0587h
STATUS_GRAPHICS_MCA_INTERNAL_ERROR equ 0C01E0588h
STATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_COMMAND equ 0C01E0589h
STATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_LENGTH equ 0C01E058Ah
STATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_CHECKSUM equ 0C01E058Bh
STATUS_GRAPHICS_INVALID_PHYSICAL_MONITOR_HANDLE equ 0C01E058Ch
STATUS_GRAPHICS_MONITOR_NO_LONGER_EXISTS equ 0C01E058Dh
STATUS_GRAPHICS_ONLY_CONSOLE_SESSION_SUPPORTED equ 0C01E05E0h
STATUS_GRAPHICS_NO_DISPLAY_DEVICE_CORRESPONDS_TO_NAME equ 0C01E05E1h
STATUS_GRAPHICS_DISPLAY_DEVICE_NOT_ATTACHED_TO_DESKTOP equ 0C01E05E2h
STATUS_GRAPHICS_MIRRORING_DEVICES_NOT_SUPPORTED equ 0C01E05E3h
STATUS_GRAPHICS_INVALID_POINTER  equ 0C01E05E4h
STATUS_GRAPHICS_NO_MONITORS_CORRESPOND_TO_DISPLAY_DEVICE equ 0C01E05E5h
STATUS_GRAPHICS_PARAMETER_ARRAY_TOO_SMALL equ 0C01E05E6h
STATUS_GRAPHICS_INTERNAL_ERROR   equ 0C01E05E7h
STATUS_GRAPHICS_SESSION_TYPE_CHANGE_IN_PROGRESS equ 0C01E05E8h
STATUS_FVE_LOCKED_VOLUME         equ 0C0210000h
STATUS_FVE_NOT_ENCRYPTED         equ 0C0210001h
STATUS_FVE_BAD_INFORMATION       equ 0C0210002h
STATUS_FVE_TOO_SMALL             equ 0C0210003h
STATUS_FVE_FAILED_WRONG_FS       equ 0C0210004h
STATUS_FVE_FAILED_BAD_FS         equ 0C0210005h
STATUS_FVE_FS_NOT_EXTENDED       equ 0C0210006h
STATUS_FVE_FS_MOUNTED            equ 0C0210007h
STATUS_FVE_NO_LICENSE            equ 0C0210008h
STATUS_FVE_ACTION_NOT_ALLOWED    equ 0C0210009h
STATUS_FVE_BAD_DATA              equ 0C021000Ah
STATUS_FVE_VOLUME_NOT_BOUND      equ 0C021000Bh
STATUS_FVE_NOT_DATA_VOLUME       equ 0C021000Ch
STATUS_FVE_CONV_READ_ERROR       equ 0C021000Dh
STATUS_FVE_CONV_WRITE_ERROR      equ 0C021000Eh
STATUS_FVE_OVERLAPPED_UPDATE     equ 0C021000Fh
STATUS_FVE_FAILED_SECTOR_SIZE    equ 0C0210010h
STATUS_FVE_FAILED_AUTHENTICATION equ 0C0210011h
STATUS_FVE_NOT_OS_VOLUME         equ 0C0210012h
STATUS_FVE_KEYFILE_NOT_FOUND     equ 0C0210013h
STATUS_FVE_KEYFILE_INVALID       equ 0C0210014h
STATUS_FVE_KEYFILE_NO_VMK        equ 0C0210015h
STATUS_FVE_TPM_DISABLED          equ 0C0210016h
STATUS_FVE_TPM_SRK_AUTH_NOT_ZERO equ 0C0210017h
STATUS_FVE_TPM_INVALID_PCR       equ 0C0210018h
STATUS_FVE_TPM_NO_VMK            equ 0C0210019h
STATUS_FVE_PIN_INVALID           equ 0C021001Ah
STATUS_FVE_AUTH_INVALID_APPLICATION equ 0C021001Bh
STATUS_FVE_AUTH_INVALID_CONFIG   equ 0C021001Ch
STATUS_FVE_DEBUGGER_ENABLED      equ 0C021001Dh
STATUS_FVE_DRY_RUN_FAILED        equ 0C021001Eh
STATUS_FVE_BAD_METADATA_POINTER  equ 0C021001Fh
STATUS_FVE_OLD_METADATA_COPY     equ 0C0210020h
STATUS_FVE_REBOOT_REQUIRED       equ 0C0210021h
STATUS_FVE_RAW_ACCESS            equ 0C0210022h
STATUS_FVE_RAW_BLOCKED           equ 0C0210023h
STATUS_FWP_CALLOUT_NOT_FOUND     equ 0C0220001h
STATUS_FWP_CONDITION_NOT_FOUND   equ 0C0220002h
STATUS_FWP_FILTER_NOT_FOUND      equ 0C0220003h
STATUS_FWP_LAYER_NOT_FOUND       equ 0C0220004h
STATUS_FWP_PROVIDER_NOT_FOUND    equ 0C0220005h
STATUS_FWP_PROVIDER_CONTEXT_NOT_FOUND equ 0C0220006h
STATUS_FWP_SUBLAYER_NOT_FOUND    equ 0C0220007h
STATUS_FWP_NOT_FOUND             equ 0C0220008h
STATUS_FWP_ALREADY_EXISTS        equ 0C0220009h
STATUS_FWP_IN_USE                equ 0C022000Ah
STATUS_FWP_DYNAMIC_SESSION_IN_PROGRESS equ 0C022000Bh
STATUS_FWP_WRONG_SESSION         equ 0C022000Ch
STATUS_FWP_NO_TXN_IN_PROGRESS    equ 0C022000Dh
STATUS_FWP_TXN_IN_PROGRESS       equ 0C022000Eh
STATUS_FWP_TXN_ABORTED           equ 0C022000Fh
STATUS_FWP_SESSION_ABORTED       equ 0C0220010h
STATUS_FWP_INCOMPATIBLE_TXN      equ 0C0220011h
STATUS_FWP_TIMEOUT               equ 0C0220012h
STATUS_FWP_NET_EVENTS_DISABLED   equ 0C0220013h
STATUS_FWP_INCOMPATIBLE_LAYER    equ 0C0220014h
STATUS_FWP_KM_CLIENTS_ONLY       equ 0C0220015h
STATUS_FWP_LIFETIME_MISMATCH     equ 0C0220016h
STATUS_FWP_BUILTIN_OBJECT        equ 0C0220017h
STATUS_FWP_TOO_MANY_CALLOUTS     equ 0C0220018h
STATUS_FWP_NOTIFICATION_DROPPED  equ 0C0220019h
STATUS_FWP_TRAFFIC_MISMATCH      equ 0C022001Ah
STATUS_FWP_INCOMPATIBLE_SA_STATE equ 0C022001Bh
STATUS_FWP_NULL_POINTER          equ 0C022001Ch
STATUS_FWP_INVALID_ENUMERATOR    equ 0C022001Dh
STATUS_FWP_INVALID_FLAGS         equ 0C022001Eh
STATUS_FWP_INVALID_NET_MASK      equ 0C022001Fh
STATUS_FWP_INVALID_RANGE         equ 0C0220020h
STATUS_FWP_INVALID_INTERVAL      equ 0C0220021h
STATUS_FWP_ZERO_LENGTH_ARRAY     equ 0C0220022h
STATUS_FWP_NULL_DISPLAY_NAME     equ 0C0220023h
STATUS_FWP_INVALID_ACTION_TYPE   equ 0C0220024h
STATUS_FWP_INVALID_WEIGHT        equ 0C0220025h
STATUS_FWP_MATCH_TYPE_MISMATCH   equ 0C0220026h
STATUS_FWP_TYPE_MISMATCH         equ 0C0220027h
STATUS_FWP_OUT_OF_BOUNDS         equ 0C0220028h
STATUS_FWP_RESERVED              equ 0C0220029h
STATUS_FWP_DUPLICATE_CONDITION   equ 0C022002Ah
STATUS_FWP_DUPLICATE_KEYMOD      equ 0C022002Bh
STATUS_FWP_ACTION_INCOMPATIBLE_WITH_LAYER equ 0C022002Ch
STATUS_FWP_ACTION_INCOMPATIBLE_WITH_SUBLAYER equ 0C022002Dh
STATUS_FWP_CONTEXT_INCOMPATIBLE_WITH_LAYER equ 0C022002Eh
STATUS_FWP_CONTEXT_INCOMPATIBLE_WITH_CALLOUT equ 0C022002Fh
STATUS_FWP_INCOMPATIBLE_AUTH_METHOD equ 0C0220030h
STATUS_FWP_INCOMPATIBLE_DH_GROUP equ 0C0220031h
STATUS_FWP_EM_NOT_SUPPORTED      equ 0C0220032h
STATUS_FWP_NEVER_MATCH           equ 0C0220033h
STATUS_FWP_PROVIDER_CONTEXT_MISMATCH equ 0C0220034h
STATUS_FWP_INVALID_PARAMETER     equ 0C0220035h
STATUS_FWP_TOO_MANY_SUBLAYERS    equ 0C0220036h
STATUS_FWP_CALLOUT_NOTIFICATION_FAILED equ 0C0220037h
STATUS_FWP_INVALID_AUTH_TRANSFORM equ 0C0220038h
STATUS_FWP_INVALID_CIPHER_TRANSFORM equ 0C0220039h
STATUS_FWP_TCPIP_NOT_READY       equ 0C0220100h
STATUS_FWP_INJECT_HANDLE_CLOSING equ 0C0220101h
STATUS_FWP_INJECT_HANDLE_STALE   equ 0C0220102h
STATUS_FWP_CANNOT_PEND           equ 0C0220103h
STATUS_NDIS_CLOSING              equ 0C0230002h
STATUS_NDIS_BAD_VERSION          equ 0C0230004h
STATUS_NDIS_BAD_CHARACTERISTICS  equ 0C0230005h
STATUS_NDIS_ADAPTER_NOT_FOUND    equ 0C0230006h
STATUS_NDIS_OPEN_FAILED          equ 0C0230007h
STATUS_NDIS_DEVICE_FAILED        equ 0C0230008h
STATUS_NDIS_MULTICAST_FULL       equ 0C0230009h
STATUS_NDIS_MULTICAST_EXISTS     equ 0C023000Ah
STATUS_NDIS_MULTICAST_NOT_FOUND  equ 0C023000Bh
STATUS_NDIS_REQUEST_ABORTED      equ 0C023000Ch
STATUS_NDIS_RESET_IN_PROGRESS    equ 0C023000Dh
STATUS_NDIS_NOT_SUPPORTED        equ 0C02300BBh
STATUS_NDIS_INVALID_PACKET       equ 0C023000Fh
STATUS_NDIS_ADAPTER_NOT_READY    equ 0C0230011h
STATUS_NDIS_INVALID_LENGTH       equ 0C0230014h
STATUS_NDIS_INVALID_DATA         equ 0C0230015h
STATUS_NDIS_BUFFER_TOO_SHORT     equ 0C0230016h
STATUS_NDIS_INVALID_OID          equ 0C0230017h
STATUS_NDIS_ADAPTER_REMOVED      equ 0C0230018h
STATUS_NDIS_UNSUPPORTED_MEDIA    equ 0C0230019h
STATUS_NDIS_GROUP_ADDRESS_IN_USE equ 0C023001Ah
STATUS_NDIS_FILE_NOT_FOUND       equ 0C023001Bh
STATUS_NDIS_ERROR_READING_FILE   equ 0C023001Ch
STATUS_NDIS_ALREADY_MAPPED       equ 0C023001Dh
STATUS_NDIS_RESOURCE_CONFLICT    equ 0C023001Eh
STATUS_NDIS_MEDIA_DISCONNECTED   equ 0C023001Fh
STATUS_NDIS_INVALID_ADDRESS      equ 0C0230022h
STATUS_NDIS_INVALID_DEVICE_REQUEST equ 0C0230010h
STATUS_NDIS_PAUSED               equ 0C023002Ah
STATUS_NDIS_INTERFACE_NOT_FOUND  equ 0C023002Bh
STATUS_NDIS_UNSUPPORTED_REVISION equ 0C023002Ch
STATUS_NDIS_INVALID_PORT         equ 0C023002Dh
STATUS_NDIS_INVALID_PORT_STATE   equ 0C023002Eh
STATUS_NDIS_LOW_POWER_STATE      equ 0C023002Fh
STATUS_NDIS_DOT11_AUTO_CONFIG_ENABLED equ 0C0232000h
STATUS_NDIS_DOT11_MEDIA_IN_USE   equ 0C0232001h
STATUS_NDIS_DOT11_POWER_STATE_INVALID equ 0C0232002h
STATUS_NDIS_INDICATION_REQUIRED  equ 40230001h
STATUS_IPSEC_BAD_SPI             equ 0C0360001h
STATUS_IPSEC_SA_LIFETIME_EXPIRED equ 0C0360002h
STATUS_IPSEC_WRONG_SA            equ 0C0360003h
STATUS_IPSEC_REPLAY_CHECK_FAILED equ 0C0360004h
STATUS_IPSEC_INVALID_PACKET      equ 0C0360005h
STATUS_IPSEC_INTEGRITY_CHECK_FAILED equ 0C0360006h
STATUS_IPSEC_CLEAR_TEXT_DROP     equ 0C0360007h

;;;; end ntstatus
; *************** equates and structures from winuser.h *******************

DIFFERENCE        equ 11
RT_GROUP_CURSOR 	equ RT_CURSOR + DIFFERENCE
RT_GROUP_ICON 	equ RT_ICON + DIFFERENCE
RT_VERSION 		equ 16
RT_DLGINCLUDE 	equ 17
RT_PLUGPLAY 	equ 19
RT_VXD 		equ 20
RT_ANICURSOR 	equ 21
RT_ANIICON 		equ 22
RT_HTML 		equ 23
AW_HOR_POSITIVE 	equ 1h
AW_HOR_NEGATIVE 	equ 2h
AW_VER_POSITIVE 	equ 4h
AW_VER_NEGATIVE 	equ 8h
AW_CENTER 		equ 10h
AW_HIDE 		equ 10000h
AW_ACTIVATE 	equ 20000h
AW_SLIDE 		equ 40000h
AW_BLEND 		equ 80000h
VK_KANA 		equ 15h
VK_HANGEUL 		equ 15h
VK_HANGUL 		equ 15h
VK_JUNJA 		equ 17h
VK_FINAL 		equ 18h
VK_HANJA 		equ 19h
VK_KANJI 		equ 19h
VK_CONVERT 		equ 1Ch
VK_NONCONVERT 	equ 1Dh
VK_ACCEPT 		equ 1Eh
VK_MODECHANGE 	equ 1Fh
VK_LWIN 		equ 5Bh
VK_RWIN 		equ 5Ch
VK_APPS 		equ 5Dh
WH_CALLWNDPROCRET equ 12
WH_KEYBOARD_LL 	equ 13
WH_MOUSE_LL 	equ 14
WH_MINHOOK 		equ WH_MIN
WH_MAXHOOK 		equ WH_MAX
MSGF_DIALOGBOX 	equ 0
MSGF_MESSAGEBOX 	equ 1
MSGF_MENU 		equ 2
MSGF_SCROLLBAR 	equ 5
MSGF_NEXTWINDOW 	equ 6
MSGF_MAX 		equ 8
MSGF_USER 		equ 4096
HSHELL_WINDOWACTIVATED 		equ 4
HSHELL_GETMINRECT 		equ 5
HSHELL_REDRAW 			equ 6
HSHELL_TASKMAN 			equ 7
HSHELL_LANGUAGE 			equ 8
HSHELL_ACCESSIBILITYSTATE 	equ 11
ACCESS_STICKYKEYS 		equ 1
ACCESS_FILTERKEYS 		equ 2
ACCESS_MOUSEKEYS 			equ 3
LLKHF_EXTENDED 			equ 1
LLKHF_INJECTED 			equ 10h
LLKHF_ALTDOWN 			equ 20h
LLKHF_UP 				equ 80h
LLMHF_INJECTED 			equ 1
KLF_REPLACELANG 			equ 10h
KLF_NOTELLSHELL 			equ 80h
KLF_SETFORPROCESS 		equ 100h
GMMP_USE_DISPLAY_POINTS 	equ 1
GMMP_USE_DRIVER_POINTS 		equ 2
DESKTOP_SWITCHDESKTOP 		equ 100h
DF_ALLOWOTHERACCOUNTHOOK 	equ 1
WSF_VISIBLE 			equ 1
UOI_FLAGS 				equ 1
UOI_NAME 				equ 2
UOI_TYPE 				equ 3
UOI_USER_SID 			equ 4
GCL_HICONSM 			equ -34
NFR_ANSI 				equ 1
NFR_UNICODE 			equ 2
NF_QUERY 				equ 3
NF_REQUERY 				equ 4
WM_MENURBUTTONUP 			equ 122h
WM_MENUDRAG equ 0123h
WM_MENUGETOBJECT 			equ 124h
WM_UNINITMENUPOPUP 		equ 125h
WM_MENUCOMMAND 			equ 126h
WM_MOUSEWHEEL 			equ 20Ah
WHEEL_DELTA 			equ 120
WHEEL_PAGESCROLL 			equ UINT_MAX
WM_NEXTMENU 			equ 213h
WM_SIZING 				equ 214h
WM_CAPTURECHANGED 		equ 215h
WM_MOVING 				equ 216h
WM_POWERBROADCAST 		equ 218h
PBT_APMQUERYSUSPEND 		equ 0
PBT_APMQUERYSTANDBY 		equ 1
PBT_APMQUERYSUSPENDFAILED 	equ 2
PBT_APMQUERYSTANDBYFAILED 	equ 3
PBT_APMSUSPEND 			equ 4
PBT_APMSTANDBY 			equ 5
PBT_APMRESUMECRITICAL 		equ 6
PBT_APMRESUMESUSPEND 		equ 7
PBT_APMRESUMESTANDBY 		equ 8
PBTF_APMRESUMEFROMFAILURE 	equ 1
PBT_APMBATTERYLOW 		equ 9
PBT_APMPOWERSTATUSCHANGE 	equ 0Ah
PBT_APMOEMEVENT 			equ 0Bh
PBT_APMRESUMEAUTOMATIC 		equ 12h
WM_DEVICECHANGE 			equ 219h
WM_ENTERSIZEMOVE 			equ 231h
WM_EXITSIZEMOVE 			equ 232h
WM_MOUSEHOVER 			equ 2A1h
WM_MOUSELEAVE 			equ 2A3h
WM_HANDHELDFIRST 			equ 358h
WM_HANDHELDLAST 			equ 35Fh
WM_AFXFIRST 			equ 360h
WM_AFXLAST 				equ 37Fh
WM_APP 				equ 8000h
WMSZ_LEFT 				equ 1
WMSZ_RIGHT 				equ 2
WMSZ_TOP 				equ 3
WMSZ_TOPLEFT 			equ 4
WMSZ_TOPRIGHT 			equ 5
WMSZ_BOTTOM 			equ 6
WMSZ_BOTTOMLEFT 			equ 7
WMSZ_BOTTOMRIGHT 			equ 8
ICON_SMALL 				equ 0
ICON_BIG 				equ 1
TME_HOVER 				equ 1
TME_LEAVE 				equ 2
TME_QUERY 				equ 40000000h
TME_CANCEL 				equ 80000000h
DC_ACTIVE 				equ 1
DC_SMALLCAP 			equ 2
DC_ICON 				equ 4
DC_TEXT 				equ 8
DC_INBUTTON 			equ 10h
DC_GRADIENT 			equ 20h
IDANI_OPEN 				equ 1
IDANI_CLOSE 			equ 2
IDANI_CAPTION 			equ 3
ENDSESSION_LOGOFF 		equ 80000000h
BSM_ALLCOMPONENTS 		equ 0
BSM_VXDS 				equ 1
BSM_NETDRIVER 			equ 2
BSM_INSTALLABLEDRIVERS 		equ 4
BSM_APPLICATIONS 			equ 8
BSM_ALLDESKTOPS 			equ 10h
BSF_QUERY 				equ 1
BSF_IGNORECURRENTTASK 		equ 2
BSF_FLUSHDISK 			equ 4
BSF_NOHANG 				equ 8
BSF_POSTMESSAGE 			equ 10h
BSF_FORCEIFHUNG 			equ 20h
BSF_NOTIMEOUTIFNOTHUNG 		equ 40h
BROADCAST_QUERY_DENY 		equ 424D5144h
DEVICE_NOTIFY_WINDOW_HANDLE 	equ 0
ISMEX_NOSEND 			equ 0
ISMEX_SEND 				equ 1h
ISMEX_NOTIFY 			equ 2h
ISMEX_CALLBACK 			equ 4h
ISMEX_REPLIED 			equ 8h
FLASHW_STOP 			equ 0
FLASHW_CAPTION 			equ 1
FLASHW_TRAY 			equ 2
FLASHW_ALL 				equ FLASHW_CAPTION + FLASHW_TRAY
FLASHW_TIMER 			equ 4
FLASHW_TIMERNOFG 			equ 0Ch
INPUT_MOUSE 			equ 0
INPUT_KEYBOARD 			equ 1
INPUT_HARDWARE 			equ 2
MWMO_WAITALL			equ 1
MWMO_ALERTABLE 			equ 2
MWMO_INPUTAVAILABLE 		equ 4
MNC_IGNORE 				equ 0
MNC_CLOSE 				equ 1
MNC_EXECUTE 			equ 2
MNC_SELECT 				equ 3
MNS_NOCHECK 			equ 80000000h
MNS_MODELESS 			equ 40000000h
MNS_DRAGDROP 			equ 20000000h
MNS_AUTODISMISS 			equ 10000000h
MNS_NOTIFYBYPOS 			equ 08000000h
MNS_CHECKORBMP 			equ 04000000h
MIM_MAXHEIGHT 			equ 1
MIM_BACKGROUND 			equ 2
MIM_HELPID 				equ 4
MIM_MENUDATA 			equ 8
MIM_STYLE 				equ 10h
MIM_APPLYTOSUBMENUS 		equ 80000000h
MND_CONTINUE 			equ 0
MND_ENDMENU 			equ 1
MNGOF_GAP 				equ 3
MNGO_NOINTERFACE 			equ 0
MNGO_NOERROR 			equ 1
MIIM_STATE 				equ 1
MIIM_ID 				equ 2
MIIM_SUBMENU 			equ 4
MIIM_CHECKMARKS 			equ 8
MIIM_TYPE 				equ 10h
MIIM_DATA 				equ 20h
MIIM_STRING 			equ 40h
MIIM_BITMAP 			equ 80h
MIIM_FTYPE 				equ 100h
HBMMENU_CALLBACK 			equ -1
HBMMENU_SYSTEM 			equ 1
HBMMENU_MBAR_RESTORE 		equ 2
HBMMENU_MBAR_MINIMIZE 		equ 3
HBMMENU_MBAR_CLOSE 		equ 5
HBMMENU_MBAR_CLOSE_D 		equ 6
HBMMENU_MBAR_MINIMIZE_D 	equ 7
HBMMENU_POPUP_CLOSE 		equ 8
HBMMENU_POPUP_RESTORE 		equ 9
HBMMENU_POPUP_MAXIMIZE 		equ 10
HBMMENU_POPUP_MINIMIZE 		equ 11
GMDI_USEDISABLED 			equ 1
GMDI_GOINTOPOPUPS 		equ 2
DOF_EXECUTABLE 			equ 8001h
DOF_DOCUMENT 			equ 8002h
DOF_DIRECTORY 			equ 8003h
DOF_MULTIPLE 			equ 8004h
DOF_PROGMAN 			equ 1
DOF_SHELLDATA 			equ 2
DO_DROPFILE 			equ 454C4946h
DO_PRINTFILE 			equ 544E5250h
DST_COMPLEX 			equ 0
DST_TEXT 				equ 1
DST_PREFIXTEXT 			equ 2
DST_ICON 				equ 3
DST_BITMAP 				equ 4
DSS_NORMAL 				equ 0
DSS_UNION 				equ 10h
DSS_DISABLED 			equ 20h
DSS_MONO 				equ 80h
DSS_RIGHT 				equ 8000h
CUDR_NORMAL 			equ 0
CUDR_NOSNAPTOGRID 		equ 1
CUDR_NORESOLVEPOSITIONS 	equ 2
CUDR_NOCLOSEGAPS 			equ 4
CUDR_NEGATIVECOORDS 		equ 8
CUDR_NOPRIMARY 			equ 10h
CWP_ALL 				equ 0
CWP_SKIPINVISIBLE 		equ 1
CWP_SKIPDISABLED 			equ 2
CWP_SKIPTRANSPARENT 		equ 4
MFT_STRING 				equ MF_STRING
MFT_BITMAP 				equ MF_BITMAP
MFT_MENUBARBREAK 			equ MF_MENUBARBREAK
MFT_MENUBREAK 			equ MF_MENUBREAK
MFT_OWNERDRAW 			equ MF_OWNERDRAW
MFT_RADIOCHECK 			equ 200h
MFT_SEPARATOR 			equ MF_SEPARATOR
MFT_RIGHTORDER 			equ 2000h
MFT_RIGHTJUSTIFY 			equ MF_RIGHTJUSTIFY
MFS_GRAYED 				equ 3
MFS_DISABLED 			equ MFS_GRAYED
MFS_CHECKED 			equ MF_CHECKED
MFS_HILITE 				equ MF_HILITE
MFS_ENABLED 			equ MF_ENABLED
MFS_UNCHECKED 			equ MF_UNCHECKED
MFS_UNHILITE 			equ MF_UNHILITE
MFS_DEFAULT 			equ MF_DEFAULT
MFS_MASK 				equ 108Bh
MFS_HOTTRACKDRAWN 		equ 10000000h
MFS_CACHEDBMP 			equ 20000000h
MFS_BOTTOMGAPDROP 		equ 40000000h
MFS_TOPGAPDROP 			equ 80000000h
MFS_GAPDROP 			equ 0C0000000h
LR_DEFAULTCOLOR 			equ 0
LR_MONOCHROME 			equ 1
LR_COLOR 				equ 2
LR_COPYRETURNORG 			equ 4
LR_COPYDELETEORG 			equ 8
LR_LOADFROMFILE 			equ 10h
LR_LOADTRANSPARENT 		equ 20h
LR_DEFAULTSIZE 			equ 40h
LR_VGACOLOR 			equ 80h
LR_LOADMAP3DCOLORS 		equ 1000h
LR_CREATEDIBSECTION 		equ 2000h
LR_COPYFROMRESOURCE 		equ 4000h
LR_SHARED 				equ 8000h
DI_MASK 				equ 1
DI_IMAGE 				equ 2
DI_NORMAL 				equ 3
DI_COMPAT 				equ 4
DI_DEFAULTSIZE 			equ 8
RES_ICON 				equ 1
RES_CURSOR 				equ 2
EC_LEFTMARGIN 			equ 1
EC_RIGHTMARGIN 			equ 2
EC_USEFONTINFO 			equ 0ffffh
EMSIS_COMPOSITIONSTRING 	equ 1
EIMES_GETCOMPSTRATONCE 		equ 1
EIMES_CANCELCOMPSTRINFOCUS 	equ 2
EIMES_COMPLETECOMPSTRKILLFOCUS equ 4
SS_OWNERDRAW 			equ 0Dh
SS_BITMAP 				equ 0Eh
SS_ENHMETAFILE 			equ 0Fh
SS_ETCHEDHORZ 			equ 10h
SS_ETCHEDVERT 			equ 11h
SS_ETCHEDFRAME 			equ 12h
SS_TYPEMASK 			equ 1Fh
SS_NOTIFY 				equ 100h
SS_CENTERIMAGE 			equ 200h
SS_RIGHTJUST 			equ 400h
SS_REALSIZEIMAGE 			equ 800h
SS_SUNKEN 				equ 1000h
SS_ENDELLIPSIS 			equ 4000h
SS_PATHELLIPSIS 			equ 8000h
SS_WORDELLIPSIS 			equ 0C000h
SS_ELLIPSISMASK 			equ 0C000h
STM_SETIMAGE 			equ 172h
STM_GETIMAGE 			equ 173h
STN_CLICKED 			equ 0
STN_DBLCLK 				equ 1
STN_ENABLE 				equ 2
STN_DISABLE 			equ 3
DM_REPOSITION 			equ WM_USER+2
LB_INITSTORAGE 			equ 1A8h
LB_ITEMFROMPOINT 			equ 1A9h
LBS_NOSEL 				equ 4000h
CBS_UPPERCASE 			equ 2000h
CBS_LOWERCASE 			equ 4000h
GR_GDIOBJECTS 			equ 0
GR_USEROBJECTS 			equ 1
SPI_SETSCREENSAVERRUNNING 	equ 97
SPI_GETMOUSEHOVERWIDTH 		equ 98
SPI_SETMOUSEHOVERWIDTH 		equ 99
SPI_GETMOUSEHOVERHEIGHT 	equ 100
SPI_SETMOUSEHOVERHEIGHT 	equ 101
SPI_GETMOUSEHOVERTIME 		equ 102
SPI_SETMOUSEHOVERTIME 		equ 103
SPI_GETWHEELSCROLLLINES 	equ 104
SPI_SETWHEELSCROLLLINES 	equ 105
SPI_GETSHOWIMEUI 			equ 110
SPI_SETSHOWIMEUI 			equ 111
SPI_GETMOUSESPEED 		equ 112
SPI_SETMOUSESPEED 		equ 113
SPI_GETSCREENSAVERRUNNING 	equ 114
SPI_GETACTIVEWINDOWTRACKING 	equ 1000h
SPI_SETACTIVEWINDOWTRACKING 	equ 1001h
SPI_GETMENUANIMATION 		equ 1002h
SPI_SETMENUANIMATION 		equ 1003h
SPI_GETCOMBOBOXANIMATION 	equ 1004h
SPI_SETCOMBOBOXANIMATION 	equ 1005h
SPI_GETLISTBOXSMOOTHSCROLLING equ 1006h
SPI_SETLISTBOXSMOOTHSCROLLING equ 1007h
SPI_GETGRADIENTCAPTIONS 	equ 1008h
SPI_SETGRADIENTCAPTIONS 	equ 1009h
SPI_GETMENUUNDERLINES 		equ 100Ah
SPI_SETMENUUNDERLINES 		equ 100Bh
SPI_GETACTIVEWNDTRKZORDER 	equ 100Ch
SPI_SETACTIVEWNDTRKZORDER 	equ 100Dh
SPI_GETHOTTRACKING 		equ 100Eh
SPI_SETHOTTRACKING 		equ 100Fh
SPI_GETFOREGROUNDLOCKTIMEOUT 	equ 2000h
SPI_SETFOREGROUNDLOCKTIMEOUT 	equ 2001h
SPI_GETACTIVEWNDTRKTIMEOUT 	equ 2002h
SPI_SETACTIVEWNDTRKTIMEOUT 	equ 2003h
SPI_GETFOREGROUNDFLASHCOUNT 	equ 2004h
SPI_SETFOREGROUNDFLASHCOUNT 	equ 2005h
SPIF_SENDCHANGE 			equ SPIF_SENDWININICHANGE
METRICS_USEDEFAULT 		equ -1
ARW_BOTTOMLEFT 			equ 0
ARW_BOTTOMRIGHT 			equ 1
ARW_TOPLEFT 			equ 2
ARW_TOPRIGHT 			equ 3
ARW_STARTMASK 			equ 3
ARW_STARTRIGHT 			equ 1
ARW_STARTTOP 			equ 2
ARW_LEFT 				equ 0
ARW_RIGHT 				equ 0
ARW_UP 				equ 4
ARW_DOWN 				equ 4
ARW_HIDE 				equ 8
SERKF_SERIALKEYSON 		equ 1
SERKF_AVAILABLE 			equ 2
SERKF_INDICATOR 			equ 4
HCF_HIGHCONTRASTON 		equ 1
HCF_AVAILABLE 			equ 2
HCF_HOTKEYACTIVE 			equ 4
HCF_CONFIRMHOTKEY 		equ 8
HCF_HOTKEYSOUND 			equ 10h
HCF_INDICATOR 			equ 20h
HCF_HOTKEYAVAILABLE 		equ 40h
CDS_UPDATEREGISTRY 		equ 1
CDS_TEST 				equ 2
CDS_FULLSCREEN 			equ 4
CDS_GLOBAL 				equ 8
CDS_SET_PRIMARY 			equ 10h
CDS_RESET 				equ 40000000h
CDS_SETRECT 			equ 20000000h
CDS_NORESET 			equ 10000000h
DISP_CHANGE_SUCCESSFUL 		equ 0
DISP_CHANGE_RESTART 		equ 1
DISP_CHANGE_FAILED 		equ -1
DISP_CHANGE_BADMODE 		equ -2
DISP_CHANGE_NOTUPDATED 		equ -3
DISP_CHANGE_BADFLAGS 		equ -4
DISP_CHANGE_BADPARAM 		equ -5
ENUM_CURRENT_SETTINGS 		equ -1
ENUM_REGISTRY_SETTINGS 		equ -2
FKF_FILTERKEYSON 			equ 1
FKF_AVAILABLE 			equ 2
FKF_HOTKEYACTIVE 			equ 4
FKF_CONFIRMHOTKEY 		equ 8
FKF_HOTKEYSOUND 			equ 10h
FKF_INDICATOR 			equ 20h
FKF_CLICKON 			equ 40h
SKF_STICKYKEYSON 			equ 1
SKF_AVAILABLE 			equ 2
SKF_HOTKEYACTIVE 			equ 4
SKF_CONFIRMHOTKEY 		equ 8
SKF_HOTKEYSOUND 			equ 10h
SKF_INDICATOR 			equ 20h
SKF_AUDIBLEFEEDBACK 		equ 40h
SKF_TRISTATE 			equ 80h
SKF_TWOKEYSOFF 			equ 100h
SKF_LALTLATCHED 			equ 10000000h
SKF_LCTLLATCHED 			equ 4000000h
SKF_LSHIFTLATCHED 		equ 1000000h
SKF_RALTLATCHED 			equ 20000000h
SKF_RCTLLATCHED 			equ 08000000h
SKF_RSHIFTLATCHED 		equ 2000000h
SKF_LWINLATCHED 			equ 40000000h
SKF_RWINLATCHED 			equ 80000000h
SKF_LALTLOCKED 			equ 100000h
SKF_LCTLLOCKED 			equ 40000h
SKF_LSHIFTLOCKED 			equ 10000h
SKF_RALTLOCKED 			equ 200000h
SKF_RCTLLOCKED 			equ 80000h
SKF_RSHIFTLOCKED 			equ 20000h
SKF_LWINLOCKED 			equ 400000h
SKF_RWINLOCKED 			equ 800000h
MKF_MOUSEKEYSON 			equ 1
MKF_AVAILABLE 			equ 2
MKF_HOTKEYACTIVE 			equ 4
MKF_CONFIRMHOTKEY 		equ 8
MKF_HOTKEYSOUND 			equ 10h
MKF_INDICATOR 			equ 20h
MKF_MODIFIERS 			equ 40h
MKF_REPLACENUMBERS 		equ 80h
MKF_LEFTBUTTONSEL 		equ 10000000h
MKF_RIGHTBUTTONSEL 		equ 20000000h
MKF_LEFTBUTTONDOWN 		equ 1000000h
MKF_RIGHTBUTTONDOWN 		equ 2000000h
MKF_MOUSEMODE 			equ 80000000h
ATF_TIMEOUTON 			equ 1
ATF_ONOFFFEEDBACK 		equ 2
SSGF_NONE 				equ 0
SSGF_DISPLAY 			equ 3
SSTF_NONE 				equ 0
SSTF_CHARS 				equ 1
SSTF_BORDER 			equ 2
SSTF_DISPLAY 			equ 3
SSWF_NONE 				equ 0
SSWF_TITLE 				equ 1
SSWF_WINDOW 			equ 2
SSWF_DISPLAY 			equ 3
SSWF_CUSTOM 			equ 4
SSF_SOUNDSENTRYON 		equ 1
SSF_AVAILABLE 			equ 2
SSF_INDICATOR 			equ 4
TKF_TOGGLEKEYSON 			equ 1
TKF_AVAILABLE 			equ 2
TKF_HOTKEYACTIVE 			equ 4
TKF_CONFIRMHOTKEY 		equ 8
TKF_HOTKEYSOUND 			equ 10h
TKF_INDICATOR 			equ 20h
MONITOR_DEFAULTTONULL 		equ 0
MONITOR_DEFAULTTOPRIMARY 	equ 1
MONITOR_DEFAULTTONEAREST 	equ 2
MONITORINFOF_PRIMARY 		equ 1
CHILDID_SELF 			equ 0
INDEXID_OBJECT 			equ 0
INDEXID_CONTAINER 		equ 0
OBJID_WINDOW 			equ 0
OBJID_SYSMENU 			equ 0FFFFFFFFh
OBJID_TITLEBAR 			equ 0FFFFFFFEh
OBJID_MENU 				equ 0FFFFFFFDh
OBJID_CLIENT 			equ 0FFFFFFFCh
OBJID_VSCROLL 			equ 0FFFFFFFBh
OBJID_HSCROLL 			equ 0FFFFFFFAh
OBJID_SIZEGRIP 			equ 0FFFFFFF9h
OBJID_CARET 			equ 0FFFFFFF8h
OBJID_CURSOR 			equ 0FFFFFFF7h
OBJID_ALERT 			equ 0FFFFFFF6h
OBJID_SOUND 			equ 0FFFFFFF5h
EVENT_MIN 				equ 1
EVENT_MAX 				equ 7FFFFFFFh
EVENT_SYSTEM_SOUND 		equ 1
EVENT_SYSTEM_ALERT 		equ 2
EVENT_SYSTEM_FOREGROUND 	equ 3
EVENT_SYSTEM_MENUSTART 		equ 4
EVENT_SYSTEM_MENUEND 		equ 5
EVENT_SYSTEM_MENUPOPUPSTART 	equ 6
EVENT_SYSTEM_MENUPOPUPEND 	equ 7
EVENT_SYSTEM_CAPTURESTART 	equ 8
EVENT_SYSTEM_CAPTUREEND 	equ 9
EVENT_SYSTEM_MOVESIZESTART 	equ 0Ah
EVENT_SYSTEM_MOVESIZEEND 	equ 0Bh
EVENT_SYSTEM_CONTEXTHELPSTART equ 0Ch
EVENT_SYSTEM_CONTEXTHELPEND 	equ 0Dh
EVENT_SYSTEM_DRAGDROPSTART 	equ 0Eh
EVENT_SYSTEM_DRAGDROPEND 	equ 0Fh
EVENT_SYSTEM_DIALOGSTART 	equ 10h
EVENT_SYSTEM_DIALOGEND 		equ 11h
EVENT_SYSTEM_SCROLLINGSTART 	equ 12h
EVENT_SYSTEM_SCROLLINGEND 	equ 13h
EVENT_SYSTEM_SWITCHSTART 	equ 14h
EVENT_SYSTEM_SWITCHEND 		equ 15h
EVENT_SYSTEM_MINIMIZESTART 	equ 16h
EVENT_SYSTEM_MINIMIZEEND 	equ 17h
EVENT_OBJECT_CREATE 		equ 8000h
EVENT_OBJECT_DESTROY 		equ 8001h
EVENT_OBJECT_SHOW 		equ 8002h
EVENT_OBJECT_HIDE 		equ 8003h
EVENT_OBJECT_REORDER 		equ 8004h
EVENT_OBJECT_FOCUS 		equ 8005h
EVENT_OBJECT_SELECTION 		equ 8006h
EVENT_OBJECT_SELECTIONADD 	equ 8007h
EVENT_OBJECT_SELECTIONREMOVE 	equ 8008h
EVENT_OBJECT_SELECTIONWITHIN 	equ 8009h
EVENT_OBJECT_STATECHANGE 	equ 800Ah
EVENT_OBJECT_LOCATIONCHANGE 	equ 800Bh
EVENT_OBJECT_NAMECHANGE 	equ 800Ch
EVENT_OBJECT_DESCRIPTIONCHANGE equ 800Dh
EVENT_OBJECT_VALUECHANGE 	equ 800Eh
EVENT_OBJECT_PARENTCHANGE 	equ 800Fh
EVENT_OBJECT_HELPCHANGE 	equ 8010h
EVENT_OBJECT_DEFACTIONCHANGE 	equ 8011h
EVENT_OBJECT_ACCELERATORCHANGE equ 8012h
SOUND_SYSTEM_STARTUP 		equ 1
SOUND_SYSTEM_SHUTDOWN 		equ 2
SOUND_SYSTEM_BEEP 		equ 3
SOUND_SYSTEM_ERROR 		equ 4
SOUND_SYSTEM_QUESTION 		equ 5
SOUND_SYSTEM_WARNING 		equ 6
SOUND_SYSTEM_INFORMATION 	equ 7
SOUND_SYSTEM_MAXIMIZE 		equ 8
SOUND_SYSTEM_MINIMIZE 		equ 9
SOUND_SYSTEM_RESTOREUP 		equ 10
SOUND_SYSTEM_RESTOREDOWN 	equ 11
SOUND_SYSTEM_APPSTART 		equ 12
SOUND_SYSTEM_FAULT 		equ 13
SOUND_SYSTEM_APPEND 		equ 14
SOUND_SYSTEM_MENUCOMMAND 	equ 15
SOUND_SYSTEM_MENUPOPUP 		equ 16
CSOUND_SYSTEM 			equ 16
ALERT_SYSTEM_INFORMATIONAL 	equ 1
ALERT_SYSTEM_WARNING 		equ 2
ALERT_SYSTEM_ERROR 		equ 3
ALERT_SYSTEM_QUERY 		equ 4
ALERT_SYSTEM_CRITICAL 		equ 5
CALERT_SYSTEM 			equ 6
WINEVENT_OUTOFCONTEXT 		equ 0
WINEVENT_SKIPOWNTHREAD 		equ 1
WINEVENT_SKIPOWNPROCESS 	equ 2
WINEVENT_INCONTEXT 		equ 4
GUI_CARETBLINKING 		equ 1
GUI_INMOVESIZE 			equ 2
GUI_INMENUMODE 			equ 4
GUI_SYSTEMMENUMODE 		equ 8
GUI_POPUPMENUMODE 		equ 10h
STATE_SYSTEM_UNAVAILABLE 	equ 1
STATE_SYSTEM_SELECTED 		equ 2
STATE_SYSTEM_FOCUSED 		equ 4
STATE_SYSTEM_PRESSED 		equ 8
STATE_SYSTEM_CHECKED 		equ 10h
STATE_SYSTEM_MIXED 		equ 20h
STATE_SYSTEM_READONLY 		equ 40h
STATE_SYSTEM_HOTTRACKED 	equ 80h
STATE_SYSTEM_DEFAULT 		equ 100h
STATE_SYSTEM_EXPANDED 		equ 200h
STATE_SYSTEM_COLLAPSED 		equ 400h
STATE_SYSTEM_BUSY 		equ 800h
STATE_SYSTEM_FLOATING 		equ 1000h
STATE_SYSTEM_MARQUEED 		equ 2000h
STATE_SYSTEM_ANIMATED 		equ 4000h
STATE_SYSTEM_INVISIBLE 		equ 8000h
STATE_SYSTEM_OFFSCREEN 		equ 10000h
STATE_SYSTEM_SIZEABLE 		equ 20000h
STATE_SYSTEM_MOVEABLE 		equ 40000h
STATE_SYSTEM_SELFVOICING 	equ 80000h
STATE_SYSTEM_FOCUSABLE 		equ 100000h
STATE_SYSTEM_SELECTABLE 	equ 200000h
STATE_SYSTEM_LINKED 		equ 400000h
STATE_SYSTEM_TRAVERSED 		equ 800000h
STATE_SYSTEM_MULTISELECTABLE 	equ 1000000h
STATE_SYSTEM_EXTSELECTABLE 	equ 2000000h
STATE_SYSTEM_ALERT_LOW 		equ 4000000h
STATE_SYSTEM_ALERT_MEDIUM 	equ 8000000h
STATE_SYSTEM_ALERT_HIGH 	equ 10000000h
STATE_SYSTEM_VALID 		equ 1FFFFFFFh
CCHILDREN_TITLEBAR 		equ 5
CCHILDREN_SCROLLBAR 		equ 5
GA_MIC 				equ 1
GA_PARENT 				equ 1
GA_ROOT 				equ 2
GA_ROOTOWNER 			equ 3
GA_MAC 				equ 4
CURSOR_SHOWING     		equ 1
WS_ACTIVECAPTION    		equ 1
MDITILE_VERTICAL		equ 0
MDITILE_HORIZONTAL		equ 1
MDITILE_SKIPDISABLED	equ 2
IDOK					equ 1

IID	TYPEDEF GUID
CLSID TYPEDEF GUID
MEMCTX_TASK		equ 1
MEMCTX_SHARED	equ 2
MEMCTX_MACSYSTEM	equ 3
MEMCTX_UNKNOWN	equ -1
MEMCTX_SAME		equ -2
ROTFLAGS_REGISTRATIONKEEPSALIVE	equ 1
ROTFLAGS_ALLOWANYCLIENT			equ 2
ROT_COMPARE_MAX 				equ 2048
CLSCTX_INPROC_SERVER		equ 1
CLSCTX_INPROC_HANDLER		equ 2
CLSCTX_LOCAL_SERVER		equ 4
CLSCTX_INPROC_SERVER16		equ 8
CLSCTX_REMOTE_SERVER		equ 10h
CLSCTX_INPROC_HANDLER16		equ 20h
CLSCTX_INPROC_SERVERX86		equ 40h
CLSCTX_INPROC_HANDLERX86	equ 80h
CLSCTX_ESERVER_HANDLER		equ 100h
MSHLFLAGS_NORMAL		equ 0
MSHLFLAGS_TABLESTRONG	equ 1
MSHLFLAGS_TABLEWEAK	equ 2
MSHLFLAGS_NOPING		equ 4
MSHCTX_LOCAL		equ 0
MSHCTX_NOSHAREDMEM	equ 1
MSHCTX_DIFFERENTMACHINE	equ 2
MSHCTX_INPROC		equ 3
DVASPECT_CONTENT		equ 1
DVASPECT_THUMBNAIL	equ 2
DVASPECT_ICON		equ 4
DVASPECT_DOCPRINT		equ 8
STGC_DEFAULT		equ 0
STGC_OVERWRITE		equ 1
STGC_ONLYIFCURRENT	equ 2
STGC_DANGEROUSLYCOMMITMERELYTODISKCACHE	equ 4
STGC_CONSOLIDATE		equ 8
STGMOVE_MOVE		equ 0
STGMOVE_COPY		equ 1
STGMOVE_SHALLOWCOPY	equ 2
STATFLAG_DEFAULT		equ 0
STATFLAG_NONAME		equ 1
STATFLAG_NOOPEN		equ 2
WDT_INPROC_CALL     equ 48746457h
WDT_REMOTE_CALL     equ 52746457h
VARIANT_TRUE        equ 0ffffh
VARIANT_FALSE       equ 0
DECIMAL_NEG         equ 80
APPINFO_PUBLISHED   equ 1
APPINFO_SHELLNEW    equ APPINFO_PUBLISHED + 1
APPINFO_INSERTABLE  equ APPINFO_SHELLNEW + 1
ACTFLG_RunLocally   equ 1
ACTFLG_RunOnce      equ 2 
ACTFLG_SystemWide   equ 4
ACTFLG_Published    equ 8
ACTFLG_Assigned     equ 16
ACTFLG_UserInstall  equ 32
ExeNamePath         equ 0
DllNamePath         equ ExeNamePath + 1
TlbNamePath         equ DllNamePath + 1
CabFilePath         equ TlbNamePath + 1
InfFilePath         equ CabFilePath + 1
DrwFilePath         equ InfFilePath + 1
SetupNamePath       equ DrwFilePath + 1
TYSPEC_CLSID        equ 0
TYSPEC_FILEEXT      equ TYSPEC_CLSID + 1
TYSPEC_MIMETYPE     equ TYSPEC_FILEEXT + 1
TYSPEC_PROGID       equ TYSPEC_MIMETYPE + 1
TYSPEC_IID          equ TYSPEC_PROGID + 1
TYSPEC_TYPELIB      equ TYSPEC_IID + 1
TYSPEC_FILENAME     equ TYSPEC_TYPELIB + 1
TYSPEC_JAVACLASS    equ TYSPEC_FILENAME + 1
TYSPEC_PACKAGENAME  equ TYSPEC_JAVACLASS + 1
VT_EMPTY            equ 0
VT_NULL             equ 1
VT_I2               equ 2
VT_I4               equ 3
VT_R4               equ 4
VT_R8               equ 5
VT_CY               equ 6
VT_DATE             equ 7
VT_BSTR             equ 8
VT_DISPATCH         equ 9
VT_ERROR            equ 10
VT_BOOL             equ 11
VT_VARIANT          equ 12
VT_UNKNOWN          equ 13
VT_DECIMAL          equ 14
VT_I1               equ 16
VT_UI1              equ 17
VT_UI2              equ 18
VT_UI4              equ 19
VT_I8               equ 20
VT_UI8              equ 21
VT_INT              equ 22
VT_UINT             equ 23
VT_VOID             equ 24
VT_HRESULT          equ 25
VT_PTR              equ 26
VT_SAFEARRAY        equ 27
VT_CARRAY           equ 28
VT_USERDEFINED      equ 29
VT_LPSTR            equ 30
VT_LPWSTR           equ 31
VT_RECORD           equ 36
VT_FILETIME         equ 64
VT_BLOB             equ 65
VT_STREAM           equ 66
VT_STORAGE          equ 67
VT_STREAMED_OBJECT  equ 68
VT_STORED_OBJECT    equ 69
VT_BLOB_OBJECT      equ 70
VT_CF               equ 71
VT_CLSID            equ 72
VT_BSTR_BLOB        equ 0fffh
VT_VECTOR           equ 1000h
VT_ARRAY            equ 2000h
VT_BYREF            equ 4000h
VT_RESERVED         equ 8000h
VT_ILLEGAL          equ 0ffffh
VT_ILLEGALMASKED    equ 0fffh
VT_TYPEMASK         equ 0fffh
REFIID TYPEDEF PTR IID
PPVOID	TYPEDEF PTR PVOID
LPTHIS	TYPEDEF PVOID
QueryInterfaceProto	TYPEDEF PROTO lpThis:LPTHIS,iid:REFIID,ppvObject:PPVOID
QUERYPROC			TYPEDEF PTR QueryInterfaceProto
AddRefProto			TYPEDEF PROTO lpThis:LPTHIS
ADDPROC				TYPEDEF PTR AddRefProto
ReleaseProto		TYPEDEF PROTO lpThis:LPTHIS
RELEASEPROC			TYPEDEF PTR AddRefProto
IUnknown STRUC
	QueryInterface	QUERYPROC ?
	Addref			ADDPROC   ?
	Release			RELEASEPROC ?
IUnknown ENDS
CS_DROPSHADOW                    equ 00020000h

; -------------------------
; server 2003 extra equates
; -------------------------

RT_MANIFEST                      equ 24
CREATEPROCESS_MANIFEST_RESOURCE_ID equ 1
ISOLATIONAWARE_MANIFEST_RESOURCE_ID equ 2
ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID equ 3
MINIMUM_RESERVED_MANIFEST_RESOURCE_ID equ 1
MAXIMUM_RESERVED_MANIFEST_RESOURCE_ID equ 16
SW_FORCEMINIMIZE                 equ 11
VK_XBUTTON1                      equ 05h
VK_XBUTTON2                      equ 06h
VK_SLEEP                         equ 5Fh
VK_OEM_NEC_EQUAL                 equ 92h
VK_OEM_FJ_JISHO                  equ 92h
VK_OEM_FJ_MASSHOU                equ 93h
VK_OEM_FJ_TOUROKU                equ 94h
VK_OEM_FJ_LOYA                   equ 95h
VK_OEM_FJ_ROYA                   equ 96h
VK_BROWSER_BACK                  equ A6h
VK_BROWSER_FORWARD               equ A7h
VK_BROWSER_REFRESH               equ A8h
VK_BROWSER_STOP                  equ A9h
VK_BROWSER_SEARCH                equ AAh
VK_BROWSER_FAVORITES             equ ABh
VK_BROWSER_HOME                  equ ACh
VK_VOLUME_MUTE                   equ ADh
VK_VOLUME_DOWN                   equ AEh
VK_VOLUME_UP                     equ AFh
VK_MEDIA_NEXT_TRACK              equ B0h
VK_MEDIA_PREV_TRACK              equ B1h
VK_MEDIA_STOP                    equ B2h
VK_MEDIA_PLAY_PAUSE              equ B3h
VK_LAUNCH_MAIL                   equ B4h
VK_LAUNCH_MEDIA_SELECT           equ B5h
VK_LAUNCH_APP1                   equ B6h
VK_LAUNCH_APP2                   equ B7h
VK_OEM_1                         equ BAh
VK_OEM_PLUS                      equ BBh
VK_OEM_COMMA                     equ BCh
VK_OEM_MINUS                     equ BDh
VK_OEM_PERIOD                    equ BEh
VK_OEM_2                         equ BFh
VK_OEM_3                         equ C0h
VK_OEM_4                         equ DBh
VK_OEM_5                         equ DCh
VK_OEM_6                         equ DDh
VK_OEM_7                         equ DEh
VK_OEM_8                         equ DFh
VK_OEM_AX                        equ E1h
VK_OEM_102                       equ E2h
VK_ICO_HELP                      equ E3h
VK_ICO_00                        equ E4h
VK_ICO_CLEAR                     equ E6h
VK_PACKET                        equ E7h
VK_OEM_RESET                     equ E9h
VK_OEM_JUMP                      equ EAh
VK_OEM_PA1                       equ EBh
VK_OEM_PA2                       equ ECh
VK_OEM_PA3                       equ EDh
VK_OEM_WSCTRL                    equ EEh
VK_OEM_CUSEL                     equ EFh
VK_OEM_ATTN                      equ F0h
VK_OEM_FINISH                    equ F1h
VK_OEM_COPY                      equ F2h
VK_OEM_AUTO                      equ F3h
VK_OEM_ENLW                      equ F4h
VK_OEM_BACKTAB                   equ F5h
WTS_CONSOLE_CONNECT              equ 1h
WTS_CONSOLE_DISCONNECT           equ 2h
WTS_REMOTE_CONNECT               equ 3h
WTS_REMOTE_DISCONNECT            equ 4h
WTS_SESSION_LOGON                equ 5h
WTS_SESSION_LOGOFF               equ 6h
WTS_SESSION_LOCK                 equ 7h
WTS_SESSION_UNLOCK               equ 8h
WTS_SESSION_REMOTE_CONTROL       equ 9h
HSHELL_SYSMENU                   equ 9
HSHELL_ENDTASK                   equ 10
HSHELL_APPCOMMAND                equ 12
HSHELL_WINDOWREPLACED            equ 13
HSHELL_WINDOWREPLACING           equ 14
HSHELL_HIGHBIT                   equ 8000h
HSHELL_FLASH                     equ (HSHELL_REDRAW or HSHELL_HIGHBIT)
HSHELL_RUDEAPPACTIVATED          equ (HSHELL_WINDOWACTIVATED or HSHELL_HIGHBIT)
APPCOMMAND_BROWSER_BACKWARD      equ 1
APPCOMMAND_BROWSER_FORWARD       equ 2
APPCOMMAND_BROWSER_REFRESH       equ 3
APPCOMMAND_BROWSER_STOP          equ 4
APPCOMMAND_BROWSER_SEARCH        equ 5
APPCOMMAND_BROWSER_FAVORITES     equ 6
APPCOMMAND_BROWSER_HOME          equ 7
APPCOMMAND_VOLUME_MUTE           equ 8
APPCOMMAND_VOLUME_DOWN           equ 9
APPCOMMAND_VOLUME_UP             equ 10
APPCOMMAND_MEDIA_NEXTTRACK       equ 11
APPCOMMAND_MEDIA_PREVIOUSTRACK   equ 12
APPCOMMAND_MEDIA_STOP            equ 13
APPCOMMAND_MEDIA_PLAY_PAUSE      equ 14
APPCOMMAND_LAUNCH_MAIL           equ 15
APPCOMMAND_LAUNCH_MEDIA_SELECT   equ 16
APPCOMMAND_LAUNCH_APP1           equ 17
APPCOMMAND_LAUNCH_APP2           equ 18
APPCOMMAND_BASS_DOWN             equ 19
APPCOMMAND_BASS_BOOST            equ 20
APPCOMMAND_BASS_UP               equ 21
APPCOMMAND_TREBLE_DOWN           equ 22
APPCOMMAND_TREBLE_UP             equ 23
APPCOMMAND_MICROPHONE_VOLUME_MUTE equ 24
APPCOMMAND_MICROPHONE_VOLUME_DOWN equ 25
APPCOMMAND_MICROPHONE_VOLUME_UP  equ 26
APPCOMMAND_HELP                  equ 27
APPCOMMAND_FIND                  equ 28
APPCOMMAND_NEW                   equ 29
APPCOMMAND_OPEN                  equ 30
APPCOMMAND_CLOSE                 equ 31
APPCOMMAND_SAVE                  equ 32
APPCOMMAND_PRINT                 equ 33
APPCOMMAND_UNDO                  equ 34
APPCOMMAND_REDO                  equ 35
APPCOMMAND_COPY                  equ 36
APPCOMMAND_CUT                   equ 37
APPCOMMAND_PASTE                 equ 38
APPCOMMAND_REPLY_TO_MAIL         equ 39
APPCOMMAND_FORWARD_MAIL          equ 40
APPCOMMAND_SEND_MAIL             equ 41
APPCOMMAND_SPELL_CHECK           equ 42
APPCOMMAND_DICTATE_OR_COMMAND_CONTROL_TOGGLE equ 43
APPCOMMAND_MIC_ON_OFF_TOGGLE     equ 44
APPCOMMAND_CORRECTION_LIST       equ 45
APPCOMMAND_MEDIA_PLAY            equ 46
APPCOMMAND_MEDIA_PAUSE           equ 47
APPCOMMAND_MEDIA_RECORD          equ 48
APPCOMMAND_MEDIA_FAST_FORWARD    equ 49
APPCOMMAND_MEDIA_REWIND          equ 50
APPCOMMAND_MEDIA_CHANNEL_UP      equ 51
APPCOMMAND_MEDIA_CHANNEL_DOWN    equ 52
FAPPCOMMAND_MOUSE                equ 8000h
FAPPCOMMAND_KEY                  equ 0
FAPPCOMMAND_OEM                  equ 1000h
FAPPCOMMAND_MASK                 equ 0F000h
KLF_SHIFTLOCK                    equ 00010000h
KLF_RESET                        equ 40000000h
INPUTLANGCHANGE_SYSCHARSET       equ 0001h
INPUTLANGCHANGE_FORWARD          equ 0002h
INPUTLANGCHANGE_BACKWARD         equ 0004h
GMMP_USE_HIGH_RESOLUTION_POINTS  equ 2
CWF_CREATE_ONLY                  equ 0001h
GWLP_WNDPROC                     equ (-4)
GWLP_HINSTANCE                   equ (-6)
GWLP_HWNDPARENT                  equ (-8)
GWLP_USERDATA                    equ (-21)
GWLP_ID                          equ (-12)
GCLP_MENUNAME                    equ (-8)
GCLP_HBRBACKGROUND               equ (-10)
GCLP_HCURSOR                     equ (-12)
GCLP_HICON                       equ (-14)
GCLP_HMODULE                     equ (-16)
GCLP_WNDPROC                     equ (-24)
GCLP_HICONSM                     equ (-34)
WM_NCXBUTTONDOWN                 equ 00ABh
WM_NCXBUTTONUP                   equ 00ACh
WM_NCXBUTTONDBLCLK               equ 00ADh
WM_UNICHAR                       equ 0109h
UNICODE_NOCHAR                   equ 0FFFFh
WM_CHANGEUISTATE                 equ 0127h
WM_UPDATEUISTATE                 equ 0128h
WM_QUERYUISTATE                  equ 0129h
UIS_SET                          equ 1
UIS_CLEAR                        equ 2
UIS_INITIALIZE                   equ 3
UISF_HIDEFOCUS                   equ 1h
UISF_HIDEACCEL                   equ 2h
UISF_ACTIVE                      equ 4h
MN_GETHMENU                      equ 01E1h
WM_XBUTTONDOWN                   equ 020Bh
WM_XBUTTONUP                     equ 020Ch
WM_XBUTTONDBLCLK                 equ 020Dh
XBUTTON1                         equ 0001h
XBUTTON2                         equ 0002h
WM_NCMOUSEHOVER                  equ 02A0h
WM_NCMOUSELEAVE                  equ 02A2h
WM_WTSSESSION_CHANGE             equ 02B1h
WM_TABLET_FIRST                  equ 02c0h
WM_TABLET_LAST                   equ 02dfh
WM_APPCOMMAND                    equ 0319h
WM_THEMECHANGED                  equ 031Ah
ICON_SMALL2                      equ 2
MK_XBUTTON1                      equ 0020h
MK_XBUTTON2                      equ 0040h
WS_EX_LAYERED                    equ 00080000h
WS_EX_NOINHERITLAYOUT            equ 00100000h
WS_EX_LAYOUTRTL                  equ 00400000h
WS_EX_COMPOSITED                 equ 02000000h
WS_EX_NOACTIVATE                 equ 08000000h
CS_DROPSHADOW                    equ 00020000h
DC_BUTTONS                       equ 1000h
CF_DIBV5                         equ 17
WPF_ASYNCWINDOWPLACEMENT         equ 0004h
ODS_NOACCEL                      equ 0100h
ODS_NOFOCUSRECT                  equ 0200h
BSF_ALLOWSFW                     equ 00000080h
BSF_SENDNOTIFYMESSAGE            equ 00000100h
BSF_RETURNHDESK                  equ 00000200h
BSF_LUID                         equ 00000400h
DEVICE_NOTIFY_SERVICE_HANDLE     equ 00000001h
DEVICE_NOTIFY_ALL_INTERFACE_CLASSES equ 00000004h
PW_CLIENTONLY                    equ 00000001h
LWA_COLORKEY                     equ 00000001h
LWA_ALPHA                        equ 00000002h
ULW_COLORKEY                     equ 00000001h
ULW_ALPHA                        equ 00000002h
ULW_OPAQUE                       equ 00000004h
SM_IMMENABLED                    equ 82
SM_CXFOCUSBORDER                 equ 83
SM_CYFOCUSBORDER                 equ 84
SM_TABLETPC                      equ 86
SM_MEDIACENTER                   equ 87
SM_REMOTESESSION                 equ 1000h
SM_SHUTTINGDOWN                  equ 2000h
SM_REMOTECONTROL                 equ 2001h
PMB_ACTIVE                       equ 00000001h
MNGOF_TOPGAP                     equ 00000001h
MNGOF_BOTTOMGAP                  equ 00000002h
TPM_HORPOSANIMATION              equ 0400h
TPM_HORNEGANIMATION              equ 0800h
TPM_VERPOSANIMATION              equ 1000h
TPM_VERNEGANIMATION              equ 2000h
TPM_NOANIMATION                  equ 4000h
TPM_LAYOUTRTL                    equ 8000h
DT_NOFULLWIDTHCHARBREAK          equ 00080000h
DT_HIDEPREFIX                    equ 00100000h
DT_PREFIXONLY                    equ 00200000h
DSS_HIDEPREFIX                   equ 0200h
DSS_PREFIXONLY                   equ 0400h
ASFW_ANY                         equ (-1)
LSFW_LOCK                        equ 1
LSFW_UNLOCK                      equ 2
MB_CANCELTRYCONTINUE             equ 00000006h
MB_SERVICE_NOTIFICATION_NT3X     equ 00040000h
COLOR_MENUHILIGHT                equ 29
COLOR_MENUBAR                    equ 30
SPI_GETSNAPTODEFBUTTON           equ 005Fh
SPI_SETSNAPTODEFBUTTON           equ 0060h
SPI_GETMENUSHOWDELAY             equ 006Ah
SPI_SETMENUSHOWDELAY             equ 006Bh
SPI_GETDESKWALLPAPER             equ 0073h
SPI_GETKEYBOARDCUES              equ 100Ah
SPI_SETKEYBOARDCUES              equ 100Bh
SPI_GETMENUFADE                  equ 1012h
SPI_SETMENUFADE                  equ 1013h
SPI_GETSELECTIONFADE             equ 1014h
SPI_SETSELECTIONFADE             equ 1015h
SPI_GETTOOLTIPANIMATION          equ 1016h
SPI_SETTOOLTIPANIMATION          equ 1017h
SPI_GETTOOLTIPFADE               equ 1018h
SPI_SETTOOLTIPFADE               equ 1019h
SPI_GETCURSORSHADOW              equ 101Ah
SPI_SETCURSORSHADOW              equ 101Bh
SPI_GETMOUSESONAR                equ 101Ch
SPI_SETMOUSESONAR                equ 101Dh
SPI_GETMOUSECLICKLOCK            equ 101Eh
SPI_SETMOUSECLICKLOCK            equ 101Fh
SPI_GETMOUSEVANISH               equ 1020h
SPI_SETMOUSEVANISH               equ 1021h
SPI_GETFLATMENU                  equ 1022h
SPI_SETFLATMENU                  equ 1023h
SPI_GETDROPSHADOW                equ 1024h
SPI_SETDROPSHADOW                equ 1025h
SPI_GETBLOCKSENDINPUTRESETS      equ 1026h
SPI_SETBLOCKSENDINPUTRESETS      equ 1027h
SPI_GETUIEFFECTS                 equ 103Eh
SPI_SETUIEFFECTS                 equ 103Fh
SPI_GETCARETWIDTH                equ 2006h
SPI_SETCARETWIDTH                equ 2007h
SPI_GETMOUSECLICKLOCKTIME        equ 2008h
SPI_SETMOUSECLICKLOCKTIME        equ 2009h
SPI_GETFONTSMOOTHINGTYPE         equ 200Ah
SPI_SETFONTSMOOTHINGTYPE         equ 200Bh
FE_FONTSMOOTHINGSTANDARD         equ 0001h
FE_FONTSMOOTHINGCLEARTYPE        equ 0002h
FE_FONTSMOOTHINGDOCKING          equ 8000h
SPI_GETFONTSMOOTHINGCONTRAST     equ 200Ch
SPI_SETFONTSMOOTHINGCONTRAST     equ 200Dh
SPI_GETFOCUSBORDERWIDTH          equ 200Eh
SPI_SETFOCUSBORDERWIDTH          equ 200Fh
SPI_GETFOCUSBORDERHEIGHT         equ 2010h
SPI_SETFOCUSBORDERHEIGHT         equ 2011h
SPI_GETFONTSMOOTHINGORIENTATION  equ 2012h
SPI_SETFONTSMOOTHINGORIENTATION  equ 2013h
FE_FONTSMOOTHINGORIENTATIONBGR   equ 0000h
FE_FONTSMOOTHINGORIENTATIONRGB   equ 0001h
CDS_VIDEOPARAMETERS              equ 00000020h
DISP_CHANGE_BADDUALVIEW          equ -6
EDS_RAWMODE                      equ 00000002h
OBJID_QUERYCLASSNAMEIDX          equ (0FFFFFFF4h)
OBJID_NATIVEOM                   equ (0FFFFFFF0h)
EVENT_CONSOLE_CARET              equ 4001h
EVENT_CONSOLE_UPDATE_REGION      equ 4002h
EVENT_CONSOLE_UPDATE_SIMPLE      equ 4003h
EVENT_CONSOLE_UPDATE_SCROLL      equ 4004h
EVENT_CONSOLE_LAYOUT             equ 4005h
EVENT_CONSOLE_START_APPLICATION  equ 4006h
EVENT_CONSOLE_END_APPLICATION    equ 4007h
CONSOLE_APPLICATION_16BIT        equ 0001h
CONSOLE_CARET_SELECTION          equ 0001h
CONSOLE_CARET_VISIBLE            equ 0002h
GUI_16BITTASK                    equ 00000020h
STATE_SYSTEM_INDETERMINATE       equ STATE_SYSTEM_MIXED
STATE_SYSTEM_PROTECTED           equ 20000000h
RIM_INPUT                        equ 0
RIM_INPUTSINK                    equ 1
RIM_TYPEMOUSE                    equ 0
RIM_TYPEKEYBOARD                 equ 1
RIM_TYPEHID                      equ 2
RI_MOUSE_LEFT_BUTTON_DOWN        equ 0001h
RI_MOUSE_LEFT_BUTTON_UP          equ 0002h
RI_MOUSE_RIGHT_BUTTON_DOWN       equ 0004h
RI_MOUSE_RIGHT_BUTTON_UP         equ 0008h
RI_MOUSE_MIDDLE_BUTTON_DOWN      equ 0010h
RI_MOUSE_MIDDLE_BUTTON_UP        equ 0020h
RI_MOUSE_BUTTON_1_DOWN           equ RI_MOUSE_LEFT_BUTTON_DOWN
RI_MOUSE_BUTTON_1_UP             equ RI_MOUSE_LEFT_BUTTON_UP
RI_MOUSE_BUTTON_2_DOWN           equ RI_MOUSE_RIGHT_BUTTON_DOWN
RI_MOUSE_BUTTON_2_UP             equ RI_MOUSE_RIGHT_BUTTON_UP
RI_MOUSE_BUTTON_3_DOWN           equ RI_MOUSE_MIDDLE_BUTTON_DOWN
RI_MOUSE_BUTTON_3_UP             equ RI_MOUSE_MIDDLE_BUTTON_UP
RI_MOUSE_BUTTON_4_DOWN           equ 0040h
RI_MOUSE_BUTTON_4_UP             equ 0080h
RI_MOUSE_BUTTON_5_DOWN           equ 0100h
RI_MOUSE_BUTTON_5_UP             equ 0200h
RI_MOUSE_WHEEL                   equ 0400h
MOUSE_MOVE_RELATIVE              equ 0
MOUSE_MOVE_ABSOLUTE              equ 1
MOUSE_VIRTUAL_DESKTOP            equ 02h
MOUSE_ATTRIBUTES_CHANGED         equ 04h
KEYBOARD_OVERRUN_MAKE_CODE       equ 0FFh
RI_KEY_MAKE                      equ 0
RI_KEY_BREAK                     equ 1
RI_KEY_E0                        equ 2
RI_KEY_E1                        equ 4
RI_KEY_TERMSRV_SET_LED           equ 8
RI_KEY_TERMSRV_SHADOW            equ 10h
RID_INPUT                        equ 10000003h
RID_HEADER                       equ 10000005h
RIDI_PREPARSEDDATA               equ 20000005h
RIDI_DEVICENAME                  equ 20000007h
RIDI_DEVICEINFO                  equ 2000000bh
RIDEV_REMOVE                     equ 00000001h
RIDEV_EXCLUDE                    equ 00000010h
RIDEV_PAGEONLY                   equ 00000020h
RIDEV_NOLEGACY                   equ 00000030h
RIDEV_INPUTSINK                  equ 00000100h
RIDEV_CAPTUREMOUSE               equ 00000200h
RIDEV_NOHOTKEYS                  equ 00000200h
RIDEV_APPKEYS                    equ 00000400h
RIDEV_EXMODEMASK                 equ 000000F0h
BLENDFUNCTION STRUC
	BlendOp				BYTE ?
	BlendFlags			BYTE ?
	SourceConstantAlpha	BYTE ?
	AlphaFormat			BYTE ?
BLENDFUNCTION ENDS
LPBLENDFUNCTION TYPEDEF PTR BLENDFUNCTION
PBLENDFUNCTION TYPEDEF PTR BLENDFUNCTION
CDN_FIRST			equ (0-601)
CDN_INITDONE		equ (CDN_FIRST-0)
CDN_FILEOK			equ (CDN_FIRST-5)
OFN_ENABLESIZING	equ 800000h
UINT_PTR TYPEDEF PTR
NMHDR STRUC
	hwndFrom	HWND ?
	idFrom		UINT_PTR ?
	_code		UINT ?
				UINT ?
NMHDR ENDS
OFNOTIFY STRUC
	hdr	NMHDR<>
	lpOFN	LPOPENFILENAME ?
	pszFile	LPTSTR ?
OFNOTIFY ENDS
LPOFNOTIFY TYPEDEF PTR OFNOTIFY
PLONG TYPEDEF PTR LONG
EditStreamCallback TYPEDEF PROTO dwCookie:DWORD_PTR,pbBuff:LPBYTE,cb:LONG,pcb:PLONG
EDITSTREAMCALLBACK TYPEDEF PTR EditStreamCallback
EDITSTREAM STRUC
	dwCookie	DWORD_PTR ?
	dwError		DWORD ?
;				DWORD ?
	pfnCallback	EDITSTREAMCALLBACK ?
EDITSTREAM ENDS
PEDITSTREAM TYPEDEF PTR EDITSTREAM

WB_LEFT                              equ 0
WB_RIGHT                             equ 1
WB_ISDELIMITER                       equ 2
BS_PUSHBUTTON                        equ 0h
BS_DEFPUSHBUTTON                     equ 1h
BS_CHECKBOX                          equ 2h
BS_AUTOCHECKBOX                      equ 3h
BS_RADIOBUTTON                       equ 4h
BS_3STATE                            equ 5h
BS_AUTO3STATE                        equ 6h
BS_GROUPBOX                          equ 7h
BS_USERBUTTON                        equ 8h
BS_AUTORADIOBUTTON                   equ 9h
BS_OWNERDRAW                         equ 0Bh
BS_LEFTTEXT                          equ 20h
BS_BITMAP                            equ 80h
BS_ICON                              equ 40h
BS_TEXT             			  equ 0
BS_LEFT             			  equ 100h
BS_RIGHT           			  equ 200h
BS_CENTER           			  equ 300h
BS_TOP              			  equ 400h
BS_BOTTOM           			  equ 800h
BS_VCENTER          			  equ 0C00h
BS_PUSHLIKE         			  equ 1000h
BS_MULTILINE        			  equ 2000h
BS_NOTIFY           			  equ 4000h
BS_FLAT             			  equ 8000h
BS_RIGHTBUTTON      			  equ BS_LEFTTEXT
BN_CLICKED                           equ 0
BN_PAINT                             equ 1
BN_HILITE                            equ 2
BN_UNHILITE                          equ 3
BN_DISABLE                           equ 4
BN_DOUBLECLICKED                     equ 5
BN_SETFOCUS                          equ 6
BN_KILLFOCUS                         equ 7
BN_PUSHED           			  equ BN_HILITE
BN_UNPUSHED         			  equ BN_UNHILITE
BN_DBLCLK           			  equ BN_DOUBLECLICKED
BST_UNCHECKED                        equ 00h
BST_CHECKED                          equ 1
BST_INDETERMINATE                    equ 2
BST_PUSHED                           equ 4
BST_FOCUS          			 equ 8
BM_GETCHECK                          equ 0F0h
BM_SETCHECK                          equ 0F1h
BM_GETSTATE                          equ 0F2h
BM_SETSTATE                          equ 0F3h
BM_SETSTYLE                          equ 0F4h
BM_CLICK                             equ 0F5h
BM_GETIMAGE                          equ 0F6h
BM_SETIMAGE                          equ 0F7h
SS_LEFT                              equ 0h
SS_CENTER                            equ 1h
SS_RIGHT                             equ 2h
SS_ICON                              equ 3h
SS_BLACKRECT                         equ 4h
SS_GRAYRECT                          equ 5h
SS_WHITERECT                         equ 6h
SS_BLACKFRAME                        equ 7h
SS_GRAYFRAME                         equ 8h
SS_WHITEFRAME                        equ 9h
SS_USERITEM                          equ 0Ah
SS_SIMPLE                            equ 0Bh
SS_LEFTNOWORDWRAP                    equ 0Ch
SS_NOPREFIX                          equ 80h
STM_SETICON                          equ 170h
STM_GETICON                          equ 171h
STM_MSGMAX                           equ 172h
WC_DIALOG                            equ 8002h
DWL_MSGRESULT                        equ 0
DWL_DLGPROC                          equ 4
DWL_USER                             equ 8
DDL_READWRITE                        equ 0h
DDL_READONLY                         equ 1h
DDL_HIDDEN                           equ 2h
DDL_SYSTEM                           equ 4h
DDL_DIRECTORY                        equ 10h
DDL_ARCHIVE                          equ 20h
DDL_POSTMSGS                         equ 2000h
DDL_DRIVES                           equ 4000h
DDL_EXCLUSIVE                        equ 8000h
DS_ABSALIGN                          equ 0001h
DS_SYSMODAL                          equ 0002h
DS_3DLOOK                            equ 0004h
DS_FIXEDSYS                          equ 0008h
DS_NOFAILCREATE                      equ 0010h
DS_LOCALEDIT                         equ 0020h
DS_SETFONT                           equ 0040h
DS_MODALFRAME                        equ 0080h
DS_NOIDLEMSG                         equ 0100h
DS_SETFOREGROUND                     equ 0200h
DS_CONTROL                           equ 0400h
DS_CENTER                            equ 0800h
DS_CENTERMOUSE                       equ 1000h
DS_CONTEXTHELP                       equ 2000h
DM_GETDEFID                          equ WM_USER + 0
DM_SETDEFID                          equ WM_USER + 1
DC_HASDEFID                          equ 534h
DLGC_WANTARROWS                      equ 1h
DLGC_WANTTAB                         equ 2h
DLGC_WANTALLKEYS                     equ 4h
DLGC_WANTMESSAGE                     equ 4h
DLGC_HASSETSEL                       equ 8h
DLGC_DEFPUSHBUTTON                   equ 10h
DLGC_UNDEFPUSHBUTTON                 equ 20h
DLGC_RADIOBUTTON                     equ 40h
DLGC_WANTCHARS                       equ 80h
DLGC_STATIC                          equ 100h
DLGC_BUTTON                          equ 2000h
LB_CTLCODE                           equ 0
LB_OKAY                              equ 0
LB_ERR                               equ -1
LB_ERRSPACE                          equ -2
LBN_ERRSPACE                         equ -2
LBN_SELCHANGE                        equ 1
LBN_DBLCLK                           equ 2
LBN_SELCANCEL                        equ 3
LBN_SETFOCUS                         equ 4
LBN_KILLFOCUS                        equ 5
LB_ADDSTRING                         equ 180h
LB_INSERTSTRING                      equ 181h
LB_DELETESTRING                      equ 182h
LB_SELITEMRANGEEX                    equ 183h
LB_RESETCONTENT                      equ 184h
LB_SETSEL                            equ 185h
LB_SETCURSEL                         equ 186h
LB_GETSEL                            equ 187h
LB_GETCURSEL                         equ 188h
LB_GETTEXT                           equ 189h
LB_GETTEXTLEN                        equ 18Ah
LB_GETCOUNT                          equ 18Bh
LB_SELECTSTRING                      equ 18Ch
LB_DIR                               equ 18Dh
LB_GETTOPINDEX                       equ 18Eh
LB_FINDSTRING                        equ 18Fh
LB_GETSELCOUNT                       equ 190h
LB_GETSELITEMS                       equ 191h
LB_SETTABSTOPS                       equ 192h
LB_GETHORIZONTALEXTENT               equ 193h
LB_SETHORIZONTALEXTENT               equ 194h
LB_SETCOLUMNWIDTH                    equ 195h
LB_ADDFILE                           equ 196h
LB_SETTOPINDEX                       equ 197h
LB_GETITEMRECT                       equ 198h
LB_GETITEMDATA                       equ 199h
LB_SETITEMDATA                       equ 19Ah
LB_SELITEMRANGE                      equ 19Bh
LB_SETANCHORINDEX                    equ 19Ch
LB_GETANCHORINDEX                    equ 19Dh
LB_SETCARETINDEX                     equ 19Eh
LB_GETCARETINDEX                     equ 19Fh
LB_SETITEMHEIGHT                     equ 1A0h
LB_GETITEMHEIGHT                     equ 1A1h
LB_FINDSTRINGEXACT                   equ 1A2h
LB_SETLOCALE                         equ 1A5h
LB_GETLOCALE                         equ 1A6h
LB_SETCOUNT                          equ 1A7h
LB_MSGMAX                            equ 1A8h
LBS_NOTIFY                           equ 1h
LBS_SORT                             equ 2h
LBS_NOREDRAW                         equ 4h
LBS_MULTIPLESEL                      equ 8h
LBS_OWNERDRAWFIXED                   equ 10h
LBS_OWNERDRAWVARIABLE                equ 20h
LBS_HASSTRINGS                       equ 40h
LBS_USETABSTOPS                      equ 80h
LBS_NOINTEGRALHEIGHT                 equ 100h
LBS_MULTICOLUMN                      equ 200h
LBS_WANTKEYBOARDINPUT                equ 400h
LBS_EXTENDEDSEL                      equ 800h
LBS_DISABLENOSCROLL                  equ 1000h
LBS_NODATA                           equ 2000h
LBS_STANDARD                         equ LBS_NOTIFY OR LBS_SORT OR WS_VSCROLL OR WS_BORDER
CB_OKAY                              equ 0
CB_ERR                               equ -1
CB_ERRSPACE                          equ -2
CBN_ERRSPACE                         equ -1
CBN_SELCHANGE                        equ 1
CBN_DBLCLK                           equ 2
CBN_SETFOCUS                         equ 3
CBN_KILLFOCUS                        equ 4
CBN_EDITCHANGE                       equ 5
CBN_EDITUPDATE                       equ 6
CBN_DROPDOWN                         equ 7
CBN_CLOSEUP                          equ 8
CBN_SELENDOK                         equ 9
CBN_SELENDCANCEL                     equ 10
CBS_SIMPLE                           equ 1h
CBS_DROPDOWN                         equ 2h
CBS_DROPDOWNLIST                     equ 3h
CBS_OWNERDRAWFIXED                   equ 10h
CBS_OWNERDRAWVARIABLE                equ 20h
CBS_AUTOHSCROLL                      equ 40h
CBS_OEMCONVERT                       equ 80h
CBS_SORT                             equ 100h
CBS_HASSTRINGS                       equ 200h
CBS_NOINTEGRALHEIGHT                 equ 400h
CBS_DISABLENOSCROLL                  equ 800h
CB_GETEDITSEL                        equ 140h
CB_LIMITTEXT                         equ 141h
CB_SETEDITSEL                        equ 142h
CB_ADDSTRING                         equ 143h
CB_DELETESTRING                      equ 144h
CB_DIR                               equ 145h
CB_GETCOUNT                          equ 146h
CB_GETCURSEL                         equ 147h
CB_GETLBTEXT                         equ 148h
CB_GETLBTEXTLEN                      equ 149h
CB_INSERTSTRING                      equ 14Ah
CB_RESETCONTENT                      equ 14Bh
CB_FINDSTRING                        equ 14Ch
CB_SELECTSTRING                      equ 14Dh
CB_SETCURSEL                         equ 14Eh
CB_SHOWDROPDOWN                      equ 14Fh
CB_GETITEMDATA                       equ 150h
CB_SETITEMDATA                       equ 151h
CB_GETDROPPEDCONTROLRECT             equ 152h
CB_SETITEMHEIGHT                     equ 153h
CB_GETITEMHEIGHT                     equ 154h
CB_SETEXTENDEDUI                     equ 155h
CB_GETEXTENDEDUI                     equ 156h
CB_GETDROPPEDSTATE                   equ 157h
CB_FINDSTRINGEXACT                   equ 158h
CB_SETLOCALE                         equ 159h
CB_GETLOCALE                         equ 15Ah
CB_GETTOPINDEX                       equ 15Bh
CB_SETTOPINDEX                       equ 15Ch
CB_GETHORIZONTALEXTENT               equ 15Dh
CB_SETHORIZONTALEXTENT               equ 15Eh
CB_GETDROPPEDWIDTH                   equ 15Fh
CB_SETDROPPEDWIDTH                   equ 160h
CB_INITSTORAGE                       equ 161h
CB_MSGMAX                            equ 162h
SBS_HORZ                             equ 0h
SBS_VERT                             equ 1h
SBS_TOPALIGN                         equ 2h
SBS_LEFTALIGN                        equ 2h
SBS_BOTTOMALIGN                      equ 4h
SBS_RIGHTALIGN                       equ 4h
SBS_SIZEBOXTOPLEFTALIGN              equ 2h
SBS_SIZEBOXBOTTOMRIGHTALIGN          equ 4h
SBS_SIZEBOX                          equ 8h
SBS_SIZEGRIP                         equ 10h
SBM_SETPOS                           equ 0E0h
SBM_GETPOS                           equ 0E1h
SBM_SETRANGE                         equ 0E2h
SBM_SETRANGEREDRAW                   equ 0E6h
SBM_GETRANGE                         equ 0E3h
SBM_ENABLE_ARROWS                    equ 0E4h
MDIS_ALLCHILDSTYLES                  equ 1h
MDITILE_VERTICAL                     equ 0h
MDITILE_HORIZONTAL                   equ 1h
MDITILE_SKIPDISABLED                 equ 2h
HELP_CONTEXT                         equ 1h
HELP_QUIT                            equ 2h
HELP_INDEX                           equ 3h
HELP_CONTENTS                        equ 3h
HELP_HELPONHELP                      equ 4h
HELP_SETINDEX                        equ 5h
HELP_SETCONTENTS                     equ 5h
HELP_CONTEXTPOPUP                    equ 8h
HELP_FORCEFILE                       equ 9h
HELP_KEY                             equ 101h
HELP_COMMAND                         equ 102h
HELP_PARTIALKEY                      equ 105h
HELP_MULTIKEY                        equ 201h
HELP_SETWINPOS                       equ 203h
HELP_CONTEXTMENU                     equ 000Ah
HELP_FINDER                          equ 000Bh
HELP_WM_HELP                         equ 000Ch
HELP_SETPOPUP_POS                    equ 000Dh
HELP_TCARD                           equ 8000h
HELP_TCARD_DATA                      equ 0010h
HELP_TCARD_OTHER_CALLER              equ 0011h
IDH_NO_HELP                          equ 28440
IDH_MISSING_CONTEXT                  equ 28441
IDH_GENERIC_HELP_BUTTON              equ 28442
IDH_OK                               equ 28443
IDH_CANCEL                           equ 28444
IDH_HELP                             equ 28445
SPI_GETBEEP                          equ 1
SPI_SETBEEP                          equ 2
SPI_GETMOUSE                         equ 3
SPI_SETMOUSE                         equ 4
SPI_GETBORDER                        equ 5
SPI_SETBORDER                        equ 6
SPI_GETKEYBOARDSPEED                 equ 10
SPI_SETKEYBOARDSPEED                 equ 11
SPI_LANGDRIVER                       equ 12
SPI_ICONHORIZONTALSPACING            equ 13
SPI_GETSCREENSAVETIMEOUT             equ 14
SPI_SETSCREENSAVETIMEOUT             equ 15
SPI_GETSCREENSAVEACTIVE              equ 16
SPI_SETSCREENSAVEACTIVE              equ 17
SPI_GETGRIDGRANULARITY               equ 18
SPI_SETGRIDGRANULARITY               equ 19
SPI_SETDESKWALLPAPER                 equ 20
SPI_SETDESKPATTERN                   equ 21
SPI_GETKEYBOARDDELAY                 equ 22
SPI_SETKEYBOARDDELAY                 equ 23
SPI_ICONVERTICALSPACING              equ 24
SPI_GETICONTITLEWRAP                 equ 25
SPI_SETICONTITLEWRAP                 equ 26
SPI_GETMENUDROPALIGNMENT             equ 27
SPI_SETMENUDROPALIGNMENT             equ 28
SPI_SETDOUBLECLKWIDTH                equ 29
SPI_SETDOUBLECLKHEIGHT               equ 30
SPI_GETICONTITLELOGFONT              equ 31
SPI_SETDOUBLECLICKTIME               equ 32
SPI_SETMOUSEBUTTONSWAP               equ 33
SPI_SETICONTITLELOGFONT              equ 34
SPI_GETFASTTASKSWITCH                equ 35
SPI_SETFASTTASKSWITCH                equ 36
SPI_SETDRAGFULLWINDOWS               equ 37
SPI_GETDRAGFULLWINDOWS               equ 38
SPI_GETNONCLIENTMETRICS              equ 41
SPI_SETNONCLIENTMETRICS              equ 42
SPI_GETMINIMIZEDMETRICS              equ 43
SPI_SETMINIMIZEDMETRICS              equ 44
SPI_GETICONMETRICS                   equ 45
SPI_SETICONMETRICS                   equ 46
SPI_SETWORKAREA                      equ 47
SPI_GETWORKAREA                      equ 48
SPI_SETPENWINDOWS                    equ 49
SPI_GETFILTERKEYS                    equ 50
SPI_SETFILTERKEYS                    equ 51
SPI_GETTOGGLEKEYS                    equ 52
SPI_SETTOGGLEKEYS                    equ 53
SPI_GETMOUSEKEYS                     equ 54
SPI_SETMOUSEKEYS                     equ 55
SPI_GETSHOWSOUNDS                    equ 56
SPI_SETSHOWSOUNDS                    equ 57
SPI_GETSTICKYKEYS                    equ 58
SPI_SETSTICKYKEYS                    equ 59
SPI_GETACCESSTIMEOUT                 equ 60
SPI_SETACCESSTIMEOUT                 equ 61
SPI_GETSERIALKEYS                    equ 62
SPI_SETSERIALKEYS                    equ 63
SPI_GETSOUNDSENTRY                   equ 64
SPI_SETSOUNDSENTRY                   equ 65
SPI_GETHIGHCONTRAST                  equ 66
SPI_SETHIGHCONTRAST                  equ 67
SPI_GETKEYBOARDPREF                  equ 68
SPI_SETKEYBOARDPREF                  equ 69
SPI_GETSCREENREADER                  equ 70
SPI_SETSCREENREADER                  equ 71
SPI_GETANIMATION                     equ 72
SPI_SETANIMATION                     equ 73
SPI_GETFONTSMOOTHING                 equ 74
SPI_SETFONTSMOOTHING                 equ 75
SPI_SETDRAGWIDTH                     equ 76
SPI_SETDRAGHEIGHT                    equ 77
SPI_SETHANDHELD                      equ 78
SPI_GETLOWPOWERTIMEOUT               equ 79
SPI_GETPOWEROFFTIMEOUT               equ 80
SPI_SETLOWPOWERTIMEOUT               equ 81
SPI_SETPOWEROFFTIMEOUT               equ 82
SPI_GETLOWPOWERACTIVE                equ 83
SPI_GETPOWEROFFACTIVE                equ 84
SPI_SETLOWPOWERACTIVE                equ 85
SPI_SETPOWEROFFACTIVE                equ 86
SPI_SETCURSORS                       equ 87
SPI_SETICONS                         equ 88
SPI_GETDEFAULTINPUTLANG              equ 89
SPI_SETDEFAULTINPUTLANG              equ 90
SPI_SETLANGTOGGLE                    equ 91
SPI_GETWINDOWSEXTENSION              equ 92
SPI_SETMOUSETRAILS                   equ 93
SPI_GETMOUSETRAILS                   equ 94
SPI_SCREENSAVERRUNNING               equ 97
SPIF_UPDATEINIFILE                   equ 1h
SPIF_SENDWININICHANGE                equ 2h
WM_DDE_FIRST                         equ 3E0h
WM_DDE_INITIATE                      equ WM_DDE_FIRST
WM_DDE_TERMINATE                     equ WM_DDE_FIRST + 1
WM_DDE_ADVISE                        equ WM_DDE_FIRST + 2
WM_DDE_UNADVISE                      equ WM_DDE_FIRST + 3
WM_DDE_ACK                           equ WM_DDE_FIRST + 4
WM_DDE_DATA                          equ WM_DDE_FIRST + 5
WM_DDE_REQUEST                       equ WM_DDE_FIRST + 6
WM_DDE_POKE                          equ WM_DDE_FIRST + 7
WM_DDE_EXECUTE                       equ WM_DDE_FIRST + 8
WM_DDE_LAST                          equ WM_DDE_FIRST + 8
XST_NULL                             equ 0
XST_INCOMPLETE                       equ 1
XST_CONNECTED                        equ 2
XST_INIT1                            equ 3
XST_INIT2                            equ 4
XST_REQSENT                          equ 5
XST_DATARCVD                         equ 6
XST_POKESENT                         equ 7
XST_POKEACKRCVD                      equ 8
XST_EXECSENT                         equ 9
XST_EXECACKRCVD                      equ 10
XST_ADVSENT                          equ 11
XST_UNADVSENT                        equ 12
XST_ADVACKRCVD                       equ 13
XST_UNADVACKRCVD                     equ 14
XST_ADVDATASENT                      equ 15
XST_ADVDATAACKRCVD                   equ 16
CADV_LATEACK                         equ 0FFFFh
ST_CONNECTED                         equ 1h
ST_ADVISE                            equ 2h
ST_ISLOCAL                           equ 4h
ST_BLOCKED                           equ 8h
ST_CLIENT                            equ 10h
ST_TERMINATED                        equ 20h
ST_INLIST                            equ 40h
ST_BLOCKNEXT                         equ 80h
ST_ISSELF                            equ 100h
DDE_FACK                             equ 8000h
DDE_FBUSY                            equ 4000h
DDE_FDEFERUPD                        equ 4000h
DDE_FACKREQ                          equ 8000h
DDE_FRELEASE                         equ 2000h
DDE_FREQUESTED                       equ 1000h
DDE_FAPPSTATUS                       equ 0FFh
DDE_FNOTPROCESSED                    equ 0h
DDE_FACKRESERVED                     equ NOT DDE_FACK OR DDE_FBUSY OR DDE_FAPPSTATUS
DDE_FADVRESERVED                     equ NOT DDE_FACKREQ OR DDE_FDEFERUPD
DDE_FDATRESERVED                     equ NOT DDE_FACKREQ OR DDE_FRELEASE OR DDE_FREQUESTED
DDE_FPOKRESERVED                     equ NOT DDE_FRELEASE
CP_WINANSI                           equ 1004
CP_WINUNICODE                        equ 1200
XTYPF_NOBLOCK                        equ 2h
XTYPF_NODATA                         equ 4h
XTYPF_ACKREQ                         equ 8h
XCLASS_MASK                          equ 0FC00h
XCLASS_BOOL                          equ 1000h
XCLASS_DATA                          equ 2000h
XCLASS_FLAGS                         equ 4000h
XCLASS_NOTIFICATION                  equ 8000h
XTYP_ERROR                           equ 0h OR XCLASS_NOTIFICATION OR XTYPF_NOBLOCK
XTYP_ADVDATA                         equ 10h OR XCLASS_FLAGS
XTYP_ADVREQ                          equ 20h OR XCLASS_DATA OR XTYPF_NOBLOCK
XTYP_ADVSTART                        equ 30h OR XCLASS_BOOL
XTYP_ADVSTOP                         equ 40h OR XCLASS_NOTIFICATION
XTYP_EXECUTE                         equ 50h OR XCLASS_FLAGS
XTYP_CONNECT                         equ 60h OR XCLASS_BOOL OR XTYPF_NOBLOCK
XTYP_CONNECT_CONFIRM                 equ 70h OR XCLASS_NOTIFICATION OR XTYPF_NOBLOCK
XTYP_XACT_COMPLETE                   equ 80h OR XCLASS_NOTIFICATION
XTYP_POKE                            equ 90h OR XCLASS_FLAGS
XTYP_REGISTER                        equ 0A0h OR XCLASS_NOTIFICATION OR XTYPF_NOBLOCK
XTYP_REQUEST                         equ 0B0h OR XCLASS_DATA
XTYP_DISCONNECT                      equ 0C0h OR XCLASS_NOTIFICATION OR XTYPF_NOBLOCK
XTYP_UNREGISTER                      equ 0D0h OR XCLASS_NOTIFICATION OR XTYPF_NOBLOCK
XTYP_WILDCONNECT                     equ 0E0h OR XCLASS_DATA OR XTYPF_NOBLOCK
XTYP_MASK                            equ 0F0h
XTYP_SHIFT                           equ 4
TIMEOUT_ASYNC                        equ 0FFFFh
QID_SYNC                             equ 0FFFFh
CBR_BLOCK                            equ 0FFFFh
CBF_FAIL_SELFCONNECTIONS             equ 1000h
CBF_FAIL_CONNECTIONS                 equ 2000h
CBF_FAIL_ADVISES                     equ 4000h
CBF_FAIL_EXECUTES                    equ 8000h
CBF_FAIL_POKES                       equ 10000h
CBF_FAIL_REQUESTS                    equ 20000h
CBF_FAIL_ALLSVRXACTIONS              equ 3F000h
CBF_SKIP_CONNECT_CONFIRMS            equ 40000h
CBF_SKIP_REGISTRATIONS               equ 80000h
CBF_SKIP_UNREGISTRATIONS             equ 100000h
CBF_SKIP_DISCONNECTS                 equ 200000h
CBF_SKIP_ALLNOTIFICATIONS            equ 3C0000h
APPCMD_CLIENTONLY                    equ 10h
APPCMD_FILTERINITS                   equ 20h
APPCMD_MASK                          equ 0FF0h
APPCLASS_STANDARD                    equ 0h
APPCLASS_MASK                        equ 0Fh
EC_ENABLEALL                         equ 0
EC_ENABLEONE                         equ ST_BLOCKNEXT
EC_DISABLE                           equ ST_BLOCKED
EC_QUERYWAITING                      equ 2
DNS_REGISTER                         equ 1h
DNS_UNREGISTER                       equ 2h
DNS_FILTERON                         equ 4h
DNS_FILTEROFF                        equ 8h
HDATA_APPOWNED                       equ 1h
DMLERR_NO_ERROR                      equ 0
DMLERR_FIRST                         equ 4000h
DMLERR_ADVACKTIMEOUT                 equ 4000h
DMLERR_BUSY                          equ 4001h
DMLERR_DATAACKTIMEOUT                equ 4002h
DMLERR_DLL_NOT_INITIALIZED           equ 4003h
DMLERR_DLL_USAGE                     equ 4004h
DMLERR_EXECACKTIMEOUT                equ 4005h
DMLERR_INVALIDPARAMETER              equ 4006h
DMLERR_LOW_MEMORY                    equ 4007h
DMLERR_MEMORY_ERROR                  equ 4008h
DMLERR_NOTPROCESSED                  equ 4009h
DMLERR_NO_CONV_ESTABLISHED           equ 400Ah
DMLERR_POKEACKTIMEOUT                equ 400Bh
DMLERR_POSTMSG_FAILED                equ 400Ch
DMLERR_REENTRANCY                    equ 400Dh
DMLERR_SERVER_DIED                   equ 400Eh
DMLERR_SYS_ERROR                     equ 400Fh
DMLERR_UNADVACKTIMEOUT               equ 4010h
DMLERR_UNFOUND_QUEUE_ID              equ 4011h
DMLERR_LAST                          equ 4011h
MH_CREATE                            equ 1
MH_KEEP                              equ 2
MH_DELETE                            equ 3
MH_CLEANUP                           equ 4
MAX_MONITORS                         equ 4
APPCLASS_MONITOR                     equ 1h
XTYP_MONITOR                         equ 0F0h OR XCLASS_NOTIFICATION OR XTYPF_NOBLOCK
MF_HSZ_INFO                          equ 1000000h
MF_SENDMSGS                          equ 2000000h
MF_POSTMSGS                          equ 4000000h
MF_CALLBACKS                         equ 8000000h
MF_ERRORS                            equ 10000000h
MF_LINKS                             equ 20000000h
MF_CONV                              equ 40000000h
MF_MASK                              equ 0FF000000h
NO_ERROR                             equ 0
ERROR_SUCCESS                        equ 0
ERROR_INVALID_FUNCTION               equ 1
ERROR_FILE_NOT_FOUND                 equ 2
ERROR_PATH_NOT_FOUND                 equ 3
ERROR_TOO_MANY_OPEN_FILES            equ 4
ERROR_ACCESS_DENIED                  equ 5
ERROR_INVALID_HANDLE                 equ 6
ERROR_ARENA_TRASHED                  equ 7
ERROR_NOT_ENOUGH_MEMORY              equ 8
ERROR_INVALID_BLOCK                  equ 9
ERROR_BAD_ENVIRONMENT                equ 10
ERROR_BAD_FORMAT                     equ 11
ERROR_INVALID_ACCESS                 equ 12
ERROR_INVALID_DATA                   equ 13
ERROR_OUTOFMEMORY                    equ 14
ERROR_INVALID_DRIVE                  equ 15
ERROR_CURRENT_DIRECTORY              equ 16
ERROR_NOT_SAME_DEVICE                equ 17
ERROR_NO_MORE_FILES                  equ 18
ERROR_WRITE_PROTECT                  equ 19
ERROR_BAD_UNIT                       equ 20
ERROR_NOT_READY                      equ 21
ERROR_BAD_COMMAND                    equ 22
ERROR_CRC                            equ 23
ERROR_BAD_LENGTH                     equ 24
ERROR_SEEK                           equ 25
ERROR_NOT_DOS_DISK                   equ 26
ERROR_SECTOR_NOT_FOUND               equ 27
ERROR_OUT_OF_PAPER                   equ 28
ERROR_WRITE_FAULT                    equ 29
ERROR_READ_FAULT                     equ 30
ERROR_GEN_FAILURE                    equ 31
ERROR_SHARING_VIOLATION              equ 32
ERROR_LOCK_VIOLATION                 equ 33
ERROR_WRONG_DISK                     equ 34
ERROR_SHARING_BUFFER_EXCEEDED        equ 36
ERROR_HANDLE_EOF                     equ 38
ERROR_HANDLE_DISK_FULL               equ 39
ERROR_NOT_SUPPORTED                  equ 50
ERROR_REM_NOT_LIST                   equ 51
ERROR_DUP_NAME                       equ 52
ERROR_BAD_NETPATH                    equ 53
ERROR_NETWORK_BUSY                   equ 54
ERROR_DEV_NOT_EXIST                  equ 55
ERROR_TOO_MANY_CMDS                  equ 56
ERROR_ADAP_HDW_ERR                   equ 57
ERROR_BAD_NET_RESP                   equ 58
ERROR_UNEXP_NET_ERR                  equ 59
ERROR_BAD_REM_ADAP                   equ 60
ERROR_PRINTQ_FULL                    equ 61
ERROR_NO_SPOOL_SPACE                 equ 62
ERROR_PRINT_CANCELLED                equ 63
ERROR_NETNAME_DELETED                equ 64
ERROR_NETWORK_ACCESS_DENIED          equ 65
ERROR_BAD_DEV_TYPE                   equ 66
ERROR_BAD_NET_NAME                   equ 67
ERROR_TOO_MANY_NAMES                 equ 68
ERROR_TOO_MANY_SESS                  equ 69
ERROR_SHARING_PAUSED                 equ 70
ERROR_REQ_NOT_ACCEP                  equ 71
ERROR_REDIR_PAUSED                   equ 72
ERROR_FILE_EXISTS                    equ 80
ERROR_CANNOT_MAKE                    equ 82
ERROR_FAIL_I24                       equ 83
ERROR_OUT_OF_STRUCTURES              equ 84
ERROR_ALREADY_ASSIGNED               equ 85
ERROR_INVALID_PASSWORD               equ 86
ERROR_INVALID_PARAMETER              equ 87
ERROR_NET_WRITE_FAULT                equ 88
ERROR_NO_PROC_SLOTS                  equ 89
ERROR_TOO_MANY_SEMAPHORES            equ 100
ERROR_EXCL_SEM_ALREADY_OWNED         equ 101
ERROR_SEM_IS_SET                     equ 102
ERROR_TOO_MANY_SEM_REQUESTS          equ 103
ERROR_INVALID_AT_INTERRUPT_TIME      equ 104
ERROR_SEM_OWNER_DIED                 equ 105
ERROR_SEM_USER_LIMIT                 equ 106
ERROR_DISK_CHANGE                    equ 107
ERROR_DRIVE_LOCKED                   equ 108
ERROR_BROKEN_PIPE                    equ 109
ERROR_OPEN_FAILED                    equ 110
ERROR_BUFFER_OVERFLOW                equ 111
ERROR_DISK_FULL                      equ 112
ERROR_NO_MORE_SEARCH_HANDLES         equ 113
ERROR_INVALID_TARGET_HANDLE          equ 114
ERROR_INVALID_CATEGORY               equ 117
ERROR_INVALID_VERIFY_SWITCH          equ 118
ERROR_BAD_DRIVER_LEVEL               equ 119
ERROR_CALL_NOT_IMPLEMENTED           equ 120
ERROR_SEM_TIMEOUT                    equ 121
ERROR_INSUFFICIENT_BUFFER            equ 122
ERROR_INVALID_NAME                   equ 123
ERROR_INVALID_LEVEL                  equ 124
ERROR_NO_VOLUME_LABEL                equ 125
ERROR_MOD_NOT_FOUND                  equ 126
ERROR_PROC_NOT_FOUND                 equ 127
ERROR_WAIT_NO_CHILDREN               equ 128
ERROR_CHILD_NOT_COMPLETE             equ 129
ERROR_DIRECT_ACCESS_HANDLE           equ 130
ERROR_NEGATIVE_SEEK                  equ 131
ERROR_SEEK_ON_DEVICE                 equ 132
ERROR_IS_JOIN_TARGET                 equ 133
ERROR_IS_JOINED                      equ 134
ERROR_IS_SUBSTED                     equ 135
ERROR_NOT_JOINED                     equ 136
ERROR_NOT_SUBSTED                    equ 137
ERROR_JOIN_TO_JOIN                   equ 138
ERROR_SUBST_TO_SUBST                 equ 139
ERROR_JOIN_TO_SUBST                  equ 140
ERROR_SUBST_TO_JOIN                  equ 141
ERROR_BUSY_DRIVE                     equ 142
ERROR_SAME_DRIVE                     equ 143
ERROR_DIR_NOT_ROOT                   equ 144
ERROR_DIR_NOT_EMPTY                  equ 145
ERROR_IS_SUBST_PATH                  equ 146
ERROR_IS_JOIN_PATH                   equ 147
ERROR_PATH_BUSY                      equ 148
ERROR_IS_SUBST_TARGET                equ 149
ERROR_SYSTEM_TRACE                   equ 150
ERROR_INVALID_EVENT_COUNT            equ 151
ERROR_TOO_MANY_MUXWAITERS            equ 152
ERROR_INVALID_LIST_FORMAT            equ 153
ERROR_LABEL_TOO_LONG                 equ 154
ERROR_TOO_MANY_TCBS                  equ 155
ERROR_SIGNAL_REFUSED                 equ 156
ERROR_DISCARDED                      equ 157
ERROR_NOT_LOCKED                     equ 158
ERROR_BAD_THREADID_ADDR              equ 159
ERROR_BAD_ARGUMENTS                  equ 160
ERROR_BAD_PATHNAME                   equ 161
ERROR_SIGNAL_PENDING                 equ 162
ERROR_MAX_THRDS_REACHED              equ 164
ERROR_LOCK_FAILED                    equ 167
ERROR_BUSY                           equ 170
ERROR_CANCEL_VIOLATION               equ 173
ERROR_ATOMIC_LOCKS_NOT_SUPPORTED     equ 174
ERROR_INVALID_SEGMENT_NUMBER         equ 180
ERROR_INVALID_ORDINAL                equ 182
ERROR_ALREADY_EXISTS                 equ 183
ERROR_INVALID_FLAG_NUMBER            equ 186
ERROR_SEM_NOT_FOUND                  equ 187
ERROR_INVALID_STARTING_CODESEG       equ 188
ERROR_INVALID_STACKSEG               equ 189
ERROR_INVALID_MODULETYPE             equ 190
ERROR_INVALID_EXE_SIGNATURE          equ 191
ERROR_EXE_MARKED_INVALID             equ 192
ERROR_BAD_EXE_FORMAT                 equ 193
ERROR_ITERATED_DATA_EXCEEDS_64k      equ 194
ERROR_INVALID_MINALLOCSIZE           equ 195
ERROR_DYNLINK_FROM_INVALID_RING      equ 196
ERROR_IOPL_NOT_ENABLED               equ 197
ERROR_INVALID_SEGDPL                 equ 198
ERROR_AUTODATASEG_EXCEEDS_64k        equ 199
ERROR_RING2SEG_MUST_BE_MOVABLE       equ 200
ERROR_RELOC_CHAIN_XEEDS_SEGLIM       equ 201
ERROR_INFLOOP_IN_RELOC_CHAIN         equ 202
ERROR_ENVVAR_NOT_FOUND               equ 203
ERROR_NO_SIGNAL_SENT                 equ 205
ERROR_FILENAME_EXCED_RANGE           equ 206
ERROR_RING2_STACK_IN_USE             equ 207
ERROR_META_EXPANSION_TOO_LONG        equ 208
ERROR_INVALID_SIGNAL_NUMBER          equ 209
ERROR_THREAD_1_INACTIVE              equ 210
ERROR_LOCKED                         equ 212
ERROR_TOO_MANY_MODULES               equ 214
ERROR_NESTING_NOT_ALLOWED            equ 215
ERROR_BAD_PIPE                       equ 230
ERROR_PIPE_BUSY                      equ 231
ERROR_NO_DATA                        equ 232
ERROR_PIPE_NOT_CONNECTED             equ 233
ERROR_MORE_DATA                      equ 234
ERROR_VC_DISCONNECTED                equ 240
ERROR_INVALID_EA_NAME                equ 254
ERROR_EA_LIST_INCONSISTENT           equ 255
ERROR_NO_MORE_ITEMS                  equ 259
ERROR_CANNOT_COPY                    equ 266
ERROR_DIRECTORY                      equ 267
ERROR_EAS_DIDNT_FIT                  equ 275
ERROR_EA_FILE_CORRUPT                equ 276
ERROR_EA_TABLE_FULL                  equ 277
ERROR_INVALID_EA_HANDLE              equ 278
ERROR_EAS_NOT_SUPPORTED              equ 282
ERROR_NOT_OWNER                      equ 288
ERROR_TOO_MANY_POSTS                 equ 298
ERROR_MR_MID_NOT_FOUND               equ 317
ERROR_INVALID_ADDRESS                equ 487
ERROR_ARITHMETIC_OVERFLOW            equ 534
ERROR_PIPE_CONNECTED                 equ 535
ERROR_PIPE_LISTENING                 equ 536
ERROR_EA_ACCESS_DENIED               equ 994
ERROR_OPERATION_ABORTED              equ 995
ERROR_IO_INCOMPLETE                  equ 996
ERROR_IO_PENDING                     equ 997
ERROR_NOACCESS                       equ 998
ERROR_SWAPERROR                      equ 999
ERROR_STACK_OVERFLOW                 equ 1001
ERROR_INVALID_MESSAGE                equ 1002
ERROR_CAN_NOT_COMPLETE               equ 1003
ERROR_INVALID_FLAGS                  equ 1004
ERROR_UNRECOGNIZED_VOLUME            equ 1005
ERROR_FILE_INVALID                   equ 1006
ERROR_FULLSCREEN_MODE                equ 1007
ERROR_NO_TOKEN                       equ 1008
ERROR_BADDB                          equ 1009
ERROR_BADKEY                         equ 1010
ERROR_CANTOPEN                       equ 1011
ERROR_CANTREAD                       equ 1012
ERROR_CANTWRITE                      equ 1013
ERROR_REGISTRY_RECOVERED             equ 1014
ERROR_REGISTRY_CORRUPT               equ 1015
ERROR_REGISTRY_IO_FAILED             equ 1016
ERROR_NOT_REGISTRY_FILE              equ 1017
ERROR_KEY_DELETED                    equ 1018
ERROR_NO_LOG_SPACE                   equ 1019
ERROR_KEY_HAS_CHILDREN               equ 1020
ERROR_CHILD_MUST_BE_VOLATILE         equ 1021
ERROR_NOTIFY_ENUM_DIR                equ 1022
ERROR_DEPENDENT_SERVICES_RUNNING     equ 1051
ERROR_INVALID_SERVICE_CONTROL        equ 1052
ERROR_SERVICE_REQUEST_TIMEOUT        equ 1053
ERROR_SERVICE_NO_THREAD              equ 1054
ERROR_SERVICE_DATABASE_LOCKED        equ 1055
ERROR_SERVICE_ALREADY_RUNNING        equ 1056
ERROR_INVALID_SERVICE_ACCOUNT        equ 1057
ERROR_SERVICE_DISABLED               equ 1058
ERROR_CIRCULAR_DEPENDENCY            equ 1059
ERROR_SERVICE_DOES_NOT_EXIST         equ 1060
ERROR_SERVICE_CANNOT_ACCEPT_CTRL     equ 1061
ERROR_SERVICE_NOT_ACTIVE             equ 1062
ERROR_FAILED_SERVICE_CONTROLLER_CONNECT              equ 1063
ERROR_EXCEPTION_IN_SERVICE           equ 1064
ERROR_DATABASE_DOES_NOT_EXIST        equ 1065
ERROR_SERVICE_SPECIFIC_ERROR         equ 1066
ERROR_PROCESS_ABORTED                equ 1067
ERROR_SERVICE_DEPENDENCY_FAIL        equ 1068
ERROR_SERVICE_LOGON_FAILED           equ 1069
ERROR_SERVICE_START_HANG             equ 1070
ERROR_INVALID_SERVICE_LOCK           equ 1071
ERROR_SERVICE_MARKED_FOR_DELETE      equ 1072
ERROR_SERVICE_EXISTS                 equ 1073
ERROR_ALREADY_RUNNING_LKG            equ 1074
ERROR_SERVICE_DEPENDENCY_DELETED     equ 1075
ERROR_BOOT_ALREADY_ACCEPTED          equ 1076
ERROR_SERVICE_NEVER_STARTED          equ 1077
ERROR_DUPLICATE_SERVICE_NAME         equ 1078
ERROR_END_OF_MEDIA                   equ 1100
ERROR_FILEMARK_DETECTED              equ 1101
ERROR_BEGINNING_OF_MEDIA             equ 1102
ERROR_SETMARK_DETECTED               equ 1103
ERROR_NO_DATA_DETECTED               equ 1104
ERROR_PARTITION_FAILURE              equ 1105
ERROR_INVALID_BLOCK_LENGTH           equ 1106
ERROR_DEVICE_NOT_PARTITIONED         equ 1107
ERROR_UNABLE_TO_LOCK_MEDIA           equ 1108
ERROR_UNABLE_TO_UNLOAD_MEDIA         equ 1109
ERROR_MEDIA_CHANGED                  equ 1110
ERROR_BUS_RESET                      equ 1111
ERROR_NO_MEDIA_IN_DRIVE              equ 1112
ERROR_NO_UNICODE_TRANSLATION         equ 1113
ERROR_DLL_INIT_FAILED                equ 1114
ERROR_SHUTDOWN_IN_PROGRESS           equ 1115
ERROR_NO_SHUTDOWN_IN_PROGRESS        equ 1116
ERROR_IO_DEVICE                      equ 1117
ERROR_SERIAL_NO_DEVICE               equ 1118
ERROR_IRQ_BUSY                       equ 1119
ERROR_MORE_WRITES                    equ 1120
ERROR_COUNTER_TIMEOUT                equ 1121
ERROR_FLOPPY_ID_MARK_NOT_FOUND       equ 1122
ERROR_FLOPPY_WRONG_CYLINDER          equ 1123
ERROR_FLOPPY_UNKNOWN_ERROR           equ 1124
ERROR_FLOPPY_BAD_REGISTERS           equ 1125
ERROR_DISK_RECALIBRATE_FAILED        equ 1126
ERROR_DISK_OPERATION_FAILED          equ 1127
ERROR_DISK_RESET_FAILED              equ 1128
ERROR_EOM_OVERFLOW                   equ 1129
ERROR_NOT_ENOUGH_SERVER_MEMORY       equ 1130
ERROR_POSSIBLE_DEADLOCK              equ 1131
ERROR_MAPPED_ALIGNMENT               equ 1132
ERROR_INVALID_PIXEL_FORMAT           equ 2000
ERROR_BAD_DRIVER                     equ 2001
ERROR_INVALID_WINDOW_STYLE           equ 2002
ERROR_METAFILE_NOT_SUPPORTED         equ 2003
ERROR_TRANSFORM_NOT_SUPPORTED        equ 2004
ERROR_CLIPPING_NOT_SUPPORTED         equ 2005
ERROR_UNKNOWN_PRINT_MONITOR          equ 3000
ERROR_PRINTER_DRIVER_IN_USE          equ 3001
ERROR_SPOOL_FILE_NOT_FOUND           equ 3002
ERROR_SPL_NO_STARTDOC                equ 3003
ERROR_SPL_NO_ADDJOB                  equ 3004
ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED              equ 3005
ERROR_PRINT_MONITOR_ALREADY_INSTALLED                equ 3006
ERROR_WINS_INTERNAL                  equ 4000
ERROR_CAN_NOT_DEL_LOCAL_WINS         equ 4001
ERROR_STATIC_INIT                    equ 4002
ERROR_INC_BACKUP                     equ 4003
ERROR_FULL_BACKUP                    equ 4004
ERROR_REC_NON_EXISTENT               equ 4005
ERROR_RPL_NOT_ALLOWED                equ 4006
SEVERITY_SUCCESS                     equ 0
SEVERITY_ERROR                       equ 1
FACILITY_NT_BIT                      equ 10000000h
NOERROR                              equ 0
E_UNEXPECTED                         equ 8000FFFFh
E_NOTIMPL                            equ 80004001h
E_OUTOFMEMORY                        equ 8007000Eh
E_INVALIDARG                         equ 80070057h
E_NOINTERFACE                        equ 80004002h
E_POINTER                            equ 80004003h
E_HANDLE                             equ 80070006h
E_ABORT                              equ 80004004h
E_FAIL                               equ 80004005h
E_ACCESSDENIED                       equ 80070005h
CO_E_INIT_TLS                        equ 80004006h
CO_E_INIT_SHARED_ALLOCATOR           equ 80004007h
CO_E_INIT_MEMORY_ALLOCATOR           equ 80004008h
CO_E_INIT_CLASS_CACHE                equ 80004009h
CO_E_INIT_RPC_CHANNEL                equ 8000400Ah
CO_E_INIT_TLS_SET_CHANNEL_CONTROL    equ 8000400Bh
CO_E_INIT_TLS_CHANNEL_CONTROL        equ 8000400Ch
CO_E_INIT_UNACCEPTED_USER_ALLOCATOR  equ 8000400Dh
CO_E_INIT_SCM_MUTEX_EXISTS           equ 8000400Eh
CO_E_INIT_SCM_FILE_MAPPING_EXISTS    equ 8000400Fh
CO_E_INIT_SCM_MAP_VIEW_OF_FILE       equ 80004010h
CO_E_INIT_SCM_EXEC_FAILURE           equ 80004011h
CO_E_INIT_ONLY_SINGLE_THREADED       equ 80004012h
S_OK                                 equ 0h
S_FALSE                              equ 1h
OLE_E_FIRST                          equ 80040000h
OLE_E_LAST                           equ 800400FFh
OLE_S_FIRST                          equ 40000h
OLE_S_LAST                           equ 400FFh
OLE_E_OLEVERB                        equ 80040000h
OLE_E_ADVF                           equ 80040001h
OLE_E_ENUM_NOMORE                    equ 80040002h
OLE_E_ADVISENOTSUPPORTED             equ 80040003h
OLE_E_NOCONNECTION                   equ 80040004h
OLE_E_NOTRUNNING                     equ 80040005h
OLE_E_NOCACHE                        equ 80040006h
OLE_E_BLANK                          equ 80040007h
OLE_E_CLASSDIFF                      equ 80040008h
OLE_E_CANT_GETMONIKER                equ 80040009h
OLE_E_CANT_BINDTOSOURCE              equ 8004000Ah
OLE_E_STATIC                         equ 8004000Bh
OLE_E_PROMPTSAVECANCELLED            equ 8004000Ch
OLE_E_INVALIDRECT                    equ 8004000Dh
OLE_E_WRONGCOMPOBJ                   equ 8004000Eh
OLE_E_INVALIDHWND                    equ 8004000Fh
OLE_E_NOT_INPLACEACTIVE              equ 80040010h
OLE_E_CANTCONVERT                    equ 80040011h
OLE_E_NOSTORAGE                      equ 80040012h
DV_E_FORMATETC                       equ 80040064h
DV_E_DVTARGETDEVICE                  equ 80040065h
DV_E_STGMEDIUM                       equ 80040066h
DV_E_STATDATA                        equ 80040067h
DV_E_LINDEX                          equ 80040068h
DV_E_TYMED                           equ 80040069h
DV_E_CLIPFORMAT                      equ 8004006Ah
DV_E_DVASPECT                        equ 8004006Bh
DV_E_DVTARGETDEVICE_SIZE             equ 8004006Ch
DV_E_NOIVIEWOBJECT                   equ 8004006Dh
DRAGDROP_E_FIRST                     equ 80040100h
DRAGDROP_E_LAST                      equ 8004010Fh
DRAGDROP_S_FIRST                     equ 40100h
DRAGDROP_S_LAST                      equ 4010Fh
DRAGDROP_E_NOTREGISTERED             equ 80040100h
DRAGDROP_E_ALREADYREGISTERED         equ 80040101h
DRAGDROP_E_INVALIDHWND               equ 80040102h
CLASSFACTORY_E_FIRST                 equ 80040110h
CLASSFACTORY_E_LAST                  equ 8004011Fh
CLASSFACTORY_S_FIRST                 equ 40110h
CLASSFACTORY_S_LAST                  equ 4011Fh
CLASS_E_NOAGGREGATION                equ 80040110h
CLASS_E_CLASSNOTAVAILABLE            equ 80040111h
MARSHAL_E_FIRST                      equ 80040120h
MARSHAL_E_LAST                       equ 8004012Fh
MARSHAL_S_FIRST                      equ 40120h
MARSHAL_S_LAST                       equ 4012Fh
DATA_E_FIRST                         equ 80040130h
DATA_E_LAST                          equ 8004013Fh
DATA_S_FIRST                         equ 40130h
DATA_S_LAST                          equ 4013Fh
VIEW_E_FIRST                         equ 80040140h
VIEW_E_LAST                          equ 8004014Fh
VIEW_S_FIRST                         equ 40140h
VIEW_S_LAST                          equ 4014Fh
VIEW_E_DRAW                          equ 80040140h
REGDB_E_FIRST                        equ 80040150h
REGDB_E_LAST                         equ 8004015Fh
REGDB_S_FIRST                        equ 40150h
REGDB_S_LAST                         equ 4015Fh
REGDB_E_READREGDB                    equ 80040150h
REGDB_E_WRITEREGDB                   equ 80040151h
REGDB_E_KEYMISSING                   equ 80040152h
REGDB_E_INVALIDVALUE                 equ 80040153h
REGDB_E_CLASSNOTREG                  equ 80040154h
REGDB_E_IIDNOTREG                    equ 80040155h
CACHE_E_FIRST                        equ 80040170h
CACHE_E_LAST                         equ 8004017Fh
CACHE_S_FIRST                        equ 40170h
CACHE_S_LAST                         equ 4017Fh
CACHE_E_NOCACHE_UPDATED              equ 80040170h
OLEOBJ_E_FIRST                       equ 80040180h
OLEOBJ_E_LAST                        equ 8004018Fh
OLEOBJ_S_FIRST                       equ 40180h
OLEOBJ_S_LAST                        equ 4018Fh
OLEOBJ_E_NOVERBS                     equ 80040180h
OLEOBJ_E_INVALIDVERB                 equ 80040181h
CLIENTSITE_E_FIRST                   equ 80040190h
CLIENTSITE_E_LAST                    equ 8004019Fh
CLIENTSITE_S_FIRST                   equ 40190h
CLIENTSITE_S_LAST                    equ 4019Fh
INPLACE_E_NOTUNDOABLE                equ 800401A0h
INPLACE_E_NOTOOLSPACE                equ 800401A1h
INPLACE_E_FIRST                      equ 800401A0h
INPLACE_E_LAST                       equ 800401AFh
INPLACE_S_FIRST                      equ 401A0h
INPLACE_S_LAST                       equ 401AFh
ENUM_E_FIRST                         equ 800401B0h
ENUM_E_LAST                          equ 800401BFh
ENUM_S_FIRST                         equ 401B0h
ENUM_S_LAST                          equ 401BFh
CONVERT10_E_FIRST                    equ 800401C0h
CONVERT10_E_LAST                     equ 800401CFh
CONVERT10_S_FIRST                    equ 401C0h
CONVERT10_S_LAST                     equ 401CFh
CONVERT10_E_OLESTREAM_GET            equ 800401C0h
CONVERT10_E_OLESTREAM_PUT            equ 800401C1h
CONVERT10_E_OLESTREAM_FMT            equ 800401C2h
CONVERT10_E_OLESTREAM_BITMAP_TO_DIB  equ 800401C3h
CONVERT10_E_STG_FMT                  equ 800401C4h
CONVERT10_E_STG_NO_STD_STREAM        equ 800401C5h
CONVERT10_E_STG_DIB_TO_BITMAP        equ 800401C6h
CLIPBRD_E_FIRST                      equ 800401D0h
CLIPBRD_E_LAST                       equ 800401DFh
CLIPBRD_S_FIRST                      equ 401D0h
CLIPBRD_S_LAST                       equ 401DFh
CLIPBRD_E_CANT_OPEN                  equ 800401D0h
CLIPBRD_E_CANT_EMPTY                 equ 800401D1h
CLIPBRD_E_CANT_SET                   equ 800401D2h
CLIPBRD_E_BAD_DATA                   equ 800401D3h
CLIPBRD_E_CANT_CLOSE                 equ 800401D4h
MK_E_FIRST                           equ 800401E0h
MK_E_LAST                            equ 800401EFh
MK_S_FIRST                           equ 401E0h
MK_S_LAST                            equ 401EFh
MK_E_CONNECTMANUALLY                 equ 800401E0h
MK_E_EXCEEDEDDEADLINE                equ 800401E1h
MK_E_NEEDGENERIC                     equ 800401E2h
MK_E_UNAVAILABLE                     equ 800401E3h
MK_E_SYNTAX                          equ 800401E4h
MK_E_NOOBJECT                        equ 800401E5h
MK_E_INVALIDEXTENSION                equ 800401E6h
MK_E_INTERMEDIATEINTERFACENOTSUPPORTED               equ 800401E7h
MK_E_NOTBINDABLE                     equ 800401E8h
MK_E_NOTBOUND                        equ 800401E9h
MK_E_CANTOPENFILE                    equ 800401EAh
MK_E_MUSTBOTHERUSER                  equ 800401EBh
MK_E_NOINVERSE                       equ 800401ECh
MK_E_NOSTORAGE                       equ 800401EDh
MK_E_NOPREFIX                        equ 800401EEh
MK_E_ENUMERATION_FAILED              equ 800401EFh
CO_E_FIRST                           equ 800401F0h
CO_E_LAST                            equ 800401FFh
CO_S_FIRST                           equ 401F0h
CO_S_LAST                            equ 401FFh
CO_E_NOTINITIALIZED                  equ 800401F0h
CO_E_ALREADYINITIALIZED              equ 800401F1h
CO_E_CANTDETERMINECLASS              equ 800401F2h
CO_E_CLASSSTRING                     equ 800401F3h
CO_E_IIDSTRING                       equ 800401F4h
CO_E_APPNOTFOUND                     equ 800401F5h
CO_E_APPSINGLEUSE                    equ 800401F6h
CO_E_ERRORINAPP                      equ 800401F7h
CO_E_DLLNOTFOUND                     equ 800401F8h
CO_E_ERRORINDLL                      equ 800401F9h
CO_E_WRONGOSFORAPP                   equ 800401FAh
CO_E_OBJNOTREG                       equ 800401FBh
CO_E_OBJISREG                        equ 800401FCh
CO_E_OBJNOTCONNECTED                 equ 800401FDh
CO_E_APPDIDNTREG                     equ 800401FEh
CO_E_RELEASED                        equ 800401FFh
OLE_S_USEREG                         equ 40000h
OLE_S_STATIC                         equ 40001h
OLE_S_MAC_CLIPFORMAT                 equ 40002h
DRAGDROP_S_DROP                      equ 40100h
DRAGDROP_S_CANCEL                    equ 40101h
DRAGDROP_S_USEDEFAULTCURSORS         equ 40102h
DATA_S_SAMEFORMATETC                 equ 40130h
VIEW_S_ALREADY_FROZEN                equ 40140h
CACHE_S_FORMATETC_NOTSUPPORTED       equ 40170h
CACHE_S_SAMECACHE                    equ 40171h
CACHE_S_SOMECACHES_NOTUPDATED        equ 40172h
OLEOBJ_S_INVALIDVERB                 equ 40180h
OLEOBJ_S_CANNOT_DOVERB_NOW           equ 40181h
OLEOBJ_S_INVALIDHWND                 equ 40182h
INPLACE_S_TRUNCATED                  equ 401A0h
CONVERT10_S_NO_PRESENTATION          equ 401C0h
MK_S_REDUCED_TO_SELF                 equ 401E2h
MK_S_ME                              equ 401E4h
MK_S_HIM                             equ 401E5h
MK_S_US                              equ 401E6h
MK_S_MONIKERALREADYREGISTERED        equ 401E7h
CO_E_CLASS_CREATE_FAILED             equ 80080001h
CO_E_SCM_ERROR                       equ 80080002h
CO_E_SCM_RPC_FAILURE                 equ 80080003h
CO_E_BAD_PATH                        equ 80080004h
CO_E_SERVER_EXEC_FAILURE             equ 80080005h
CO_E_OBJSRV_RPC_FAILURE              equ 80080006h
MK_E_NO_NORMALIZED                   equ 80080007h
CO_E_SERVER_STOPPING                 equ 80080008h
MEM_E_INVALID_ROOT                   equ 80080009h
MEM_E_INVALID_LINK                   equ 80080010h
MEM_E_INVALID_SIZE                   equ 80080011h
DISP_E_UNKNOWNINTERFACE              equ 80020001h
DISP_E_MEMBERNOTFOUND                equ 80020003h
DISP_E_PARAMNOTFOUND                 equ 80020004h
DISP_E_TYPEMISMATCH                  equ 80020005h
DISP_E_UNKNOWNNAME                   equ 80020006h
DISP_E_NONAMEDARGS                   equ 80020007h
DISP_E_BADVARTYPE                    equ 80020008h
DISP_E_EXCEPTION                     equ 80020009h
DISP_E_OVERFLOW                      equ 8002000Ah
DISP_E_BADINDEX                      equ 8002000Bh
DISP_E_UNKNOWNLCID                   equ 8002000Ch
DISP_E_ARRAYISLOCKED                 equ 8002000Dh
DISP_E_BADPARAMCOUNT                 equ 8002000Eh
DISP_E_PARAMNOTOPTIONAL              equ 8002000Fh
DISP_E_BADCALLEE                     equ 80020010h
DISP_E_NOTACOLLECTION                equ 80020011h
TYPE_E_BUFFERTOOSMALL                equ 80028016h
TYPE_E_INVDATAREAD                   equ 80028018h
TYPE_E_UNSUPFORMAT                   equ 80028019h
TYPE_E_REGISTRYACCESS                equ 8002801Ch
TYPE_E_LIBNOTREGISTERED              equ 8002801Dh
TYPE_E_UNDEFINEDTYPE                 equ 80028027h
TYPE_E_QUALIFIEDNAMEDISALLOWED       equ 80028028h
TYPE_E_INVALIDSTATE                  equ 80028029h
TYPE_E_WRONGTYPEKIND                 equ 8002802Ah
TYPE_E_ELEMENTNOTFOUND               equ 8002802Bh
TYPE_E_AMBIGUOUSNAME                 equ 8002802Ch
TYPE_E_NAMECONFLICT                  equ 8002802Dh
TYPE_E_UNKNOWNLCID                   equ 8002802Eh
TYPE_E_DLLFUNCTIONNOTFOUND           equ 8002802Fh
TYPE_E_BADMODULEKIND                 equ 800288BDh
TYPE_E_SIZETOOBIG                    equ 800288C5h
TYPE_E_DUPLICATEID                   equ 800288C6h
TYPE_E_INVALIDID                     equ 800288CFh
TYPE_E_TYPEMISMATCH                  equ 80028CA0h
TYPE_E_OUTOFBOUNDS                   equ 80028CA1h
TYPE_E_IOERROR                       equ 80028CA2h
TYPE_E_CANTCREATETMPFILE             equ 80028CA3h
TYPE_E_CANTLOADLIBRARY               equ 80029C4Ah
TYPE_E_INCONSISTENTPROPFUNCS         equ 80029C83h
TYPE_E_CIRCULARTYPE                  equ 80029C84h
STG_E_INVALIDFUNCTION                equ 80030001h
STG_E_FILENOTFOUND                   equ 80030002h
STG_E_PATHNOTFOUND                   equ 80030003h
STG_E_TOOMANYOPENFILES               equ 80030004h
STG_E_ACCESSDENIED                   equ 80030005h
STG_E_INVALIDHANDLE                  equ 80030006h
STG_E_INSUFFICIENTMEMORY             equ 80030008h
STG_E_INVALIDPOINTER                 equ 80030009h
STG_E_NOMOREFILES                    equ 80030012h
STG_E_DISKISWRITEPROTECTED           equ 80030013h
STG_E_SEEKERROR                      equ 80030019h
STG_E_WRITEFAULT                     equ 8003001Dh
STG_E_READFAULT                      equ 8003001Eh
STG_E_SHAREVIOLATION                 equ 80030020h
STG_E_LOCKVIOLATION                  equ 80030021h
STG_E_FILEALREADYEXISTS              equ 80030050h
STG_E_INVALIDPARAMETER               equ 80030057h
STG_E_MEDIUMFULL                     equ 80030070h
STG_E_ABNORMALAPIEXIT                equ 800300FAh
STG_E_INVALIDHEADER                  equ 800300FBh
STG_E_INVALIDNAME                    equ 800300FCh
STG_E_UNKNOWN                        equ 800300FDh
STG_E_UNIMPLEMENTEDFUNCTION          equ 800300FEh
STG_E_INVALIDFLAG                    equ 800300FFh
STG_E_INUSE                          equ 80030100h
STG_E_NOTCURRENT                     equ 80030101h
STG_E_REVERTED                       equ 80030102h
STG_E_CANTSAVE                       equ 80030103h
STG_E_OLDFORMAT                      equ 80030104h
STG_E_OLDDLL                         equ 80030105h
STG_E_SHAREREQUIRED                  equ 80030106h
STG_E_NOTFILEBASEDSTORAGE            equ 80030107h
STG_E_EXTANTMARSHALLINGS             equ 80030108h
STG_S_CONVERTED                      equ 30200h
RPC_E_CALL_REJECTED                  equ 80010001h
RPC_E_CALL_CANCELED                  equ 80010002h
RPC_E_CANTPOST_INSENDCALL            equ 80010003h
RPC_E_CANTCALLOUT_INASYNCCALL        equ 80010004h
RPC_E_CANTCALLOUT_INEXTERNALCALL     equ 80010005h
RPC_E_CONNECTION_TERMINATED          equ 80010006h
RPC_E_SERVER_DIED                    equ 80010007h
RPC_E_CLIENT_DIED                    equ 80010008h
RPC_E_INVALID_DATAPACKET             equ 80010009h
RPC_E_CANTTRANSMIT_CALL              equ 8001000Ah
RPC_E_CLIENT_CANTMARSHAL_DATA        equ 8001000Bh
RPC_E_CLIENT_CANTUNMARSHAL_DATA      equ 8001000Ch
RPC_E_SERVER_CANTMARSHAL_DATA        equ 8001000Dh
RPC_E_SERVER_CANTUNMARSHAL_DATA      equ 8001000Eh
RPC_E_INVALID_DATA                   equ 8001000Fh
RPC_E_INVALID_PARAMETER              equ 80010010h
RPC_E_CANTCALLOUT_AGAIN              equ 80010011h
RPC_E_SERVER_DIED_DNE                equ 80010012h
RPC_E_SYS_CALL_FAILED                equ 80010100h
RPC_E_OUT_OF_RESOURCES               equ 80010101h
RPC_E_ATTEMPTED_MULTITHREAD          equ 80010102h
RPC_E_NOT_REGISTERED                 equ 80010103h
RPC_E_FAULT                          equ 80010104h
RPC_E_SERVERFAULT                    equ 80010105h
RPC_E_CHANGED_MODE                   equ 80010106h
RPC_E_INVALIDMETHOD                  equ 80010107h
RPC_E_DISCONNECTED                   equ 80010108h
RPC_E_RETRY                          equ 80010109h
RPC_E_SERVERCALL_RETRYLATER          equ 8001010Ah
RPC_E_SERVERCALL_REJECTED            equ 8001010Bh
RPC_E_INVALID_CALLDATA               equ 8001010Ch
RPC_E_CANTCALLOUT_ININPUTSYNCCALL    equ 8001010Dh
RPC_E_WRONG_THREAD                   equ 8001010Eh
RPC_E_THREAD_NOT_INIT                equ 8001010Fh
RPC_E_UNEXPECTED                     equ 8001FFFFh
ERROR_BAD_USERNAME                   equ 2202
ERROR_NOT_CONNECTED                  equ 2250
ERROR_OPEN_FILES                     equ 2401
ERROR_DEVICE_IN_USE                  equ 2404
ERROR_BAD_DEVICE                     equ 1200
ERROR_CONNECTION_UNAVAIL             equ 1201
ERROR_DEVICE_ALREADY_REMEMBERED      equ 1202
ERROR_NO_NET_OR_BAD_PATH             equ 1203
ERROR_BAD_PROVIDER                   equ 1204
ERROR_CANNOT_OPEN_PROFILE            equ 1205
ERROR_BAD_PROFILE                    equ 1206
ERROR_NOT_CONTAINER                  equ 1207
ERROR_EXTENDED_ERROR                 equ 1208
ERROR_INVALID_GROUPNAME              equ 1209
ERROR_INVALID_COMPUTERNAME           equ 1210
ERROR_INVALID_EVENTNAME              equ 1211
ERROR_INVALID_DOMAINNAME             equ 1212
ERROR_INVALID_SERVICENAME            equ 1213
ERROR_INVALID_NETNAME                equ 1214
ERROR_INVALID_SHARENAME              equ 1215
ERROR_INVALID_PASSWORDNAME           equ 1216
ERROR_INVALID_MESSAGENAME            equ 1217
ERROR_INVALID_MESSAGEDEST            equ 1218
ERROR_SESSION_CREDENTIAL_CONFLICT    equ 1219
ERROR_REMOTE_SESSION_LIMIT_EXCEEDED  equ 1220
ERROR_DUP_DOMAINNAME                 equ 1221
ERROR_NO_NETWORK                     equ 1222
ERROR_NOT_ALL_ASSIGNED               equ 1300
ERROR_SOME_NOT_MAPPED                equ 1301
ERROR_NO_QUOTAS_FOR_ACCOUNT          equ 1302
ERROR_LOCAL_USER_SESSION_KEY         equ 1303
ERROR_NULL_LM_PASSWORD               equ 1304
ERROR_UNKNOWN_REVISION               equ 1305
ERROR_REVISION_MISMATCH              equ 1306
ERROR_INVALID_OWNER                  equ 1307
ERROR_INVALID_PRIMARY_GROUP          equ 1308
ERROR_NO_IMPERSONATION_TOKEN         equ 1309
ERROR_CANT_DISABLE_MANDATORY         equ 1310
ERROR_NO_LOGON_SERVERS               equ 1311
ERROR_NO_SUCH_LOGON_SESSION          equ 1312
ERROR_NO_SUCH_PRIVILEGE              equ 1313
ERROR_PRIVILEGE_NOT_HELD             equ 1314
ERROR_INVALID_ACCOUNT_NAME           equ 1315
ERROR_USER_EXISTS                    equ 1316
ERROR_NO_SUCH_USER                   equ 1317
ERROR_GROUP_EXISTS                   equ 1318
ERROR_NO_SUCH_GROUP                  equ 1319
ERROR_MEMBER_IN_GROUP                equ 1320
ERROR_MEMBER_NOT_IN_GROUP            equ 1321
ERROR_LAST_ADMIN                     equ 1322
ERROR_WRONG_PASSWORD                 equ 1323
ERROR_ILL_FORMED_PASSWORD            equ 1324
ERROR_PASSWORD_RESTRICTION           equ 1325
ERROR_LOGON_FAILURE                  equ 1326
ERROR_ACCOUNT_RESTRICTION            equ 1327
ERROR_INVALID_LOGON_HOURS            equ 1328
ERROR_INVALID_WORKSTATION            equ 1329
ERROR_PASSWORD_EXPIRED               equ 1330
ERROR_ACCOUNT_DISABLED               equ 1331
ERROR_NONE_MAPPED                    equ 1332
ERROR_TOO_MANY_LUIDS_REQUESTED       equ 1333
ERROR_LUIDS_EXHAUSTED                equ 1334
ERROR_INVALID_SUB_AUTHORITY          equ 1335
ERROR_INVALID_ACL                    equ 1336
ERROR_INVALID_SID                    equ 1337
ERROR_INVALID_SECURITY_DESCR         equ 1338
ERROR_BAD_INHERITANCE_ACL            equ 1340
ERROR_SERVER_DISABLED                equ 1341
ERROR_SERVER_NOT_DISABLED            equ 1342
ERROR_INVALID_ID_AUTHORITY           equ 1343
ERROR_ALLOTTED_SPACE_EXCEEDED        equ 1344
ERROR_INVALID_GROUP_ATTRIBUTES       equ 1345
ERROR_BAD_IMPERSONATION_LEVEL        equ 1346
ERROR_CANT_OPEN_ANONYMOUS            equ 1347
ERROR_BAD_VALIDATION_CLASS           equ 1348
ERROR_BAD_TOKEN_TYPE                 equ 1349
ERROR_NO_SECURITY_ON_OBJECT          equ 1350
ERROR_CANT_ACCESS_DOMAIN_INFO        equ 1351
ERROR_INVALID_SERVER_STATE           equ 1352
ERROR_INVALID_DOMAIN_STATE           equ 1353
ERROR_INVALID_DOMAIN_ROLE            equ 1354
ERROR_NO_SUCH_DOMAIN                 equ 1355
ERROR_DOMAIN_EXISTS                  equ 1356
ERROR_DOMAIN_LIMIT_EXCEEDED          equ 1357
ERROR_INTERNAL_DB_CORRUPTION         equ 1358
ERROR_INTERNAL_ERROR                 equ 1359
ERROR_GENERIC_NOT_MAPPED             equ 1360
ERROR_BAD_DESCRIPTOR_FORMAT          equ 1361
ERROR_NOT_LOGON_PROCESS              equ 1362
ERROR_LOGON_SESSION_EXISTS           equ 1363
ERROR_NO_SUCH_PACKAGE                equ 1364
ERROR_BAD_LOGON_SESSION_STATE        equ 1365
ERROR_LOGON_SESSION_COLLISION        equ 1366
ERROR_INVALID_LOGON_TYPE             equ 1367
ERROR_CANNOT_IMPERSONATE             equ 1368
ERROR_RXACT_INVALID_STATE            equ 1369
ERROR_RXACT_COMMIT_FAILURE           equ 1370
ERROR_SPECIAL_ACCOUNT                equ 1371
ERROR_SPECIAL_GROUP                  equ 1372
ERROR_SPECIAL_USER                   equ 1373
ERROR_MEMBERS_PRIMARY_GROUP          equ 1374
ERROR_TOKEN_ALREADY_IN_USE           equ 1375
ERROR_NO_SUCH_ALIAS                  equ 1376
ERROR_MEMBER_NOT_IN_ALIAS            equ 1377
ERROR_MEMBER_IN_ALIAS                equ 1378
ERROR_ALIAS_EXISTS                   equ 1379
ERROR_LOGON_NOT_GRANTED              equ 1380
ERROR_TOO_MANY_SECRETS               equ 1381
ERROR_SECRET_TOO_LONG                equ 1382
ERROR_INTERNAL_DB_ERROR              equ 1383
ERROR_TOO_MANY_CONTEXT_IDS           equ 1384
ERROR_LOGON_TYPE_NOT_GRANTED         equ 1385
ERROR_NT_CROSS_ENCRYPTION_REQUIRED   equ 1386
ERROR_NO_SUCH_MEMBER                 equ 1387
ERROR_INVALID_MEMBER                 equ 1388
ERROR_TOO_MANY_SIDS                  equ 1389
ERROR_LM_CROSS_ENCRYPTION_REQUIRED   equ 1390
ERROR_NO_INHERITANCE                 equ 1391
ERROR_FILE_CORRUPT                   equ 1392
ERROR_DISK_CORRUPT                   equ 1393
ERROR_NO_USER_SESSION_KEY            equ 1394
ERROR_INVALID_WINDOW_HANDLE          equ 1400
ERROR_INVALID_MENU_HANDLE            equ 1401
ERROR_INVALID_CURSOR_HANDLE          equ 1402
ERROR_INVALID_ACCEL_HANDLE           equ 1403
ERROR_INVALID_HOOK_HANDLE            equ 1404
ERROR_INVALID_DWP_HANDLE             equ 1405
ERROR_TLW_WITH_WSCHILD               equ 1406
ERROR_CANNOT_FIND_WND_CLASS          equ 1407
ERROR_WINDOW_OF_OTHER_THREAD         equ 1408
ERROR_HOTKEY_ALREADY_REGISTERED      equ 1409
ERROR_CLASS_ALREADY_EXISTS           equ 1410
ERROR_CLASS_DOES_NOT_EXIST           equ 1411
ERROR_CLASS_HAS_WINDOWS              equ 1412
ERROR_INVALID_INDEX                  equ 1413
ERROR_INVALID_ICON_HANDLE            equ 1414
ERROR_PRIVATE_DIALOG_INDEX           equ 1415
ERROR_LISTBOX_ID_NOT_FOUND           equ 1416
ERROR_NO_WILDCARD_CHARACTERS         equ 1417
ERROR_CLIPBOARD_NOT_OPEN             equ 1418
ERROR_HOTKEY_NOT_REGISTERED          equ 1419
ERROR_WINDOW_NOT_DIALOG              equ 1420
ERROR_CONTROL_ID_NOT_FOUND           equ 1421
ERROR_INVALID_COMBOBOX_MESSAGE       equ 1422
ERROR_WINDOW_NOT_COMBOBOX            equ 1423
ERROR_INVALID_EDIT_HEIGHT            equ 1424
ERROR_DC_NOT_FOUND                   equ 1425
ERROR_INVALID_HOOK_FILTER            equ 1426
ERROR_INVALID_FILTER_PROC            equ 1427
ERROR_HOOK_NEEDS_HMOD                equ 1428
ERROR_PUBLIC_ONLY_HOOK               equ 1429
ERROR_JOURNAL_HOOK_SET               equ 1430
ERROR_HOOK_NOT_INSTALLED             equ 1431
ERROR_INVALID_LB_MESSAGE             equ 1432
ERROR_SETCOUNT_ON_BAD_LB             equ 1433
ERROR_LB_WITHOUT_TABSTOPS            equ 1434
ERROR_DESTROY_OBJECT_OF_OTHER_THREAD equ 1435
ERROR_CHILD_WINDOW_MENU              equ 1436
ERROR_NO_SYSTEM_MENU                 equ 1437
ERROR_INVALID_MSGBOX_STYLE           equ 1438
ERROR_INVALID_SPI_VALUE              equ 1439
ERROR_SCREEN_ALREADY_LOCKED          equ 1440
ERROR_HWNDS_HAVE_DIFF_PARENT         equ 1441
ERROR_NOT_CHILD_WINDOW               equ 1442
ERROR_INVALID_GW_COMMAND             equ 1443
ERROR_INVALID_THREAD_ID              equ 1444
ERROR_NON_MDICHILD_WINDOW            equ 1445
ERROR_POPUP_ALREADY_ACTIVE           equ 1446
ERROR_NO_SCROLLBARS                  equ 1447
ERROR_INVALID_SCROLLBAR_RANGE        equ 1448
ERROR_INVALID_SHOWWIN_COMMAND        equ 1449
ERROR_EVENTLOG_FILE_CORRUPT          equ 1500
ERROR_EVENTLOG_CANT_START            equ 1501
ERROR_LOG_FILE_FULL                  equ 1502
ERROR_EVENTLOG_FILE_CHANGED          equ 1503
RPC_S_INVALID_STRING_BINDING         equ 1700
RPC_S_WRONG_KIND_OF_BINDING          equ 1701
RPC_S_INVALID_BINDING                equ 1702
RPC_S_PROTSEQ_NOT_SUPPORTED          equ 1703
RPC_S_INVALID_RPC_PROTSEQ            equ 1704
RPC_S_INVALID_STRING_UUID            equ 1705
RPC_S_INVALID_ENDPOINT_FORMAT        equ 1706
RPC_S_INVALID_NET_ADDR               equ 1707
RPC_S_NO_ENDPOINT_FOUND              equ 1708
RPC_S_INVALID_TIMEOUT                equ 1709
RPC_S_OBJECT_NOT_FOUND               equ 1710
RPC_S_ALREADY_REGISTERED             equ 1711
RPC_S_TYPE_ALREADY_REGISTERED        equ 1712
RPC_S_ALREADY_LISTENING              equ 1713
RPC_S_NO_PROTSEQS_REGISTERED         equ 1714
RPC_S_NOT_LISTENING                  equ 1715
RPC_S_UNKNOWN_MGR_TYPE               equ 1716
RPC_S_UNKNOWN_IF                     equ 1717
RPC_S_NO_BINDINGS                    equ 1718
RPC_S_NO_PROTSEQS                    equ 1719
RPC_S_CANT_CREATE_ENDPOINT           equ 1720
RPC_S_OUT_OF_RESOURCES               equ 1721
RPC_S_SERVER_UNAVAILABLE             equ 1722
RPC_S_SERVER_TOO_BUSY                equ 1723
RPC_S_INVALID_NETWORK_OPTIONS        equ 1724
RPC_S_NO_CALL_ACTIVE                 equ 1725
RPC_S_CALL_FAILED                    equ 1726
RPC_S_CALL_FAILED_DNE                equ 1727
RPC_S_PROTOCOL_ERROR                 equ 1728
RPC_S_UNSUPPORTED_TRANS_SYN          equ 1730
RPC_S_UNSUPPORTED_TYPE               equ 1732
RPC_S_INVALID_TAG                    equ 1733
RPC_S_INVALID_BOUND                  equ 1734
RPC_S_NO_ENTRY_NAME                  equ 1735
RPC_S_INVALID_NAME_SYNTAX            equ 1736
RPC_S_UNSUPPORTED_NAME_SYNTAX        equ 1737
RPC_S_UUID_NO_ADDRESS                equ 1739
RPC_S_DUPLICATE_ENDPOINT             equ 1740
RPC_S_UNKNOWN_AUTHN_TYPE             equ 1741
RPC_S_MAX_CALLS_TOO_SMALL            equ 1742
RPC_S_STRING_TOO_LONG                equ 1743
RPC_S_PROTSEQ_NOT_FOUND              equ 1744
RPC_S_PROCNUM_OUT_OF_RANGE           equ 1745
RPC_S_BINDING_HAS_NO_AUTH            equ 1746
RPC_S_UNKNOWN_AUTHN_SERVICE          equ 1747
RPC_S_UNKNOWN_AUTHN_LEVEL            equ 1748
RPC_S_INVALID_AUTH_IDENTITY          equ 1749
RPC_S_UNKNOWN_AUTHZ_SERVICE          equ 1750
EPT_S_INVALID_ENTRY                  equ 1751
EPT_S_CANT_PERFORM_OP                equ 1752
EPT_S_NOT_REGISTERED                 equ 1753
RPC_S_NOTHING_TO_EXPORT              equ 1754
RPC_S_INCOMPLETE_NAME                equ 1755
RPC_S_INVALID_VERS_OPTION            equ 1756
RPC_S_NO_MORE_MEMBERS                equ 1757
RPC_S_NOT_ALL_OBJS_UNEXPORTED        equ 1758
RPC_S_INTERFACE_NOT_FOUND            equ 1759
RPC_S_ENTRY_ALREADY_EXISTS           equ 1760
RPC_S_ENTRY_NOT_FOUND                equ 1761
RPC_S_NAME_SERVICE_UNAVAILABLE       equ 1762
RPC_S_INVALID_NAF_ID                 equ 1763
RPC_S_CANNOT_SUPPORT                 equ 1764
RPC_S_NO_CONTEXT_AVAILABLE           equ 1765
RPC_S_INTERNAL_ERROR                 equ 1766
RPC_S_ZERO_DIVIDE                    equ 1767
RPC_S_ADDRESS_ERROR                  equ 1768
RPC_S_FP_DIV_ZERO                    equ 1769
RPC_S_FP_UNDERFLOW                   equ 1770
RPC_S_FP_OVERFLOW                    equ 1771
RPC_X_NO_MORE_ENTRIES                equ 1772
RPC_X_SS_CHAR_TRANS_OPEN_FAIL        equ 1773
RPC_X_SS_CHAR_TRANS_SHORT_FILE       equ 1774
RPC_X_SS_IN_NULL_CONTEXT             equ 1775
RPC_X_SS_CONTEXT_DAMAGED             equ 1777
RPC_X_SS_HANDLES_MISMATCH            equ 1778
RPC_X_SS_CANNOT_GET_CALL_HANDLE      equ 1779
RPC_X_NULL_REF_POINTER               equ 1780
RPC_X_ENUM_VALUE_OUT_OF_RANGE        equ 1781
RPC_X_BYTE_COUNT_TOO_SMALL           equ 1782
RPC_X_BAD_STUB_DATA                  equ 1783
ERROR_INVALID_USER_BUFFER            equ 1784
ERROR_UNRECOGNIZED_MEDIA             equ 1785
ERROR_NO_TRUST_LSA_SECRET            equ 1786
ERROR_NO_TRUST_SAM_ACCOUNT           equ 1787
ERROR_TRUSTED_DOMAIN_FAILURE         equ 1788
ERROR_TRUSTED_RELATIONSHIP_FAILURE   equ 1789
ERROR_TRUST_FAILURE                  equ 1790
RPC_S_CALL_IN_PROGRESS               equ 1791
ERROR_NETLOGON_NOT_STARTED           equ 1792
ERROR_ACCOUNT_EXPIRED                equ 1793
ERROR_REDIRECTOR_HAS_OPEN_HANDLES    equ 1794
ERROR_PRINTER_DRIVER_ALREADY_INSTALLED               equ 1795
ERROR_UNKNOWN_PORT                   equ 1796
ERROR_UNKNOWN_PRINTER_DRIVER         equ 1797
ERROR_UNKNOWN_PRINTPROCESSOR         equ 1798
ERROR_INVALID_SEPARATOR_FILE         equ 1799
ERROR_INVALID_PRIORITY               equ 1800
ERROR_INVALID_PRINTER_NAME           equ 1801
ERROR_PRINTER_ALREADY_EXISTS         equ 1802
ERROR_INVALID_PRINTER_COMMAND        equ 1803
ERROR_INVALID_DATATYPE               equ 1804
ERROR_INVALID_ENVIRONMENT            equ 1805
RPC_S_NO_MORE_BINDINGS               equ 1806
ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT              equ 1807
ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT              equ 1808
ERROR_NOLOGON_SERVER_TRUST_ACCOUNT   equ 1809
ERROR_DOMAIN_TRUST_INCONSISTENT      equ 1810
ERROR_SERVER_HAS_OPEN_HANDLES        equ 1811
ERROR_RESOURCE_DATA_NOT_FOUND        equ 1812
ERROR_RESOURCE_TYPE_NOT_FOUND        equ 1813
ERROR_RESOURCE_NAME_NOT_FOUND        equ 1814
ERROR_RESOURCE_LANG_NOT_FOUND        equ 1815
ERROR_NOT_ENOUGH_QUOTA               equ 1816
RPC_S_GROUP_MEMBER_NOT_FOUND         equ 1898
EPT_S_CANT_CREATE                    equ 1899
RPC_S_INVALID_OBJECT                 equ 1900
ERROR_INVALID_TIME                   equ 1901
ERROR_INVALID_FORM_NAME              equ 1902
ERROR_INVALID_FORM_SIZE              equ 1903
ERROR_ALREADY_WAITING                equ 1904
ERROR_PRINTER_DELETED                equ 1905
ERROR_INVALID_PRINTER_STATE          equ 1906
ERROR_NO_BROWSER_SERVERS_FOUND       equ 6118
MAXPNAMELEN                          equ 32
MAXERRORLENGTH                       equ 128
TIME_MS                              equ 1h
TIME_SAMPLES                         equ 2h
TIME_BYTES                           equ 4h
TIME_SMPTE                           equ 8h
TIME_MIDI                            equ 10h
TIME_TICKS      				 equ 20h
MM_JOY1MOVE                          equ 3A0h
MM_JOY2MOVE                          equ 3A1h
MM_JOY1ZMOVE                         equ 3A2h
MM_JOY2ZMOVE                         equ 3A3h
MM_JOY1BUTTONDOWN                    equ 3B5h
MM_JOY2BUTTONDOWN                    equ 3B6h
MM_JOY1BUTTONUP                      equ 3B7h
MM_JOY2BUTTONUP                      equ 3B8h
MM_MCINOTIFY                         equ 3B9h
MM_MCISYSTEM_STRING                  equ 3CAh
MM_WOM_OPEN                          equ 3BBh
MM_WOM_CLOSE                         equ 3BCh
MM_WOM_DONE                          equ 3BDh
MM_WIM_OPEN                          equ 3BEh
MM_WIM_CLOSE                         equ 3BFh
MM_WIM_DATA                          equ 3C0h
MM_MIM_OPEN                          equ 3C1h
MM_MIM_CLOSE                         equ 3C2h
MM_MIM_DATA                          equ 3C3h
MM_MIM_LONGDATA                      equ 3C4h
MM_MIM_ERROR                         equ 3C5h
MM_MIM_LONGERROR                     equ 3C6h
MM_MOM_OPEN                          equ 3C7h
MM_MOM_CLOSE                         equ 3C8h
MM_MOM_DONE                          equ 3C9h
MMSYSERR_BASE                        equ 0
WAVERR_BASE                          equ 32
MIDIERR_BASE                         equ 64
TIMERR_BASE                          equ 96
JOYERR_BASE                          equ 160
MCIERR_BASE                          equ 256
MIXERR_BASE            			 equ 1024
MCI_STRING_OFFSET                    equ 512
MCI_VD_OFFSET                        equ 1024
MCI_CD_OFFSET                        equ 1088
MCI_WAVE_OFFSET                      equ 1152
MCI_SEQ_OFFSET                       equ 1216
MMSYSERR_NOERROR                     equ 0
MMSYSERR_ERROR                       equ MMSYSERR_BASE + 1
MMSYSERR_BADDEVICEID                 equ MMSYSERR_BASE + 2
MMSYSERR_NOTENABLED                  equ MMSYSERR_BASE + 3
MMSYSERR_ALLOCATED                   equ MMSYSERR_BASE + 4
MMSYSERR_INVALHANDLE                 equ MMSYSERR_BASE + 5
MMSYSERR_NODRIVER                    equ MMSYSERR_BASE + 6
MMSYSERR_NOMEM                       equ MMSYSERR_BASE + 7
MMSYSERR_NOTSUPPORTED                equ MMSYSERR_BASE + 8
MMSYSERR_BADERRNUM                   equ MMSYSERR_BASE + 9
MMSYSERR_INVALFLAG                   equ MMSYSERR_BASE + 10
MMSYSERR_INVALPARAM                  equ MMSYSERR_BASE + 11
MMSYSERR_HANDLEBUSY                  equ MMSYSERR_BASE + 12
MMSYSERR_INVALIDALIAS                equ MMSYSERR_BASE + 13
MMSYSERR_LASTERROR                   equ MMSYSERR_BASE + 13
MM_MOM_POSITIONCB                    equ 3CAh
MM_MCISIGNAL                         equ 3CBh
MM_MIM_MOREDATA                      equ 3CCh
MIDICAPS_STREAM                      equ 8h
MEVT_F_SHORT                         equ 0h
MEVT_F_LONG                          equ 80000000h
MEVT_F_CALLBACK                      equ 40000000h
MIDISTRM_ERROR                       equ -2
MIDIPROP_SET                         equ 80000000h
MIDIPROP_GET                         equ 40000000h
MIDIPROP_TIMEDIV                     equ 1h
MIDIPROP_TEMPO                       equ 2h
MIXER_SHORT_NAME_CHARS               equ 16
MIXER_LONG_NAME_CHARS                equ 64
MIXERR_INVALLINE                     equ MIXERR_BASE + 0
MIXERR_INVALCONTROL                  equ MIXERR_BASE + 1
MIXERR_INVALVALUE                    equ MIXERR_BASE + 2
MIXERR_LASTERROR                     equ MIXERR_BASE + 2
MIXER_OBJECTF_HANDLE                 equ 80000000h
MIXER_OBJECTF_MIXER                  equ 0h
MIXER_OBJECTF_HMIXER                 equ MIXER_OBJECTF_HANDLE OR MIXER_OBJECTF_MIXER
MIXER_OBJECTF_WAVEOUT                equ 10000000h
MIXER_OBJECTF_HWAVEOUT               equ MIXER_OBJECTF_HANDLE OR MIXER_OBJECTF_WAVEOUT
MIXER_OBJECTF_WAVEIN                 equ 20000000h
MIXER_OBJECTF_HWAVEIN                equ MIXER_OBJECTF_HANDLE OR MIXER_OBJECTF_WAVEIN
MIXER_OBJECTF_MIDIOUT                equ 30000000h
MIXER_OBJECTF_HMIDIOUT               equ MIXER_OBJECTF_HANDLE OR MIXER_OBJECTF_MIDIOUT
MIXER_OBJECTF_MIDIIN                 equ 40000000h
MIXER_OBJECTF_HMIDIIN                equ MIXER_OBJECTF_HANDLE OR MIXER_OBJECTF_MIDIIN
MIXER_OBJECTF_AUX                    equ 50000000h
MIXERLINE_LINEF_ACTIVE               equ 1h
MIXERLINE_LINEF_DISCONNECTED         equ 8000h
MIXERLINE_LINEF_SOURCE               equ 80000000h
MIXERLINE_COMPONENTTYPE_DST_FIRST    equ 0h
MIXERLINE_COMPONENTTYPE_DST_UNDEFINED                equ MIXERLINE_COMPONENTTYPE_DST_FIRST + 0
MIXERLINE_COMPONENTTYPE_DST_DIGITAL  equ MIXERLINE_COMPONENTTYPE_DST_FIRST + 1
MIXERLINE_COMPONENTTYPE_DST_LINE     equ MIXERLINE_COMPONENTTYPE_DST_FIRST + 2
MIXERLINE_COMPONENTTYPE_DST_MONITOR  equ MIXERLINE_COMPONENTTYPE_DST_FIRST + 3
MIXERLINE_COMPONENTTYPE_DST_SPEAKERS equ MIXERLINE_COMPONENTTYPE_DST_FIRST + 4
MIXERLINE_COMPONENTTYPE_DST_HEADPHONES               equ MIXERLINE_COMPONENTTYPE_DST_FIRST + 5
MIXERLINE_COMPONENTTYPE_DST_TELEPHONE                equ MIXERLINE_COMPONENTTYPE_DST_FIRST + 6
MIXERLINE_COMPONENTTYPE_DST_WAVEIN   equ MIXERLINE_COMPONENTTYPE_DST_FIRST + 7
MIXERLINE_COMPONENTTYPE_DST_VOICEIN  equ MIXERLINE_COMPONENTTYPE_DST_FIRST + 8
MIXERLINE_COMPONENTTYPE_DST_LAST     equ MIXERLINE_COMPONENTTYPE_DST_FIRST + 8
MIXERLINE_COMPONENTTYPE_SRC_FIRST    equ 1000h
MIXERLINE_COMPONENTTYPE_SRC_UNDEFINED                equ MIXERLINE_COMPONENTTYPE_SRC_FIRST + 0
MIXERLINE_COMPONENTTYPE_SRC_DIGITAL  equ MIXERLINE_COMPONENTTYPE_SRC_FIRST + 1
MIXERLINE_COMPONENTTYPE_SRC_LINE     equ MIXERLINE_COMPONENTTYPE_SRC_FIRST + 2
MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE               equ MIXERLINE_COMPONENTTYPE_SRC_FIRST + 3
MIXERLINE_COMPONENTTYPE_SRC_SYNTHESIZER              equ MIXERLINE_COMPONENTTYPE_SRC_FIRST + 4
MIXERLINE_COMPONENTTYPE_SRC_COMPACTDISC              equ MIXERLINE_COMPONENTTYPE_SRC_FIRST + 5
MIXERLINE_COMPONENTTYPE_SRC_TELEPHONE                equ MIXERLINE_COMPONENTTYPE_SRC_FIRST + 6
MIXERLINE_COMPONENTTYPE_SRC_PCSPEAKER                equ MIXERLINE_COMPONENTTYPE_SRC_FIRST + 7
MIXERLINE_COMPONENTTYPE_SRC_WAVEOUT  equ MIXERLINE_COMPONENTTYPE_SRC_FIRST + 8
MIXERLINE_COMPONENTTYPE_SRC_AUXILIARY                equ MIXERLINE_COMPONENTTYPE_SRC_FIRST + 9
MIXERLINE_COMPONENTTYPE_SRC_ANALOG   equ MIXERLINE_COMPONENTTYPE_SRC_FIRST + 10
MIXERLINE_COMPONENTTYPE_SRC_LAST     equ MIXERLINE_COMPONENTTYPE_SRC_FIRST + 10
MIXERLINE_TARGETTYPE_UNDEFINED       equ 0
MIXERLINE_TARGETTYPE_WAVEOUT         equ 1
MIXERLINE_TARGETTYPE_WAVEIN          equ 2
MIXERLINE_TARGETTYPE_MIDIOUT         equ 3
MIXERLINE_TARGETTYPE_MIDIIN          equ 4
MIXERLINE_TARGETTYPE_AUX             equ 5
MIXER_GETLINEINFOF_DESTINATION       equ 0h
MIXER_GETLINEINFOF_SOURCE            equ 1h
MIXER_GETLINEINFOF_LINEID            equ 2h
MIXER_GETLINEINFOF_COMPONENTTYPE     equ 3h
MIXER_GETLINEINFOF_TARGETTYPE        equ 4h
MIXER_GETLINEINFOF_QUERYMASK         equ 0Fh
MIXERCONTROL_CONTROLF_UNIFORM        equ 1h
MIXERCONTROL_CONTROLF_MULTIPLE       equ 2h
MIXERCONTROL_CONTROLF_DISABLED       equ 80000000h
MIXERCONTROL_CT_CLASS_MASK           equ 0F0000000h
MIXERCONTROL_CT_CLASS_CUSTOM         equ 0h
MIXERCONTROL_CT_CLASS_METER          equ 10000000h
MIXERCONTROL_CT_CLASS_SWITCH         equ 20000000h
MIXERCONTROL_CT_CLASS_NUMBER         equ 30000000h
MIXERCONTROL_CT_CLASS_SLIDER         equ 40000000h
MIXERCONTROL_CT_CLASS_FADER          equ 50000000h
MIXERCONTROL_CT_CLASS_TIME           equ 60000000h
MIXERCONTROL_CT_CLASS_LIST           equ 70000000h
MIXERCONTROL_CT_SUBCLASS_MASK        equ 0F000000h
MIXERCONTROL_CT_SC_SWITCH_BOOLEAN    equ 0h
MIXERCONTROL_CT_SC_SWITCH_BUTTON     equ 1000000h
MIXERCONTROL_CT_SC_METER_POLLED      equ 0h
MIXERCONTROL_CT_SC_TIME_MICROSECS    equ 0h
MIXERCONTROL_CT_SC_TIME_MILLISECS    equ 1000000h
MIXERCONTROL_CT_SC_LIST_SINGLE       equ 0h
MIXERCONTROL_CT_SC_LIST_MULTIPLE     equ 1000000h
MIXERCONTROL_CT_UNITS_MASK           equ 0FF0000h
MIXERCONTROL_CT_UNITS_CUSTOM         equ 0h
MIXERCONTROL_CT_UNITS_BOOLEAN        equ 10000h
MIXERCONTROL_CT_UNITS_SIGNED         equ 20000h
MIXERCONTROL_CT_UNITS_UNSIGNED       equ 30000h
MIXERCONTROL_CT_UNITS_DECIBELS       equ 40000h
MIXERCONTROL_CT_UNITS_PERCENT        equ 50000h
MIXERCONTROL_CONTROLTYPE_CUSTOM      equ MIXERCONTROL_CT_CLASS_CUSTOM OR MIXERCONTROL_CT_UNITS_CUSTOM
MIXERCONTROL_CONTROLTYPE_BOOLEANMETER                equ MIXERCONTROL_CT_CLASS_METER OR MIXERCONTROL_CT_SC_METER_POLLED OR MIXERCONTROL_CT_UNITS_BOOLEAN
MIXERCONTROL_CONTROLTYPE_SIGNEDMETER equ MIXERCONTROL_CT_CLASS_METER OR MIXERCONTROL_CT_SC_METER_POLLED OR MIXERCONTROL_CT_UNITS_SIGNED
MIXERCONTROL_CONTROLTYPE_PEAKMETER   equ MIXERCONTROL_CONTROLTYPE_SIGNEDMETER + 1
MIXERCONTROL_CONTROLTYPE_UNSIGNEDMETER               equ MIXERCONTROL_CT_CLASS_METER OR MIXERCONTROL_CT_SC_METER_POLLED OR MIXERCONTROL_CT_UNITS_UNSIGNED
MIXERCONTROL_CONTROLTYPE_BOOLEAN     equ MIXERCONTROL_CT_CLASS_SWITCH OR MIXERCONTROL_CT_SC_SWITCH_BOOLEAN OR MIXERCONTROL_CT_UNITS_BOOLEAN
MIXERCONTROL_CONTROLTYPE_ONOFF       equ MIXERCONTROL_CONTROLTYPE_BOOLEAN + 1
MIXERCONTROL_CONTROLTYPE_MUTE        equ MIXERCONTROL_CONTROLTYPE_BOOLEAN + 2
MIXERCONTROL_CONTROLTYPE_MONO        equ MIXERCONTROL_CONTROLTYPE_BOOLEAN + 3
MIXERCONTROL_CONTROLTYPE_LOUDNESS    equ MIXERCONTROL_CONTROLTYPE_BOOLEAN + 4
MIXERCONTROL_CONTROLTYPE_STEREOENH   equ MIXERCONTROL_CONTROLTYPE_BOOLEAN + 5
MIXERCONTROL_CONTROLTYPE_BUTTON      equ MIXERCONTROL_CT_CLASS_SWITCH OR MIXERCONTROL_CT_SC_SWITCH_BUTTON OR MIXERCONTROL_CT_UNITS_BOOLEAN
MIXERCONTROL_CONTROLTYPE_DECIBELS    equ MIXERCONTROL_CT_CLASS_NUMBER OR MIXERCONTROL_CT_UNITS_DECIBELS
MIXERCONTROL_CONTROLTYPE_SIGNED      equ MIXERCONTROL_CT_CLASS_NUMBER OR MIXERCONTROL_CT_UNITS_SIGNED
MIXERCONTROL_CONTROLTYPE_UNSIGNED    equ MIXERCONTROL_CT_CLASS_NUMBER OR MIXERCONTROL_CT_UNITS_UNSIGNED
MIXERCONTROL_CONTROLTYPE_PERCENT     equ MIXERCONTROL_CT_CLASS_NUMBER OR MIXERCONTROL_CT_UNITS_PERCENT
MIXERCONTROL_CONTROLTYPE_SLIDER      equ MIXERCONTROL_CT_CLASS_SLIDER OR MIXERCONTROL_CT_UNITS_SIGNED
MIXERCONTROL_CONTROLTYPE_PAN         equ MIXERCONTROL_CONTROLTYPE_SLIDER + 1
MIXERCONTROL_CONTROLTYPE_QSOUNDPAN   equ MIXERCONTROL_CONTROLTYPE_SLIDER + 2
MIXERCONTROL_CONTROLTYPE_FADER       equ MIXERCONTROL_CT_CLASS_FADER OR MIXERCONTROL_CT_UNITS_UNSIGNED
MIXERCONTROL_CONTROLTYPE_VOLUME      equ MIXERCONTROL_CONTROLTYPE_FADER + 1
MIXERCONTROL_CONTROLTYPE_BASS        equ MIXERCONTROL_CONTROLTYPE_FADER + 2
MIXERCONTROL_CONTROLTYPE_TREBLE      equ MIXERCONTROL_CONTROLTYPE_FADER + 3
MIXERCONTROL_CONTROLTYPE_EQUALIZER   equ MIXERCONTROL_CONTROLTYPE_FADER + 4
MIXERCONTROL_CONTROLTYPE_SINGLESELECT                equ MIXERCONTROL_CT_CLASS_LIST OR MIXERCONTROL_CT_SC_LIST_SINGLE OR MIXERCONTROL_CT_UNITS_BOOLEAN
MIXERCONTROL_CONTROLTYPE_MUX         equ MIXERCONTROL_CONTROLTYPE_SINGLESELECT + 1
MIXERCONTROL_CONTROLTYPE_MULTIPLESELECT              equ MIXERCONTROL_CT_CLASS_LIST OR MIXERCONTROL_CT_SC_LIST_MULTIPLE OR MIXERCONTROL_CT_UNITS_BOOLEAN
MIXERCONTROL_CONTROLTYPE_MIXER       equ MIXERCONTROL_CONTROLTYPE_MULTIPLESELECT + 1
MIXERCONTROL_CONTROLTYPE_MICROTIME   equ MIXERCONTROL_CT_CLASS_TIME OR MIXERCONTROL_CT_SC_TIME_MICROSECS OR MIXERCONTROL_CT_UNITS_UNSIGNED
MIXERCONTROL_CONTROLTYPE_MILLITIME   equ MIXERCONTROL_CT_CLASS_TIME OR MIXERCONTROL_CT_SC_TIME_MILLISECS OR MIXERCONTROL_CT_UNITS_UNSIGNED
MIXER_GETLINECONTROLSF_ALL           equ 0h
MIXER_GETLINECONTROLSF_ONEBYID       equ 1h
MIXER_GETLINECONTROLSF_ONEBYTYPE     equ 2h
MIXER_GETLINECONTROLSF_QUERYMASK     equ 0Fh
MIXER_GETCONTROLDETAILSF_VALUE       equ 0h
MIXER_GETCONTROLDETAILSF_LISTTEXT    equ 1h
MIXER_GETCONTROLDETAILSF_QUERYMASK   equ 0Fh
MIXER_SETCONTROLDETAILSF_VALUE       equ 0h
MIXER_SETCONTROLDETAILSF_CUSTOM      equ 1h
MIXER_SETCONTROLDETAILSF_QUERYMASK   equ 0Fh
JOY_BUTTON5                          equ 10h
JOY_BUTTON6                          equ 20h
JOY_BUTTON7                          equ 40h
JOY_BUTTON8                          equ 80h
JOY_BUTTON9                          equ 100h
JOY_BUTTON10                         equ 200h
JOY_BUTTON11                         equ 400h
JOY_BUTTON12                         equ 800h
JOY_BUTTON13                         equ 1000h
JOY_BUTTON14                         equ 2000h
JOY_BUTTON15                         equ 4000h
JOY_BUTTON16                         equ 8000h
JOY_BUTTON17                         equ 10000h
JOY_BUTTON18                         equ 20000h
JOY_BUTTON19                         equ 40000h
JOY_BUTTON20                         equ 80000h
JOY_BUTTON21                         equ 100000h
JOY_BUTTON22                         equ 200000h
JOY_BUTTON23                         equ 400000h
JOY_BUTTON24                         equ 800000h
JOY_BUTTON25                         equ 1000000h
JOY_BUTTON26                         equ 2000000h
JOY_BUTTON27                         equ 4000000h
JOY_BUTTON28                         equ 8000000h
JOY_BUTTON29                         equ 10000000h
JOY_BUTTON30                         equ 20000000h
JOY_BUTTON31                         equ 40000000h
JOY_BUTTON32                         equ 80000000h
JOY_POVCENTERED                      equ -1
JOY_POVFORWARD                       equ 0
JOY_POVRIGHT                         equ 9000
JOY_POVBACKWARD                      equ 18000
JOY_POVLEFT                          equ 27000
JOY_RETURNX                          equ 1h
JOY_RETURNY                          equ 2h
JOY_RETURNZ                          equ 4h
JOY_RETURNR                          equ 8h
JOY_RETURNU                          equ 10h
JOY_RETURNV                          equ 20h
JOY_RETURNPOV                        equ 40h
JOY_RETURNBUTTONS                    equ 80h
JOY_RETURNRAWDATA                    equ 100h
JOY_RETURNPOVCTS                     equ 200h
JOY_RETURNCENTERED                   equ 400h
JOY_USEDEADZONE                      equ 800h
JOY_RETURNALL                        equ JOY_RETURNX OR JOY_RETURNY OR JOY_RETURNZ OR JOY_RETURNR OR JOY_RETURNU OR JOY_RETURNV OR JOY_RETURNPOV OR JOY_RETURNBUTTONS
JOY_CAL_READALWAYS                   equ 10000h
JOY_CAL_READXYONLY                   equ 20000h
JOY_CAL_READ3                        equ 40000h
JOY_CAL_READ4                        equ 80000h
JOY_CAL_READXONLY                    equ 100000h
JOY_CAL_READYONLY                    equ 200000h
JOY_CAL_READ5                        equ 400000h
JOY_CAL_READ6                        equ 800000h
JOY_CAL_READZONLY                    equ 1000000h
JOY_CAL_READRONLY                    equ 2000000h
JOY_CAL_READUONLY                    equ 4000000h
JOY_CAL_READVONLY                    equ 8000000h
WAVE_FORMAT_QUERY                    equ 1h
SND_PURGE                            equ 40h
SND_APPLICATION                      equ 80h
WAVE_MAPPED                          equ 4h
WAVE_FORMAT_DIRECT                   equ 8h
WAVE_FORMAT_DIRECT_QUERY             equ WAVE_FORMAT_QUERY OR WAVE_FORMAT_DIRECT
MIM_MOREDATA                         equ MM_MIM_MOREDATA
MOM_POSITIONCB                       equ MM_MOM_POSITIONCB
MIDI_IO_STATUS                       equ 20h
DRV_LOAD                             equ 1h
DRV_ENABLE                           equ 2h
DRV_OPEN                             equ 3h
DRV_CLOSE                            equ 4h
DRV_DISABLE                          equ 5h
DRV_FREE                             equ 6h
DRV_CONFIGURE                        equ 7h
DRV_QUERYCONFIGURE                   equ 8h
DRV_INSTALL                          equ 9h
DRV_REMOVE                           equ 0Ah
DRV_EXITSESSION                      equ 0Bh
DRV_POWER                            equ 0Fh
DRV_RESERVED                         equ 800h
DRV_USER                             equ 4000h
DRVCNF_CANCEL                        equ 0h
DRVCNF_OK                            equ 1h
DRVCNF_RESTART                       equ 2h
DRV_CANCEL                           equ DRVCNF_CANCEL
DRV_OK                               equ DRVCNF_OK
DRV_RESTART                          equ DRVCNF_RESTART
DRV_MCI_FIRST                        equ DRV_RESERVED
DRV_MCI_LAST                         equ DRV_RESERVED + 0FFFh
CALLBACK_TYPEMASK                    equ 70000h
CALLBACK_NULL                        equ 0h
CALLBACK_WINDOW                      equ 10000h
CALLBACK_TASK                        equ 20000h
CALLBACK_FUNCTION                    equ 30000h
MM_MICROSOFT                         equ 1
MM_MIDI_MAPPER                       equ 1
MM_WAVE_MAPPER                       equ 2
MM_SNDBLST_MIDIOUT                   equ 3
MM_SNDBLST_MIDIIN                    equ 4
MM_SNDBLST_SYNTH                     equ 5
MM_SNDBLST_WAVEOUT                   equ 6
MM_SNDBLST_WAVEIN                    equ 7
MM_ADLIB                             equ 9
MM_MPU401_MIDIOUT                    equ 10
MM_MPU401_MIDIIN                     equ 11
MM_PC_JOYSTICK                       equ 12
SND_SYNC                             equ 0h
SND_ASYNC                            equ 1h
SND_NODEFAULT                        equ 2h
SND_MEMORY                           equ 4h
SND_ALIAS                            equ 10000h
SND_FILENAME                         equ 20000h
SND_RESOURCE                         equ 40004h
SND_ALIAS_ID                         equ 110000h
SND_ALIAS_START                      equ 0
SND_LOOP                             equ 8h
SND_NOSTOP                           equ 10h
SND_VALID                            equ 1Fh
SND_NOWAIT                           equ 2000h
SND_VALIDFLAGS                       equ 17201Fh
SND_RESERVED                         equ 0FF000000h
SND_TYPE_MASK                        equ 170007h
WAVERR_BADFORMAT                     equ WAVERR_BASE + 0
WAVERR_STILLPLAYING                  equ WAVERR_BASE + 1
WAVERR_UNPREPARED                    equ WAVERR_BASE + 2
WAVERR_SYNC                          equ WAVERR_BASE + 3
WAVERR_LASTERROR                     equ WAVERR_BASE + 3
WOM_OPEN                             equ MM_WOM_OPEN
WOM_CLOSE                            equ MM_WOM_CLOSE
WOM_DONE                             equ MM_WOM_DONE
WIM_OPEN                             equ MM_WIM_OPEN
WIM_CLOSE                            equ MM_WIM_CLOSE
WIM_DATA                             equ MM_WIM_DATA
WAVE_MAPPER                          equ -1
WAVE_ALLOWSYNC                       equ 2h
WAVE_VALID                           equ 3h
WHDR_DONE                            equ 1h
WHDR_PREPARED                        equ 2h
WHDR_BEGINLOOP                       equ 4h
WHDR_ENDLOOP                         equ 8h
WHDR_INQUEUE                         equ 10h
WHDR_VALID                           equ 1Fh
WAVECAPS_PITCH                       equ 1h
WAVECAPS_PLAYBACKRATE                equ 2h
WAVECAPS_VOLUME                      equ 4h
WAVECAPS_LRVOLUME                    equ 8h
WAVECAPS_SYNC                        equ 10h
WAVE_INVALIDFORMAT                   equ 0h
WAVE_FORMAT_1M08                     equ 1h
WAVE_FORMAT_1S08                     equ 2h
WAVE_FORMAT_1M16                     equ 4h
WAVE_FORMAT_1S16                     equ 8h
WAVE_FORMAT_2M08                     equ 10h
WAVE_FORMAT_2S08                     equ 20h
WAVE_FORMAT_2M16                     equ 40h
WAVE_FORMAT_2S16                     equ 80h
WAVE_FORMAT_4M08                     equ 100h
WAVE_FORMAT_4S08                     equ 200h
WAVE_FORMAT_4M16                     equ 400h
WAVE_FORMAT_4S16                     equ 800h
WAVE_FORMAT_PCM                      equ 1
MIDIERR_UNPREPARED                   equ MIDIERR_BASE + 0
MIDIERR_STILLPLAYING                 equ MIDIERR_BASE + 1
MIDIERR_NOMAP                        equ MIDIERR_BASE + 2
MIDIERR_NOTREADY                     equ MIDIERR_BASE + 3
MIDIERR_NODEVICE                     equ MIDIERR_BASE + 4
MIDIERR_INVALIDSETUP                 equ MIDIERR_BASE + 5
MIDIERR_LASTERROR                    equ MIDIERR_BASE + 5
MIM_OPEN                             equ MM_MIM_OPEN
MIM_CLOSE                            equ MM_MIM_CLOSE
MIM_DATA                             equ MM_MIM_DATA
MIM_LONGDATA                         equ MM_MIM_LONGDATA
MIM_ERROR                            equ MM_MIM_ERROR
MIM_LONGERROR                        equ MM_MIM_LONGERROR
MOM_OPEN                             equ MM_MOM_OPEN
MOM_CLOSE                            equ MM_MOM_CLOSE
MOM_DONE                             equ MM_MOM_DONE
MIDIMAPPER                           equ -1
MIDI_MAPPER                          equ -1
MIDI_CACHE_ALL                       equ 1
MIDI_CACHE_BESTFIT                   equ 2
MIDI_CACHE_QUERY                     equ 3
MIDI_UNCACHE                         equ 4
MIDI_CACHE_VALID                     equ MIDI_CACHE_ALL OR MIDI_CACHE_BESTFIT OR MIDI_CACHE_QUERY OR MIDI_UNCACHE
MOD_MIDIPORT                         equ 1
MOD_SYNTH                            equ 2
MOD_SQSYNTH                          equ 3
MOD_FMSYNTH                          equ 4
MOD_MAPPER                           equ 5
MIDICAPS_VOLUME                      equ 1
MIDICAPS_LRVOLUME                    equ 2
MIDICAPS_CACHE                       equ 4
MHDR_DONE                            equ 1
MHDR_PREPARED                        equ 2
MHDR_INQUEUE                         equ 4
MHDR_VALID                           equ 7
MHDR_ISSTRM     				 equ 8
AUX_MAPPER                           equ -1
AUXCAPS_CDAUDIO                      equ 1
AUXCAPS_AUXIN                        equ 2
AUXCAPS_VOLUME                       equ 1h
AUXCAPS_LRVOLUME                     equ 2h
TIMERR_NOERROR                       equ 0
TIMERR_NOCANDO                       equ TIMERR_BASE + 1
TIMERR_STRUCT                        equ TIMERR_BASE + 33
TIME_ONESHOT                         equ 0
TIME_PERIODIC                        equ 1
JOYERR_NOERROR                       equ 0
JOYERR_PARMS                         equ JOYERR_BASE + 5
JOYERR_NOCANDO                       equ JOYERR_BASE + 6
JOYERR_UNPLUGGED                     equ JOYERR_BASE + 7
JOY_BUTTON1                          equ 1h
JOY_BUTTON2                          equ 2h
JOY_BUTTON3                          equ 4h
JOY_BUTTON4                          equ 8h
JOY_BUTTON1CHG                       equ 100h
JOY_BUTTON2CHG                       equ 200h
JOY_BUTTON3CHG                       equ 400h
JOY_BUTTON4CHG                       equ 800h
JOYSTICKID1                          equ 0
JOYSTICKID2                          equ 1
MMIOERR_BASE                         equ 256
MMIOERR_FILENOTFOUND                 equ MMIOERR_BASE + 1
MMIOERR_OUTOFMEMORY                  equ MMIOERR_BASE + 2
MMIOERR_CANNOTOPEN                   equ MMIOERR_BASE + 3
MMIOERR_CANNOTCLOSE                  equ MMIOERR_BASE + 4
MMIOERR_CANNOTREAD                   equ MMIOERR_BASE + 5
MMIOERR_CANNOTWRITE                  equ MMIOERR_BASE + 6
MMIOERR_CANNOTSEEK                   equ MMIOERR_BASE + 7
MMIOERR_CANNOTEXPAND                 equ MMIOERR_BASE + 8
MMIOERR_CHUNKNOTFOUND                equ MMIOERR_BASE + 9
MMIOERR_UNBUFFERED                   equ MMIOERR_BASE + 10
MMIO_RWMODE                          equ 3h
MMIO_SHAREMODE                       equ 70h
MMIO_CREATE                          equ 1000h
MMIO_PARSE                           equ 100h
MMIO_DELETE                          equ 200h
MMIO_EXIST                           equ 4000h
MMIO_ALLOCBUF                        equ 10000h
MMIO_GETTEMP                         equ 20000h
MMIO_DIRTY                           equ 10000000h
MMIO_OPEN_VALID                      equ 3FFFFh
MMIO_READ                            equ 0h
MMIO_WRITE                           equ 1h
MMIO_READWRITE                       equ 2h
MMIO_COMPAT                          equ 0h
MMIO_EXCLUSIVE                       equ 10h
MMIO_DENYWRITE                       equ 20h
MMIO_DENYREAD                        equ 30h
MMIO_DENYNONE                        equ 40h
MMIO_FHOPEN                          equ 10h
MMIO_EMPTYBUF                        equ 10h
MMIO_TOUPPER                         equ 10h
MMIO_INSTALLPROC                     equ 10000h
MMIO_GLOBALPROC                      equ 10000000h
MMIO_UNICODEPROC                     equ 1000000h
MMIO_REMOVEPROC                      equ 20000h
MMIO_FINDPROC                        equ 40000h
MMIO_FINDCHUNK                       equ 10h
MMIO_FINDRIFF                        equ 20h
MMIO_FINDLIST                        equ 40h
MMIO_CREATERIFF                      equ 20h
MMIO_CREATELIST                      equ 40h
MMIO_VALIDPROC                       equ 11070000h
MMIOM_READ                           equ MMIO_READ
MMIOM_WRITE                          equ MMIO_WRITE
MMIOM_SEEK                           equ 2
MMIOM_OPEN                           equ 3
MMIOM_CLOSE                          equ 4
MMIOM_WRITEFLUSH                     equ 5
MMIOM_RENAME                         equ 6
MMIOM_USER                           equ 8000h
SEEK_SET                             equ 0
SEEK_CUR                             equ 1
SEEK_END                             equ 2
MMIO_DEFAULTBUFFER                   equ 8192
MCIERR_INVALID_DEVICE_ID             equ MCIERR_BASE + 1
MCIERR_UNRECOGNIZED_KEYWORD          equ MCIERR_BASE + 3
MCIERR_UNRECOGNIZED_COMMAND          equ MCIERR_BASE + 5
MCIERR_HARDWARE                      equ MCIERR_BASE + 6
MCIERR_INVALID_DEVICE_NAME           equ MCIERR_BASE + 7
MCIERR_OUT_OF_MEMORY                 equ MCIERR_BASE + 8
MCIERR_DEVICE_OPEN                   equ MCIERR_BASE + 9
MCIERR_CANNOT_LOAD_DRIVER            equ MCIERR_BASE + 10
MCIERR_MISSING_COMMAND_STRING        equ MCIERR_BASE + 11
MCIERR_PARAM_OVERFLOW                equ MCIERR_BASE + 12
MCIERR_MISSING_STRING_ARGUMENT       equ MCIERR_BASE + 13
MCIERR_BAD_INTEGER                   equ MCIERR_BASE + 14
MCIERR_PARSER_INTERNAL               equ MCIERR_BASE + 15
MCIERR_DRIVER_INTERNAL               equ MCIERR_BASE + 16
MCIERR_MISSING_PARAMETER             equ MCIERR_BASE + 17
MCIERR_UNSUPPORTED_FUNCTION          equ MCIERR_BASE + 18
MCIERR_FILE_NOT_FOUND                equ MCIERR_BASE + 19
MCIERR_DEVICE_NOT_READY              equ MCIERR_BASE + 20
MCIERR_INTERNAL                      equ MCIERR_BASE + 21
MCIERR_DRIVER                        equ MCIERR_BASE + 22
MCIERR_CANNOT_USE_ALL                equ MCIERR_BASE + 23
MCIERR_MULTIPLE                      equ MCIERR_BASE + 24
MCIERR_EXTENSION_NOT_FOUND           equ MCIERR_BASE + 25
MCIERR_OUTOFRANGE                    equ MCIERR_BASE + 26
MCIERR_FLAGS_NOT_COMPATIBLE          equ MCIERR_BASE + 28
MCIERR_FILE_NOT_SAVED                equ MCIERR_BASE + 30
MCIERR_DEVICE_TYPE_REQUIRED          equ MCIERR_BASE + 31
MCIERR_DEVICE_LOCKED                 equ MCIERR_BASE + 32
MCIERR_DUPLICATE_ALIAS               equ MCIERR_BASE + 33
MCIERR_BAD_CONSTANT                  equ MCIERR_BASE + 34
MCIERR_MUST_USE_SHAREABLE            equ MCIERR_BASE + 35
MCIERR_MISSING_DEVICE_NAME           equ MCIERR_BASE + 36
MCIERR_BAD_TIME_FORMAT               equ MCIERR_BASE + 37
MCIERR_NO_CLOSING_QUOTE              equ MCIERR_BASE + 38
MCIERR_DUPLICATE_FLAGS               equ MCIERR_BASE + 39
MCIERR_INVALID_FILE                  equ MCIERR_BASE + 40
MCIERR_NULL_PARAMETER_BLOCK          equ MCIERR_BASE + 41
MCIERR_UNNAMED_RESOURCE              equ MCIERR_BASE + 42
MCIERR_NEW_REQUIRES_ALIAS            equ MCIERR_BASE + 43
MCIERR_NOTIFY_ON_AUTO_OPEN           equ MCIERR_BASE + 44
MCIERR_NO_ELEMENT_ALLOWED            equ MCIERR_BASE + 45
MCIERR_NONAPPLICABLE_FUNCTION        equ MCIERR_BASE + 46
MCIERR_ILLEGAL_FOR_AUTO_OPEN         equ MCIERR_BASE + 47
MCIERR_FILENAME_REQUIRED             equ MCIERR_BASE + 48
MCIERR_EXTRA_CHARACTERS              equ MCIERR_BASE + 49
MCIERR_DEVICE_NOT_INSTALLED          equ MCIERR_BASE + 50
MCIERR_GET_CD                        equ MCIERR_BASE + 51
MCIERR_SET_CD                        equ MCIERR_BASE + 52
MCIERR_SET_DRIVE                     equ MCIERR_BASE + 53
MCIERR_DEVICE_LENGTH                 equ MCIERR_BASE + 54
MCIERR_DEVICE_ORD_LENGTH             equ MCIERR_BASE + 55
MCIERR_NO_INTEGER                    equ MCIERR_BASE + 56
MCIERR_WAVE_OUTPUTSINUSE             equ MCIERR_BASE + 64
MCIERR_WAVE_SETOUTPUTINUSE           equ MCIERR_BASE + 65
MCIERR_WAVE_INPUTSINUSE              equ MCIERR_BASE + 66
MCIERR_WAVE_SETINPUTINUSE            equ MCIERR_BASE + 67
MCIERR_WAVE_OUTPUTUNSPECIFIED        equ MCIERR_BASE + 68
MCIERR_WAVE_INPUTUNSPECIFIED         equ MCIERR_BASE + 69
MCIERR_WAVE_OUTPUTSUNSUITABLE        equ MCIERR_BASE + 70
MCIERR_WAVE_SETOUTPUTUNSUITABLE      equ MCIERR_BASE + 71
MCIERR_WAVE_INPUTSUNSUITABLE         equ MCIERR_BASE + 72
MCIERR_WAVE_SETINPUTUNSUITABLE       equ MCIERR_BASE + 73
MCIERR_SEQ_DIV_INCOMPATIBLE          equ MCIERR_BASE + 80
MCIERR_SEQ_PORT_INUSE                equ MCIERR_BASE + 81
MCIERR_SEQ_PORT_NONEXISTENT          equ MCIERR_BASE + 82
MCIERR_SEQ_PORT_MAPNODEVICE          equ MCIERR_BASE + 83
MCIERR_SEQ_PORT_MISCERROR            equ MCIERR_BASE + 84
MCIERR_SEQ_TIMER                     equ MCIERR_BASE + 85
MCIERR_SEQ_PORTUNSPECIFIED           equ MCIERR_BASE + 86
MCIERR_SEQ_NOMIDIPRESENT             equ MCIERR_BASE + 87
MCIERR_NO_WINDOW                     equ MCIERR_BASE + 90
MCIERR_CREATEWINDOW                  equ MCIERR_BASE + 91
MCIERR_FILE_READ                     equ MCIERR_BASE + 92
MCIERR_FILE_WRITE                    equ MCIERR_BASE + 93
MCIERR_CUSTOM_DRIVER_BASE            equ MCIERR_BASE + 256
MCI_FIRST                            equ 800h
MCI_OPEN                             equ 803h
MCI_CLOSE                            equ 804h
MCI_ESCAPE                           equ 805h
MCI_PLAY                             equ 806h
MCI_SEEK                             equ 807h
MCI_STOP                             equ 808h
MCI_PAUSE                            equ 809h
MCI_INFO                             equ 80Ah
MCI_GETDEVCAPS                       equ 80Bh
MCI_SPIN                             equ 80Ch
MCI_SET                              equ 80Dh
MCI_STEP                             equ 80Eh
MCI_RECORD                           equ 80Fh
MCI_SYSINFO                          equ 810h
MCI_BREAK                            equ 811h
MCI_SOUND                            equ 812h
MCI_SAVE                             equ 813h
MCI_STATUS                           equ 814h
MCI_CUE                              equ 830h
MCI_REALIZE                          equ 840h
MCI_WINDOW                           equ 841h
MCI_PUT                              equ 842h
MCI_WHERE                            equ 843h
MCI_FREEZE                           equ 844h
MCI_UNFREEZE                         equ 845h
MCI_LOAD                             equ 850h
MCI_CUT                              equ 851h
MCI_COPY                             equ 852h
MCI_PASTE                            equ 853h
MCI_UPDATE                           equ 854h
MCI_RESUME                           equ 855h
MCI_DELETE                           equ 856h
MCI_LAST                             equ 0FFFh
MCI_USER_MESSAGES                    equ 400h + MCI_FIRST
MCI_ALL_DEVICE_ID                    equ -1
MCI_DEVTYPE_VCR                      equ 513
MCI_DEVTYPE_VIDEODISC                equ 514
MCI_DEVTYPE_OVERLAY                  equ 515
MCI_DEVTYPE_CD_AUDIO                 equ 516
MCI_DEVTYPE_DAT                      equ 517
MCI_DEVTYPE_SCANNER                  equ 518
MCI_DEVTYPE_ANIMATION                equ 519
MCI_DEVTYPE_DIGITAL_VIDEO            equ 520
MCI_DEVTYPE_OTHER                    equ 521
MCI_DEVTYPE_WAVEFORM_AUDIO           equ 522
MCI_DEVTYPE_SEQUENCER                equ 523
MCI_DEVTYPE_FIRST                    equ MCI_DEVTYPE_VCR
MCI_DEVTYPE_LAST                     equ MCI_DEVTYPE_SEQUENCER
MCI_DEVTYPE_FIRST_USER               equ 1000h
MCI_MODE_NOT_READY                   equ MCI_STRING_OFFSET + 12
MCI_MODE_STOP                        equ MCI_STRING_OFFSET + 13
MCI_MODE_PLAY                        equ MCI_STRING_OFFSET + 14
MCI_MODE_RECORD                      equ MCI_STRING_OFFSET + 15
MCI_MODE_SEEK                        equ MCI_STRING_OFFSET + 16
MCI_MODE_PAUSE                       equ MCI_STRING_OFFSET + 17
MCI_MODE_OPEN                        equ MCI_STRING_OFFSET + 18
MCI_FORMAT_MILLISECONDS              equ 0
MCI_FORMAT_HMS                       equ 1
MCI_FORMAT_MSF                       equ 2
MCI_FORMAT_FRAMES                    equ 3
MCI_FORMAT_SMPTE_24                  equ 4
MCI_FORMAT_SMPTE_25                  equ 5
MCI_FORMAT_SMPTE_30                  equ 6
MCI_FORMAT_SMPTE_30DROP              equ 7
MCI_FORMAT_BYTES                     equ 8
MCI_FORMAT_SAMPLES                   equ 9
MCI_FORMAT_TMSF                      equ 10
MCI_NOTIFY_SUCCESSFUL                equ 1h
MCI_NOTIFY_SUPERSEDED                equ 2h
MCI_NOTIFY_ABORTED                   equ 4h
MCI_NOTIFY_FAILURE                   equ 8h
MCI_NOTIFY                           equ 1h
MCI_WAIT                             equ 2h
MCI_FROM                             equ 4h
MCI_TO                               equ 8h
MCI_TRACK                            equ 10h
MCI_OPEN_SHAREABLE                   equ 100h
MCI_OPEN_ELEMENT                     equ 200h
MCI_OPEN_ALIAS                       equ 400h
MCI_OPEN_ELEMENT_ID                  equ 800h
MCI_OPEN_TYPE_ID                     equ 1000h
MCI_OPEN_TYPE                        equ 2000h
MCI_SEEK_TO_START                    equ 100h
MCI_SEEK_TO_END                      equ 200h
MCI_STATUS_ITEM                      equ 100h
MCI_STATUS_START                     equ 200h
MCI_STATUS_LENGTH                    equ 1h
MCI_STATUS_POSITION                  equ 2h
MCI_STATUS_NUMBER_OF_TRACKS          equ 3h
MCI_STATUS_MODE                      equ 4h
MCI_STATUS_MEDIA_PRESENT             equ 5h
MCI_STATUS_TIME_FORMAT               equ 6h
MCI_STATUS_READY                     equ 7h
MCI_STATUS_CURRENT_TRACK             equ 8h
MCI_INFO_PRODUCT                     equ 100h
MCI_INFO_FILE                        equ 200h
MCI_GETDEVCAPS_ITEM                  equ 100h
MCI_GETDEVCAPS_CAN_RECORD            equ 1h
MCI_GETDEVCAPS_HAS_AUDIO             equ 2h
MCI_GETDEVCAPS_HAS_VIDEO             equ 3h
MCI_GETDEVCAPS_DEVICE_TYPE           equ 4h
MCI_GETDEVCAPS_USES_FILES            equ 5h
MCI_GETDEVCAPS_COMPOUND_DEVICE       equ 6h
MCI_GETDEVCAPS_CAN_EJECT             equ 7h
MCI_GETDEVCAPS_CAN_PLAY              equ 8h
MCI_GETDEVCAPS_CAN_SAVE              equ 9h
MCI_SYSINFO_QUANTITY                 equ 100h
MCI_SYSINFO_OPEN                     equ 200h
MCI_SYSINFO_NAME                     equ 400h
MCI_SYSINFO_INSTALLNAME              equ 800h
MCI_SET_DOOR_OPEN                    equ 100h
MCI_SET_DOOR_CLOSED                  equ 200h
MCI_SET_TIME_FORMAT                  equ 400h
MCI_SET_AUDIO                        equ 800h
MCI_SET_VIDEO                        equ 1000h
MCI_SET_ON                           equ 2000h
MCI_SET_OFF                          equ 4000h
MCI_SET_AUDIO_ALL                    equ 4001h
MCI_SET_AUDIO_LEFT                   equ 4002h
MCI_SET_AUDIO_RIGHT                  equ 4003h
MCI_BREAK_KEY                        equ 100h
MCI_BREAK_HWND                       equ 200h
MCI_BREAK_OFF                        equ 400h
MCI_RECORD_INSERT                    equ 100h
MCI_RECORD_OVERWRITE                 equ 200h
MCI_SOUND_NAME                       equ 100h
MCI_SAVE_FILE                        equ 100h
MCI_LOAD_FILE                        equ 100h
MCI_VD_MODE_PARK                     equ MCI_VD_OFFSET + 1
MCI_VD_MEDIA_CLV                     equ MCI_VD_OFFSET + 2
MCI_VD_MEDIA_CAV                     equ MCI_VD_OFFSET + 3
MCI_VD_MEDIA_OTHER                   equ MCI_VD_OFFSET + 4
MCI_VD_FORMAT_TRACK                  equ 4001h
MCI_VD_PLAY_REVERSE                  equ 10000h
MCI_VD_PLAY_FAST                     equ 20000h
MCI_VD_PLAY_SPEED                    equ 40000h
MCI_VD_PLAY_SCAN                     equ 80000h
MCI_VD_PLAY_SLOW                     equ 100000h
MCI_VD_SEEK_REVERSE                  equ 10000h
MCI_VD_STATUS_SPEED                  equ 4002h
MCI_VD_STATUS_FORWARD                equ 4003h
MCI_VD_STATUS_MEDIA_TYPE             equ 4004h
MCI_VD_STATUS_SIDE                   equ 4005h
MCI_VD_STATUS_DISC_SIZE              equ 4006h
MCI_VD_GETDEVCAPS_CLV                equ 10000h
MCI_VD_GETDEVCAPS_CAV                equ 20000h
MCI_VD_SPIN_UP                       equ 10000h
MCI_VD_SPIN_DOWN                     equ 20000h
MCI_VD_GETDEVCAPS_CAN_REVERSE        equ 4002h
MCI_VD_GETDEVCAPS_FAST_RATE          equ 4003h
MCI_VD_GETDEVCAPS_SLOW_RATE          equ 4004h
MCI_VD_GETDEVCAPS_NORMAL_RATE        equ 4005h
MCI_VD_STEP_FRAMES                   equ 10000h
MCI_VD_STEP_REVERSE                  equ 20000h
MCI_VD_ESCAPE_STRING                 equ 100h
MCI_WAVE_PCM                         equ MCI_WAVE_OFFSET + 0
MCI_WAVE_MAPPER                      equ MCI_WAVE_OFFSET + 1
MCI_WAVE_OPEN_BUFFER                 equ 10000h
MCI_WAVE_SET_FORMATTAG               equ 10000h
MCI_WAVE_SET_CHANNELS                equ 20000h
MCI_WAVE_SET_SAMPLESPERSEC           equ 40000h
MCI_WAVE_SET_AVGBYTESPERSEC          equ 80000h
MCI_WAVE_SET_BLOCKALIGN              equ 100000h
MCI_WAVE_SET_BITSPERSAMPLE           equ 200000h
MCI_WAVE_INPUT                       equ 400000h
MCI_WAVE_OUTPUT                      equ 800000h
MCI_WAVE_STATUS_FORMATTAG            equ 4001h
MCI_WAVE_STATUS_CHANNELS             equ 4002h
MCI_WAVE_STATUS_SAMPLESPERSEC        equ 4003h
MCI_WAVE_STATUS_AVGBYTESPERSEC       equ 4004h
MCI_WAVE_STATUS_BLOCKALIGN           equ 4005h
MCI_WAVE_STATUS_BITSPERSAMPLE        equ 4006h
MCI_WAVE_STATUS_LEVEL                equ 4007h
MCI_WAVE_SET_ANYINPUT                equ 4000000h
MCI_WAVE_SET_ANYOUTPUT               equ 8000000h
MCI_WAVE_GETDEVCAPS_INPUTS           equ 4001h
MCI_WAVE_GETDEVCAPS_OUTPUTS          equ 4002h
MCI_SEQ_DIV_PPQN                     equ 0 + MCI_SEQ_OFFSET
MCI_SEQ_DIV_SMPTE_24                 equ 1 + MCI_SEQ_OFFSET
MCI_SEQ_DIV_SMPTE_25                 equ 2 + MCI_SEQ_OFFSET
MCI_SEQ_DIV_SMPTE_30DROP             equ 3 + MCI_SEQ_OFFSET
MCI_SEQ_DIV_SMPTE_30                 equ 4 + MCI_SEQ_OFFSET
MCI_SEQ_FORMAT_SONGPTR               equ 4001h
MCI_SEQ_FILE                         equ 4002h
MCI_SEQ_MIDI                         equ 4003h
MCI_SEQ_SMPTE                        equ 4004h
MCI_SEQ_NONE                         equ 65533
MCI_SEQ_MAPPER                       equ 65535
MCI_SEQ_STATUS_TEMPO                 equ 4002h
MCI_SEQ_STATUS_PORT                  equ 4003h
MCI_SEQ_STATUS_SLAVE                 equ 4007h
MCI_SEQ_STATUS_MASTER                equ 4008h
MCI_SEQ_STATUS_OFFSET                equ 4009h
MCI_SEQ_STATUS_DIVTYPE               equ 400Ah
MCI_SEQ_SET_TEMPO                    equ 10000h
MCI_SEQ_SET_PORT                     equ 20000h
MCI_SEQ_SET_SLAVE                    equ 40000h
MCI_SEQ_SET_MASTER                   equ 80000h
MCI_SEQ_SET_OFFSET                   equ 1000000h
MCI_ANIM_OPEN_WS                     equ 10000h
MCI_ANIM_OPEN_PARENT                 equ 20000h
MCI_ANIM_OPEN_NOSTATIC               equ 40000h
MCI_ANIM_PLAY_SPEED                  equ 10000h
MCI_ANIM_PLAY_REVERSE                equ 20000h
MCI_ANIM_PLAY_FAST                   equ 40000h
MCI_ANIM_PLAY_SLOW                   equ 80000h
MCI_ANIM_PLAY_SCAN                   equ 100000h
MCI_ANIM_STEP_REVERSE                equ 10000h
MCI_ANIM_STEP_FRAMES                 equ 20000h
MCI_ANIM_STATUS_SPEED                equ 4001h
MCI_ANIM_STATUS_FORWARD              equ 4002h
MCI_ANIM_STATUS_HWND                 equ 4003h
MCI_ANIM_STATUS_HPAL                 equ 4004h
MCI_ANIM_STATUS_STRETCH              equ 4005h
MCI_ANIM_INFO_TEXT                   equ 10000h
MCI_ANIM_GETDEVCAPS_CAN_REVERSE      equ 4001h
MCI_ANIM_GETDEVCAPS_FAST_RATE        equ 4002h
MCI_ANIM_GETDEVCAPS_SLOW_RATE        equ 4003h
MCI_ANIM_GETDEVCAPS_NORMAL_RATE      equ 4004h
MCI_ANIM_GETDEVCAPS_PALETTES         equ 4006h
MCI_ANIM_GETDEVCAPS_CAN_STRETCH      equ 4007h
MCI_ANIM_GETDEVCAPS_MAX_WINDOWS      equ 4008h
MCI_ANIM_REALIZE_NORM                equ 10000h
MCI_ANIM_REALIZE_BKGD                equ 20000h
MCI_ANIM_WINDOW_HWND                 equ 10000h
MCI_ANIM_WINDOW_STATE                equ 40000h
MCI_ANIM_WINDOW_TEXT                 equ 80000h
MCI_ANIM_WINDOW_ENABLE_STRETCH       equ 100000h
MCI_ANIM_WINDOW_DISABLE_STRETCH      equ 200000h
MCI_ANIM_WINDOW_DEFAULT              equ 0h
MCI_ANIM_RECT                        equ 10000h
MCI_ANIM_PUT_SOURCE                  equ 20000h
MCI_ANIM_PUT_DESTINATION             equ 40000h
MCI_ANIM_WHERE_SOURCE                equ 20000h
MCI_ANIM_WHERE_DESTINATION           equ 40000h
MCI_ANIM_UPDATE_HDC                  equ 20000h
MCI_OVLY_OPEN_WS                     equ 10000h
MCI_OVLY_OPEN_PARENT                 equ 20000h
MCI_OVLY_STATUS_HWND                 equ 4001h
MCI_OVLY_STATUS_STRETCH              equ 4002h
MCI_OVLY_INFO_TEXT                   equ 10000h
MCI_OVLY_GETDEVCAPS_CAN_STRETCH      equ 4001h
MCI_OVLY_GETDEVCAPS_CAN_FREEZE       equ 4002h
MCI_OVLY_GETDEVCAPS_MAX_WINDOWS      equ 4003h
MCI_OVLY_WINDOW_HWND                 equ 10000h
MCI_OVLY_WINDOW_STATE                equ 40000h
MCI_OVLY_WINDOW_TEXT                 equ 80000h
MCI_OVLY_WINDOW_ENABLE_STRETCH       equ 100000h
MCI_OVLY_WINDOW_DISABLE_STRETCH      equ 200000h
MCI_OVLY_WINDOW_DEFAULT              equ 0h
MCI_OVLY_RECT                        equ 10000h
MCI_OVLY_PUT_SOURCE                  equ 20000h
MCI_OVLY_PUT_DESTINATION             equ 40000h
MCI_OVLY_PUT_FRAME                   equ 80000h
MCI_OVLY_PUT_VIDEO                   equ 100000h
MCI_OVLY_WHERE_SOURCE                equ 20000h
MCI_OVLY_WHERE_DESTINATION           equ 40000h
MCI_OVLY_WHERE_FRAME                 equ 80000h
MCI_OVLY_WHERE_VIDEO                 equ 100000h
CAPS1                                equ 94
C1_TRANSPARENT                       equ 1h
NEWTRANSPARENT                       equ 3
QUERYROPSUPPORT                      equ 40
SELECTDIB                            equ 41
SE_ERR_SHARE                         equ 26
SE_ERR_ASSOCINCOMPLETE               equ 27
SE_ERR_DDETIMEOUT                    equ 28
SE_ERR_DDEFAIL                       equ 29
SE_ERR_DDEBUSY                       equ 30
SE_ERR_NOASSOC                       equ 31
PRINTER_CONTROL_PAUSE                equ 1
PRINTER_CONTROL_RESUME               equ 2
PRINTER_CONTROL_PURGE                equ 3
PRINTER_STATUS_PAUSED                equ 1h
PRINTER_STATUS_ERROR                 equ 2h
PRINTER_STATUS_PENDING_DELETION      equ 4h
PRINTER_STATUS_PAPER_JAM             equ 8h
PRINTER_STATUS_PAPER_OUT             equ 10h
PRINTER_STATUS_MANUAL_FEED           equ 20h
PRINTER_STATUS_PAPER_PROBLEM         equ 40h
PRINTER_STATUS_OFFLINE               equ 80h
PRINTER_STATUS_IO_ACTIVE             equ 100h
PRINTER_STATUS_BUSY                  equ 200h
PRINTER_STATUS_PRINTING              equ 400h
PRINTER_STATUS_OUTPUT_BIN_FULL       equ 800h
PRINTER_STATUS_NOT_AVAILABLE         equ 1000h
PRINTER_STATUS_WAITING               equ 2000h
PRINTER_STATUS_PROCESSING            equ 4000h
PRINTER_STATUS_INITIALIZING          equ 8000h
PRINTER_STATUS_WARMING_UP            equ 10000h
PRINTER_STATUS_TONER_LOW             equ 20000h
PRINTER_STATUS_NO_TONER              equ 40000h
PRINTER_STATUS_PAGE_PUNT             equ 80000h
PRINTER_STATUS_USER_INTERVENTION     equ 100000h
PRINTER_STATUS_OUT_OF_MEMORY         equ 200000h
PRINTER_STATUS_DOOR_OPEN             equ 400000h
PRINTER_ATTRIBUTE_QUEUED             equ 1h
PRINTER_ATTRIBUTE_DIRECT             equ 2h
PRINTER_ATTRIBUTE_DEFAULT            equ 4h
PRINTER_ATTRIBUTE_SHARED             equ 8h
PRINTER_ATTRIBUTE_NETWORK            equ 10h
PRINTER_ATTRIBUTE_HIDDEN             equ 20h
PRINTER_ATTRIBUTE_LOCAL              equ 40h
NO_PRIORITY                          equ 0
MAX_PRIORITY                         equ 99
MIN_PRIORITY                         equ 1
DEF_PRIORITY                         equ 1
JOB_CONTROL_PAUSE                    equ 1
JOB_CONTROL_RESUME                   equ 2
JOB_CONTROL_CANCEL                   equ 3
JOB_CONTROL_RESTART                  equ 4
JOB_STATUS_PAUSED                    equ 1h
JOB_STATUS_ERROR                     equ 2h
JOB_STATUS_DELETING                  equ 4h
JOB_STATUS_SPOOLING                  equ 8h
JOB_STATUS_PRINTING                  equ 10h
JOB_STATUS_OFFLINE                   equ 20h
JOB_STATUS_PAPEROUT                  equ 40h
JOB_STATUS_PRINTED                   equ 80h
JOB_POSITION_UNSPECIFIED             equ 0
FORM_BUILTIN                         equ 1h
PRINTER_CONTROL_SET_STATUS           equ 4
PRINTER_ATTRIBUTE_WORK_OFFLINE       equ 400h
PRINTER_ATTRIBUTE_ENABLE_BIDI        equ 800h
JOB_CONTROL_DELETE                   equ 5
JOB_STATUS_USER_INTERVENTION         equ 10000h
DI_CHANNEL                           equ 1
DI_READ_SPOOL_JOB                    equ 3
PORT_TYPE_WRITE                      equ 1h
PORT_TYPE_READ                       equ 2h
PORT_TYPE_REDIRECTED                 equ 4h
PORT_TYPE_NET_ATTACHED               equ 8h
PRINTER_ENUM_DEFAULT                 equ 1h
PRINTER_ENUM_LOCAL                   equ 2h
PRINTER_ENUM_CONNECTIONS             equ 4h
PRINTER_ENUM_FAVORITE                equ 4h
PRINTER_ENUM_NAME                    equ 8h
PRINTER_ENUM_REMOTE                  equ 10h
PRINTER_ENUM_SHARED                  equ 20h
PRINTER_ENUM_NETWORK                 equ 40h
PRINTER_ENUM_EXPAND                  equ 4000h
PRINTER_ENUM_CONTAINER               equ 8000h
PRINTER_ENUM_ICONMASK                equ 0FF0000h
PRINTER_ENUM_ICON1                   equ 10000h
PRINTER_ENUM_ICON2                   equ 20000h
PRINTER_ENUM_ICON3                   equ 40000h
PRINTER_ENUM_ICON4                   equ 80000h
PRINTER_ENUM_ICON5                   equ 100000h
PRINTER_ENUM_ICON6                   equ 200000h
PRINTER_ENUM_ICON7                   equ 400000h
PRINTER_ENUM_ICON8                   equ 800000h
PRINTER_CHANGE_ADD_PRINTER           equ 1h
PRINTER_CHANGE_SET_PRINTER           equ 2h
PRINTER_CHANGE_DELETE_PRINTER        equ 4h
PRINTER_CHANGE_PRINTER               equ 0FFh
PRINTER_CHANGE_ADD_JOB               equ 100h
PRINTER_CHANGE_SET_JOB               equ 200h
PRINTER_CHANGE_DELETE_JOB            equ 400h
PRINTER_CHANGE_WRITE_JOB             equ 800h
PRINTER_CHANGE_JOB                   equ 0FF00h
PRINTER_CHANGE_ADD_FORM              equ 10000h
PRINTER_CHANGE_SET_FORM              equ 20000h
PRINTER_CHANGE_DELETE_FORM           equ 40000h
PRINTER_CHANGE_FORM                  equ 70000h
PRINTER_CHANGE_ADD_PORT              equ 100000h
PRINTER_CHANGE_CONFIGURE_PORT        equ 200000h
PRINTER_CHANGE_DELETE_PORT           equ 400000h
PRINTER_CHANGE_PORT                  equ 700000h
PRINTER_CHANGE_ADD_PRINT_PROCESSOR   equ 1000000h
PRINTER_CHANGE_DELETE_PRINT_PROCESSOR                equ 4000000h
PRINTER_CHANGE_PRINT_PROCESSOR       equ 7000000h
PRINTER_CHANGE_ADD_PRINTER_DRIVER    equ 10000000h
PRINTER_CHANGE_DELETE_PRINTER_DRIVER equ 40000000h
PRINTER_CHANGE_PRINTER_DRIVER        equ 70000000h
PRINTER_CHANGE_TIMEOUT               equ 80000000h
PRINTER_CHANGE_ALL                   equ 7777FFFFh
PRINTER_ERROR_INFORMATION            equ 80000000h
PRINTER_ERROR_WARNING                equ 40000000h
PRINTER_ERROR_SEVERE                 equ 20000000h
PRINTER_ERROR_OUTOFPAPER             equ 1h
PRINTER_ERROR_JAM                    equ 2h
PRINTER_ERROR_OUTOFTONER             equ 4h
SERVER_ACCESS_ADMINISTER             equ 1h
SERVER_ACCESS_ENUMERATE              equ 2h
PRINTER_ACCESS_ADMINISTER            equ 4h
PRINTER_ACCESS_USE                   equ 8h
JOB_ACCESS_ADMINISTER                equ 10h
SERVER_ALL_ACCESS                    equ STANDARD_RIGHTS_REQUIRED OR SERVER_ACCESS_ADMINISTER OR SERVER_ACCESS_ENUMERATE
SERVER_READ                          equ STANDARD_RIGHTS_READ OR SERVER_ACCESS_ENUMERATE
SERVER_WRITE                         equ STANDARD_RIGHTS_WRITE OR SERVER_ACCESS_ADMINISTER OR SERVER_ACCESS_ENUMERATE
SERVER_EXECUTE                       equ STANDARD_RIGHTS_EXECUTE OR SERVER_ACCESS_ENUMERATE
PRINTER_ALL_ACCESS                   equ STANDARD_RIGHTS_REQUIRED OR PRINTER_ACCESS_ADMINISTER OR PRINTER_ACCESS_USE
PRINTER_READ                         equ STANDARD_RIGHTS_READ OR PRINTER_ACCESS_USE
PRINTER_WRITE                        equ STANDARD_RIGHTS_WRITE OR PRINTER_ACCESS_USE
PRINTER_EXECUTE                      equ STANDARD_RIGHTS_EXECUTE OR PRINTER_ACCESS_USE
JOB_ALL_ACCESS                       equ STANDARD_RIGHTS_REQUIRED OR JOB_ACCESS_ADMINISTER
JOB_READ                             equ STANDARD_RIGHTS_READ OR JOB_ACCESS_ADMINISTER
JOB_WRITE                            equ STANDARD_RIGHTS_WRITE OR JOB_ACCESS_ADMINISTER
JOB_EXECUTE                          equ STANDARD_RIGHTS_EXECUTE OR JOB_ACCESS_ADMINISTER
RESOURCE_CONNECTED                   equ 1h
RESOURCE_PUBLICNET                   equ 2h
RESOURCE_GLOBALNET                   equ 2h
RESOURCE_REMEMBERED                  equ 3h
RESOURCE_RECENT                      equ 4h
RESOURCE_CONTEXT                     equ 5h
RESOURCETYPE_ANY                     equ 0h
RESOURCETYPE_DISK                    equ 1h
RESOURCETYPE_PRINT                   equ 2h
RESOURCETYPE_UNKNOWN                 equ 0FFFFh
RESOURCEUSAGE_CONNECTABLE            equ 1h
RESOURCEUSAGE_CONTAINER              equ 2h
RESOURCEUSAGE_RESERVED               equ 80000000h
RESOURCEDISPLAYTYPE_GENERIC          equ 0h
RESOURCEDISPLAYTYPE_DOMAIN           equ 1h
RESOURCEDISPLAYTYPE_SERVER           equ 2h
RESOURCEDISPLAYTYPE_SHARE            equ 3h
RESOURCEDISPLAYTYPE_FILE             equ 4h
RESOURCEDISPLAYTYPE_GROUP            equ 5h
CONNECT_UPDATE_PROFILE               equ 1h
WN_SUCCESS                           equ NO_ERROR
WN_NOT_SUPPORTED                     equ ERROR_NOT_SUPPORTED
WN_NET_ERROR                         equ ERROR_UNEXP_NET_ERR
WN_MORE_DATA                         equ ERROR_MORE_DATA
WN_BAD_POINTER                       equ ERROR_INVALID_ADDRESS
WN_BAD_VALUE                         equ ERROR_INVALID_PARAMETER
WN_BAD_PASSWORD                      equ ERROR_INVALID_PASSWORD
WN_ACCESS_DENIED                     equ ERROR_ACCESS_DENIED
WN_FUNCTION_BUSY                     equ ERROR_BUSY
WN_WINDOWS_ERROR                     equ ERROR_UNEXP_NET_ERR
WN_BAD_USER                          equ ERROR_BAD_USERNAME
WN_OUT_OF_MEMORY                     equ ERROR_NOT_ENOUGH_MEMORY
WN_NO_NETWORK                        equ ERROR_NO_NETWORK
WN_EXTENDED_ERROR                    equ ERROR_EXTENDED_ERROR
WN_NOT_CONNECTED                     equ ERROR_NOT_CONNECTED
WN_OPEN_FILES                        equ ERROR_OPEN_FILES
WN_DEVICE_IN_USE                     equ ERROR_DEVICE_IN_USE
WN_BAD_NETNAME                       equ ERROR_BAD_NET_NAME
WN_BAD_LOCALNAME                     equ ERROR_BAD_DEVICE
WN_ALREADY_CONNECTED                 equ ERROR_ALREADY_ASSIGNED
WN_DEVICE_ERROR                      equ ERROR_GEN_FAILURE
WN_CONNECTION_CLOSED                 equ ERROR_CONNECTION_UNAVAIL
WN_NO_NET_OR_BAD_PATH                equ ERROR_NO_NET_OR_BAD_PATH
WN_BAD_PROVIDER                      equ ERROR_BAD_PROVIDER
WN_CANNOT_OPEN_PROFILE               equ ERROR_CANNOT_OPEN_PROFILE
WN_BAD_PROFILE                       equ ERROR_BAD_PROFILE
WN_BAD_HANDLE                        equ ERROR_INVALID_HANDLE
WN_NO_MORE_ENTRIES                   equ ERROR_NO_MORE_ITEMS
WN_NOT_CONTAINER                     equ ERROR_NOT_CONTAINER
WN_NO_ERROR                          equ NO_ERROR
NCBNAMSZ                             equ 16
MAX_LANA                             equ 254
NAME_FLAGS_MASK                      equ 87h
GROUP_NAME                           equ 80h
UNIQUE_NAME                          equ 0h
REGISTERING                          equ 0h
REGISTERED                           equ 4h
DEREGISTERED                         equ 5h
DUPLICATE                            equ 6h
DUPLICATE_DEREG                      equ 7h
LISTEN_OUTSTANDING                   equ 1h
CALL_PENDING                         equ 2h
SESSION_ESTABLISHED                  equ 3h
HANGUP_PENDING                       equ 4h
HANGUP_COMPLETE                      equ 5h
SESSION_ABORTED                      equ 6h
NCBCALL                              equ 10h
NCBLISTEN                            equ 11h
NCBHANGUP                            equ 12h
NCBSEND                              equ 14h
NCBRECV                              equ 15h
NCBRECVANY                           equ 16h
NCBCHAINSEND                         equ 17h
NCBDGSEND                            equ 20h
NCBDGRECV                            equ 21h
NCBDGSENDBC                          equ 22h
NCBDGRECVBC                          equ 23h
NCBADDNAME                           equ 30h
NCBDELNAME                           equ 31h
NCBRESET                             equ 32h
NCBASTAT                             equ 33h
NCBSSTAT                             equ 34h
NCBCANCEL                            equ 35h
NCBADDGRNAME                         equ 36h
NCBENUM                              equ 37h
NCBUNLINK                            equ 70h
NCBSENDNA                            equ 71h
NCBCHAINSENDNA                       equ 72h
NCBLANSTALERT                        equ 73h
NCBACTION                            equ 77h
NCBFINDNAME                          equ 78h
NCBTRACE                             equ 79h
ASYNCH                               equ 80h
NRC_GOODRET                          equ 0h
NRC_BUFLEN                           equ 1h
NRC_ILLCMD                           equ 3h
NRC_CMDTMO                           equ 5h
NRC_INCOMP                           equ 6h
NRC_BADDR                            equ 7h
NRC_SNUMOUT                          equ 8h
NRC_NORES                            equ 9h
NRC_SCLOSED                          equ 0Ah
NRC_CMDCAN                           equ 0Bh
NRC_DUPNAME                          equ 0Dh
NRC_NAMTFUL                          equ 0Eh
NRC_ACTSES                           equ 0Fh
NRC_LOCTFUL                          equ 11h
NRC_REMTFUL                          equ 12h
NRC_ILLNN                            equ 13h
NRC_NOCALL                           equ 14h
NRC_NOWILD                           equ 15h
NRC_INUSE                            equ 16h
NRC_NAMERR                           equ 17h
NRC_SABORT                           equ 18h
NRC_NAMCONF                          equ 19h
NRC_IFBUSY                           equ 21h
NRC_TOOMANY                          equ 22h
NRC_BRIDGE                           equ 23h
NRC_CANOCCR                          equ 24h
NRC_CANCEL                           equ 26h
NRC_DUPENV                           equ 30h
NRC_ENVNOTDEF                        equ 34h
NRC_OSRESNOTAV                       equ 35h
NRC_MAXAPPS                          equ 36h
NRC_NOSAPS                           equ 37h
NRC_NORESOURCES                      equ 38h
NRC_INVADDRESS                       equ 39h
NRC_INVDDID                          equ 3Bh
NRC_LOCKFAIL                         equ 3Ch
NRC_OPENERR                          equ 3Fh
NRC_SYSTEM                           equ 40h
NRC_PENDING                          equ 0FFh
EXCEPTION_EXECUTE_HANDLER            equ 1
EXCEPTION_CONTINUE_SEARCH            equ 0
EXCEPTION_CONTINUE_EXECUTION         equ -1
ctlFirst                             equ 400h
ctlLast                              equ 4FFh
psh1                                 equ 400h
psh2                                 equ 401h
psh3                                 equ 402h
psh4                                 equ 403h
psh5                                 equ 404h
psh6                                 equ 405h
psh7                                 equ 406h
psh8                                 equ 407h
psh9                                 equ 408h
psh10                                equ 409h
psh11                                equ 40Ah
psh12                                equ 40Bh
psh13                                equ 40Ch
psh14                                equ 40Dh
psh15                                equ 40Eh
pshHelp                              equ psh15
psh16                                equ 40Fh
chx1                                 equ 410h
chx2                                 equ 411h
chx3                                 equ 412h
chx4                                 equ 413h
chx5                                 equ 414h
chx6                                 equ 415h
chx7                                 equ 416h
chx8                                 equ 417h
chx9                                 equ 418h
chx10                                equ 419h
chx11                                equ 41Ah
chx12                                equ 41Bh
chx13                                equ 41Ch
chx14                                equ 41Dh
chx15                                equ 41Eh
chx16                                equ 41Dh
rad1                                 equ 420h
rad2                                 equ 421h
rad3                                 equ 422h
rad4                                 equ 423h
rad5                                 equ 424h
rad6                                 equ 425h
rad7                                 equ 426h
rad8                                 equ 427h
rad9                                 equ 428h
rad10                                equ 429h
rad11                                equ 42Ah
rad12                                equ 42Bh
rad13                                equ 42Ch
rad14                                equ 42Dh
rad15                                equ 42Eh
rad16                                equ 42Fh
grp1                                 equ 430h
grp2                                 equ 431h
grp3                                 equ 432h
grp4                                 equ 433h
frm1                                 equ 434h
frm2                                 equ 435h
frm3                                 equ 436h
frm4                                 equ 437h
rct1                                 equ 438h
rct2                                 equ 439h
rct3                                 equ 43Ah
rct4                                 equ 43Bh
ico1                                 equ 43Ch
ico2                                 equ 43Dh
ico3                                 equ 43Eh
ico4                                 equ 43Fh
stc1                                 equ 440h
stc2                                 equ 441h
stc3                                 equ 442h
stc4                                 equ 443h
stc5                                 equ 444h
stc6                                 equ 445h
stc7                                 equ 446h
stc8                                 equ 447h
stc9                                 equ 448h
stc10                                equ 449h
stc11                                equ 44Ah
stc12                                equ 44Bh
stc13                                equ 44Ch
stc14                                equ 44Dh
stc15                                equ 44Eh
stc16                                equ 44Fh
stc17                                equ 450h
stc18                                equ 451h
stc19                                equ 452h
stc20                                equ 453h
stc21                                equ 454h
stc22                                equ 455h
stc23                                equ 456h
stc24                                equ 457h
stc25                                equ 458h
stc26                                equ 459h
stc27                                equ 45Ah
stc28                                equ 45Bh
stc29                                equ 45Ch
stc30                                equ 45Dh
stc31                                equ 45Eh
stc32                                equ 45Fh
lst1                                 equ 460h
lst2                                 equ 461h
lst3                                 equ 462h
lst4                                 equ 463h
lst5                                 equ 464h
lst6                                 equ 465h
lst7                                 equ 466h
lst8                                 equ 467h
lst9                                 equ 468h
lst10                                equ 469h
lst11                                equ 46Ah
lst12                                equ 46Bh
lst13                                equ 46Ch
lst14                                equ 46Dh
lst15                                equ 46Eh
lst16                                equ 46Fh
cmb1                                 equ 470h
cmb2                                 equ 471h
cmb3                                 equ 472h
cmb4                                 equ 473h
cmb5                                 equ 474h
cmb6                                 equ 475h
cmb7                                 equ 476h
cmb8                                 equ 477h
cmb9                                 equ 478h
cmb10                                equ 479h
cmb11                                equ 47Ah
cmb12                                equ 47Bh
cmb13                                equ 47Ch
cmb14                                equ 47Dh
cmb15                                equ 47Eh
cmb16                                equ 47Fh
edt1                                 equ 480h
edt2                                 equ 481h
edt3                                 equ 482h
edt4                                 equ 483h
edt5                                 equ 484h
edt6                                 equ 485h
edt7                                 equ 486h
edt8                                 equ 487h
edt9                                 equ 488h
edt10                                equ 489h
edt11                                equ 48Ah
edt12                                equ 48Bh
edt13                                equ 48Ch
edt14                                equ 48Dh
edt15                                equ 48Eh
edt16                                equ 48Fh
scr1                                 equ 490h
scr2                                 equ 491h
scr3                                 equ 492h
scr4                                 equ 493h
scr5                                 equ 494h
scr6                                 equ 495h
scr7                                 equ 496h
scr8                                 equ 497h
FILEOPENORD                          equ 1536
MULTIFILEOPENORD                     equ 1537
PRINTDLGORD                          equ 1538
PRNSETUPDLGORD                       equ 1539
FINDDLGORD                           equ 1540
REPLACEDLGORD                        equ 1541
FONTDLGORD                           equ 1542
FORMATDLGORD31                       equ 1543
FORMATDLGORD30                       equ 1544
SERVICE_NO_CHANGE                    equ 0FFFFFFFFh
SERVICE_ACTIVE                       equ 1h
SERVICE_INACTIVE                     equ 2h
SERVICE_STATE_ALL                    equ SERVICE_ACTIVE OR SERVICE_INACTIVE
SERVICE_CONTROL_STOP                 equ 1h
SERVICE_CONTROL_PAUSE                equ 2h
SERVICE_CONTROL_CONTINUE             equ 3h
SERVICE_CONTROL_INTERROGATE          equ 4h
SERVICE_CONTROL_SHUTDOWN             equ 5h
SERVICE_STOPPED                      equ 1h
SERVICE_START_PENDING                equ 2h
SERVICE_STOP_PENDING                 equ 3h
SERVICE_RUNNING                      equ 4h
SERVICE_CONTINUE_PENDING             equ 5h
SERVICE_PAUSE_PENDING                equ 6h
SERVICE_PAUSED                       equ 7h
SERVICE_ACCEPT_STOP                  equ 1h
SERVICE_ACCEPT_PAUSE_CONTINUE        equ 2h
SERVICE_ACCEPT_SHUTDOWN              equ 4h
SC_MANAGER_CONNECT                   equ 1h
SC_MANAGER_CREATE_SERVICE            equ 2h
SC_MANAGER_ENUMERATE_SERVICE         equ 4h
SC_MANAGER_LOCK                      equ 8h
SC_MANAGER_QUERY_LOCK_STATUS         equ 10h
SC_MANAGER_MODIFY_BOOT_CONFIG        equ 20h
SC_MANAGER_ALL_ACCESS                equ STANDARD_RIGHTS_REQUIRED OR SC_MANAGER_CONNECT OR SC_MANAGER_CREATE_SERVICE OR SC_MANAGER_ENUMERATE_SERVICE OR SC_MANAGER_LOCK or SC_MANAGER_QUERY_LOCK_STATUS or SC_MANAGER_MODIFY_BOOT_CONFIG
SERVICE_QUERY_CONFIG                 equ 1h
SERVICE_CHANGE_CONFIG                equ 2h
SERVICE_QUERY_STATUS                 equ 4h
SERVICE_ENUMERATE_DEPENDENTS         equ 8h
SERVICE_START                        equ 10h
SERVICE_STOP                         equ 20h
SERVICE_PAUSE_CONTINUE               equ 40h
SERVICE_INTERROGATE                  equ 80h
SERVICE_USER_DEFINED_CONTROL         equ 100h
SERVICE_ALL_ACCESS                   equ STANDARD_RIGHTS_REQUIRED OR SERVICE_QUERY_CONFIG OR SERVICE_CHANGE_CONFIG OR SERVICE_QUERY_STATUS or SERVICE_ENUMERATE_DEPENDENTS or SERVICE_START or SERVICE_STOP or SERVICE_PAUSE_CONTINUE or SERVICE_INTERROGATE or SERVICE_USER_DEFINED_CONTROL
PERF_DATA_VERSION                    equ 1
PERF_DATA_REVISION                   equ 1
PERF_NO_INSTANCES                    equ -1
PERF_SIZE_DWORD                      equ 0h
PERF_SIZE_LARGE                      equ 100h
PERF_SIZE_ZERO                       equ 200h
PERF_SIZE_VARIABLE_LEN               equ 300h
PERF_TYPE_NUMBER                     equ 0h
PERF_TYPE_COUNTER                    equ 400h
PERF_TYPE_TEXT                       equ 800h
PERF_TYPE_ZERO                       equ 0C00h
PERF_NUMBER_HEX                      equ 0h
PERF_NUMBER_DECIMAL                  equ 10000h
PERF_NUMBER_DEC_1000                 equ 20000h
PERF_COUNTER_VALUE                   equ 0h
PERF_COUNTER_RATE                    equ 10000h
PERF_COUNTER_FRACTION                equ 20000h
PERF_COUNTER_BASE                    equ 30000h
PERF_COUNTER_ELAPSED                 equ 40000h
PERF_COUNTER_QUEUELEN                equ 50000h
PERF_COUNTER_HISTOGRAM               equ 60000h
PERF_TEXT_UNICODE                    equ 0h
PERF_TEXT_ASCII                      equ 10000h
PERF_TIMER_TICK                      equ 0h
PERF_TIMER_100NS                     equ 100000h
PERF_OBJECT_TIMER                    equ 200000h
PERF_DELTA_COUNTER                   equ 400000h
PERF_DELTA_BASE                      equ 800000h
PERF_INVERSE_COUNTER                 equ 1000000h
PERF_MULTI_COUNTER                   equ 2000000h
PERF_DISPLAY_NO_SUFFIX               equ 0h
PERF_DISPLAY_PER_SEC                 equ 10000000h
PERF_DISPLAY_PERCENT                 equ 20000000h
PERF_DISPLAY_SECONDS                 equ 30000000h
PERF_DISPLAY_NOSHOW                  equ 40000000h
PERF_COUNTER_COUNTER                 equ PERF_SIZE_DWORD OR PERF_TYPE_COUNTER OR PERF_COUNTER_RATE OR PERF_TIMER_TICK OR PERF_DELTA_COUNTER OR PERF_DISPLAY_PER_SEC
PERF_COUNTER_TIMER                   equ PERF_SIZE_LARGE OR PERF_TYPE_COUNTER OR PERF_COUNTER_RATE OR PERF_TIMER_TICK OR PERF_DELTA_COUNTER OR PERF_DISPLAY_PERCENT
PERF_COUNTER_QUEUELEN_TYPE           equ PERF_SIZE_DWORD OR PERF_TYPE_COUNTER OR PERF_COUNTER_QUEUELEN OR PERF_TIMER_TICK OR PERF_DELTA_COUNTER OR PERF_DISPLAY_NO_SUFFIX
PERF_COUNTER_BULK_COUNT              equ PERF_SIZE_LARGE OR PERF_TYPE_COUNTER OR PERF_COUNTER_RATE OR PERF_TIMER_TICK OR PERF_DELTA_COUNTER OR PERF_DISPLAY_PER_SEC
PERF_COUNTER_TEXT                    equ PERF_SIZE_VARIABLE_LEN OR PERF_TYPE_TEXT OR PERF_TEXT_UNICODE OR PERF_DISPLAY_NO_SUFFIX
PERF_COUNTER_RAWCOUNT                equ PERF_SIZE_DWORD OR PERF_TYPE_NUMBER OR PERF_NUMBER_DECIMAL OR PERF_DISPLAY_NO_SUFFIX
PERF_SAMPLE_FRACTION                 equ PERF_SIZE_DWORD OR PERF_TYPE_COUNTER OR PERF_COUNTER_FRACTION OR PERF_DELTA_COUNTER OR PERF_DELTA_BASE OR PERF_DISPLAY_PERCENT
PERF_SAMPLE_COUNTER                  equ PERF_SIZE_DWORD OR PERF_TYPE_COUNTER OR PERF_COUNTER_RATE OR PERF_TIMER_TICK OR PERF_DELTA_COUNTER OR PERF_DISPLAY_NO_SUFFIX
PERF_COUNTER_NODATA                  equ PERF_SIZE_ZERO OR PERF_DISPLAY_NOSHOW
PERF_COUNTER_TIMER_INV               equ PERF_SIZE_LARGE OR PERF_TYPE_COUNTER OR PERF_COUNTER_RATE OR PERF_TIMER_TICK OR PERF_DELTA_COUNTER OR PERF_INVERSE_COUNTER OR PERF_DISPLAY_PERCENT
PERF_SAMPLE_BASE                     equ PERF_SIZE_DWORD OR PERF_TYPE_COUNTER OR PERF_COUNTER_BASE OR PERF_DISPLAY_NOSHOW OR 1h
PERF_AVERAGE_TIMER                   equ PERF_SIZE_DWORD OR PERF_TYPE_COUNTER OR PERF_COUNTER_FRACTION OR PERF_DISPLAY_SECONDS
PERF_AVERAGE_BASE                    equ PERF_SIZE_DWORD OR PERF_TYPE_COUNTER OR PERF_COUNTER_BASE OR PERF_DISPLAY_NOSHOW OR 2h
PERF_AVERAGE_BULK                    equ PERF_SIZE_LARGE OR PERF_TYPE_COUNTER OR PERF_COUNTER_FRACTION OR PERF_DISPLAY_NOSHOW
PERF_100NSEC_TIMER                   equ PERF_SIZE_LARGE OR PERF_TYPE_COUNTER OR PERF_COUNTER_RATE OR PERF_TIMER_100NS OR PERF_DELTA_COUNTER OR PERF_DISPLAY_PERCENT
PERF_100NSEC_TIMER_INV               equ PERF_SIZE_LARGE OR PERF_TYPE_COUNTER OR PERF_COUNTER_RATE OR PERF_TIMER_100NS OR PERF_DELTA_COUNTER OR PERF_INVERSE_COUNTER OR PERF_DISPLAY_PERCENT
PERF_COUNTER_MULTI_TIMER             equ PERF_SIZE_LARGE OR PERF_TYPE_COUNTER OR PERF_COUNTER_RATE OR PERF_DELTA_COUNTER OR PERF_TIMER_TICK OR PERF_MULTI_COUNTER OR PERF_DISPLAY_PERCENT
PERF_COUNTER_MULTI_TIMER_INV         equ PERF_SIZE_LARGE OR PERF_TYPE_COUNTER OR PERF_COUNTER_RATE OR PERF_DELTA_COUNTER OR PERF_MULTI_COUNTER OR PERF_TIMER_TICK OR PERF_INVERSE_COUNTER OR PERF_DISPLAY_PERCENT
PERF_COUNTER_MULTI_BASE              equ PERF_SIZE_LARGE OR PERF_TYPE_COUNTER OR PERF_COUNTER_BASE OR PERF_MULTI_COUNTER OR PERF_DISPLAY_NOSHOW
PERF_100NSEC_MULTI_TIMER             equ PERF_SIZE_LARGE OR PERF_TYPE_COUNTER OR PERF_DELTA_COUNTER OR PERF_COUNTER_RATE OR PERF_TIMER_100NS OR PERF_MULTI_COUNTER OR PERF_DISPLAY_PERCENT
PERF_100NSEC_MULTI_TIMER_INV         equ PERF_SIZE_LARGE OR PERF_TYPE_COUNTER OR PERF_DELTA_COUNTER OR PERF_COUNTER_RATE OR PERF_TIMER_100NS OR PERF_MULTI_COUNTER OR PERF_INVERSE_COUNTER OR PERF_DISPLAY_PERCENT
PERF_RAW_FRACTION                    equ PERF_SIZE_DWORD OR PERF_TYPE_COUNTER OR PERF_COUNTER_FRACTION OR PERF_DISPLAY_PERCENT
PERF_RAW_BASE                        equ PERF_SIZE_DWORD OR PERF_TYPE_COUNTER OR PERF_COUNTER_BASE OR PERF_DISPLAY_NOSHOW OR 3h
PERF_ELAPSED_TIME                    equ PERF_SIZE_LARGE OR PERF_TYPE_COUNTER OR PERF_COUNTER_ELAPSED OR PERF_OBJECT_TIMER OR PERF_DISPLAY_SECONDS
PERF_COUNTER_HISTOGRAM_TYPE          equ 80000000h
PERF_DETAIL_NOVICE                   equ 100
PERF_DETAIL_ADVANCED                 equ 200
PERF_DETAIL_EXPERT                   equ 300
PERF_DETAIL_WIZARD                   equ 400
PERF_NO_UNIQUE_ID                    equ -1
LZERROR_BADINHANDLE                  equ -1
LZERROR_BADOUTHANDLE                 equ -2
LZERROR_READ                         equ -3
LZERROR_WRITE                        equ -4
LZERROR_PUBLICLOC                    equ -5
LZERROR_GLOBLOCK                     equ -6
LZERROR_BADVALUE                     equ -7
LZERROR_UNKNOWNALG                   equ -8
VK_PROCESSKEY                        equ 0E5h
STYLE_DESCRIPTION_SIZE               equ 32
WM_CONVERTREQUESTEX                  equ 108h
PUINT TYPEDEF PTR UINT
LPCDLGTEMPLATE TYPEDEF PTR
DLGPROC TYPEDEF PTR
LPFNPSPCALLBACK TYPEDEF PTR
LPCWSTR TYPEDEF PTR WORD
PROPSHEETPAGE STRUC
	dwSize		DWORD ?
	dwFlags		DWORD ?
	hInstance	HINSTANCE ?
	UNION
		pszTemplate	LPCTSTR ?
		pResource	LPCDLGTEMPLATE ?
	ENDS
	UNION  
    	hIcon	HICON ?
		pszIcon	LPCTSTR ?
	ENDS
	pszTitle			LPCTSTR ?
	pfnDlgProc			DLGPROC ?
	lParam				LPARAM ?
	pfnCallback			LPFNPSPCALLBACK ?
	pcRefParent			PUINT ?
	pszHeaderTitle		LPCWSTR ?
	pszHeaderSubTitle	LPCWSTR ?               
PROPSHEETPAGE ENDS
LPPROPSHEETPAGE TYPEDEF PTR PROPSHEETPAGE
PCOLORREF TYPEDEF PTR COLORREF
LPCCHOOKPROC TYPEDEF PTR
CHOOSECOLOR STRUC
	lStructSize		DWORD ?
					DWORD ?
	hwndOwner		HWND ?
	hInstance		HWND ?
	rgbResult		COLORREF ?
					DWORD ?
	lpCustColors	PCOLORREF ?
	Flags			DWORD ?
					DWORD ?
	lCustData		LPARAM ?
	lpfnHook		LPCCHOOKPROC ?
	lpTemplateName	LPCTSTR ?
CHOOSECOLOR ENDS
LPCHOOSECOLOR TYPEDEF PTR CHOOSECOLOR
TBSTYLE_AUTOSIZE equ 10h
TB_SETCOLORSCHEME     equ  CCM_SETCOLORSCHEME
SWP_NOSENDCHANGING  equ 400h
CC_ANYCOLOR              equ 100h
TCN_FOCUSCHANGE        equ TCN_FIRST - 4

STREAM_SEEK_SET	equ  0
STREAM_SEEK_CUR	equ 1
STREAM_SEEK_END	equ  2

GTL_DEFAULT	 equ 0
GTL_USECRLF	 equ 1
GTL_PRECISE	equ 2
GTL_CLOSE equ 4
GTL_NUMCHARS equ 8
GTL_NUMBYTES equ 16

TM_PLAINTEXT			equ 1
TM_RICHTEXT				equ 2
TM_SINGLELEVELUNDO		equ 4
TM_MULTILEVELUNDO		equ 8
TM_SINGLECODEPAGE		equ 16
TM_MULTICODEPAGE		equ 32

TO_ADVANCEDTYPOGRAPHY equ	1
TO_SIMPLELINEBREAK	equ	2
TCS_FLATBUTTONS         equ 8
HBITMAP TYPEDEF PTR
HMENU TYPEDEF PTR
MENUITEMINFO STRUC
	cbSize			UINT ?
	fMask			UINT ?
	fType			UINT ?
	fState			UINT ?
	wID				UINT ?
					DWORD ?
	hSubMenu		HMENU ?
	hbmpChecked		HBITMAP ?
	hbmpUnchecked	HBITMAP ?
	dwItemData		ULONG_PTR ?
    dwTypeData		LPTSTR ?
	cch				UINT ?
					DWORD ?
	hbmpItem		HBITMAP ?
MENUITEMINFO ENDS
LPMENUITEMINFO TYPEDEF PTR MENUITEMINFO
BITMAP STRUC
	bmType			LONG ?
	bmWidth			LONG ?
	bmHeight		LONG ?
	bmWidthBytes	LONG ?
	mPlanes			WORD ?
	mBitsPixel		WORD ?
	DWORD ?
	mBits			LPVOID ?
BITMAP ENDS
PBITMAP TYPEDEF PTR BITMAP
UINT32 TYPEDEF DWORD
DebugEventProc TYPEDEF PTR
GdiplusStartupInput STRUC
	GdiplusVersion		UINT32 ?             ;Must be 1  (or 2 for the Ex version)
						DWORD ?
	DebugEventCallback	DebugEventProc ?	;Ignored on free builds
	SuppressBackgroundThread	BOOL ?	;FALSE unless you're prepared to call 
                                    	;the hook/unhook functions properly
	SuppressExternalCodecs		BOOL ?	;FALSE unless you want GDI+ only to use
                                    	;its internal image codecs.
;    
;    GdiplusStartupInput(
;        DebugEventProc debugEventCallback = NULL,
;        BOOL suppressBackgroundThread = FALSE,
;        BOOL suppressExternalCodecs = FALSE)
;    {
;        GdiplusVersion = 1;
;        DebugEventCallback = debugEventCallback;
;        SuppressBackgroundThread = suppressBackgroundThread;
;        SuppressExternalCodecs = suppressExternalCodecs;
;    }
GdiplusStartupInput ENDS
InterpolationModeHighQualityBilinear	equ 6
EXCEPTION_POINTERS STRUC
	ExceptionRecord	PEXCEPTION_RECORD ?
	ContextRecord	PCONTEXT ?
EXCEPTION_POINTERS ENDS
PEXCEPTION_POINTERS	TYPEDEF PTR EXCEPTION_POINTERS
VectoredHandler	TYPEDEF PROTO ExceptionInfo:PEXCEPTION_POINTERS
PVECTORED_EXCEPTION_HANDLER TYPEDEF PTR VectoredHandler
OVERLAPPED struc
	Internal		ULONG_PTR ?
	InternalHigh	ULONG_PTR ?
	union
		struc
			_Offset		DWORD ?
			OffsetHigh	DWORD ?
		ends  
		Pointer	PVOID ?
	ends
	hEvent	HANDLE ?
OVERLAPPED ends
LPOVERLAPPED	TYPEDEF PTR OVERLAPPED
LPDWORD64		TYPEDEF PTR DWORD64
INITCOMMONCONTROLSEX struc
	dwSize	DWORD ?
	dwICC	DWORD ?
INITCOMMONCONTROLSEX ends
LPINITCOMMONCONTROLSEX TYPEDEF PTR INITCOMMONCONTROLSEX
ICC_LISTVIEW_CLASSES   equ 00000001h ;listview, header
ICC_TREEVIEW_CLASSES   equ 00000002h ;treeview, tooltips
ICC_BAR_CLASSES        equ 00000004h ;toolbar, statusbar, trackbar, tooltips
ICC_TAB_CLASSES        equ 00000008h ;tab, tooltips
ICC_UPDOWN_CLASS       equ 00000010h ;updown
ICC_PROGRESS_CLASS     equ 00000020h ;progress
ICC_HOTKEY_CLASS       equ 00000040h ;hotkey
ICC_ANIMATE_CLASS      equ 00000080h ;animate
ICC_WIN95_CLASSES      equ 000000FFh
ICC_DATE_CLASSES       equ 00000100h ;month picker, date picker, time picker, updown
ICC_USEREX_CLASSES     equ 00000200h ;comboex
ICC_COOL_CLASSES       equ 00000400h ;rebar (coolbar) control
ICC_INTERNET_CLASSES   equ 00000800h
ICC_PAGESCROLLER_CLASS equ 00001000h   ;page scroller
ICC_NATIVEFNTCTL_CLASS equ 00002000h   ;native font control
ICC_STANDARD_CLASSES   equ 00004000h
ICC_LINK_CLASS         equ 00008000h

LVS_ICON                equ 0000h
LVS_REPORT              equ 0001h
LVS_SMALLICON           equ 0002h
LVS_LIST                equ 0003h
LVS_TYPEMASK            equ 0003h
LVS_SINGLESEL           equ 0004h
LVS_SHOWSELALWAYS       equ 0008h
LVS_SORTASCENDING       equ 0010h
LVS_SORTDESCENDING      equ 0020h
LVS_SHAREIMAGELISTS     equ 0040h
LVS_NOLABELWRAP         equ 0080h
LVS_AUTOARRANGE         equ 0100h
LVS_EDITLABELS          equ 0200h
LVS_OWNERDATA           equ 1000h
LVS_NOSCROLL            equ 2000h
LVS_TYPESTYLEMASK       equ 0FC00h
LVS_ALIGNTOP            equ 0000h
LVS_ALIGNLEFT           equ 0800h
LVS_ALIGNMASK           equ 0c00h
LVS_OWNERDRAWFIXED      equ 0400h
LVS_NOCOLUMNHEADER      equ 4000h
LVS_NOSORTHEADER        equ 8000h

LVM_FIRST               equ 1000h      ;ListView messages
TV_FIRST                equ 1100h      ;TreeView messages
HDM_FIRST               equ 1200h      ;Header messages
TCM_FIRST               equ 1300h      ;Tab control messages
PGM_FIRST               equ 1400h      ;Pager control messages
ECM_FIRST               equ 1500h      ;Edit control messages
BCM_FIRST               equ 1600h      ;Button control messages
CBM_FIRST               equ 1700h      ;Combobox control messages
CCM_FIRST               equ 2000h      ;Common control shared messages
CCM_LAST                equ (CCM_FIRST + 200h)
CCM_SETBKCOLOR          equ (CCM_FIRST + 1) ;lParam is bkColor
LVM_GETITEMA            equ (LVM_FIRST + 5)
LVM_GETITEMW            equ (LVM_FIRST + 75)
LVM_GETITEM             equ LVM_GETITEMA
ListView_GetItem macro lv_hwnd:REQ,lvpitem:REQ
	invoke SendMessage,lv_hwnd,LVM_GETITEM,0,lvpitem
	EXITM<>
endm
LVM_SETITEMA            equ (LVM_FIRST + 6)
LVM_SETITEMW            equ (LVM_FIRST + 76)
LVM_SETITEM             equ LVM_SETITEMA
ListView_SetItem macro lv_hwnd:REQ,lvpitem:REQ
	invoke SendMessage,lv_hwnd,LVM_SETITEM,0,lvpitem
	EXITM<>
endm
LVM_INSERTITEMA         equ (LVM_FIRST + 7)
LVM_INSERTITEMW         equ (LVM_FIRST + 77)
LVM_INSERTITEM          equ LVM_INSERTITEMA
ListView_InsertItem macro lv_hwnd:REQ,lvpitem:REQ
	invoke SendMessage,lv_hwnd,LVM_INSERTITEM,0,lvpitem
	EXITM<>
endm
LVM_DELETEITEM          equ (LVM_FIRST + 8)
ListView_DeleteItem macro lv_hwnd:REQ,lvid_item:REQ
	invoke SendMessage,lv_hwnd,LVM_DELETEITEM,lvid_item,0
	EXITM<>
endm
LVM_DELETEALLITEMS      equ (LVM_FIRST + 9)
ListView_DeleteAllItems macro lv_hwnd:REQ
	invoke SendMessage,lv_hwnd,LVM_DELETEALLITEMS,0,0
	EXITM<>
endm
LVM_GETCALLBACKMASK     equ (LVM_FIRST + 10)
ListView_GetCallbackMask macro lv_hwnd:REQ
	invoke SendMessage,lv_hwnd,LVM_GETCALLBACKMASK,0,0
	EXITM<>
endm
LVM_SETCALLBACKMASK     equ (LVM_FIRST + 11)
ListView_SetCallbackMask macro lv_hwnd:REQ,lv___mask:REQ
	invoke SendMessage,lv_hwnd,LVM_SETCALLBACKMASK,lv___mask,0
	EXITM<>
endm
LVM_GETIMAGELIST        equ (LVM_FIRST + 2)
ListView_GetImageList macro lv_hwnd:REQ,iImageList:REQ
	invoke SendMessage,lv_hwnd,LVM_GETIMAGELIST,iImageList,0
	EXITM<>
endm
LVM_INSERTCOLUMNA       equ(LVM_FIRST + 27)
LVM_INSERTCOLUMNW       equ (LVM_FIRST + 97)
LVM_INSERTCOLUMN    	equ LVM_INSERTCOLUMNA
ListView_InsertColumn macro lv_hwnd:REQ,lv___iCol:REQ,lv___pcol:REQ
	invoke SendMessage,lv_hwnd,LVM_INSERTCOLUMN,lv___iCol,lv___pcol
	EXITM<>
endm
LVM_GETITEMCOUNT        equ (LVM_FIRST + 4)
ListView_GetItemCount macro lv_hwnd:REQ
	invoke SendMessage,lv_hwnd,LVM_GETITEMCOUNT,0,0
	EXITM<>
endm

LVM_EDITLABELA          equ (LVM_FIRST + 23)
LVM_EDITLABELW          equ (LVM_FIRST + 118)
LVM_EDITLABEL           equ LVM_EDITLABELA
ListView_EditLabel macro lv_hwnd:REQ,lvid_item:REQ
	invoke SendMessage,lv_hwnd,LVM_EDITLABEL,lvid_item,0
	EXITM<>
endm
LVSIL_NORMAL            equ 0
LVSIL_SMALL             equ 1
LVSIL_STATE             equ 2
LVSIL_GROUPHEADER       equ 3
PSDWORD TYPEDEF PTR SDWORD
LVITEM STRUC
	imask		UINT ?
	iItem		SDWORD ?
	iSubItem	SDWORD ?
	state		UINT ?
	stateMask	UINT ?
				DWORD ?
	pszText		LPSTR ?
    cchTextMax	SDWORD ?
    iImage		SDWORD ?
	lParam		LPARAM ?
    iIndent		SDWORD ?
    iGroupId	SDWORD ?
	cColumns	UINT ?		;tile view columns
				DWORD ?
	puColumns	PUINT ?
    piColFmt	PSDWORD ?
    iGroup		SDWORD ?	; // readonly. only valid for owner data.
    			DWORD ?
LVITEM ENDS
LPLVITEM TYPEDEF PTR LVITEM
LVCOLUMNA STRUC
    imask		UINT ?
	fmt			SDWORD ?
	lx			SDWORD ?
				DWORD ?
	pszText		LPSTR ?
	cchTextMax	SDWORD ?
    iSubItem	SDWORD ?
	iImage		SDWORD ?
	iOrder		SDWORD ?
	cxMin		SDWORD ?   ;min snap point
	cxDefault	SDWORD ?   ;default snap point
	cxIdeal		SDWORD ?   ;read only. ideal may not eqaul current width if auto sized (LVS_EX_AUTOSIZECOLUMNS) to a lesser width.
				DWORD ?
LVCOLUMNA ENDS
LPLVCOLUMNA TYPEDEF PTR LVCOLUMNA
LVCOLUMN TYPEDEF LVCOLUMNA

LVCF_FMT                equ 0001h
LVCF_WIDTH              equ 0002h
LVCF_TEXT               equ 0004h
LVCF_SUBITEM            equ 0008h
LVCF_IMAGE              equ 0010h
LVCF_ORDER              equ 0020h
LVCF_MINWIDTH           equ 0040h
LVCF_DEFAULTWIDTH       equ 0080h
LVCF_IDEALWIDTH         equ 0100h

LVCFMT_LEFT                 equ 0000h ;Same as HDF_LEFT
LVCFMT_RIGHT                equ 0001h ;Same as HDF_RIGHT
LVCFMT_CENTER               equ 0002h ;Same as HDF_CENTER
LVCFMT_JUSTIFYMASK          equ 0003h ;Same as HDF_JUSTIFYMASK
LVCFMT_IMAGE                equ 0800h ;Same as HDF_IMAGE
LVCFMT_BITMAP_ON_RIGHT      equ 1000h ;Same as HDF_BITMAP_ON_RIGHT
LVCFMT_COL_HAS_IMAGES       equ 8000h ;Same as HDF_OWNERDRAW
LVCFMT_FIXED_WIDTH          equ 00100h  ;Can't resize the column; same as HDF_FIXEDWIDTH
LVCFMT_NO_DPI_SCALE         equ 40000h  ;If not set, CCM_DPISCALE will govern scaling up fixed width
LVCFMT_FIXED_RATIO          equ 80000h  ;Width will augment with the row height
LVCFMT_LINE_BREAK          equ 100000h ;Move to the top of the next list of columns
LVCFMT_FILL                equ 200000h ;Fill the remainder of the tile area. Might have a title.
LVCFMT_WRAP                equ 400000h ;This sub-item can be wrapped.
LVCFMT_NO_TITLE            equ 800000h  ;This sub-item doesn't have an title.
LVCFMT_TILE_PLACEMENTMASK equ (LVCFMT_LINE_BREAK or LVCFMT_FILL)
LVCFMT_SPLITBUTTON        equ 1000000h ;Column is a split button; same as HDF_SPLITBUTTON

LVIF_TEXT               equ 00000001h
LVIF_IMAGE              equ 00000002h
LVIF_PARAM              equ 00000004h
LVIF_STATE              equ 00000008h
LVIF_INDENT             equ 00000010h
LVIF_NORECOMPUTE        equ 00000800h
LVIF_GROUPID            equ 00000100h
LVIF_COLUMNS            equ 00000200h
LVIF_COLFMT             equ 00010000h ;The piColFmt member is valid in addition to puColumns
NMLVKEYDOWN STRUC
	hdr	NMHDR<>
	wVKey	WORD ?
			WORD ?
	flags	UINT ?
NMLVKEYDOWN ENDS
LPNMLVKEYDOWN TYPEDEF PTR NMLVKEYDOWN
LVS_EX_GRIDLINES        equ 00000001h
LVS_EX_SUBITEMIMAGES    equ 00000002h
LVS_EX_CHECKBOXES       equ 00000004h
LVS_EX_TRACKSELECT      equ 00000008h
LVS_EX_HEADERDRAGDROP   equ 00000010h
LVS_EX_FULLROWSELECT    equ 00000020h ;applies to report mode only
LVS_EX_ONECLICKACTIVATE equ 00000040h
LVS_EX_TWOCLICKACTIVATE equ 00000080h
LVS_EX_FLATSB           equ 00000100h
LVS_EX_REGIONAL         equ 00000200h
LVS_EX_INFOTIP          equ 00000400h ;listview does InfoTips for you
LVS_EX_UNDERLINEHOT     equ 00000800h
LVS_EX_UNDERLINECOLD    equ 00001000h
LVS_EX_MULTIWORKAREAS   equ 00002000h
LVS_EX_LABELTIP         equ 00004000h ;listview unfolds partly hidden labels if it does not have infotip text
LVS_EX_BORDERSELECT     equ 00008000h ;border selection style instead of highlight
LVS_EX_DOUBLEBUFFER     equ 00010000h
LVS_EX_HIDELABELS       equ 00020000h
LVS_EX_SINGLEROW        equ 00040000h
LVS_EX_SNAPTOGRID       equ 00080000h  ;Icons automatically snap to grid.
LVS_EX_SIMPLESELECT     equ 00100000h  ;Also changes overlay rendering to top right for icon mode.
LVS_EX_JUSTIFYCOLUMNS   equ 00200000h ;Icons are lined up in columns that use up the whole view area.
LVS_EX_TRANSPARENTBKGND equ 00400000h ;Background is painted by the parent via WM_PRINTCLIENT
LVS_EX_TRANSPARENTSHADOWTEXT equ 00800000h ;Enable shadow text on transparent backgrounds only (useful with bitmaps)
LVS_EX_AUTOAUTOARRANGE  equ 01000000h ;Icons automatically arrange if no icon positions have been set
LVS_EX_HEADERINALLVIEWS equ 02000000h ;Display column header in all view modes
LVS_EX_AUTOCHECKSELECT  equ 08000000h
LVS_EX_AUTOSIZECOLUMNS  equ 10000000h
LVS_EX_COLUMNSNAPPOINTS equ 40000000h
LVS_EX_COLUMNOVERFLOW   equ 80000000h

ILC_MASK                equ 00000001h
ILC_COLOR               equ 00000000h
ILC_COLORDDB            equ 000000FEh
ILC_COLOR4              equ 00000004h
ILC_COLOR8              equ 00000008h
ILC_COLOR16             equ 00000010h
ILC_COLOR24             equ 00000018h
ILC_COLOR32             equ 00000020h
ILC_PALETTE             equ 00000800h      ;(not implemented)
ILC_MIRROR              equ 00002000h      ;Mirror the icons contained, if the process is mirrored
ILC_PERITEMMIRROR       equ 00008000h      ;Causes the mirroring code to mirror each item when inserting a set of images, verses the whole strip
ILC_ORIGINALSIZE        equ 00010000h      ;Imagelist should accept smaller than set images and apply OriginalSize based on image added
ILC_HIGHQUALITYSCALE    equ 00020000h      ;Imagelist should enable use of the high quality scaler.
NMITEMACTIVATE STRUC
	hdr			NMHDR<>
	iItem		SDWORD ?
	iSubItem	SDWORD ?
	uNewState	UINT ?
	uOldState	UINT ?
	uChanged	UINT ?
	ptAction	POINT<>
	lParam		LPARAM ?
	uKeyFlags	UINT ?
NMITEMACTIVATE ENDS
LPNMITEMACTIVATE TYPEDEF PTR NMITEMACTIVATE
NM_OUTOFMEMORY          equ (NM_FIRST-1)
NM_CLICK                equ (NM_FIRST-2)    ;uses NMCLICK struct
NM_DBLCLK               equ (NM_FIRST-3)
NM_RETURN               equ (NM_FIRST-4)
NM_RCLICK               equ (NM_FIRST-5)    ;uses NMCLICK struct
NM_RDBLCLK              equ (NM_FIRST-6)
NM_SETFOCUS             equ (NM_FIRST-7)
NM_KILLFOCUS            equ (NM_FIRST-8)
NM_CUSTOMDRAW           equ (NM_FIRST-12)
NM_HOVER                equ (NM_FIRST-13)
NM_NCHITTEST            equ (NM_FIRST-14)   ;uses NMMOUSE struct
NM_KEYDOWN              equ (NM_FIRST-15)   ;uses NMKEY struct
NM_RELEASEDCAPTURE      equ (NM_FIRST-16)
NM_SETCURSOR            equ (NM_FIRST-17)   ;uses NMMOUSE struct
NM_CHAR                 equ (NM_FIRST-18)   ;uses NMCHAR struct
NM_TOOLTIPSCREATED      equ (NM_FIRST-19)   ;notify of when the tooltips window is create
NM_LDOWN                equ (NM_FIRST-20)
NM_RDOWN                equ (NM_FIRST-21)
NM_THEMECHANGED         equ (NM_FIRST-22)
NM_FONTCHANGED          equ (NM_FIRST-23)
NM_CUSTOMTEXT           equ (NM_FIRST-24)   ;uses NMCUSTOMTEXT struct
NM_TVSTATEIMAGECHANGING equ (NM_FIRST-24)   ;uses NMTVSTATEIMAGECHANGING struct, defined after HTREEITEM
;shell32.dll icons
SIID_DOCNOASSOC equ 0          ;document (blank page), no associated program
SIID_DOCASSOC equ 1            ;document with an associated program
SIID_APPLICATION equ 2         ;generic application with no custom icon
SIID_FOLDER equ 3              ;folder (closed)
SIID_FOLDEROPEN equ 4          ;folder (open)
SIID_DRIVE525 equ 5            ;5.25" floppy disk drive
SIID_DRIVE35 equ 6             ;3.5" floppy disk drive
SIID_DRIVEREMOVE equ 7         ;removable drive
SIID_DRIVEFIXED equ 8          ;fixed (hard disk) drive
SIID_DRIVENET equ 9            ;network drive
SIID_DRIVENETDISABLED equ 10   ;disconnected network drive
SIID_DRIVECD equ 11            ;CD drive
SIID_DRIVERAM equ 12           ;RAM disk drive
SIID_WORLD equ 13              ;entire network
SIID_SERVER equ 15             ;a computer on the network
SIID_PRINTER equ 16            ;printer
SIID_MYNETWORK equ 17          ;My network places
SIID_FIND equ 22               ;Find
SIID_HELP equ 23               ;Help
SIID_SHARE equ 28              ;overlay for shared items
SIID_LINK equ 29               ;overlay for shortcuts to items
SIID_SLOWFILE equ 30           ;overlay for slow items
SIID_RECYCLER equ 31           ;empty recycle bin
SIID_RECYCLERFULL equ 32       ;full recycle bin
SIID_MEDIACDAUDIO equ 40       ;Audio CD Media
SIID_LOCK equ 47               ;Security lock
SIID_AUTOLIST equ 49           ;AutoList
SIID_PRINTERNET equ 50         ;Network printer
SIID_SERVERSHARE equ 51        ;Server share
SIID_PRINTERFAX equ 52         ;Fax printer
SIID_PRINTERFAXNET equ 53      ;Networked Fax Printer
SIID_PRINTERFILE equ 54        ;Print to File
SIID_STACK equ 55              ;Stack
SIID_MEDIASVCD equ 56          ;SVCD Media
SIID_STUFFEDFOLDER equ 57      ;Folder containing other items
SIID_DRIVEUNKNOWN equ 58       ;Unknown drive
SIID_DRIVEDVD equ 59           ;DVD Drive
SIID_MEDIADVD equ 60           ;DVD Media
SIID_MEDIADVDRAM equ 61        ;DVD-RAM Media
SIID_MEDIADVDRW equ 62         ;DVD-RW Media
SIID_MEDIADVDR equ 63          ;DVD-R Media
SIID_MEDIADVDROM equ 64        ;DVD-ROM Media
SIID_MEDIACDAUDIOPLUS equ 65   ;CD+ (Enhanced CD) Media
SIID_MEDIACDRW equ 66          ;CD-RW Media
SIID_MEDIACDR equ 67           ;CD-R Media
SIID_MEDIACDBURN equ 68        ;Burning CD
SIID_MEDIABLANKCD equ 69       ;Blank CD Media
SIID_MEDIACDROM equ 70         ;CD-ROM Media
SIID_AUDIOFILES equ 71         ;Audio files
SIID_IMAGEFILES equ 72         ;Image files
SIID_VIDEOFILES equ 73         ;Video files
SIID_MIXEDFILES equ 74         ;Mixed files
SIID_FOLDERBACK equ 75         ;Folder back
SIID_FOLDERFRONT equ 76        ;Folder front
SIID_SHIELD equ 77             ;Security shield. Use for UAC prompts only.
SIID_WARNING equ 78            ;Warning
SIID_INFO equ 79               ;Informational
SIID_ERROR equ 80              ;Error
SIID_KEY equ 81                ;Key / Secure
SIID_SOFTWARE equ 82           ;Software
SIID_RENAME equ 83             ;Rename
SIID_DELETE equ 84             ;Delete
SIID_MEDIAAUDIODVD equ 85      ;Audio DVD Media
SIID_MEDIAMOVIEDVD equ 86      ;Movie DVD Media
SIID_MEDIAENHANCEDCD equ 87    ;Enhanced CD Media
SIID_MEDIAENHANCEDDVD equ 88   ;Enhanced DVD Media
SIID_MEDIAHDDVD equ 89         ;HD-DVD Media
SIID_MEDIABLURAY equ 90        ;BluRay Media
SIID_MEDIAVCD equ 91           ;VCD Media
SIID_MEDIADVDPLUSR equ 92      ;DVD+R Media
SIID_MEDIADVDPLUSRW equ 93     ;DVD+RW Media
SIID_DESKTOPPC equ 94          ;desktop computer
SIID_MOBILEPC equ 95           ;mobile computer (laptop/notebook)
SIID_USERS equ 96              ;users
SIID_MEDIASMARTMEDIA equ 97    ;Smart Media
SIID_MEDIACOMPACTFLASH equ 98  ;Compact Flash
SIID_DEVICECELLPHONE equ 99    ;Cell phone
SIID_DEVICECAMERA equ 100      ;Camera
SIID_DEVICEVIDEOCAMERA equ 101 ;Video camera
SIID_DEVICEAUDIOPLAYER equ 102 ;Audio player
SIID_NETWORKCONNECT equ 103    ;Connect to network
SIID_INTERNET equ 104          ;Internet
SIID_ZIPFILE equ 105           ;ZIP file
SIID_SETTINGS equ 106          ;Settings
;107-131 are internal Vista RTM icons
;132-159 for SP1 icons
SIID_DRIVEHDDVD equ 132        ;HDDVD Drive (all types)
SIID_DRIVEBD equ 133           ;BluRay Drive (all types)
SIID_MEDIAHDDVDROM equ 134     ;HDDVD-ROM Media
SIID_MEDIAHDDVDR equ 135       ;HDDVD-R Media
SIID_MEDIAHDDVDRAM equ 136     ;HDDVD-RAM Media
SIID_MEDIABDROM equ 137        ;BluRay ROM Media
SIID_MEDIABDR equ 138          ;BluRay R Media
SIID_MEDIABDRE equ 139         ;BluRay RE Media (Rewriable and RAM)
SIID_CLUSTEREDDRIVE equ 140    ;Clustered disk
;160+ are for Windows 7 icons
SIID_MAX_ICONS equ 174
HIMAGELIST TYPEDEF PTR
CREATESTRUCT STRUC
	lpCreateParams	LPVOID ?
	hInstance		HINSTANCE ?
	hMenu			HMENU ?
	hwndParent		HWND ?
    ly				SDWORD ?
	lx				SDWORD ?
	y				SDWORD ?
	x				SDWORD ?
	style			LONG ?
					DWORD ?
	lpszName		LPCTSTR ?
	lpszClass		LPCTSTR ?
	dwExStyle		DWORD ?
					DWORD ?
CREATESTRUCT ENDS
LPCREATESTRUCT TYPEDEF PTR CREATESTRUCT
NMLVDISPINFO STRUC
	hdr		NMHDR<>
	item	LVITEM<>
NMLVDISPINFO ENDS
LPNMLVDISPINFO TYPEDEF PTR NMLVDISPINFO
LVN_FIRST        equ 0-100
LVN_LAST         equ 0-199
LVN_ITEMCHANGING        equ (LVN_FIRST-0)
LVN_ITEMCHANGED         equ (LVN_FIRST-1)
LVN_INSERTITEM          equ (LVN_FIRST-2)
LVN_DELETEITEM          equ (LVN_FIRST-3)
LVN_DELETEALLITEMS      equ (LVN_FIRST-4)
LVN_BEGINLABELEDITA     equ (LVN_FIRST-5)
LVN_BEGINLABELEDITW     equ (LVN_FIRST-75)
LVN_ENDLABELEDITA       equ (LVN_FIRST-6)
LVN_ENDLABELEDITW       equ (LVN_FIRST-76)
LVN_COLUMNCLICK         equ (LVN_FIRST-8)
LVN_BEGINDRAG           equ (LVN_FIRST-9)
LVN_BEGINRDRAG          equ (LVN_FIRST-11)
LVN_ODCACHEHINT         equ (LVN_FIRST-13)
LVN_ODFINDITEMA         equ (LVN_FIRST-52)
LVN_ODFINDITEMW         equ (LVN_FIRST-79)
LVN_ITEMACTIVATE        equ (LVN_FIRST-14)
LVN_ODSTATECHANGED      equ (LVN_FIRST-15)
LVN_ODFINDITEM          equ LVN_ODFINDITEMA
LVN_HOTTRACK            equ (LVN_FIRST-21)

LVN_GETDISPINFOA        equ (LVN_FIRST-50)
LVN_GETDISPINFOW        equ (LVN_FIRST-77)
LVN_SETDISPINFOA        equ (LVN_FIRST-51)
LVN_SETDISPINFOW        equ (LVN_FIRST-78)

LVN_BEGINLABELEDIT      equ LVN_BEGINLABELEDITA
LVN_ENDLABELEDIT        equ LVN_ENDLABELEDITA
LVN_GETDISPINFO         equ LVN_GETDISPINFOA
LVN_SETDISPINFO         equ LVN_SETDISPINFOA
LVN_KEYDOWN             equ (LVN_FIRST-55)

LVIS_FOCUSED            equ 0001h
LVIS_SELECTED           equ 0002h
LVIS_CUT                equ 0004h
LVIS_DROPHILITED        equ 0008h
LVIS_GLOW               equ 0010h
LVIS_ACTIVATING         equ 0020h

LVIS_OVERLAYMASK        equ 0F00h
LVIS_STATEIMAGEMASK     equ 0F000h
ExceptionContinueExecution	equ 0
ExceptionContinueSearch		equ 1
ExceptionNestedException	equ 2
ExceptionCollidedUnwind		equ 3
;PathResolve flags
PRF_VERIFYEXISTS			equ 1
PRF_TRYPROGRAMEXTENSIONS	equ (2 or PRF_VERIFYEXISTS)
PRF_FIRSTDIRDEF				equ 4
PRF_DONTFINDLNK				equ 8      ; if PRF_TRYPROGRAMEXTENSIONS is specified
PRF_REQUIREABSOLUTE			equ 10h
PIMAGE_NT_HEADERS32 TYPEDEF PTR IMAGE_NT_HEADERS32
LOADED_IMAGE STRUCT
    ModuleName                      PSTR ?
    hFile                           HANDLE ?
    MappedAddress                   PUCHAR ?
    FileHeader                      PIMAGE_NT_HEADERS32 ?
    LastRvaSection                  QWORD	  ?
    NumberOfSections                DWORD   ?
                                    DWORD   ?
    Sections                        QWORD	  ?
    Characteristics                 DWORD   ?
    fSystemImage                    BYTE    ?
    align dword
    fDOSImage                       BYTE    ?
    Links                           DWORD	  ?
    SizeOfImage                     DWORD   ?
LOADED_IMAGE ENDS
PLOADED_IMAGE TYPEDEF PTR LOADED_IMAGE
LIST_ENTRY STRUCT
    Flink PVOID ?
    Blink PVOID ?
LIST_ENTRY ENDS
UNICODE_STRING STRUC
	woLength		WORD ?
	MaximumLength	WORD ?
					DWORD ?
	Buffer			LPSTR ?
UNICODE_STRING ENDS