
option expr32
option casemap:none

; Begin of file win.h
; 
;  This include file was compiled by G. Adam Stanislav 
;  using H2INC. It is by no means a complete compilation 
;  of Windows 95 include files. 
; ******************************************************************
; 
;  From WINUSER.H 
; 
; 
;  * Window Messages
;  
WM_NULL		EQU		000000000h
WM_CREATE		EQU		000000001h
WM_DESTROY		EQU		000000002h
WM_MOVE		EQU		000000003h
WM_SIZE		EQU		000000005h
WM_ACTIVATE		EQU		000000006h
; 
;  * WM_ACTIVATE state values
;  
WA_INACTIVE		EQU		0t
WA_ACTIVE		EQU		1t
WA_CLICKACTIVE		EQU		2t
WM_SETFOCUS		EQU		000000007h
WM_KILLFOCUS		EQU		000000008h
WM_ENABLE		EQU		00000000ah
WM_SETREDRAW		EQU		00000000bh
WM_SETTEXT		EQU		00000000ch
WM_GETTEXT		EQU		00000000dh
WM_GETTEXTLENGTH		EQU		00000000eh
WM_PAINT		EQU		00000000fh
WM_CLOSE		EQU		000000010h
WM_QUERYENDSESSION		EQU		000000011h
WM_QUIT		EQU		000000012h
WM_QUERYOPEN		EQU		000000013h
WM_ERASEBKGND		EQU		000000014h
WM_SYSCOLORCHANGE		EQU		000000015h
WM_ENDSESSION		EQU		000000016h
WM_SHOWWINDOW		EQU		000000018h
WM_WININICHANGE		EQU		00000001ah
WM_SETTINGCHANGE		EQU		00000001ah
WM_DEVMODECHANGE		EQU		00000001bh
WM_ACTIVATEAPP		EQU		00000001ch
WM_FONTCHANGE		EQU		00000001dh
WM_TIMECHANGE		EQU		00000001eh
WM_CANCELMODE		EQU		00000001fh
WM_SETCURSOR		EQU		000000020h
WM_MOUSEACTIVATE		EQU		000000021h
WM_CHILDACTIVATE		EQU		000000022h
WM_QUEUESYNC		EQU		000000023h
WM_GETMINMAXINFO		EQU		000000024h
WM_PAINTICON		EQU		000000026h
WM_ICONERASEBKGND		EQU		000000027h
WM_NEXTDLGCTL		EQU		000000028h
WM_SPOOLERSTATUS		EQU		00000002ah
WM_DRAWITEM		EQU		00000002bh
WM_MEASUREITEM		EQU		00000002ch
WM_DELETEITEM		EQU		00000002dh
WM_VKEYTOITEM		EQU		00000002eh
WM_CHARTOITEM		EQU		00000002fh
WM_SETFONT		EQU		000000030h
WM_GETFONT		EQU		000000031h
WM_SETHOTKEY		EQU		000000032h
WM_GETHOTKEY		EQU		000000033h
WM_QUERYDRAGICON		EQU		000000037h
WM_COMPAREITEM		EQU		000000039h
WM_COMPACTING		EQU		000000041h
;  no longer suported 
WM_COMMNOTIFY		EQU		000000044h
WM_WINDOWPOSCHANGING		EQU		000000046h
WM_WINDOWPOSCHANGED		EQU		000000047h
WM_POWER		EQU		000000048h
; 
;  * wParam for WM_POWER window message and DRV_POWER driver notification
;  
PWR_OK		EQU		1t
PWR_FAIL		EQU		0ffffffffh
PWR_SUSPENDREQUEST		EQU		1t
PWR_SUSPENDRESUME		EQU		2t
PWR_CRITICALRESUME		EQU		3t
WM_COPYDATA		EQU		00000004ah
WM_CANCELJOURNAL		EQU		00000004bh
WM_NOTIFY		EQU		00000004eh
WM_INPUTLANGCHANGEREQUEST		EQU		000000050h
WM_INPUTLANGCHANGE		EQU		000000051h
WM_TCARD		EQU		000000052h
WM_HELP		EQU		000000053h
WM_USERCHANGED		EQU		000000054h
WM_NOTIFYFORMAT		EQU		000000055h
NFR_ANSI		EQU		1t
NFR_UNICODE		EQU		2t
NF_QUERY		EQU		3t
NF_REQUERY		EQU		4t
WM_CONTEXTMENU		EQU		00000007bh
WM_STYLECHANGING		EQU		00000007ch
WM_STYLECHANGED		EQU		00000007dh
WM_DISPLAYCHANGE		EQU		00000007eh
WM_GETICON		EQU		00000007fh
WM_SETICON		EQU		000000080h
WM_NCCREATE		EQU		000000081h
WM_NCDESTROY		EQU		000000082h
WM_NCCALCSIZE		EQU		000000083h
WM_NCHITTEST		EQU		000000084h
WM_NCPAINT		EQU		000000085h
WM_NCACTIVATE		EQU		000000086h
WM_GETDLGCODE		EQU		000000087h
WM_NCMOUSEMOVE		EQU		0000000a0h
WM_NCLBUTTONDOWN		EQU		0000000a1h
WM_NCLBUTTONUP		EQU		0000000a2h
WM_NCLBUTTONDBLCLK		EQU		0000000a3h
WM_NCRBUTTONDOWN		EQU		0000000a4h
WM_NCRBUTTONUP		EQU		0000000a5h
WM_NCRBUTTONDBLCLK		EQU		0000000a6h
WM_NCMBUTTONDOWN		EQU		0000000a7h
WM_NCMBUTTONUP		EQU		0000000a8h
WM_NCMBUTTONDBLCLK		EQU		0000000a9h
WM_KEYFIRST		EQU		000000100h
WM_KEYDOWN		EQU		000000100h
WM_KEYUP		EQU		000000101h
WM_CHAR		EQU		000000102h
WM_DEADCHAR		EQU		000000103h
WM_SYSKEYDOWN		EQU		000000104h
WM_SYSKEYUP		EQU		000000105h
WM_SYSCHAR		EQU		000000106h
WM_SYSDEADCHAR		EQU		000000107h
WM_KEYLAST		EQU		000000108h
WM_IME_STARTCOMPOSITION		EQU		00000010dh
WM_IME_ENDCOMPOSITION		EQU		00000010eh
WM_IME_COMPOSITION		EQU		00000010fh
WM_IME_KEYLAST		EQU		00000010fh
WM_INITDIALOG		EQU		000000110h
WM_COMMAND		EQU		000000111h
WM_SYSCOMMAND		EQU		000000112h
WM_TIMER		EQU		000000113h
WM_HSCROLL		EQU		000000114h
WM_VSCROLL		EQU		000000115h
WM_INITMENU		EQU		000000116h
WM_INITMENUPOPUP		EQU		000000117h
WM_MENUSELECT		EQU		00000011fh
WM_MENUCHAR		EQU		000000120h
WM_ENTERIDLE		EQU		000000121h
WM_CTLCOLORMSGBOX		EQU		000000132h
WM_CTLCOLOREDIT		EQU		000000133h
WM_CTLCOLORLISTBOX		EQU		000000134h
WM_CTLCOLORBTN		EQU		000000135h
WM_CTLCOLORDLG		EQU		000000136h
WM_CTLCOLORSCROLLBAR		EQU		000000137h
WM_CTLCOLORSTATIC		EQU		000000138h
WM_MOUSEFIRST		EQU		000000200h
WM_MOUSEMOVE		EQU		000000200h
WM_LBUTTONDOWN		EQU		000000201h
WM_LBUTTONUP		EQU		000000202h
WM_LBUTTONDBLCLK		EQU		000000203h
WM_RBUTTONDOWN		EQU		000000204h
WM_RBUTTONUP		EQU		000000205h
WM_RBUTTONDBLCLK		EQU		000000206h
WM_MBUTTONDOWN		EQU		000000207h
WM_MBUTTONUP		EQU		000000208h
WM_MBUTTONDBLCLK		EQU		000000209h
WM_MOUSELAST		EQU		000000209h
WM_PARENTNOTIFY		EQU		000000210h
MENULOOP_WINDOW		EQU		0t
MENULOOP_POPUP		EQU		1t
WM_ENTERMENULOOP		EQU		000000211h
WM_EXITMENULOOP		EQU		000000212h
WM_NEXTMENU		EQU		000000213h
WM_SIZING		EQU		000000214h
WM_CAPTURECHANGED		EQU		000000215h
WM_MOVING		EQU		000000216h
WM_POWERBROADCAST		EQU		000000218h
WM_DEVICECHANGE		EQU		000000219h
WM_IME_SETCONTEXT		EQU		000000281h
WM_IME_NOTIFY		EQU		000000282h
WM_IME_CONTROL		EQU		000000283h
WM_IME_COMPOSITIONFULL		EQU		000000284h
WM_IME_SELECT		EQU		000000285h
WM_IME_CHAR		EQU		000000286h
WM_IME_KEYDOWN		EQU		000000290h
WM_IME_KEYUP		EQU		000000291h
WM_MDICREATE		EQU		000000220h
WM_MDIDESTROY		EQU		000000221h
WM_MDIACTIVATE		EQU		000000222h
WM_MDIRESTORE		EQU		000000223h
WM_MDINEXT		EQU		000000224h
WM_MDIMAXIMIZE		EQU		000000225h
WM_MDITILE		EQU		000000226h
WM_MDICASCADE		EQU		000000227h
WM_MDIICONARRANGE		EQU		000000228h
WM_MDIGETACTIVE		EQU		000000229h
WM_MDISETMENU		EQU		000000230h
WM_ENTERSIZEMOVE		EQU		000000231h
WM_EXITSIZEMOVE		EQU		000000232h
WM_DROPFILES		EQU		000000233h
WM_MDIREFRESHMENU		EQU		000000234h
WM_CUT		EQU		000000300h
WM_COPY		EQU		000000301h
WM_PASTE		EQU		000000302h
WM_CLEAR		EQU		000000303h
WM_UNDO		EQU		000000304h
WM_RENDERFORMAT		EQU		000000305h
WM_RENDERALLFORMATS		EQU		000000306h
WM_DESTROYCLIPBOARD		EQU		000000307h
WM_DRAWCLIPBOARD		EQU		000000308h
WM_PAINTCLIPBOARD		EQU		000000309h
WM_VSCROLLCLIPBOARD		EQU		00000030ah
WM_SIZECLIPBOARD		EQU		00000030bh
WM_ASKCBFORMATNAME		EQU		00000030ch
WM_CHANGECBCHAIN		EQU		00000030dh
WM_HSCROLLCLIPBOARD		EQU		00000030eh
WM_QUERYNEWPALETTE		EQU		00000030fh
WM_PALETTEISCHANGING		EQU		000000310h
WM_PALETTECHANGED		EQU		000000311h
WM_HOTKEY		EQU		000000312h
WM_PRINT		EQU		000000317h
WM_PRINTCLIENT		EQU		000000318h
WM_HANDHELDFIRST		EQU		000000358h
WM_HANDHELDLAST		EQU		00000035fh
WM_AFXFIRST		EQU		000000360h
WM_AFXLAST		EQU		00000037fh
WM_PENWINFIRST		EQU		000000380h
WM_PENWINLAST		EQU		00000038fh
WM_APP		EQU		000008000h
; 
;  * NOTE: All Message Numbers below 0x0400 are RESERVED.
;  *
;  * Private Window Messages Start Here:
;  
WM_USER		EQU		000000400h
;   wParam for WM_SIZING message  
WMSZ_LEFT		EQU		1t
WMSZ_RIGHT		EQU		2t
WMSZ_TOP		EQU		3t
WMSZ_TOPLEFT		EQU		4t
WMSZ_TOPRIGHT		EQU		5t
WMSZ_BOTTOM		EQU		6t
WMSZ_BOTTOMLEFT		EQU		7t
WMSZ_BOTTOMRIGHT		EQU		8t
; 
;  * WM_SYNCTASK Commands
;  
ST_BEGINSWP		EQU		0t
ST_ENDSWP		EQU		1t
; 
;  * WM_NCHITTEST and MOUSEHOOKSTRUCT Mouse Position Codes
;  
HTERROR		EQU		0fffffffeh
HTTRANSPARENT		EQU		0ffffffffh
HTNOWHERE		EQU		0t
HTCLIENT		EQU		1t
HTCAPTION		EQU		2t
HTSYSMENU		EQU		3t
HTGROWBOX		EQU		4t
HTSIZE		EQU		000000004h
HTMENU		EQU		5t
HTHSCROLL		EQU		6t
HTVSCROLL		EQU		7t
HTMINBUTTON		EQU		8t
HTMAXBUTTON		EQU		9t
HTLEFT		EQU		10t
HTRIGHT		EQU		11t
HTTOP		EQU		12t
HTTOPLEFT		EQU		13t
HTTOPRIGHT		EQU		14t
HTBOTTOM		EQU		15t
HTBOTTOMLEFT		EQU		16t
HTBOTTOMRIGHT		EQU		17t
HTBORDER		EQU		18t
HTREDUCE		EQU		000000008h
HTZOOM		EQU		000000009h
HTSIZEFIRST		EQU		00000000ah
HTSIZELAST		EQU		000000011h
HTOBJECT		EQU		19t
HTCLOSE		EQU		20t
HTHELP		EQU		21t
; 
;  * SendMessageTimeout values
;  
SMTO_NORMAL		EQU		000000000h
SMTO_BLOCK		EQU		000000001h
SMTO_ABORTIFHUNG		EQU		000000002h
; 
;  * WM_MOUSEACTIVATE Return Codes
;  
MA_ACTIVATE		EQU		1t
MA_ACTIVATEANDEAT		EQU		2t
MA_NOACTIVATE		EQU		3t
MA_NOACTIVATEANDEAT		EQU		4t
; 
;  * PeekMessage() Options
;  
PM_NOREMOVE		EQU		000000000h
PM_REMOVE		EQU		000000001h
PM_NOYIELD		EQU		000000002h
; 
;  * Window Styles
;  
WS_OVERLAPPED		EQU		000000000h
WS_POPUP		EQU		080000000h
WS_CHILD		EQU		040000000h
WS_MINIMIZE		EQU		020000000h
WS_VISIBLE		EQU		010000000h
WS_DISABLED		EQU		008000000h
WS_CLIPSIBLINGS		EQU		004000000h
WS_CLIPCHILDREN		EQU		002000000h
WS_MAXIMIZE		EQU		001000000h
;  WS_BORDER | WS_DLGFRAME  
WS_CAPTION		EQU		000c00000h
WS_BORDER		EQU		000800000h
WS_DLGFRAME		EQU		000400000h
WS_VSCROLL		EQU		000200000h
WS_HSCROLL		EQU		000100000h
WS_SYSMENU		EQU		000080000h
WS_THICKFRAME		EQU		000040000h
WS_GROUP		EQU		000020000h
WS_TABSTOP		EQU		000010000h
WS_MINIMIZEBOX		EQU		000020000h
WS_MAXIMIZEBOX		EQU		000010000h
WS_TILED		EQU		000000000h
WS_ICONIC		EQU		020000000h
WS_SIZEBOX		EQU		000040000h
; 
;  * Common Window Styles
;  
WS_OVERLAPPEDWINDOW		EQU		000cf0000h
WS_POPUPWINDOW		EQU		080880000h
WS_CHILDWINDOW		EQU		040000000h
; 
;  * Extended Window Styles
;  
WS_EX_DLGMODALFRAME		EQU		000000001h
WS_EX_NOPARENTNOTIFY		EQU		000000004h
WS_EX_TOPMOST		EQU		000000008h
WS_EX_ACCEPTFILES		EQU		000000010h
WS_EX_TRANSPARENT		EQU		000000020h
WS_EX_MDICHILD		EQU		000000040h
WS_EX_TOOLWINDOW		EQU		000000080h
WS_EX_WINDOWEDGE		EQU		000000100h
WS_EX_CLIENTEDGE		EQU		000000200h
WS_EX_CONTEXTHELP		EQU		000000400h
WS_EX_RIGHT		EQU		000001000h
WS_EX_LEFT		EQU		000000000h
WS_EX_RTLREADING		EQU		000002000h
WS_EX_LTRREADING		EQU		000000000h
WS_EX_LEFTSCROLLBAR		EQU		000004000h
WS_EX_RIGHTSCROLLBAR		EQU		000000000h
WS_EX_CONTROLPARENT		EQU		000010000h
WS_EX_STATICEDGE		EQU		000020000h
WS_EX_APPWINDOW		EQU		000040000h
WS_EX_OVERLAPPEDWINDOW		EQU		000000300h
WS_EX_PALETTEWINDOW		EQU		000000188h
CW_USEDEFAULT		EQU		080000000h
; 
;  * Scroll Bar Constants
;  
SB_HORZ		EQU		0t
SB_VERT		EQU		1t
SB_CTL		EQU		2t
SB_BOTH		EQU		3t
; 
;  * Scroll Bar Commands
;  
SB_LINEUP		EQU		0t
SB_LINELEFT		EQU		0t
SB_LINEDOWN		EQU		1t
SB_LINERIGHT		EQU		1t
SB_PAGEUP		EQU		2t
SB_PAGELEFT		EQU		2t
SB_PAGEDOWN		EQU		3t
SB_PAGERIGHT		EQU		3t
SB_THUMBPOSITION		EQU		4t
SB_THUMBTRACK		EQU		5t
SB_TOP		EQU		6t
SB_LEFT		EQU		6t
SB_BOTTOM		EQU		7t
SB_RIGHT		EQU		7t
SB_ENDSCROLL		EQU		8t
; 
;  * ShowWindow() Commands
;  
SW_HIDE		EQU		0t
SW_SHOWNORMAL		EQU		1t
SW_NORMAL		EQU		1t
SW_SHOWMINIMIZED		EQU		2t
SW_SHOWMAXIMIZED		EQU		3t
SW_MAXIMIZE		EQU		3t
SW_SHOWNOACTIVATE		EQU		4t
SW_SHOW		EQU		5t
SW_MINIMIZE		EQU		6t
SW_SHOWMINNOACTIVE		EQU		7t
SW_SHOWNA		EQU		8t
SW_RESTORE		EQU		9t
SW_SHOWDEFAULT		EQU		10t
SW_MAX		EQU		10t
; 
;  * Old ShowWindow() Commands
;  
HIDE_WINDOW		EQU		0t
SHOW_OPENWINDOW		EQU		1t
SHOW_ICONWINDOW		EQU		2t
SHOW_FULLSCREEN		EQU		3t
SHOW_OPENNOACTIVATE		EQU		4t
; 
;  * Identifiers for the WM_SHOWWINDOW message
;  
SW_PARENTCLOSING		EQU		1t
SW_OTHERZOOM		EQU		2t
SW_PARENTOPENING		EQU		3t
SW_OTHERUNZOOM		EQU		4t
; 
;  * WM_KEYUP/DOWN/CHAR HIWORD(lParam) flags
;  
KF_EXTENDED		EQU		000000100h
KF_DLGMODE		EQU		000000800h
KF_MENUMODE		EQU		000001000h
KF_ALTDOWN		EQU		000002000h
KF_REPEAT		EQU		000004000h
KF_UP		EQU		000008000h
; 
;  * Virtual Keys, Standard Set
;  
VK_LBUTTON		EQU		000000001h
VK_RBUTTON		EQU		000000002h
VK_CANCEL		EQU		000000003h
;  NOT contiguous with L & RBUTTON 
VK_MBUTTON		EQU		000000004h
VK_BACK		EQU		000000008h
VK_TAB		EQU		000000009h
VK_CLEAR		EQU		00000000ch
VK_RETURN		EQU		00000000dh
VK_SHIFT		EQU		000000010h
VK_CONTROL		EQU		000000011h
VK_MENU		EQU		000000012h
VK_PAUSE		EQU		000000013h
VK_CAPITAL		EQU		000000014h
VK_ESCAPE		EQU		00000001bh
VK_SPACE		EQU		000000020h
VK_PRIOR		EQU		000000021h
VK_NEXT		EQU		000000022h
VK_END		EQU		000000023h
VK_HOME		EQU		000000024h
VK_LEFT		EQU		000000025h
VK_UP		EQU		000000026h
VK_RIGHT		EQU		000000027h
VK_DOWN		EQU		000000028h
VK_SELECT		EQU		000000029h
VK_PRINT		EQU		00000002ah
VK_EXECUTE		EQU		00000002bh
VK_SNAPSHOT		EQU		00000002ch
VK_INSERT		EQU		00000002dh
VK_DELETE		EQU		00000002eh
VK_HELP		EQU		00000002fh
;  VK_0 thru VK_9 are the same as ASCII '0' thru '9' (0x30 - 0x39) 
;  VK_A thru VK_Z are the same as ASCII 'A' thru 'Z' (0x41 - 0x5A) 
VK_LWIN		EQU		00000005bh
VK_RWIN		EQU		00000005ch
VK_APPS		EQU		00000005dh
VK_NUMPAD0		EQU		000000060h
VK_NUMPAD1		EQU		000000061h
VK_NUMPAD2		EQU		000000062h
VK_NUMPAD3		EQU		000000063h
VK_NUMPAD4		EQU		000000064h
VK_NUMPAD5		EQU		000000065h
VK_NUMPAD6		EQU		000000066h
VK_NUMPAD7		EQU		000000067h
VK_NUMPAD8		EQU		000000068h
VK_NUMPAD9		EQU		000000069h
VK_MULTIPLY		EQU		00000006ah
VK_ADD		EQU		00000006bh
VK_SEPARATOR		EQU		00000006ch
VK_SUBTRACT		EQU		00000006dh
VK_DECIMAL		EQU		00000006eh
VK_DIVIDE		EQU		00000006fh
VK_F1		EQU		000000070h
VK_F2		EQU		000000071h
VK_F3		EQU		000000072h
VK_F4		EQU		000000073h
VK_F5		EQU		000000074h
VK_F6		EQU		000000075h
VK_F7		EQU		000000076h
VK_F8		EQU		000000077h
VK_F9		EQU		000000078h
VK_F10		EQU		000000079h
VK_F11		EQU		00000007ah
VK_F12		EQU		00000007bh
VK_F13		EQU		00000007ch
VK_F14		EQU		00000007dh
VK_F15		EQU		00000007eh
VK_F16		EQU		00000007fh
VK_F17		EQU		000000080h
VK_F18		EQU		000000081h
VK_F19		EQU		000000082h
VK_F20		EQU		000000083h
VK_F21		EQU		000000084h
VK_F22		EQU		000000085h
VK_F23		EQU		000000086h
VK_F24		EQU		000000087h
VK_NUMLOCK		EQU		000000090h
VK_SCROLL		EQU		000000091h
; 
;  * VK_L* & VK_R* - left and right Alt, Ctrl and Shift virtual keys.
;  * Used only as parameters to GetAsyncKeyState() and GetKeyState().
;  * No other API or message will distinguish left and right keys in this way.
;  
VK_LSHIFT		EQU		0000000a0h
VK_RSHIFT		EQU		0000000a1h
VK_LCONTROL		EQU		0000000a2h
VK_RCONTROL		EQU		0000000a3h
VK_LMENU		EQU		0000000a4h
VK_RMENU		EQU		0000000a5h
VK_PROCESSKEY		EQU		0000000e5h
VK_ATTN		EQU		0000000f6h
VK_CRSEL		EQU		0000000f7h
VK_EXSEL		EQU		0000000f8h
VK_EREOF		EQU		0000000f9h
VK_PLAY		EQU		0000000fah
VK_ZOOM		EQU		0000000fbh
VK_NONAME		EQU		0000000fch
VK_PA1		EQU		0000000fdh
VK_OEM_CLEAR		EQU		0000000feh
; 
;  * SetWindowsHook() codes
;  
WH_MIN		EQU		0ffffffffh
WH_MSGFILTER		EQU		0ffffffffh
WH_JOURNALRECORD		EQU		0t
WH_JOURNALPLAYBACK		EQU		1t
WH_KEYBOARD		EQU		2t
WH_GETMESSAGE		EQU		3t
WH_CALLWNDPROC		EQU		4t
WH_CBT		EQU		5t
WH_SYSMSGFILTER		EQU		6t
WH_MOUSE		EQU		7t
WH_HARDWARE		EQU		8t
WH_DEBUG		EQU		9t
WH_SHELL		EQU		10t
WH_FOREGROUNDIDLE		EQU		11t
WH_CALLWNDPROCRET		EQU		12t
WH_MAX		EQU		12t
WH_MINHOOK		EQU		0ffffffffh
WH_MAXHOOK		EQU		00000000ch
; 
;  * Hook Codes
;  
HC_ACTION		EQU		0t
HC_GETNEXT		EQU		1t
HC_SKIP		EQU		2t
HC_NOREMOVE		EQU		3t
HC_NOREM		EQU		000000003h
HC_SYSMODALON		EQU		4t
HC_SYSMODALOFF		EQU		5t
; 
;  * CBT Hook Codes
;  
HCBT_MOVESIZE		EQU		0t
HCBT_MINMAX		EQU		1t
HCBT_QS		EQU		2t
HCBT_CREATEWND		EQU		3t
HCBT_DESTROYWND		EQU		4t
HCBT_ACTIVATE		EQU		5t
HCBT_CLICKSKIPPED		EQU		6t
HCBT_KEYSKIPPED		EQU		7t
HCBT_SYSCOMMAND		EQU		8t
HCBT_SETFOCUS		EQU		9t
; 
;  * Standard Icon IDs
;  
IDI_APPLICATION		EQU		32512t
IDI_HAND		EQU		32513t
IDI_QUESTION		EQU		32514t
IDI_EXCLAMATION		EQU		32515t
IDI_ASTERISK		EQU		32516t
IDI_WINLOGO		EQU		32517t
IDI_WARNING		EQU		000007f03h
IDI_ERROR		EQU		000007f01h
IDI_INFORMATION		EQU		000007f04h
; 
;  * MessageBox() Flags
;  
MB_OK		EQU		000000000h
MB_OKCANCEL		EQU		000000001h
MB_ABORTRETRYIGNORE		EQU		000000002h
MB_YESNOCANCEL		EQU		000000003h
MB_YESNO		EQU		000000004h
MB_RETRYCANCEL		EQU		000000005h
MB_ICONHAND		EQU		000000010h
MB_ICONQUESTION		EQU		000000020h
MB_ICONEXCLAMATION		EQU		000000030h
MB_ICONASTERISK		EQU		000000040h
MB_ICONWARNING		EQU		000000030h
MB_ICONERROR		EQU		000000010h
MB_ICONINFORMATION		EQU		000000040h
MB_ICONSTOP		EQU		000000010h
MB_DEFBUTTON1		EQU		000000000h
MB_DEFBUTTON2		EQU		000000100h
MB_DEFBUTTON3		EQU		000000200h
MB_DEFBUTTON4		EQU		000000300h
MB_APPLMODAL		EQU		000000000h
MB_SYSTEMMODAL		EQU		000001000h
MB_TASKMODAL		EQU		000002000h
;  Help Button
MB_HELP		EQU		000004000h
MB_RIGHT		EQU		000080000h
MB_RTLREADING		EQU		000100000h
MB_NOFOCUS		EQU		000008000h
MB_SETFOREGROUND		EQU		000010000h
MB_DEFAULT_DESKTOP_ONLY		EQU		000020000h
MB_SERVICE_NOTIFICATION		EQU		000040000h
MB_TYPEMASK		EQU		00000000fh
MB_USERICON		EQU		000000080h
MB_ICONMASK		EQU		0000000f0h
MB_DEFMASK		EQU		000000f00h
MB_MODEMASK		EQU		000003000h
MB_MISCMASK		EQU		00000c000h
; 
;  * Dialog Box Command IDs
;  
IDOK		EQU		1t
IDCANCEL		EQU		2t
IDABORT		EQU		3t
IDRETRY		EQU		4t
IDIGNORE		EQU		5t
IDYES		EQU		6t
IDNO		EQU		7t
IDCLOSE		EQU		8t
IDHELP		EQU		9t
; 
;  * Edit Control Styles
;  
ES_LEFT		EQU		000000000h
ES_CENTER		EQU		000000001h
ES_RIGHT		EQU		000000002h
ES_MULTILINE		EQU		000000004h
ES_UPPERCASE		EQU		000000008h
ES_LOWERCASE		EQU		000000010h
ES_PASSWORD		EQU		000000020h
ES_AUTOVSCROLL		EQU		000000040h
ES_AUTOHSCROLL		EQU		000000080h
ES_NOHIDESEL		EQU		000000100h
ES_OEMCONVERT		EQU		000000400h
ES_READONLY		EQU		000000800h
ES_WANTRETURN		EQU		000001000h
ES_NUMBER		EQU		000002000h
; 
;  * Edit Control Notification Codes
;  
EN_SETFOCUS		EQU		000000100h
EN_KILLFOCUS		EQU		000000200h
EN_CHANGE		EQU		000000300h
EN_UPDATE		EQU		000000400h
EN_ERRSPACE		EQU		000000500h
EN_MAXTEXT		EQU		000000501h
EN_HSCROLL		EQU		000000601h
EN_VSCROLL		EQU		000000602h
; 
;  * Edit control EM_SETMARGIN parameters
;  
EC_LEFTMARGIN		EQU		000000001h
EC_RIGHTMARGIN		EQU		000000002h
EC_USEFONTINFO		EQU		00000ffffh
; 
;  * Edit Control Messages
;  
EM_GETSEL		EQU		0000000b0h
EM_SETSEL		EQU		0000000b1h
EM_GETRECT		EQU		0000000b2h
EM_SETRECT		EQU		0000000b3h
EM_SETRECTNP		EQU		0000000b4h
EM_SCROLL		EQU		0000000b5h
EM_LINESCROLL		EQU		0000000b6h
EM_SCROLLCARET		EQU		0000000b7h
EM_GETMODIFY		EQU		0000000b8h
EM_SETMODIFY		EQU		0000000b9h
EM_GETLINECOUNT		EQU		0000000bah
EM_LINEINDEX		EQU		0000000bbh
EM_SETHANDLE		EQU		0000000bch
EM_GETHANDLE		EQU		0000000bdh
EM_GETTHUMB		EQU		0000000beh
EM_LINELENGTH		EQU		0000000c1h
EM_REPLACESEL		EQU		0000000c2h
EM_GETLINE		EQU		0000000c4h
EM_LIMITTEXT		EQU		0000000c5h
EM_CANUNDO		EQU		0000000c6h
EM_UNDO		EQU		0000000c7h
EM_FMTLINES		EQU		0000000c8h
EM_LINEFROMCHAR		EQU		0000000c9h
EM_SETTABSTOPS		EQU		0000000cbh
EM_SETPASSWORDCHAR		EQU		0000000cch
EM_EMPTYUNDOBUFFER		EQU		0000000cdh
EM_GETFIRSTVISIBLELINE		EQU		0000000ceh
EM_SETREADONLY		EQU		0000000cfh
EM_SETWORDBREAKPROC		EQU		0000000d0h
EM_GETWORDBREAKPROC		EQU		0000000d1h
EM_GETPASSWORDCHAR		EQU		0000000d2h
EM_SETMARGINS		EQU		0000000d3h
EM_GETMARGINS		EQU		0000000d4h
;  ;win40 Name change 
EM_SETLIMITTEXT		EQU		0000000c5h
EM_GETLIMITTEXT		EQU		0000000d5h
EM_POSFROMCHAR		EQU		0000000d6h
EM_CHARFROMPOS		EQU		0000000d7h
; 
;  * Class styles
;  
CS_VREDRAW		EQU		000000001h
CS_HREDRAW		EQU		000000002h
CS_KEYCVTWINDOW		EQU		000000004h
CS_DBLCLKS		EQU		000000008h
CS_OWNDC		EQU		000000020h
CS_CLASSDC		EQU		000000040h
CS_PARENTDC		EQU		000000080h
CS_NOKEYCVT		EQU		000000100h
CS_NOCLOSE		EQU		000000200h
CS_SAVEBITS		EQU		000000800h
CS_BYTEALIGNCLIENT		EQU		000001000h
CS_BYTEALIGNWINDOW		EQU		000002000h
CS_GLOBALCLASS		EQU		000004000h
; 
;  * Standard Cursor IDs
;  
IDC_ARROW		EQU		000007f00h
IDC_IBEAM		EQU		000007f01h
IDC_WAIT		EQU		000007f02h
IDC_CROSS		EQU		000007f03h
IDC_UPARROW		EQU		000007f04h
;  OBSOLETE: use IDC_SIZEALL 
IDC_SIZE		EQU		000007f80h
;  OBSOLETE: use IDC_ARROW 
IDC_ICON		EQU		000007f81h
IDC_SIZENWSE		EQU		000007f82h
IDC_SIZENESW		EQU		000007f83h
IDC_SIZEWE		EQU		000007f84h
IDC_SIZENS		EQU		000007f85h
IDC_SIZEALL		EQU		000007f86h
; not in win3.1 
IDC_NO		EQU		000007f88h
; not in win3.1 
IDC_APPSTARTING		EQU		000007f8ah
IDC_HELP		EQU		000007f8bh
; 
;  * Predefined Clipboard Formats
;  
CF_TEXT		EQU		1t
CF_BITMAP		EQU		2t
CF_METAFILEPICT		EQU		3t
CF_SYLK		EQU		4t
CF_DIF		EQU		5t
CF_TIFF		EQU		6t
CF_OEMTEXT		EQU		7t
CF_DIB		EQU		8t
CF_PALETTE		EQU		9t
CF_PENDATA		EQU		10t
CF_RIFF		EQU		11t
CF_WAVE		EQU		12t
CF_UNICODETEXT		EQU		13t
CF_ENHMETAFILE		EQU		14t
CF_HDROP		EQU		15t
CF_LOCALE		EQU		16t
CF_MAX		EQU		17t
CF_OWNERDISPLAY		EQU		000000080h
CF_DSPTEXT		EQU		000000081h
CF_DSPBITMAP		EQU		000000082h
CF_DSPMETAFILEPICT		EQU		000000083h
CF_DSPENHMETAFILE		EQU		00000008eh
; 
;  * "Private" formats don't get GlobalFree()'d
;  
CF_PRIVATEFIRST		EQU		000000200h
CF_PRIVATELAST		EQU		0000002ffh
; 
;  * "GDIOBJ" formats do get DeleteObject()'d
;  
CF_GDIOBJFIRST		EQU		000000300h
CF_GDIOBJLAST		EQU		0000003ffh
; 
;  * From WINGDI.H
;  
; 
;  * Binary raster ops
;  
;   0       
R2_BLACK		EQU		1t
;  DPon     
R2_NOTMERGEPEN		EQU		2t
;  DPna     
R2_MASKNOTPEN		EQU		3t
;  PN       
R2_NOTCOPYPEN		EQU		4t
;  PDna     
R2_MASKPENNOT		EQU		5t
;  Dn       
R2_NOT		EQU		6t
;  DPx      
R2_XORPEN		EQU		7t
;  DPan     
R2_NOTMASKPEN		EQU		8t
;  DPa      
R2_MASKPEN		EQU		9t
;  DPxn     
R2_NOTXORPEN		EQU		10t
;  D        
R2_NOP		EQU		11t
;  DPno     
R2_MERGENOTPEN		EQU		12t
;  P        
R2_COPYPEN		EQU		13t
;  PDno     
R2_MERGEPENNOT		EQU		14t
;  DPo      
R2_MERGEPEN		EQU		15t
;   1       
R2_WHITE		EQU		16t
R2_LAST		EQU		16t
; 
;  * Ternary raster operations
;  
;  dest = source                   
SRCCOPY		EQU		000cc0020h
;  dest = source OR dest           
SRCPAINT		EQU		000ee0086h
;  dest = source AND dest          
SRCAND		EQU		0008800c6h
;  dest = source XOR dest          
SRCINVERT		EQU		000660046h
;  dest = source AND (NOT dest )   
SRCERASE		EQU		000440328h
;  dest = (NOT source)             
NOTSRCCOPY		EQU		000330008h
;  dest = (NOT src) AND (NOT dest) 
NOTSRCERASE		EQU		0001100a6h
;  dest = (source AND pattern)     
MERGECOPY		EQU		000c000cah
;  dest = (NOT source) OR dest     
MERGEPAINT		EQU		000bb0226h
;  dest = pattern                  
PATCOPY		EQU		000f00021h
;  dest = DPSnoo                   
PATPAINT		EQU		000fb0a09h
;  dest = pattern XOR dest         
PATINVERT		EQU		0005a0049h
;  dest = (NOT dest)               
DSTINVERT		EQU		000550009h
;  dest = BLACK                    
BLACKNESS		EQU		000000042h
;  dest = WHITE                    
WHITENESS		EQU		000ff0062h
; 
;  * Stock Logical Objects
;  
WHITE_BRUSH		EQU		0t
LTGRAY_BRUSH		EQU		1t
GRAY_BRUSH		EQU		2t
DKGRAY_BRUSH		EQU		3t
BLACK_BRUSH		EQU		4t
NULL_BRUSH		EQU		5t
HOLLOW_BRUSH		EQU		000000005h
WHITE_PEN		EQU		6t
BLACK_PEN		EQU		7t
NULL_PEN		EQU		8t
OEM_FIXED_FONT		EQU		10t
ANSI_FIXED_FONT		EQU		11t
ANSI_VAR_FONT		EQU		12t
SYSTEM_FONT		EQU		13t
DEVICE_DEFAULT_FONT		EQU		14t
DEFAULT_PALETTE		EQU		15t
SYSTEM_FIXED_FONT		EQU		16t
DEFAULT_GUI_FONT		EQU		17t
STOCK_LAST		EQU		17t
CLR_INVALID		EQU		0ffffffffh
; 
;  * Brush Styles
;  
BS_SOLID		EQU		0t
BS_NULL		EQU		1t
BS_HOLLOW		EQU		000000001h
BS_HATCHED		EQU		2t
BS_PATTERN		EQU		3t
BS_INDEXED		EQU		4t
BS_DIBPATTERN		EQU		5t
BS_DIBPATTERNPT		EQU		6t
BS_PATTERN8X8		EQU		7t
BS_DIBPATTERN8X8		EQU		8t
; 
;  * Hatch Styles
;  
;  ----- 
HS_HORIZONTAL		EQU		0t
;  ||||| 
HS_VERTICAL		EQU		1t
;   
HS_FDIAGONAL		EQU		2t
;  ///// 
HS_BDIAGONAL		EQU		3t
;  +++++ 
HS_CROSS		EQU		4t
;  xxxxx 
HS_DIAGCROSS		EQU		5t
; 
;  * Pen Styles
;  
PS_SOLID		EQU		0t
;  -------  
PS_DASH		EQU		1t
;  .......  
PS_DOT		EQU		2t
;  _._._._  
PS_DASHDOT		EQU		3t
;  _.._.._  
PS_DASHDOTDOT		EQU		4t
PS_NULL		EQU		5t
PS_INSIDEFRAME		EQU		6t
PS_USERSTYLE		EQU		7t
PS_ALTERNATE		EQU		8t
PS_STYLE_MASK		EQU		00000000fh
PS_ENDCAP_ROUND		EQU		000000000h
PS_ENDCAP_SQUARE		EQU		000000100h
PS_ENDCAP_FLAT		EQU		000000200h
PS_ENDCAP_MASK		EQU		000000f00h
PS_JOIN_ROUND		EQU		000000000h
PS_JOIN_BEVEL		EQU		000001000h
PS_JOIN_MITER		EQU		000002000h
PS_JOIN_MASK		EQU		00000f000h
PS_COSMETIC		EQU		000000000h
PS_GEOMETRIC		EQU		000010000h
PS_TYPE_MASK		EQU		0000f0000h
AD_COUNTERCLOCKWISE		EQU		1t
AD_CLOCKWISE		EQU		2t
; 
;  * These typedefs simplify the compilation of structures that follow *
; 
UINT		TYPEDEF		DWORD

WPARAM		TYPEDEF		DWORD

LPARAM		TYPEDEF		DWORD

HANDLE		TYPEDEF		PTR DWORD

HICON		TYPEDEF		PTR DWORD

HCURSOR		TYPEDEF		PTR DWORD

HBRUSH		TYPEDEF		PTR DWORD

HWND		TYPEDEF		PTR DWORD

HMENU		TYPEDEF		PTR DWORD

PVOID		TYPEDEF		PTR DWORD

UCHAR		TYPEDEF		BYTE

LONG		TYPEDEF		SDWORD

WNDPROC		TYPEDEF		PTR SDWORD

LPCTSTR		TYPEDEF		PTR UCHAR

;  pt 
tagPOINT		STRUCT 4t
x		LONG		?
y		LONG		?
tagPOINT		ENDS

POINT		TYPEDEF		tagPOINT

; 
;  * Struct pointed to by WM_GETMINMAXINFO lParam
;  
tagMINMAXINFO		STRUCT 4t
ptReserved		POINT		<>
ptMaxSize		POINT		<>
ptMaxPosition		POINT		<>
ptMinTrackSize		POINT		<>
ptMaxTrackSize		POINT		<>
tagMINMAXINFO		ENDS

MINMAXINFO		TYPEDEF		tagMINMAXINFO

PMINMAXINFO		TYPEDEF		PTR tagMINMAXINFO

LPMINMAXINFO		TYPEDEF		PTR tagMINMAXINFO

;  wc 
_WNDCLASSEX		STRUCT 4t
cbSize		UINT		?
style		UINT		?
lpfnWndProc		WNDPROC		?
cbClsExtra		SDWORD		?
cbWndExtra		SDWORD		?
hInstance		HANDLE		?
hIcon		HICON		?
hCursor		HCURSOR		?
hbrBackground		HBRUSH		?
lpszMenuName		LPCTSTR		?
lpszClassName		LPCTSTR		?
hIconSm		HICON		?
_WNDCLASSEX		ENDS

WNDCLASSEX		TYPEDEF		_WNDCLASSEX

;  msg 
tagMSG		STRUCT 4t
hwnd		HWND		?
message		UINT		?
wParam		WPARAM		?
lParam		LPARAM		?
time		UINT		?
pt		POINT		<>
tagMSG		ENDS

MSG		TYPEDEF		tagMSG

;  rc 
_RECT		STRUCT 4t
left		LONG		?
top		LONG		?
right		LONG		?
bottom		LONG		?
_RECT		ENDS

RECT		TYPEDEF		_RECT

; 
;  * lParam of WM_COPYDATA message points to...
;  
tagCOPYDATASTRUCT		STRUCT 4t
dwData		DWORD		?
cbData		DWORD		?
lpData		PVOID		?
tagCOPYDATASTRUCT		ENDS

COPYDATASTRUCT		TYPEDEF		tagCOPYDATASTRUCT

PCOPYDATASTRUCT		TYPEDEF		PTR tagCOPYDATASTRUCT

tagMDINEXTMENU		STRUCT 4t
hmenuIn		HMENU		?
hmenuNext		HMENU		?
hwndNext		HWND		?
tagMDINEXTMENU		ENDS

MDINEXTMENU		TYPEDEF		tagMDINEXTMENU

PMDINEXTMENU		TYPEDEF		PTR tagMDINEXTMENU

LPMDINEXTMENU		TYPEDEF		PTR tagMDINEXTMENU

; End of file win.h
