;*DDK*************************************************************************/
;
; COPYRIGHT    Copyright (C) 1995 IBM Corporation
;
;    The following IBM OS/2 WARP source code is provided to you solely for
;    the purpose of assisting you in your development of OS/2 WARP device
;    drivers. You may use this code in accordance with the IBM License
;    Agreement provided in the IBM Device Driver Source Kit for OS/2. This
;    Copyright statement may not be removed.;
;*****************************************************************************/
WIN_INCLUDED	EQU	1

ifndef INCL_32         
ifndef INCL_16      
ifdef M_I386
INCL_32	EQU	1

else
INCL_16	EQU	1

endif
endif
endif
ifdef INCL_16
endif 
ifdef INCL_WIN
INCL_WINWINDOWMGR	EQU	1

INCL_WINMESSAGEMGR	EQU	1

INCL_WININPUT	EQU	1

INCL_WINDIALOGS	EQU	1

INCL_WINSTATICS	EQU	1

INCL_WINBUTTONS	EQU	1

INCL_WINENTRYFIELDS	EQU	1

INCL_WINMLE	EQU	1

INCL_WINLISTBOXES	EQU	1

INCL_WINMENUS	EQU	1

INCL_WINSCROLLBARS	EQU	1

INCL_WINFRAMEMGR	EQU	1

INCL_WINFRAMECTLS	EQU	1

INCL_WINRECTANGLES	EQU	1

INCL_WINSYS	EQU	1

INCL_WINTIMER	EQU	1

INCL_WINACCELERATORS	EQU	1

INCL_WINTRACKRECT	EQU	1

INCL_WINCLIPBOARD	EQU	1

INCL_WINCURSORS	EQU	1

INCL_WINPOINTERS	EQU	1

INCL_WINHOOKS	EQU	1

INCL_WINSWITCHLIST	EQU	1

INCL_WINPROGRAMLIST	EQU	1

INCL_WINSHELLDATA	EQU	1

INCL_WINCOUNTRY	EQU	1

INCL_WINHEAP	EQU	1

INCL_WINATOM	EQU	1

ifndef INCL_32
INCL_WINCATCHTHROW	EQU	1

endif
INCL_WINERRORS	EQU	1

INCL_WINDDE	EQU	1

INCL_WINHELP	EQU	1

INCL_WINSEI	EQU	1

INCL_WINLOAD	EQU	1

INCL_WINTYPES	EQU	1

INCL_WINDESKTOP	EQU	1

INCL_WINPALETTE	EQU	1

INCL_WINTHUNKAPI	EQU	1

INCL_WINSTDDLGS	EQU	1

else 
ifdef RC_INVOKED
INCL_WININPUT	EQU	1

INCL_WINDIALOGS	EQU	1

INCL_WINSTATICS	EQU	1

INCL_WINBUTTONS	EQU	1

INCL_WINENTRYFIELDS	EQU	1

INCL_WINLISTBOXES	EQU	1

INCL_WINMENUS	EQU	1

INCL_WINSCROLLBARS	EQU	1

INCL_WINFRAMEMGR	EQU	1

INCL_WINFRAMECTLS	EQU	1

INCL_WINACCELERATORS	EQU	1

INCL_WINPOINTERS	EQU	1

INCL_WINMESSAGEMGR	EQU	1

INCL_WINMLE	EQU	1

INCL_WINHELP	EQU	1

INCL_WINSTDDLGS	EQU	1

INCL_WINSYS	EQU	1

endif 
endif 
ifdef INCL_WINMLE
ifndef INCL_WINENTRYFIELDS
INCL_WINENTRYFIELDS	EQU	1

endif 
endif 
ifdef INCL_WINCOMMON
INCL_WINWINDOWMGR	EQU	1

endif 
ifdef INCL_ERRORS
INCL_WINERRORS	EQU	1

endif  
MPVOID	EQU	(        0 )
ifdef INCL_32
else
endif
ifdef INCL_32
else
endif
ifndef INCL_SAADEFS
HWND_DESKTOP	EQU	      1 
HWND_OBJECT	EQU	      2 
endif 
HWND_TOP	EQU	      3 
HWND_BOTTOM	EQU	      4 
ifndef INCL_SAADEFS
HWND_THREADCAPTURE	EQU	      5 
endif 
WC_FRAME	EQU	(     0ffff0001H )
WC_COMBOBOX	EQU	(     0ffff0002H )
WC_BUTTON	EQU	(     0ffff0003H )
WC_MENU	EQU	(     0ffff0004H )
WC_STATIC	EQU	(     0ffff0005H )
WC_ENTRYFIELD	EQU	(     0ffff0006H )
WC_LISTBOX	EQU	(     0ffff0007H )
WC_SCROLLBAR	EQU	(     0ffff0008H )
WC_TITLEBAR	EQU	(     0ffff0009H )
WC_MLE	EQU	(     0ffff000AH )
WC_APPSTAT	EQU	(     0ffff0010H )
WC_KBDSTAT	EQU	(     0ffff0011H )
WC_PECIC	EQU	(     0ffff0012H )
WC_DBE_KKPOPUP	EQU	(     0ffff0013H )
WC_SPINBUTTON	EQU	(     0ffff0020H )
WC_CONTAINER	EQU	(     0ffff0025H )
WC_SLIDER	EQU	(     0ffff0026H )
WC_VALUESET	EQU	(     0ffff0027H )
WC_NOTEBOOK	EQU	(     0ffff0028H )
WC_PENFIRST	EQU	(     0ffff0029H )
WC_PENLAST	EQU	(     0ffff002CH )
WC_MMPMFIRST	EQU	(     0ffff0040H )
WC_MMPMLAST	EQU	(     0ffff004fH )
WS_VISIBLE	EQU	80000000H 
WS_DISABLED	EQU	40000000H 
WS_CLIPCHILDREN	EQU	20000000H 
WS_CLIPSIBLINGS	EQU	10000000H 
WS_PARENTCLIP	EQU	08000000H 
WS_SAVEBITS	EQU	04000000H 
WS_SYNCPAINT	EQU	02000000H 
WS_MINIMIZED	EQU	01000000H 
WS_MAXIMIZED	EQU	00800000H 
WS_ANIMATE	EQU	00400000H 
WS_GROUP	EQU	00010000H 
WS_TABSTOP	EQU	00020000H 
WS_MULTISELECT	EQU	00040000H 
CS_MOVENOTIFY	EQU	00000001H 
CS_SIZEREDRAW	EQU	00000004H 
CS_HITTEST	EQU	00000008H 
CS_PUBLIC	EQU	00000010H 
CS_FRAME	EQU	00000020H 
CS_CLIPCHILDREN	EQU	20000000H 
CS_CLIPSIBLINGS	EQU	10000000H 
CS_PARENTCLIP	EQU	08000000H 
CS_SAVEBITS	EQU	04000000H 
CS_SYNCPAINT	EQU	02000000H 
IFTEMP00 = 0
IFDEF INCL_WINWINDOWMGR
IFTEMP00 = 1
ENDIF
IFNDEF INCL_NOCOMMON
IFTEMP00 = 1
ENDIF
IF IFTEMP00
ifdef INCL_32
else
endif  
ifdef INCL_32
else
endif  
ifndef INCL_SAADEFS
ifdef INCL_32
else
endif  
endif 
ifdef INCL_32
else
endif  
ifndef INCL_SAADEFS
PSF_LOCKWINDOWUPDATE	EQU	0001H 
PSF_CLIPUPWARDS	EQU	0002H 
PSF_CLIPDOWNWARDS	EQU	0004H 
PSF_CLIPSIBLINGS	EQU	0008H 
PSF_CLIPCHILDREN	EQU	0010H 
PSF_PARENTCLIP	EQU	0020H 
endif 
SW_SCROLLCHILDREN	EQU	0001H 
SW_INVALIDATERGN	EQU	0002H 

QVERSDATA	STRUC
qver_environment	DW	?
qver_version	DW	?
QVERSDATA	ENDS
QV_OS2	EQU	0000H 
QV_CMS	EQU	0001H 
QV_TSO	EQU	0002H 
QV_TSOBATCH	EQU	0003H 
QV_OS400	EQU	0004H 
ifdef INCL_32
else
endif  
endif 
ifdef INCL_32
else
endif  
ifdef INCL_32
else
endif  
ifdef INCL_32
else
endif  
ifdef INCL_32
else
endif  
ifdef INCL_32
else
endif  
ifdef INCL_32
else
endif  
QW_NEXT	EQU	0 
QW_PREV	EQU	1 
QW_TOP	EQU	2 
QW_BOTTOM	EQU	3 
QW_OWNER	EQU	4 
QW_PARENT	EQU	5 
QW_NEXTTOP	EQU	6 
QW_PREVTOP	EQU	7 
QW_FRAMEOWNER	EQU	8 
ifndef INCL_SAADEFS
endif 
ifdef INCL_32

SWP	STRUC
swp_fl	DD	?
swp_cy	DD	?
swp_cx	DD	?
swp_y	DD	?
swp_x	DD	?
swp_hwndInsertBehind	DD	?
swp_hwnd	DD	?
swp_ulReserved1	DD	?
swp_ulReserved2	DD	?
SWP	ENDS
else

SWP	STRUC
swp_fs	DW	?
swp_cy	DW	?
swp_cx	DW	?
swp_y	DW	?
swp_x	DW	?
swp_hwndInsertBehind	DD	?
swp_hwnd	DD	?
SWP	ENDS
endif
ifdef INCL_32
else
endif
AWP_MINIMIZED	EQU	00010000H 
AWP_MAXIMIZED	EQU	00020000H 
AWP_RESTORED	EQU	00040000H 
AWP_ACTIVATE	EQU	00080000H 
AWP_DEACTIVATE	EQU	00100000H 
SWP_SIZE	EQU	0001H 
SWP_MOVE	EQU	0002H 
SWP_ZORDER	EQU	0004H 
SWP_SHOW	EQU	0008H 
SWP_HIDE	EQU	0010H 
SWP_NOREDRAW	EQU	0020H 
SWP_NOADJUST	EQU	0040H 
SWP_ACTIVATE	EQU	0080H 
SWP_DEACTIVATE	EQU	0100H 
SWP_EXTSTATECHANGE	EQU	0200H 
SWP_MINIMIZE	EQU	0400H 
SWP_MAXIMIZE	EQU	0800H 
SWP_RESTORE	EQU	1000H 
SWP_FOCUSACTIVATE	EQU	2000H 
SWP_FOCUSDEACTIVATE	EQU	4000H 
SWP_NOAUTOCLOSE	EQU	8000H     
ifdef INCL_32
else
endif
DBM_NORMAL	EQU	0000H 
DBM_INVERT	EQU	0001H 
DBM_HALFTONE	EQU	0002H 
DBM_STRETCH	EQU	0004H 
DBM_IMAGEATTRS	EQU	0008H 
ifdef INCL_32
else 
endif 
DT_LEFT	EQU	0000H 
DT_QUERYEXTENT	EQU	0002H 
DT_UNDERSCORE	EQU	0010H 
DT_STRIKEOUT	EQU	0020H 
DT_TEXTATTRS	EQU	0040H 
DT_EXTERNALLEADING	EQU	0080H 
DT_CENTER	EQU	0100H 
DT_RIGHT	EQU	0200H 
DT_TOP	EQU	0000H 
DT_VCENTER	EQU	0400H 
DT_BOTTOM	EQU	0800H 
DT_HALFTONE	EQU	1000H 
DT_MNEMONIC	EQU	2000H 
DT_WORDBREAK	EQU	4000H 
DT_ERASERECT	EQU	8000H 
ifdef INCL_32
else 
endif 
DB_PATCOPY	EQU	0000H 
DB_PATINVERT	EQU	0001H 
DB_DESTINVERT	EQU	0002H 
DB_AREAMIXMODE	EQU	0003H 
DB_ROP	EQU	0007H 
DB_INTERIOR	EQU	0008H 
DB_AREAATTRS	EQU	0010H 
DB_STANDARD	EQU	0100H 
DB_DLGBORDER	EQU	0200H 
ifdef INCL_32
else
endif
ifndef INCL_SAADEFS
ifdef INCL_32
else
endif
endif 
IFTEMP01 = 0
IFDEF INCL_WINWINDOWMGR
IFTEMP01 = 1
ENDIF
IFNDEF INCL_NOCOMMON
IFTEMP01 = 1
ENDIF
IF IFTEMP01
endif 
ifdef INCL_WINWINDOWMGR
ifdef INCL_32

CREATESTRUCT	STRUC
crst_pPresParams	DD	?
crst_pCtlData	DD	?
crst_id	DD	?
crst_hwndInsertBehind	DD	?
crst_hwndOwner	DD	?
crst_cy	DD	?
crst_cx	DD	?
crst_y	DD	?
crst_x	DD	?
crst_flStyle	DD	?
crst_pszText	DD	?
crst_pszClass	DD	?
crst_hwndParent	DD	?
CREATESTRUCT	ENDS
else

CREATESTRUCT	STRUC
crst_pPresParams	DD	?
crst_pCtlData	DD	?
crst_id	DW	?
crst_hwndInsertBehind	DD	?
crst_hwndOwner	DD	?
crst_cy	DW	?
crst_cx	DW	?
crst_y	DW	?
crst_x	DW	?
crst_flStyle	DD	?
crst_pszText	DD	?
crst_pszClass	DD	?
crst_hwndParent	DD	?
CREATESTRUCT	ENDS
endif
ifdef INCL_32

CLASSINFO	STRUC
clsi_flClassStyle	DD	?
clsi_pfnWindowProc	DD	?
clsi_cbWindowData	DD	?
CLASSINFO	ENDS
else

CLASSINFO	STRUC
clsi_flClassStyle	DD	?
clsi_pfnWindowProc	DD	?
clsi_cbWindowData	DW	?
CLASSINFO	ENDS
endif
ifndef INCL_SAADEFS
endif 
ifdef INCL_32
else
endif
ifdef INCL_32
else
endif  
ifndef INCL_SAADEFS
endif 
ifdef INCL_32
else
endif 
ifndef INCL_32
ifndef INCL_SAADEFS
endif 
endif 
ifndef INCL_SAADEFS
ifdef INCL_32
else
endif
QWS_USER	EQU	0 
QWS_ID	EQU	(-1 )
QWS_MIN	EQU	(-1 )
QWL_USER	EQU	0 
QWL_STYLE	EQU	(-2 )
QWP_PFNWP	EQU	(-3 )
QWL_HMQ	EQU	(-4 )
QWL_RESERVED	EQU	(-5 )
QWL_PENDATA	EQU	(-7 )
QWL_MIN	EQU	(-7 )
QWL_HHEAP	EQU	0004H 
QWL_HWNDFOCUSSAVE	EQU	0018H 
QWL_DEFBUTTON	EQU	0040H 
QWL_PSSCBLK	EQU	0048H 
QWL_PFEPBLK	EQU	004cH 
QWL_PSTATBLK	EQU	0050H 
QWS_FLAGS	EQU	0008H 
QWS_RESULT	EQU	000aH 
QWS_XRESTORE	EQU	000cH 
QWS_YRESTORE	EQU	000eH 
QWS_CXRESTORE	EQU	0010H 
QWS_CYRESTORE	EQU	0012H 
QWS_XMINIMIZE	EQU	0014H 
QWS_YMINIMIZE	EQU	0016H 
endif 
ifdef INCL_32
else
endif 
ifndef INCL_SAADEFS
endif 
ifdef INCL_32
else
endif
endif 
IFTEMP02 = 0
IFDEF INCL_WINMESSAGEMGR
IFTEMP02 = 1
ENDIF
IFNDEF INCL_NOCOMMON
IFTEMP02 = 1
ENDIF
IF IFTEMP02
ifdef INCL_32

QMSG	STRUC
qmsg_hwnd	DD	?
qmsg_msg	DD	?
qmsg_mp1	DD	?
qmsg_mp2	DD	?
qmsg_time	DD	?
qmsg_ptl	DB	SIZE POINTL DUP (?)
qmsg_reserved	DD	?
QMSG	ENDS
else

QMSG	STRUC
qmsg_hwnd	DD	?
qmsg_msg	DW	?
qmsg_mp1	DD	?
qmsg_mp2	DD	?
qmsg_time	DD	?
qmsg_ptl	DB	SIZE POINTL DUP (?)
QMSG	ENDS
endif
WM_NULL	EQU	0000H 
WM_CREATE	EQU	0001H 
WM_DESTROY	EQU	0002H 
ifndef INCL_SAADEFS
ifndef INCL_32
WM_OTHERWINDOWDESTROYED	EQU	0003H 
endif
endif 
WM_ENABLE	EQU	0004H 
WM_SHOW	EQU	0005H 
WM_MOVE	EQU	0006H 
WM_SIZE	EQU	0007H 
WM_ADJUSTWINDOWPOS	EQU	0008H 
WM_CALCVALIDRECTS	EQU	0009H 
WM_SETWINDOWPARAMS	EQU	000aH 
WM_QUERYWINDOWPARAMS	EQU	000bH 
WM_HITTEST	EQU	000cH 
WM_ACTIVATE	EQU	000dH 
WM_SETFOCUS	EQU	000fH 
WM_SETSELECTION	EQU	0010H 
WM_PPAINT	EQU	0011H 
WM_PSETFOCUS	EQU	0012H 
WM_PSYSCOLORCHANGE	EQU	0013H 
WM_PSIZE	EQU	0014H 
WM_PACTIVATE	EQU	0015H 
WM_PCONTROL	EQU	0016H 
WM_COMMAND	EQU	0020H 
WM_SYSCOMMAND	EQU	0021H 
WM_HELP	EQU	0022H 
WM_PAINT	EQU	0023H 
ifndef INCL_SAADEFS
WM_TIMER	EQU	0024H 
WM_SEM1	EQU	0025H 
WM_SEM2	EQU	0026H 
WM_SEM3	EQU	0027H 
WM_SEM4	EQU	0028H 
endif 
WM_CLOSE	EQU	0029H 
WM_QUIT	EQU	002aH 
WM_SYSCOLORCHANGE	EQU	002bH 
WM_SYSVALUECHANGED	EQU	002dH 
WM_APPTERMINATENOTIFY	EQU	002eH 
WM_PRESPARAMCHANGED	EQU	002fH 
WM_CONTROL	EQU	0030H 
WM_VSCROLL	EQU	0031H 
WM_HSCROLL	EQU	0032H 
WM_INITMENU	EQU	0033H 
WM_MENUSELECT	EQU	0034H 
WM_MENUEND	EQU	0035H 
WM_DRAWITEM	EQU	0036H 
WM_MEASUREITEM	EQU	0037H 
WM_CONTROLPOINTER	EQU	0038H 
WM_QUERYDLGCODE	EQU	003aH 
WM_INITDLG	EQU	003bH 
WM_SUBSTITUTESTRING	EQU	003cH 
WM_MATCHMNEMONIC	EQU	003dH 
WM_SAVEAPPLICATION	EQU	003eH 
ifdef INCL_16
WM_CONTROLHEAP	EQU	0039H 
endif 
WM_HELPBASE	EQU	0F00H  
WM_HELPTOP	EQU	0FFFH  
WM_USER	EQU	1000H 
CMDSRC_PUSHBUTTON	EQU	1 
CMDSRC_MENU	EQU	2 
CMDSRC_ACCELERATOR	EQU	3 
CMDSRC_FONTDLG	EQU	4 
CMDSRC_FILEDLG	EQU	5 
CMDSRC_PRINTDLG	EQU	6 
CMDSRC_COLORDLG	EQU	7 
CMDSRC_OTHER	EQU	0 
ifdef INCL_32

COMMANDMSG	STRUC
commandmsg_cmd	DW	?
commandmsg_unused	DW	?
commandmsg_source	DW	?
commandmsg_fMouse	DW	?
COMMANDMSG	ENDS
else

COMMANDMSG	STRUC
commandmsg_source	DW	?
commandmsg_fMouse	DW	?
commandmsg_cmd	DW	?
commandmsg_unused	DW	?
COMMANDMSG	ENDS
endif
ifdef INCL_32

MQINFO	STRUC
mqi_cb	DD	?
mqi_pid	DD	?
mqi_tid	DD	?
mqi_cmsgs	DD	?
mqi_pReserved	DD	?
MQINFO	ENDS
else

MQINFO	STRUC
mqi_cb	DW	?
mqi_pid	DW	?
mqi_tid	DW	?
mqi_cmsgs	DW	?
mqi_pReserved	DD	?
MQINFO	ENDS
endif
ifdef INCL_32
else
endif
ifndef INCL_SAADEFS
endif 
ifdef INCL_32
else
endif
PM_REMOVE	EQU	0001H 
PM_NOREMOVE	EQU	0000H 
ifdef INCL_WINTYPES
INCLUDE pmtypes.INC
endif 
RUM_IN	EQU	1 
RUM_OUT	EQU	2 
RUM_INOUT	EQU	3 
SMD_DELAYED	EQU	0001H 
SMD_IMMEDIATE	EQU	0002H 
SSM_SYNCHRONOUS	EQU	0001H 
SSM_ASYNCHRONOUS	EQU	0002H 
SSM_MIXED	EQU	0003H 
endif 
ifdef INCL_WINMESSAGEMGR
CVR_ALIGNLEFT	EQU	0001H 
CVR_ALIGNBOTTOM	EQU	0002H 
CVR_ALIGNRIGHT	EQU	0004H 
CVR_ALIGNTOP	EQU	0008H 
CVR_REDRAW	EQU	0010H 
HT_NORMAL	EQU	0 
HT_TRANSPARENT	EQU	(-1 )
HT_DISCARD	EQU	(-2 )
HT_ERROR	EQU	(-3 )
ifdef INCL_32

WNDPARAMS	STRUC
wprm_fsStatus	DD	?
wprm_cchText	DD	?
wprm_pszText	DD	?
wprm_cbPresParams	DD	?
wprm_pPresParams	DD	?
wprm_cbCtlData	DD	?
wprm_pCtlData	DD	?
WNDPARAMS	ENDS
else

WNDPARAMS	STRUC
wprm_fsStatus	DW	?
wprm_cchText	DW	?
wprm_pszText	DD	?
wprm_cbPresParams	DW	?
wprm_pPresParams	DD	?
wprm_cbCtlData	DW	?
wprm_pCtlData	DD	?
WNDPARAMS	ENDS
endif
WPM_TEXT	EQU	0001H 
WPM_CTLDATA	EQU	0002H 
WPM_PRESPARAMS	EQU	0004H 
WPM_CCHTEXT	EQU	0008H 
WPM_CBCTLDATA	EQU	0010H 
WPM_CBPRESPARAMS	EQU	0020H 
ifndef INCL_SAADEFS
endif 
ifdef INCL_32
else
endif
BMSG_POST	EQU	0000H 
BMSG_SEND	EQU	0001H 
BMSG_POSTQUEUE	EQU	0002H 
BMSG_DESCENDANTS	EQU	0004H 
BMSG_FRAMEONLY	EQU	0008H 
ifdef INCL_32
else
endif
ifndef INCL_SAADEFS
QS_KEY	EQU	0001H 
QS_MOUSEBUTTON	EQU	0002H 
QS_MOUSEMOVE	EQU	0004H 
QS_MOUSE	EQU	0006H    
QS_TIMER	EQU	0008H 
QS_PAINT	EQU	0010H 
QS_POSTMSG	EQU	0020H 
QS_SEM1	EQU	0040H 
QS_SEM2	EQU	0080H 
QS_SEM3	EQU	0100H 
QS_SEM4	EQU	0200H 
QS_SENDMSG	EQU	0400H 
QS_MSGINPUT	EQU	0800H 
ifdef INCL_32
ifndef INCL_DOSSEMAPHORES
ifndef __HEV__
__HEV__	EQU	1

endif
endif
else
endif
endif 
ifdef INCL_32
else
endif
SMIM_ALL	EQU	0EFFH 
SMI_NOINTEREST	EQU	0001H 
SMI_INTEREST	EQU	0002H 
SMI_RESET	EQU	0004H 
SMI_AUTODISPATCH	EQU	0008H 
ifdef INCL_32
else
endif
endif 
IFTEMP03 = 0
IFDEF INCL_WININPUT
IFTEMP03 = 1
ENDIF
IFNDEF INCL_NOCOMMON
IFTEMP03 = 1
ENDIF
IF IFTEMP03
ifdef INCL_32
else
endif
FC_NOSETFOCUS	EQU	0001H 
FC_NOBRINGTOTOP	EQU	FC_NOSETFOCUS
FC_NOLOSEFOCUS	EQU	0002H 
FC_NOBRINGTOPFIRSTWINDOW	EQU	FC_NOLOSEFOCUS
FC_NOSETACTIVE	EQU	0004H 
FC_NOLOSEACTIVE	EQU	0008H 
FC_NOSETSELECTION	EQU	0010H 
FC_NOLOSESELECTION	EQU	0020H 
QFC_NEXTINCHAIN	EQU	0001H 
QFC_ACTIVE	EQU	0002H 
QFC_FRAME	EQU	0003H 
QFC_SELECTACTIVE	EQU	0004H 
QFC_PARTOFCHAIN	EQU	0005H 
endif  
ifdef INCL_WININPUT
ifndef INCL_SAADEFS
endif 
ifdef INCL_32
else
endif  
ifdef INCL_32
endif
ifndef INCL_SAADEFS
WM_MOUSEFIRST	EQU	0070H 
WM_MOUSELAST	EQU	0079H 
WM_BUTTONCLICKFIRST	EQU	0071H 
WM_BUTTONCLICKLAST	EQU	0079H 
endif 
WM_MOUSEMOVE	EQU	0070H 
WM_BUTTON1DOWN	EQU	0071H 
WM_BUTTON1UP	EQU	0072H 
WM_BUTTON1DBLCLK	EQU	0073H 
WM_BUTTON2DOWN	EQU	0074H 
WM_BUTTON2UP	EQU	0075H 
WM_BUTTON2DBLCLK	EQU	0076H 
ifndef INCL_SAADEFS
WM_BUTTON3DOWN	EQU	0077H 
WM_BUTTON3UP	EQU	0078H 
WM_BUTTON3DBLCLK	EQU	0079H 
WM_MOUSEMAP	EQU	007DH 
WM_EXTMOUSEFIRST	EQU	0410H 
WM_EXTMOUSELAST	EQU	0419H 
WM_CHORD	EQU	0410H 
WM_BUTTON1MOTIONSTART	EQU	0411H 
WM_BUTTON1MOTIONEND	EQU	0412H 
WM_BUTTON1CLICK	EQU	0413H 
WM_BUTTON2MOTIONSTART	EQU	0414H 
WM_BUTTON2MOTIONEND	EQU	0415H 
WM_BUTTON2CLICK	EQU	0416H 
WM_BUTTON3MOTIONSTART	EQU	0417H 
WM_BUTTON3MOTIONEND	EQU	0418H 
WM_BUTTON3CLICK	EQU	0419H 
WM_MOUSETRANSLATEFIRST	EQU	0420H 
WM_MOUSETRANSLATELAST	EQU	0428H 
WM_BEGINDRAG	EQU	0420H 
WM_ENDDRAG	EQU	0421H 
WM_SINGLESELECT	EQU	0422H 
WM_OPEN	EQU	0423H 
WM_CONTEXTMENU	EQU	0424H 
WM_CONTEXTHELP	EQU	0425H 
WM_TEXTEDIT	EQU	0426H 
WM_BEGINSELECT	EQU	0427H 
WM_ENDSELECT	EQU	0428H 
WM_PENFIRST	EQU	04C0H 
WM_PENLAST	EQU	04FFH 
WM_MMPMFIRST	EQU	0500H 
WM_MMPMLAST	EQU	05FFH 
endif 
ifdef INCL_32
else
endif
WM_CHAR	EQU	007aH 
WM_VIOCHAR	EQU	007bH 
KC_NONE	EQU	0000H      
KC_CHAR	EQU	0001H 
KC_VIRTUALKEY	EQU	0002H 
KC_SCANCODE	EQU	0004H 
KC_SHIFT	EQU	0008H 
KC_CTRL	EQU	0010H 
KC_ALT	EQU	0020H 
KC_KEYUP	EQU	0040H 
KC_PREVDOWN	EQU	0080H 
KC_LONEKEY	EQU	0100H 
KC_DEADKEY	EQU	0200H 
KC_COMPOSITE	EQU	0400H 
KC_INVALIDCOMP	EQU	0800H 
ifndef INCL_SAADEFS
KC_TOGGLE	EQU	1000H 
KC_INVALIDCHAR	EQU	2000H 
KC_DBCSRSRVD1	EQU	4000H 
KC_DBCSRSRVD2	EQU	8000H 
endif 
ifdef INCL_32

MOUSEMSG	STRUC
mousemsg_x	DW	?
mousemsg_y	DW	?
mousemsg_codeHitTest	DW	?
mousemsg_fsInp	DW	?
MOUSEMSG	ENDS

CHARMSG	STRUC
charmsg_fs	DW	?
charmsg_cRepeat	DB	?
charmsg_scancode	DB	?
charmsg_chr	DW	?
charmsg_vkey	DW	?
CHARMSG	ENDS
else

MOUSEMSG	STRUC
mousemsg_codeHitTest	DW	?
mousemsg_fsInp	DW	?
mousemsg_x	DW	?
mousemsg_y	DW	?
MOUSEMSG	ENDS

CHARMSG	STRUC
charmsg_chr	DW	?
charmsg_vkey	DW	?
charmsg_fs	DW	?
charmsg_cRepeat	DB	?
charmsg_scancode	DB	?
CHARMSG	ENDS
endif
INP_NONE	EQU	0000H 
INP_KBD	EQU	0001H 
INP_MULT	EQU	0002H 
INP_RES2	EQU	0004H 
INP_SHIFT	EQU	0008H 
INP_CTRL	EQU	0010H 
INP_ALT	EQU	0020H 
INP_RES3	EQU	0040H 
INP_RES4	EQU	0080H 
INP_IGNORE	EQU	0FFFFH 
VK_BUTTON1	EQU	01H 
VK_BUTTON2	EQU	02H 
VK_BUTTON3	EQU	03H 
VK_BREAK	EQU	04H 
VK_BACKSPACE	EQU	05H 
VK_TAB	EQU	06H 
VK_BACKTAB	EQU	07H 
VK_NEWLINE	EQU	08H 
VK_SHIFT	EQU	09H 
VK_CTRL	EQU	0AH 
VK_ALT	EQU	0BH 
VK_ALTGRAF	EQU	0CH 
VK_PAUSE	EQU	0DH 
VK_CAPSLOCK	EQU	0EH 
VK_ESC	EQU	0FH 
VK_SPACE	EQU	10H 
VK_PAGEUP	EQU	11H 
VK_PAGEDOWN	EQU	12H 
VK_END	EQU	13H 
VK_HOME	EQU	14H 
VK_LEFT	EQU	15H 
VK_UP	EQU	16H 
VK_RIGHT	EQU	17H 
VK_DOWN	EQU	18H 
VK_PRINTSCRN	EQU	19H 
VK_INSERT	EQU	1AH 
VK_DELETE	EQU	1BH 
VK_SCRLLOCK	EQU	1CH 
VK_NUMLOCK	EQU	1DH 
VK_ENTER	EQU	1EH 
VK_SYSRQ	EQU	1FH 
VK_F1	EQU	20H 
VK_F2	EQU	21H 
VK_F3	EQU	22H 
VK_F4	EQU	23H 
VK_F5	EQU	24H 
VK_F6	EQU	25H 
VK_F7	EQU	26H 
VK_F8	EQU	27H 
VK_F9	EQU	28H 
VK_F10	EQU	29H 
VK_F11	EQU	2AH 
VK_F12	EQU	2BH 
VK_F13	EQU	2CH 
VK_F14	EQU	2DH 
VK_F15	EQU	2EH 
VK_F16	EQU	2FH 
VK_F17	EQU	30H 
VK_F18	EQU	31H 
VK_F19	EQU	32H 
VK_F20	EQU	33H 
VK_F21	EQU	34H 
VK_F22	EQU	35H 
VK_F23	EQU	36H 
VK_F24	EQU	37H 
VK_ENDDRAG	EQU	38H 
VK_CLEAR	EQU	39H 
VK_EREOF	EQU	3AH 
VK_PA1	EQU	3BH 
VK_ATTN	EQU	3CH 
VK_CRSEL	EQU	3DH 
VK_EXSEL	EQU	3EH 
VK_COPY	EQU	3FH 
VK_BLK1	EQU	40H 
VK_BLK2	EQU	41H 
VK_MENU	EQU	VK_F10
ifdef INCL_NLS
VK_DBCSFIRST	EQU	0080H 
VK_DBCSLAST	EQU	00ffH 
endif 
VK_USERFIRST	EQU	0100H 
VK_USERLAST	EQU	01ffH 
ifndef INCL_SAADEFS
ifdef INCL_32
else
endif
WM_JOURNALNOTIFY	EQU	007cH 
JRN_QUEUESTATUS	EQU	00000001H 
JRN_PHYSKEYSTATE	EQU	00000002H 
endif 
endif 
IFTEMP04 = 0
IFDEF INCL_WINDIALOGS
IFTEMP04 = 1
ENDIF
IFNDEF INCL_NOCOMMON
IFTEMP04 = 1
ENDIF
IF IFTEMP04
ifdef INCL_32
else
endif
ifndef INCL_SAADEFS
DID_OK	EQU	1 
DID_CANCEL	EQU	2 
DID_ERROR	EQU	0ffffH 
endif 
ifdef INCL_32
else
endif
WA_WARNING	EQU	0 
WA_NOTE	EQU	1 
WA_ERROR	EQU	2 
WA_CWINALARMS	EQU	13      
ifdef INCL_32
else 
endif 
MB_OK	EQU	0000H 
MB_OKCANCEL	EQU	0001H 
MB_RETRYCANCEL	EQU	0002H 
MB_ABORTRETRYIGNORE	EQU	0003H 
MB_YESNO	EQU	0004H 
MB_YESNOCANCEL	EQU	0005H 
MB_CANCEL	EQU	0006H 
MB_ENTER	EQU	0007H 
MB_ENTERCANCEL	EQU	0008H 
MB_NOICON	EQU	0000H 
MB_CUANOTIFICATION	EQU	0000H 
MB_ICONQUESTION	EQU	0010H 
MB_ICONEXCLAMATION	EQU	0020H 
MB_CUAWARNING	EQU	0020H 
MB_ICONASTERISK	EQU	0030H 
MB_ICONHAND	EQU	0040H 
MB_CUACRITICAL	EQU	0040H 
MB_QUERY	EQU	MB_ICONQUESTION
MB_WARNING	EQU	MB_CUAWARNING
MB_INFORMATION	EQU	MB_ICONASTERISK
MB_CRITICAL	EQU	MB_CUACRITICAL
MB_ERROR	EQU	MB_CRITICAL
MB_DEFBUTTON1	EQU	0000H 
MB_DEFBUTTON2	EQU	0100H 
MB_DEFBUTTON3	EQU	0200H 
MB_APPLMODAL	EQU	0000H 
MB_SYSTEMMODAL	EQU	1000H 
MB_HELP	EQU	2000H 
MB_MOVEABLE	EQU	4000H 
MBID_OK	EQU	1 
MBID_CANCEL	EQU	2 
MBID_ABORT	EQU	3 
MBID_RETRY	EQU	4 
MBID_IGNORE	EQU	5 
MBID_YES	EQU	6 
MBID_NO	EQU	7 
MBID_HELP	EQU	8 
MBID_ENTER	EQU	9 
MBID_ERROR	EQU	0ffffH 
ifdef INCL_32
else
endif
ifdef INCL_32
else
endif
endif 
ifdef INCL_WINDIALOGS
DLGC_ENTRYFIELD	EQU	0001H   
DLGC_BUTTON	EQU	0002H   
DLGC_RADIOBUTTON	EQU	0004H   
DLGC_STATIC	EQU	0008H   
DLGC_DEFAULT	EQU	0010H   
DLGC_PUSHBUTTON	EQU	0020H   
DLGC_CHECKBOX	EQU	0040H   
DLGC_SCROLLBAR	EQU	0080H   
DLGC_MENU	EQU	0100H   
DLGC_TABONCLICK	EQU	0200H 
DLGC_MLE	EQU	0400H   
ifdef INCL_32
else
endif  
EDI_FIRSTTABITEM	EQU	0 
EDI_LASTTABITEM	EQU	1 
EDI_NEXTTABITEM	EQU	2 
EDI_PREVTABITEM	EQU	3 
EDI_FIRSTGROUPITEM	EQU	4 
EDI_LASTGROUPITEM	EQU	5 
EDI_NEXTGROUPITEM	EQU	6 
EDI_PREVGROUPITEM	EQU	7 

DLGTITEM	STRUC
dlgti_fsItemStatus	DW	?
dlgti_cChildren	DW	?
dlgti_cchClassName	DW	?
dlgti_offClassName	DW	?
dlgti_cchText	DW	?
dlgti_offText	DW	?
dlgti_flStyle	DD	?
dlgti_x	DW	?
dlgti_y	DW	?
dlgti_cx	DW	?
dlgti_cy	DW	?
dlgti_id	DW	?
dlgti_offPresParams	DW	?
dlgti_offCtlData	DW	?
DLGTITEM	ENDS

DLGTEMPLATE	STRUC
dlgt_cbTemplate	DW	?
dlgt_type	DW	?
dlgt_codepage	DW	?
dlgt_offadlgti	DW	?
dlgt_fsTemplateStatus	DW	?
dlgt_iItemFocus	DW	?
dlgt_coffPresParams	DW	?
dlgt_adlgti	DB	SIZE DLGTITEM * 1 DUP (?)
DLGTEMPLATE	ENDS
endif 
ifdef INCL_WINSTATICS
SS_TEXT	EQU	0001H 
SS_GROUPBOX	EQU	0002H 
ifndef INCL_SAADEFS
SS_ICON	EQU	0003H 
SS_BITMAP	EQU	0004H 
endif 
SS_FGNDRECT	EQU	0005H 
ifndef INCL_SAADEFS
SS_HALFTONERECT	EQU	0006H 
endif 
SS_BKGNDRECT	EQU	0007H 
SS_FGNDFRAME	EQU	0008H 
ifndef INCL_SAADEFS
SS_HALFTONEFRAME	EQU	0009H 
endif 
SS_BKGNDFRAME	EQU	000aH 
SS_SYSICON	EQU	000bH 
SS_AUTOSIZE	EQU	0040H 
SM_SETHANDLE	EQU	0100H 
SM_QUERYHANDLE	EQU	0101H 
endif 
ifdef INCL_WINBUTTONS
BS_PUSHBUTTON	EQU	0 
BS_CHECKBOX	EQU	1 
BS_AUTOCHECKBOX	EQU	2 
BS_RADIOBUTTON	EQU	3 
BS_AUTORADIOBUTTON	EQU	4 
BS_3STATE	EQU	5 
BS_AUTO3STATE	EQU	6 
ifndef INCL_SAADEFS
BS_USERBUTTON	EQU	7 
endif 
BS_PRIMARYSTYLES	EQU	000fH 
BS_BITMAP	EQU	0040H 
BS_ICON	EQU	0080H 
BS_HELP	EQU	0100H 
BS_SYSCOMMAND	EQU	0200H 
BS_DEFAULT	EQU	0400H 
BS_NOPOINTERFOCUS	EQU	0800H 
BS_NOBORDER	EQU	1000H 
BS_NOCURSORSELECT	EQU	2000H 
BS_AUTOSIZE	EQU	4000H 
ifndef INCL_SAADEFS

BTNCDATA	STRUC
btncd_cb	DW	?
btncd_fsCheckState	DW	?
btncd_fsHiliteState	DW	?
btncd_hImage	DD	?
BTNCDATA	ENDS
endif 
ifndef INCL_SAADEFS
ifdef INCL_32

USERBUTTON	STRUC
ubtn_hwnd	DD	?
ubtn_hps	DD	?
ubtn_fsState	DD	?
ubtn_fsStateOld	DD	?
USERBUTTON	ENDS
else

USERBUTTON	STRUC
ubtn_hwnd	DD	?
ubtn_hps	DD	?
ubtn_fsState	DW	?
ubtn_fsStateOld	DW	?
USERBUTTON	ENDS
endif
endif 
BM_CLICK	EQU	0120H 
BM_QUERYCHECKINDEX	EQU	0121H 
BM_QUERYHILITE	EQU	0122H 
BM_SETHILITE	EQU	0123H 
BM_QUERYCHECK	EQU	0124H 
BM_SETCHECK	EQU	0125H 
BM_SETDEFAULT	EQU	0126H 
BN_CLICKED	EQU	1 
BN_DBLCLICKED	EQU	2 
BN_PAINT	EQU	3 
ifndef INCL_SAADEFS
BDS_HILITED	EQU	0100H 
BDS_DISABLED	EQU	0200H 
BDS_DEFAULT	EQU	0400H 
endif 
endif 
ifdef INCL_WINENTRYFIELDS
ES_LEFT	EQU	00000000H 
ES_CENTER	EQU	00000001H 
ES_RIGHT	EQU	00000002H 
ifndef INCL_SAADEFS
ES_AUTOSCROLL	EQU	00000004H 
endif 
ES_MARGIN	EQU	00000008H 
ES_AUTOTAB	EQU	00000010H 
ES_READONLY	EQU	00000020H 
ES_COMMAND	EQU	00000040H 
ES_UNREADABLE	EQU	00000080H 
ES_AUTOSIZE	EQU	00000200H 
ifdef INCL_NLS
ES_ANY	EQU	00000000H 
ES_SBCS	EQU	00001000H 
ES_DBCS	EQU	00002000H 
ES_MIXED	EQU	00003000H 
endif 
CBS_SIMPLE	EQU	0001H 
CBS_DROPDOWN	EQU	0002H 
CBS_DROPDOWNLIST	EQU	0004H 
CBS_COMPATIBLE	EQU	0008H 
CBID_LIST	EQU	029AH 
CBID_EDIT	EQU	029BH 
CBM_SHOWLIST	EQU	0170H 
CBM_HILITE	EQU	0171H 
CBM_ISLISTSHOWING	EQU	0172H 
CBN_EFCHANGE	EQU	1 
CBN_EFSCROLL	EQU	2 
CBN_MEMERROR	EQU	3 
CBN_LBSELECT	EQU	4 
CBN_LBSCROLL	EQU	5 
CBN_SHOWLIST	EQU	6 
CBN_ENTER	EQU	7 
ifndef INCL_SAADEFS

ENTRYFDATA	STRUC
efd_cb	DW	?
efd_cchEditLimit	DW	?
efd_ichMinSel	DW	?
efd_ichMaxSel	DW	?
ENTRYFDATA	ENDS
endif 
EM_QUERYCHANGED	EQU	0140H 
EM_QUERYSEL	EQU	0141H 
EM_SETSEL	EQU	0142H 
EM_SETTEXTLIMIT	EQU	0143H 
ifndef INCL_SAADEFS
EM_CUT	EQU	0144H 
EM_COPY	EQU	0145H 
endif 
EM_CLEAR	EQU	0146H 
ifndef INCL_SAADEFS
EM_PASTE	EQU	0147H 
endif 
EM_QUERYFIRSTCHAR	EQU	0148H 
EM_SETFIRSTCHAR	EQU	0149H 
ifndef INCL_SAADEFS
EM_QUERYREADONLY	EQU	014aH 
EM_SETREADONLY	EQU	014bH 
EM_SETINSERTMODE	EQU	014cH 
endif 
EN_SETFOCUS	EQU	0001H 
EN_KILLFOCUS	EQU	0002H 
EN_CHANGE	EQU	0004H 
EN_SCROLL	EQU	0008H 
ifndef INCL_SAADEFS
EN_MEMERROR	EQU	0010H 
EN_OVERFLOW	EQU	0020H 
EN_INSERTMODETOGGLE	EQU	0040H 
endif 
endif 
ifdef INCL_WINMLE
INCLUDE pmmle.INC
endif 
ifdef INCL_WINLISTBOXES
LS_MULTIPLESEL	EQU	00000001H 
ifndef INCL_SAADEFS
LS_OWNERDRAW	EQU	00000002H 
endif 
LS_NOADJUSTPOS	EQU	00000004H 
LS_HORZSCROLL	EQU	00000008H 
LS_EXTENDEDSEL	EQU	00000010H 
LN_SELECT	EQU	1 
LN_SETFOCUS	EQU	2 
LN_KILLFOCUS	EQU	3 
LN_SCROLL	EQU	4 
LN_ENTER	EQU	5 
LM_QUERYITEMCOUNT	EQU	0160H 
LM_INSERTITEM	EQU	0161H 
LM_SETTOPINDEX	EQU	0162H 
LM_DELETEITEM	EQU	0163H 
LM_SELECTITEM	EQU	0164H 
LM_QUERYSELECTION	EQU	0165H 
LM_SETITEMTEXT	EQU	0166H 
LM_QUERYITEMTEXTLENGTH	EQU	0167H 
LM_QUERYITEMTEXT	EQU	0168H 
LM_SETITEMHANDLE	EQU	0169H 
LM_QUERYITEMHANDLE	EQU	016aH 
LM_SEARCHSTRING	EQU	016bH 
LM_SETITEMHEIGHT	EQU	016cH 
LM_QUERYTOPINDEX	EQU	016dH 
LM_DELETEALL	EQU	016eH 
LIT_CURSOR	EQU	(-4 )
LIT_ERROR	EQU	(-3 )
LIT_MEMERROR	EQU	(-2 )
LIT_NONE	EQU	(-1 )
LIT_FIRST	EQU	(-1 )
LIT_END	EQU	(-1 )
LIT_SORTASCENDING	EQU	(-2 )
LIT_SORTDESCENDING	EQU	(-3 )
LSS_SUBSTRING	EQU	0001H 
LSS_PREFIX	EQU	0002H 
LSS_CASESENSITIVE	EQU	0004H 
ifdef INCL_32
else
endif
ifdef INCL_32
else
endif
ifdef INCL_32
else
endif
ifdef INCL_32
else
endif
ifdef INCL_32
else
endif
ifdef INCL_32
else
endif
ifdef INCL_32
else
endif
endif 
ifdef INCL_WINMENUS
MS_ACTIONBAR	EQU	00000001H 
MS_TITLEBUTTON	EQU	00000002H 
MS_VERTICALFLIP	EQU	00000004H 
MS_CONDITIONALCASCADE	EQU	00000040H 
ifdef INCL_32
else
endif
MM_INSERTITEM	EQU	0180H 
MM_DELETEITEM	EQU	0181H 
MM_QUERYITEM	EQU	0182H 
MM_SETITEM	EQU	0183H 
MM_QUERYITEMCOUNT	EQU	0184H 
MM_STARTMENUMODE	EQU	0185H 
MM_ENDMENUMODE	EQU	0186H 
MM_REMOVEITEM	EQU	0188H 
MM_SELECTITEM	EQU	0189H 
MM_QUERYSELITEMID	EQU	018aH 
MM_QUERYITEMTEXT	EQU	018bH 
MM_QUERYITEMTEXTLENGTH	EQU	018cH 
MM_SETITEMHANDLE	EQU	018dH 
MM_SETITEMTEXT	EQU	018eH 
MM_ITEMPOSITIONFROMID	EQU	018fH 
MM_ITEMIDFROMPOSITION	EQU	0190H 
MM_QUERYITEMATTR	EQU	0191H 
MM_SETITEMATTR	EQU	0192H 
MM_ISITEMVALID	EQU	0193H 
MM_QUERYITEMRECT	EQU	0194H 
MM_QUERYDEFAULTITEMID	EQU	0431H 
MM_SETDEFAULTITEMID	EQU	0432H 
ifndef MTI_INCLUDED
MTI_INCLUDED	EQU	1


mti	STRUC
mti_afStyle	DW	?
mti_pad	DW	?
mti_idItem	DW	?
mti_c	DB	2 DUP (?)
mti	ENDS

mt	STRUC
mt_len	DD	?
mt_codepage	DW	?
mt_reserved	DW	?
mt_cMti	DW	?
mt_rgMti	DB	SIZE MTI * 1 DUP (?)
mt	ENDS
endif
ifndef INCL_SAADEFS
ifdef INCL_32

OWNERITEM	STRUC
oi_hwnd	DD	?
oi_hps	DD	?
oi_fsState	DD	?
oi_fsAttribute	DD	?
oi_fsStateOld	DD	?
oi_fsAttributeOld	DD	?
oi_rclItem	DB	SIZE RECTL DUP (?)
oi_idItem	DD	?
oi_hItem	DD	?
OWNERITEM	ENDS
else

OWNERITEM	STRUC
oi_hwnd	DD	?
oi_hps	DD	?
oi_fsState	DW	?
oi_fsAttribute	DW	?
oi_fsStateOld	DW	?
oi_fsAttributeOld	DW	?
oi_rclItem	DB	SIZE RECTL DUP (?)
oi_idItem	DW	?
oi_hItem	DD	?
OWNERITEM	ENDS
endif
endif 

MENUITEM	STRUC
mi_iPosition	DW	?
mi_afStyle	DW	?
mi_afAttribute	DW	?
mi_id	DW	?
mi_hwndSubMenu	DD	?
mi_hItem	DD	?
MENUITEM	ENDS
MIT_END	EQU	(-1 )
MIT_NONE	EQU	(-1 )
MIT_MEMERROR	EQU	(-1 )
MIT_ERROR	EQU	(-1 )
MIT_FIRST	EQU	(-2 )
MIT_LAST	EQU	(-3 )
MID_NONE	EQU	MIT_NONE
MID_ERROR	EQU	(-1 )
MIS_TEXT	EQU	0001H 
ifndef INCL_SAADEFS
MIS_BITMAP	EQU	0002H 
endif 
MIS_SEPARATOR	EQU	0004H 
ifndef INCL_SAADEFS
MIS_OWNERDRAW	EQU	0008H 
endif 
MIS_SUBMENU	EQU	0010H 
MIS_MULTMENU	EQU	0020H       
MIS_SYSCOMMAND	EQU	0040H 
MIS_HELP	EQU	0080H 
MIS_STATIC	EQU	0100H 
MIS_BUTTONSEPARATOR	EQU	0200H 
MIS_BREAK	EQU	0400H 
MIS_BREAKSEPARATOR	EQU	0800H 
MIS_GROUP	EQU	1000H       
MIS_SINGLE	EQU	2000H 
MIA_NODISMISS	EQU	0020H 
MIA_FRAMED	EQU	1000H 
MIA_CHECKED	EQU	2000H 
MIA_DISABLED	EQU	4000H 
MIA_HILITED	EQU	8000H 
ifdef INCL_32
else
endif
PU_POSITIONONITEM	EQU	0001H  
PU_HCONSTRAIN	EQU	0002H  
PU_VCONSTRAIN	EQU	0004H  
PU_NONE	EQU	0000H  
PU_MOUSEBUTTON1DOWN	EQU	0008H  
PU_MOUSEBUTTON2DOWN	EQU	0010H  
PU_MOUSEBUTTON3DOWN	EQU	0018H  
PU_SELECTITEM	EQU	0020H  
PU_MOUSEBUTTON1	EQU	0040H  
PU_MOUSEBUTTON2	EQU	0080H  
PU_MOUSEBUTTON3	EQU	0100H  
PU_KEYBOARD	EQU	0200H  
ifdef INCL_32
else
endif
ifdef INCL_32
else
endif
ifdef INCL_32
else
endif
ifdef INCL_32
else
endif
endif 
ifdef INCL_WINSCROLLBARS
SBS_HORZ	EQU	0 
SBS_VERT	EQU	1 
SBS_THUMBSIZE	EQU	2 
SBS_AUTOTRACK	EQU	4 
SBS_AUTOSIZE	EQU	2000H 
SBM_SETSCROLLBAR	EQU	01a0H 
SBM_SETPOS	EQU	01a1H 
SBM_QUERYPOS	EQU	01a2H 
SBM_QUERYRANGE	EQU	01a3H 
SBM_SETTHUMBSIZE	EQU	01a6H 
SB_LINEUP	EQU	1 
SB_LINEDOWN	EQU	2 
SB_LINELEFT	EQU	1 
SB_LINERIGHT	EQU	2 
SB_PAGEUP	EQU	3 
SB_PAGEDOWN	EQU	4 
SB_PAGELEFT	EQU	3 
SB_PAGERIGHT	EQU	4 
SB_SLIDERTRACK	EQU	5 
SB_SLIDERPOSITION	EQU	6 
SB_ENDSCROLL	EQU	7 
ifndef INCL_SAADEFS

SBCDATA	STRUC
sbcd_cb	DW	?
sbcd_sHilite	DW	?
sbcd_posFirst	DW	?
sbcd_posLast	DW	?
sbcd_posThumb	DW	?
sbcd_cVisible	DW	?
sbcd_cTotal	DW	?
SBCDATA	ENDS
endif 
endif 
IFTEMP05 = 0
IFDEF INCL_WINFRAMEMGR
IFTEMP05 = 1
ENDIF
IFNDEF INCL_NOCOMMON
IFTEMP05 = 1
ENDIF
IF IFTEMP05

FRAMECDATA	STRUC
fcdata_cb	DW	?
fcdata_flCreateFlags	DD	?
fcdata_hmodResources	DW	?
fcdata_idResources	DW	?
FRAMECDATA	ENDS
FCF_TITLEBAR	EQU	00000001H 
FCF_SYSMENU	EQU	00000002H 
FCF_MENU	EQU	00000004H 
FCF_SIZEBORDER	EQU	00000008H 
FCF_MINBUTTON	EQU	00000010H 
FCF_MAXBUTTON	EQU	00000020H 
FCF_MINMAX	EQU	00000030H  
FCF_VERTSCROLL	EQU	00000040H 
FCF_HORZSCROLL	EQU	00000080H 
FCF_DLGBORDER	EQU	00000100H 
FCF_BORDER	EQU	00000200H 
FCF_SHELLPOSITION	EQU	00000400H 
FCF_TASKLIST	EQU	00000800H 
FCF_NOBYTEALIGN	EQU	00001000H 
FCF_NOMOVEWITHOWNER	EQU	00002000H 
FCF_ICON	EQU	00004000H 
FCF_ACCELTABLE	EQU	00008000H 
FCF_SYSMODAL	EQU	00010000H 
FCF_SCREENALIGN	EQU	00020000H 
FCF_MOUSEALIGN	EQU	00040000H 
FCF_HIDEBUTTON	EQU	01000000H 
FCF_HIDEMAX	EQU	01000020H  
ifdef INCL_16
FCF_PALETTE_NORMAL	EQU	00080000H  
FCF_PALETTE_HELP	EQU	00100000H  
FCF_PALETTE_POPUPODD	EQU	00200000H  
FCF_PALETTE_POPUPEVEN	EQU	00400000H  
endif
ifdef INCL_NLS
FCF_DBE_APPSTAT	EQU	80000000H 
endif 
FCF_AUTOICON	EQU	40000000H 
ifdef INCL_32
FCF_STANDARD	EQU	0000CC3FH 
else
FCF_STANDARD	EQU	0008CC3FH 
endif
FS_ICON	EQU	00000001H 
FS_ACCELTABLE	EQU	00000002H 
ifndef INCL_SAADEFS
FS_SHELLPOSITION	EQU	00000004H 
endif 
FS_TASKLIST	EQU	00000008H 
FS_NOBYTEALIGN	EQU	00000010H 
FS_NOMOVEWITHOWNER	EQU	00000020H 
FS_SYSMODAL	EQU	00000040H 
FS_DLGBORDER	EQU	00000080H 
FS_BORDER	EQU	00000100H 
FS_SCREENALIGN	EQU	00000200H 
FS_MOUSEALIGN	EQU	00000400H 
FS_SIZEBORDER	EQU	00000800H 
FS_AUTOICON	EQU	00001000H 
ifdef INCL_NLS
FS_DBE_APPSTAT	EQU	00008000H 
endif 
FS_STANDARD	EQU	0000000FH 
ifndef INCL_SAADEFS
FF_FLASHWINDOW	EQU	0001H 
FF_ACTIVE	EQU	0002H 
FF_FLASHHILITE	EQU	0004H 
FF_OWNERHIDDEN	EQU	0008H 
FF_DLGDISMISSED	EQU	0010H 
FF_OWNERDISABLED	EQU	0020H 
FF_SELECTED	EQU	0040H 
FF_NOACTIVATESWP	EQU	0080H 
endif 
ifdef INCL_32
else
endif
endif 
ifdef INCL_WINFRAMEMGR
WM_FLASHWINDOW	EQU	0040H 
WM_FORMATFRAME	EQU	0041H 
WM_UPDATEFRAME	EQU	0042H 
WM_FOCUSCHANGE	EQU	0043H 
WM_SETBORDERSIZE	EQU	0044H 
WM_TRACKFRAME	EQU	0045H 
WM_MINMAXFRAME	EQU	0046H 
WM_SETICON	EQU	0047H 
WM_QUERYICON	EQU	0048H 
WM_SETACCELTABLE	EQU	0049H 
WM_QUERYACCELTABLE	EQU	004aH 
WM_TRANSLATEACCEL	EQU	004bH 
WM_QUERYTRACKINFO	EQU	004cH 
WM_QUERYBORDERSIZE	EQU	004dH 
WM_NEXTMENU	EQU	004eH 
WM_ERASEBACKGROUND	EQU	004fH 
WM_QUERYFRAMEINFO	EQU	0050H 
WM_QUERYFOCUSCHAIN	EQU	0051H 
WM_OWNERPOSCHANGE	EQU	0052H 
WM_CALCFRAMERECT	EQU	0053H 
WM_WINDOWPOSCHANGED	EQU	0055H 
WM_ADJUSTFRAMEPOS	EQU	0056H 
WM_QUERYFRAMECTLCOUNT	EQU	0059H 
ifndef INCL_SAADEFS
WM_QUERYHELPINFO	EQU	005BH 
WM_SETHELPINFO	EQU	005CH 
WM_ERROR	EQU	005DH 
WM_REALIZEPALETTE	EQU	005EH 
FI_FRAME	EQU	00000001H 
FI_OWNERHIDE	EQU	00000002H 
FI_ACTIVATEOK	EQU	00000004H 
FI_NOMOVEWITHOWNER	EQU	00000008H 
endif 
ifndef INCL_SAADEFS
endif 
ifdef INCL_32
else
endif
FID_SYSMENU	EQU	8002H 
FID_TITLEBAR	EQU	8003H 
FID_MINMAX	EQU	8004H 
FID_MENU	EQU	8005H 
FID_VERTSCROLL	EQU	8006H 
FID_HORZSCROLL	EQU	8007H 
FID_CLIENT	EQU	8008H 
FID_DBE_APPSTAT	EQU	8010H 
FID_DBE_KBDSTAT	EQU	8011H 
FID_DBE_PECIC	EQU	8012H 
FID_DBE_KKPOPUP	EQU	8013H 
SC_SIZE	EQU	8000H 
SC_MOVE	EQU	8001H 
SC_MINIMIZE	EQU	8002H 
SC_MAXIMIZE	EQU	8003H 
SC_CLOSE	EQU	8004H 
SC_NEXT	EQU	8005H 
SC_APPMENU	EQU	8006H 
SC_SYSMENU	EQU	8007H 
SC_RESTORE	EQU	8008H 
SC_NEXTFRAME	EQU	8009H 
SC_NEXTWINDOW	EQU	8010H 
ifndef INCL_SAADEFS
SC_TASKMANAGER	EQU	8011H 
SC_HELPKEYS	EQU	8012H 
SC_HELPINDEX	EQU	8013H 
SC_HELPEXTENDED	EQU	8014H 
SC_SWITCHPANELIDS	EQU	8015H 
SC_DBE_FIRST	EQU	8018H 
SC_DBE_LAST	EQU	801FH 
SC_BEGINDRAG	EQU	8020H 
SC_ENDDRAG	EQU	8021H 
SC_SELECT	EQU	8022H 
SC_OPEN	EQU	8023H 
SC_CONTEXTMENU	EQU	8024H 
SC_CONTEXTHELP	EQU	8025H 
SC_TEXTEDIT	EQU	8026H 
SC_BEGINSELECT	EQU	8027H 
SC_ENDSELECT	EQU	8028H 
SC_WINDOW	EQU	8029H 
SC_HIDE	EQU	802aH 
endif 
endif 
ifdef INCL_WINFRAMECTLS
TBM_SETHILITE	EQU	01e3H 
TBM_QUERYHILITE	EQU	01e4H 
ifdef INCL_16
TBM_TRACKMOVE	EQU	01e5H 
endif 
endif 
ifdef INCL_WINRECTANGLES
ifndef INCL_SAADEFS
ifdef INCL_32
else
endif
ifdef INCL_32
else
endif
ifdef INCL_32
else
endif
endif 
endif 
ifdef INCL_WINSYS
ifdef INCL_32
else
endif
SV_SWAPBUTTON	EQU	0 
SV_DBLCLKTIME	EQU	1 
SV_CXDBLCLK	EQU	2 
SV_CYDBLCLK	EQU	3 
SV_CXSIZEBORDER	EQU	4 
SV_CYSIZEBORDER	EQU	5 
SV_ALARM	EQU	6 
ifndef INCL_SAADEFS
SV_RESERVEDFIRST1	EQU	7 
SV_RESERVEDLAST1	EQU	8 
endif 
SV_CURSORRATE	EQU	9 
SV_FIRSTSCROLLRATE	EQU	10 
SV_SCROLLRATE	EQU	11 
SV_NUMBEREDLISTS	EQU	12 
SV_WARNINGFREQ	EQU	13 
SV_NOTEFREQ	EQU	14 
SV_ERRORFREQ	EQU	15 
SV_WARNINGDURATION	EQU	16 
SV_NOTEDURATION	EQU	17 
SV_ERRORDURATION	EQU	18 
ifndef INCL_SAADEFS
SV_RESERVEDFIRST	EQU	19 
SV_RESERVEDLAST	EQU	19 
endif 
SV_CXSCREEN	EQU	20 
SV_CYSCREEN	EQU	21 
SV_CXVSCROLL	EQU	22 
SV_CYHSCROLL	EQU	23 
SV_CYVSCROLLARROW	EQU	24 
SV_CXHSCROLLARROW	EQU	25 
SV_CXBORDER	EQU	26 
SV_CYBORDER	EQU	27 
SV_CXDLGFRAME	EQU	28 
SV_CYDLGFRAME	EQU	29 
SV_CYTITLEBAR	EQU	30 
SV_CYVSLIDER	EQU	31 
SV_CXHSLIDER	EQU	32 
SV_CXMINMAXBUTTON	EQU	33 
SV_CYMINMAXBUTTON	EQU	34 
SV_CYMENU	EQU	35 
SV_CXFULLSCREEN	EQU	36 
SV_CYFULLSCREEN	EQU	37 
SV_CXICON	EQU	38 
SV_CYICON	EQU	39 
SV_CXPOINTER	EQU	40 
SV_CYPOINTER	EQU	41 
SV_DEBUG	EQU	42 
SV_CMOUSEBUTTONS	EQU	43 
SV_CPOINTERBUTTONS	EQU	43 
SV_POINTERLEVEL	EQU	44 
SV_CURSORLEVEL	EQU	45 
SV_TRACKRECTLEVEL	EQU	46 
ifndef INCL_SAADEFS
SV_CTIMERS	EQU	47 
endif 
SV_MOUSEPRESENT	EQU	48 
SV_CXBYTEALIGN	EQU	49 
SV_CXALIGN	EQU	49 
SV_CYBYTEALIGN	EQU	50 
SV_CYALIGN	EQU	50 
SV_NOTRESERVED	EQU	56 
SV_EXTRAKEYBEEP	EQU	57 
SV_SETLIGHTS	EQU	58 
SV_INSERTMODE	EQU	59 
SV_MENUROLLDOWNDELAY	EQU	64 
SV_MENUROLLUPDELAY	EQU	65 
SV_ALTMNEMONIC	EQU	66 
SV_TASKLISTMOUSEACCESS	EQU	67 
SV_CXICONTEXTWIDTH	EQU	68 
SV_CICONTEXTLINES	EQU	69 
SV_CHORDTIME	EQU	70 
SV_CXCHORD	EQU	71 
SV_CYCHORD	EQU	72 
SV_CXMOTIONSTART	EQU	73 
SV_CYMOTIONSTART	EQU	74 
SV_BEGINDRAG	EQU	75 
SV_ENDDRAG	EQU	76 
SV_SINGLESELECT	EQU	77 
SV_OPEN	EQU	78 
SV_CONTEXTMENU	EQU	79 
SV_CONTEXTHELP	EQU	80 
SV_TEXTEDIT	EQU	81 
SV_BEGINSELECT	EQU	82 
SV_ENDSELECT	EQU	83 
SV_BEGINDRAGKB	EQU	84 
SV_ENDDRAGKB	EQU	85 
SV_SELECTKB	EQU	86 
SV_OPENKB	EQU	87 
SV_CONTEXTMENUKB	EQU	88 
SV_CONTEXTHELPKB	EQU	89 
SV_TEXTEDITKB	EQU	90 
SV_BEGINSELECTKB	EQU	91 
SV_ENDSELECTKB	EQU	92 
SV_ANIMATION	EQU	93 
SV_ANIMATIONSPEED	EQU	94 
SV_MONOICONS	EQU	95 
SV_KBDALTERED	EQU	96 
SV_PRINTSCREEN	EQU	97 
SV_CSYSVALUES	EQU	98 

PARAM	STRUC
param_id	DD	?
param_cb	DD	?
param_ab	DB	1 DUP (?)
PARAM	ENDS

PRESPARAMS	STRUC
pres_cb	DD	?
pres_aparam	DB	SIZE PARAM * 1 DUP (?)
PRESPARAMS	ENDS
ifdef INCL_32
else
endif
PP_FOREGROUNDCOLOR	EQU	1 
PP_FOREGROUNDCOLORINDEX	EQU	2 
PP_BACKGROUNDCOLOR	EQU	3 
PP_BACKGROUNDCOLORINDEX	EQU	4 
PP_HILITEFOREGROUNDCOLOR	EQU	5 
PP_HILITEFOREGROUNDCOLORINDEX	EQU	6 
PP_HILITEBACKGROUNDCOLOR	EQU	7 
PP_HILITEBACKGROUNDCOLORINDEX	EQU	8 
PP_DISABLEDFOREGROUNDCOLOR	EQU	9 
PP_DISABLEDFOREGROUNDCOLORINDEX	EQU	10 
PP_DISABLEDBACKGROUNDCOLOR	EQU	11 
PP_DISABLEDBACKGROUNDCOLORINDEX	EQU	12 
PP_BORDERCOLOR	EQU	13 
PP_BORDERCOLORINDEX	EQU	14 
PP_FONTNAMESIZE	EQU	15 
PP_FONTHANDLE	EQU	16 
PP_RESERVED	EQU	17 
PP_ACTIVECOLOR	EQU	18 
PP_ACTIVECOLORINDEX	EQU	19 
PP_INACTIVECOLOR	EQU	20 
PP_INACTIVECOLORINDEX	EQU	21 
PP_ACTIVETEXTFGNDCOLOR	EQU	22 
PP_ACTIVETEXTFGNDCOLORINDEX	EQU	23 
PP_ACTIVETEXTBGNDCOLOR	EQU	24 
PP_ACTIVETEXTBGNDCOLORINDEX	EQU	25 
PP_INACTIVETEXTFGNDCOLOR	EQU	26 
PP_INACTIVETEXTFGNDCOLORINDEX	EQU	27 
PP_INACTIVETEXTBGNDCOLOR	EQU	28 
PP_INACTIVETEXTBGNDCOLORINDEX	EQU	29 
PP_SHADOW	EQU	30 
PP_MENUFOREGROUNDCOLOR	EQU	31 
PP_MENUFOREGROUNDCOLORINDEX	EQU	32 
PP_MENUBACKGROUNDCOLOR	EQU	33 
PP_MENUBACKGROUNDCOLORINDEX	EQU	34 
PP_MENUHILITEFGNDCOLOR	EQU	35 
PP_MENUHILITEFGNDCOLORINDEX	EQU	36 
PP_MENUHILITEBGNDCOLOR	EQU	37 
PP_MENUHILITEBGNDCOLORINDEX	EQU	38 
PP_MENUDISABLEDFGNDCOLOR	EQU	39 
PP_MENUDISABLEDFGNDCOLORINDEX	EQU	40 
PP_MENUDISABLEDBGNDCOLOR	EQU	41 
PP_MENUDISABLEDBGNDCOLORINDEX	EQU	42 
PP_USER	EQU	8000H 
QPF_NOINHERIT	EQU	0001H  
QPF_ID1COLORINDEX	EQU	0002H  
QPF_ID2COLORINDEX	EQU	0004H  
QPF_PURERGBCOLOR	EQU	0008H  
QPF_VALIDFLAGS	EQU	000FH  
SYSCLR_SHADOWHILITEBGND	EQU	(-50 )
SYSCLR_SHADOWHILITEFGND	EQU	(-49 )
SYSCLR_SHADOWTEXT	EQU	(-48 )
SYSCLR_ENTRYFIELD	EQU	(-47 )
SYSCLR_MENUDISABLEDTEXT	EQU	(-46 )
SYSCLR_MENUHILITE	EQU	(-45 )
SYSCLR_MENUHILITEBGND	EQU	(-44 )
SYSCLR_PAGEBACKGROUND	EQU	(-43 )
SYSCLR_FIELDBACKGROUND	EQU	(-42 )
SYSCLR_BUTTONLIGHT	EQU	(-41 )
SYSCLR_BUTTONMIDDLE	EQU	(-40 )
SYSCLR_BUTTONDARK	EQU	(-39 )
SYSCLR_BUTTONDEFAULT	EQU	(-38 )
SYSCLR_TITLEBOTTOM	EQU	(-37 )
SYSCLR_SHADOW	EQU	(-36 )
SYSCLR_ICONTEXT	EQU	(-35 )
SYSCLR_DIALOGBACKGROUND	EQU	(-34 )
SYSCLR_HILITEFOREGROUND	EQU	(-33 )
SYSCLR_HILITEBACKGROUND	EQU	(-32 )
SYSCLR_INACTIVETITLETEXTBGND	EQU	(-31 )
SYSCLR_ACTIVETITLETEXTBGND	EQU	(-30 )
SYSCLR_INACTIVETITLETEXT	EQU	(-29 )
SYSCLR_ACTIVETITLETEXT	EQU	(-28 )
SYSCLR_OUTPUTTEXT	EQU	(-27 )
SYSCLR_WINDOWSTATICTEXT	EQU	(-26 )
SYSCLR_SCROLLBAR	EQU	(-25 )
SYSCLR_BACKGROUND	EQU	(-24 )
SYSCLR_ACTIVETITLE	EQU	(-23 )
SYSCLR_INACTIVETITLE	EQU	(-22 )
SYSCLR_MENU	EQU	(-21 )
SYSCLR_WINDOW	EQU	(-20 )
SYSCLR_WINDOWFRAME	EQU	(-19 )
SYSCLR_MENUTEXT	EQU	(-18 )
SYSCLR_WINDOWTEXT	EQU	(-17 )
SYSCLR_TITLETEXT	EQU	(-16 )
SYSCLR_ACTIVEBORDER	EQU	(-15 )
SYSCLR_INACTIVEBORDER	EQU	(-14 )
SYSCLR_APPWORKSPACE	EQU	(-13 )
SYSCLR_HELPBACKGROUND	EQU	(-12 )
SYSCLR_HELPTEXT	EQU	(-11 )
SYSCLR_HELPHILITE	EQU	(-10 )
SYSCLR_CSYSCOLORS	EQU	41 
endif 
ifdef INCL_WINTIMER
ifndef INCL_SAADEFS
ifdef INCL_32
else 
endif 
TID_CURSOR	EQU	0ffffH   
TID_SCROLL	EQU	0fffeH   
TID_FLASHWINDOW	EQU	0fffdH   
TID_USERMAX	EQU	7fffH   
endif 
endif 
ifdef INCL_WINACCELERATORS
ifndef INCL_SAADEFS
AF_CHAR	EQU	0001H 
AF_VIRTUALKEY	EQU	0002H 
AF_SCANCODE	EQU	0004H 
AF_SHIFT	EQU	0008H 
AF_CONTROL	EQU	0010H 
AF_ALT	EQU	0020H 
AF_LONEKEY	EQU	0040H 
AF_SYSCOMMAND	EQU	0100H 
AF_HELP	EQU	0200H 
endif 

ACCEL	STRUC
acc_fs	DW	?
acc_key	DW	?
acc_cmd	DW	?
ACCEL	ENDS

ACCELTABLE	STRUC
acct_cAccel	DW	?
acct_codepage	DW	?
acct_aaccel	DB	SIZE ACCEL * 1 DUP (?)
ACCELTABLE	ENDS
ifdef INCL_32
else
endif
endif 
EAF_DEFAULTOWNER	EQU	0001H 
EAF_UNCHANGEABLE	EQU	0002H 
EAF_REUSEICON	EQU	0004H 
ifdef INCL_WINTRACKRECT
ifdef INCL_32

TRACKINFO	STRUC
ti_cxBorder	DD	?
ti_cyBorder	DD	?
ti_cxGrid	DD	?
ti_cyGrid	DD	?
ti_cxKeyboard	DD	?
ti_cyKeyboard	DD	?
ti_rclTrack	DB	SIZE RECTL DUP (?)
ti_rclBoundary	DB	SIZE RECTL DUP (?)
ti_ptlMinTrackSize	DB	SIZE POINTL DUP (?)
ti_ptlMaxTrackSize	DB	SIZE POINTL DUP (?)
ti_fs	DD	?
TRACKINFO	ENDS
else

TRACKINFO	STRUC
ti_cxBorder	DW	?
ti_cyBorder	DW	?
ti_cxGrid	DW	?
ti_cyGrid	DW	?
ti_cxKeyboard	DW	?
ti_cyKeyboard	DW	?
ti_rclTrack	DB	SIZE RECTL DUP (?)
ti_rclBoundary	DB	SIZE RECTL DUP (?)
ti_ptlMinTrackSize	DB	SIZE POINTL DUP (?)
ti_ptlMaxTrackSize	DB	SIZE POINTL DUP (?)
ti_fs	DW	?
TRACKINFO	ENDS
endif
ifndef INCL_SAADEFS
TF_LEFT	EQU	0001H 
TF_TOP	EQU	0002H 
TF_RIGHT	EQU	0004H 
TF_BOTTOM	EQU	0008H 
TF_MOVE	EQU	000FH 
TF_SETPOINTERPOS	EQU	0010H 
TF_GRID	EQU	0020H 
TF_STANDARD	EQU	0040H 
TF_ALLINBOUNDARY	EQU	0080H 
TF_VALIDATETRACKRECT	EQU	0100H 
TF_PARTINBOUNDARY	EQU	0200H 
endif 
endif 
IFTEMP06 = 0
IFDEF INCL_WINCLIPBOARD
IFTEMP06 = 1
ENDIF
IFDEF INCL_WINDDE
IFTEMP06 = 1
ENDIF
IF IFTEMP06
ifndef INCL_SAADEFS
WM_RENDERFMT	EQU	0060H 
WM_RENDERALLFMTS	EQU	0061H 
WM_DESTROYCLIPBOARD	EQU	0062H 
WM_PAINTCLIPBOARD	EQU	0063H 
WM_SIZECLIPBOARD	EQU	0064H 
WM_HSCROLLCLIPBOARD	EQU	0065H 
WM_VSCROLLCLIPBOARD	EQU	0066H 
WM_DRAWCLIPBOARD	EQU	0067H 
CF_TEXT	EQU	1 
CF_BITMAP	EQU	2 
CF_DSPTEXT	EQU	3 
CF_DSPBITMAP	EQU	4 
CF_METAFILE	EQU	5 
CF_DSPMETAFILE	EQU	6 
CF_PALETTE	EQU	9 
CF_MMPMFIRST	EQU	10 
CF_MMPMLAST	EQU	19 
SZFMT_TEXT	EQU	<"#1">
SZFMT_BITMAP	EQU	<"#2">
SZFMT_DSPTEXT	EQU	<"#3">
SZFMT_DSPBITMAP	EQU	<"#4">
SZFMT_METAFILE	EQU	<"#5">
SZFMT_DSPMETAFILE	EQU	<"#6">
SZFMT_PALETTE	EQU	<"#9">
SZFMT_SYLK	EQU	<"Sylk">
SZFMT_DIF	EQU	<"Dif">
SZFMT_TIFF	EQU	<"Tiff">
SZFMT_OEMTEXT	EQU	<"OemText">
SZFMT_DIB	EQU	<"Dib">
SZFMT_OWNERDISPLAY	EQU	<"OwnerDisplay">
SZFMT_LINK	EQU	<"Link">
SZFMT_METAFILEPICT	EQU	<"MetaFilePict">
SZFMT_DSPMETAFILEPICT	EQU	<"DspMetaFilePict">
SZFMT_CPTEXT	EQU	<"Codepage Text">
SZDDEFMT_RTF	EQU	<"Rich Text Format">
SZDDEFMT_PTRPICT	EQU	<"Printer_Picture">

MFP	STRUC
mfp_sizeBounds	DB	SIZE POINTL DUP (?)
mfp_sizeMM	DB	SIZE POINTL DUP (?)
mfp_cbLength	DD	?
mfp_mapMode	DW	?
mfp_reserved	DW	?
mfp_abData	DB	1 DUP (?)
MFP	ENDS

CPTEXT	STRUC
cptxt_idCountry	DW	?
cptxt_usCodepage	DW	?
cptxt_usLangID	DW	?
cptxt_usSubLangID	DW	?
cptxt_abText	DB	1 DUP (?)
CPTEXT	ENDS
endif 
endif 
ifdef INCL_WINCLIPBOARD
ifndef INCL_SAADEFS
ifdef INCL_32
else
endif
CFI_OWNERFREE	EQU	0001H 
CFI_OWNERDISPLAY	EQU	0002H 
ifdef INCL_32
CFI_POINTER	EQU	0400H 
else
CFI_SELECTOR	EQU	0100H 
endif
CFI_HANDLE	EQU	0200H 
endif 
ifdef INCL_32
else
endif
ifdef INCL_32
else
endif  
endif 
IFTEMP07 = 0
IFDEF INCL_WINCURSORS
IFTEMP07 = 1
ENDIF
IFNDEF INCL_NOCOMMON
IFTEMP07 = 1
ENDIF
IF IFTEMP07
ifdef INCL_32
else
endif
CURSOR_SOLID	EQU	0000H 
CURSOR_HALFTONE	EQU	0001H 
CURSOR_FRAME	EQU	0002H 
CURSOR_FLASH	EQU	0004H 
CURSOR_SETPOS	EQU	8000H 
endif 
ifdef INCL_WINCURSORS
ifdef INCL_32

CURSORINFO	STRUC
csri_hwnd	DD	?
csri_x	DD	?
csri_y	DD	?
csri_cx	DD	?
csri_cy	DD	?
csri_fs	DD	?
csri_rclClip	DB	SIZE RECTL DUP (?)
CURSORINFO	ENDS
else

CURSORINFO	STRUC
csri_hwnd	DD	?
csri_x	DW	?
csri_y	DW	?
csri_cx	DW	?
csri_cy	DW	?
csri_fs	DW	?
csri_rclClip	DB	SIZE RECTL DUP (?)
CURSORINFO	ENDS
endif
endif 
ifdef INCL_WINPOINTERS
ifdef INCL_32
else
endif
ifdef INCL_32
endif
SPTR_ARROW	EQU	1 
SPTR_TEXT	EQU	2 
SPTR_WAIT	EQU	3 
SPTR_SIZE	EQU	4 
SPTR_MOVE	EQU	5 
SPTR_SIZENWSE	EQU	6 
SPTR_SIZENESW	EQU	7 
SPTR_SIZEWE	EQU	8 
SPTR_SIZENS	EQU	9 
SPTR_APPICON	EQU	10 
SPTR_ICONINFORMATION	EQU	11 
SPTR_ICONQUESTION	EQU	12 
SPTR_ICONERROR	EQU	13 
SPTR_ICONWARNING	EQU	14 
SPTR_ILLEGAL	EQU	18 
SPTR_FILE	EQU	19 
SPTR_FOLDER	EQU	20 
SPTR_MULTFILE	EQU	21 
SPTR_PROGRAM	EQU	22 
SPTR_DISPLAY_PTRS	EQU	22 
SPTR_PENFIRST	EQU	23 
SPTR_PENLAST	EQU	39 
SPTR_CPTR	EQU	39   
SPTR_HANDICON	EQU	SPTR_ICONERROR
SPTR_QUESICON	EQU	SPTR_ICONQUESTION
SPTR_BANGICON	EQU	SPTR_ICONWARNING
SPTR_NOTEICON	EQU	SPTR_ICONINFORMATION
ifdef INCL_32
else
endif
ifdef INCL_32

POINTERINFO	STRUC
ptri_fPointer	DD	?
ptri_xHotspot	DD	?
ptri_yHotspot	DD	?
ptri_hbmPointer	DD	?
ptri_hbmColor	DD	?
ptri_hbmMiniPointer	DD	?
ptri_hbmMiniColor	DD	?
POINTERINFO	ENDS
else

POINTERINFO	STRUC
ptri_fPointer	DW	?
ptri_xHotspot	DW	?
ptri_yHotspot	DW	?
ptri_hbmPointer	DD	?
ptri_hbmColor	DD	?
POINTERINFO	ENDS
endif
ifdef INCL_32
else
endif
DP_NORMAL	EQU	0000H 
DP_HALFTONED	EQU	0001H 
DP_INVERTED	EQU	0002H 
ifdef INCL_32
else
endif
SBMP_OLD_SYSMENU	EQU	1 
SBMP_OLD_SBUPARROW	EQU	2 
SBMP_OLD_SBDNARROW	EQU	3 
SBMP_OLD_SBRGARROW	EQU	4 
SBMP_OLD_SBLFARROW	EQU	5 
SBMP_MENUCHECK	EQU	6 
SBMP_OLD_CHECKBOXES	EQU	7 
SBMP_BTNCORNERS	EQU	8 
SBMP_OLD_MINBUTTON	EQU	9 
SBMP_OLD_MAXBUTTON	EQU	10 
SBMP_OLD_RESTOREBUTTON	EQU	11 
SBMP_OLD_CHILDSYSMENU	EQU	12 
SBMP_DRIVE	EQU	15 
SBMP_FILE	EQU	16 
SBMP_FOLDER	EQU	17 
SBMP_TREEPLUS	EQU	18 
SBMP_TREEMINUS	EQU	19 
SBMP_PROGRAM	EQU	22 
SBMP_MENUATTACHED	EQU	23 
SBMP_SIZEBOX	EQU	24 
SBMP_SYSMENU	EQU	25 
SBMP_MINBUTTON	EQU	26 
SBMP_MAXBUTTON	EQU	27 
SBMP_RESTOREBUTTON	EQU	28 
SBMP_CHILDSYSMENU	EQU	29 
SBMP_SYSMENUDEP	EQU	30 
SBMP_MINBUTTONDEP	EQU	31 
SBMP_MAXBUTTONDEP	EQU	32 
SBMP_RESTOREBUTTONDEP	EQU	33 
SBMP_CHILDSYSMENUDEP	EQU	34 
SBMP_SBUPARROW	EQU	35 
SBMP_SBDNARROW	EQU	36 
SBMP_SBLFARROW	EQU	37 
SBMP_SBRGARROW	EQU	38 
SBMP_SBUPARROWDEP	EQU	39 
SBMP_SBDNARROWDEP	EQU	40 
SBMP_SBLFARROWDEP	EQU	41 
SBMP_SBRGARROWDEP	EQU	42 
SBMP_SBUPARROWDIS	EQU	43 
SBMP_SBDNARROWDIS	EQU	44 
SBMP_SBLFARROWDIS	EQU	45 
SBMP_SBRGARROWDIS	EQU	46 
SBMP_COMBODOWN	EQU	47 
SBMP_CHECKBOXES	EQU	48 
endif 
ifdef INCL_WINHOOKS
ifndef INCL_SAADEFS
ifdef INCL_32
else
endif
HK_SENDMSG	EQU	0 
HK_INPUT	EQU	1 
HK_MSGFILTER	EQU	2 
HK_JOURNALRECORD	EQU	3 
HK_JOURNALPLAYBACK	EQU	4 
HK_HELP	EQU	5 
HK_LOADER	EQU	6 
HK_REGISTERUSERMSG	EQU	7 
HK_MSGCONTROL	EQU	8 
HK_PLIST_ENTRY	EQU	9 
HK_PLIST_EXIT	EQU	10 
HK_FINDWORD	EQU	11 
HK_CODEPAGECHANGED	EQU	12 
HK_WINDOWDC	EQU	15 
HK_DESTROYWINDOW	EQU	16 
HK_CHECKMSGFILTER	EQU	20 
HK_MSGINPUT	EQU	21 
HK_LOCKUP	EQU	23 
HK_FLUSHBUF	EQU	24 
HMQ_CURRENT	EQU	(     1 )
MSGF_DIALOGBOX	EQU	1 
MSGF_MESSAGEBOX	EQU	2 
MSGF_TRACK	EQU	8 
MSGF_DDEPOSTMSG	EQU	3 
HLPM_FRAME	EQU	(-1 )
HLPM_WINDOW	EQU	(-2 )
HLPM_MENU	EQU	(-3 )
PM_MODEL_1X	EQU	0 
PM_MODEL_2X	EQU	1 
ifdef INCL_32

SMHSTRUCT	STRUC
smhs_mp2	DD	?
smhs_mp1	DD	?
smhs_msg	DD	?
smhs_hwnd	DD	?
smhs_model	DD	?
SMHSTRUCT	ENDS
else

SMHSTRUCT	STRUC
smhs_mp2	DD	?
smhs_mp1	DD	?
smhs_msg	DW	?
smhs_hwnd	DD	?
smhs_model	DW	?
SMHSTRUCT	ENDS
endif
LHK_DELETEPROC	EQU	1 
LHK_DELETELIB	EQU	2 
LHK_LOADPROC	EQU	3 
LHK_LOADLIB	EQU	4 
MCHK_MSGINTEREST	EQU	1 
MCHK_CLASSMSGINTEREST	EQU	2 
MCHK_SYNCHRONISATION	EQU	3 
MCHK_MSGMODE	EQU	4 
RUMHK_DATATYPE	EQU	1 
RUMHK_MSG	EQU	2 
endif 
endif 
ifdef INCL_WINTHUNKAPI
ifdef INCL_32
else
endif
endif 
ifndef INCL_SAADEFS
INCLUDE pmshl.INC
endif 
ifdef INCL_WINCOUNTRY
ifdef INCL_32
else
endif
ifndef INCL_SAADEFS
ifdef INCL_32
else 
endif 
WCS_ERROR	EQU	0 
WCS_EQ	EQU	1 
WCS_LT	EQU	2 
WCS_GT	EQU	3 
endif 
endif 
ifdef INCL_WINHEAP
ifndef INCL_32
ifndef INCL_SAADEFS
HM_MOVEABLE	EQU	0001H       
HM_VALIDSIZE	EQU	0002H 
endif 
endif  
endif  
ifdef INCL_WINATOM
ifndef INCL_SAADEFS
ifdef INCL_32
else
endif
ifdef INCL_32
else
endif
ifdef INCL_32
else
endif
endif 
endif 
ifndef INCL_32
ifdef INCL_WINCATCHTHROW
ifndef INCL_SAADEFS

CATCHBUF	STRUC
ctchbf_reserved	DD	 4  DUP (?)
CATCHBUF	ENDS
endif 
endif 
endif 
ifdef INCL_WINERRORS
INCLUDE pmerr.INC
WINDBG_HWND_NOT_DESTROYED	EQU	1022H 
WINDBG_HPTR_NOT_DESTROYED	EQU	1023H 
WINDBG_HACCEL_NOT_DESTROYED	EQU	1024H 
WINDBG_HENUM_NOT_DESTROYED	EQU	1025H 
WINDBG_VISRGN_SEM_BUSY	EQU	1026H 
WINDBG_USER_SEM_BUSY	EQU	1027H 
WINDBG_DC_CACHE_BUSY	EQU	1028H 
WINDBG_HOOK_STILL_INSTALLED	EQU	1029H 
WINDBG_WINDOW_STILL_LOCKED	EQU	102aH 
WINDBG_UPDATEPS_ASSERTION_FAIL	EQU	102bH 
WINDBG_SENDMSG_WITHIN_USER_SEM	EQU	102cH 
WINDBG_USER_SEM_NOT_ENTERED	EQU	102dH 
WINDBG_PROC_NOT_EXPORTED	EQU	102eH 
WINDBG_BAD_SENDMSG_HWND	EQU	102fH 
WINDBG_ABNORMAL_EXIT	EQU	1030H 
WINDBG_INTERNAL_REVISION	EQU	1031H 
WINDBG_INITSYSTEM_FAILED	EQU	1032H 
WINDBG_HATOMTBL_NOT_DESTROYED	EQU	1033H 
WINDBG_WINDOW_UNLOCK_WAIT	EQU	1035H 
ifdef INCL_32

ERRINFO	STRUC
erri_cbFixedErrInfo	DD	?
erri_idError	DD	?
erri_cDetailLevel	DD	?
erri_offaoffszMsg	DD	?
erri_offBinaryData	DD	?
ERRINFO	ENDS
else

ERRINFO	STRUC
erri_cbFixedErrInfo	DW	?
erri_idError	DD	?
erri_cDetailLevel	DW	?
erri_offaoffszMsg	DW	?
erri_offBinaryData	DW	?
ERRINFO	ENDS
endif
endif  
ifndef INCL_SAADEFS
ifdef INCL_WINSEI
ifndef SEI_PMWINP
SEI_PMWIN	EQU	1

INCLUDE pmsei.INC
endif
endif
endif
ifndef INCL_SAADEFS
ifdef  INCL_WINDDE
SZDDESYS_TOPIC	EQU	<"System">
SZDDESYS_ITEM_TOPICS	EQU	<"Topics">
SZDDESYS_ITEM_SYSITEMS	EQU	<"SysItems">
SZDDESYS_ITEM_RTNMSG	EQU	<"ReturnMessage">
SZDDESYS_ITEM_STATUS	EQU	<"Status">
SZDDESYS_ITEM_FORMATS	EQU	<"Formats">
SZDDESYS_ITEM_SECURITY	EQU	<"Security">
SZDDESYS_ITEM_ITEMFORMATS	EQU	<"ItemFormats">
SZDDESYS_ITEM_HELP	EQU	<"Help">
SZDDESYS_ITEM_PROTOCOLS	EQU	<"Protocols">
SZDDESYS_ITEM_RESTART	EQU	<"Restart">

CONVCONTEXT	STRUC
cctxt_cb	DD	?
cctxt_fsContext	DD	?
cctxt_idCountry	DD	?
cctxt_usCodepage	DD	?
cctxt_usLangID	DD	?
cctxt_usSubLangID	DD	?
CONVCONTEXT	ENDS
DDECTXT_CASESENSITIVE	EQU	0001H 
ifdef INCL_32

DDEINIT	STRUC
ddei_cb	DD	?
ddei_pszAppName	DD	?
ddei_pszTopic	DD	?
ddei_offConvContext	DD	?
DDEINIT	ENDS
else

DDEINIT	STRUC
ddei_cb	DW	?
ddei_pszAppName	DD	?
ddei_pszTopic	DD	?
ddei_offConvContext	DW	?
DDEINIT	ENDS
endif

DDESTRUCT	STRUC
dde_cbData	DD	?
dde_fsStatus	DW	?
dde_usFormat	DW	?
dde_offszItemName	DW	?
dde_offabData	DW	?
DDESTRUCT	ENDS
DDE_FACK	EQU	0001H 
DDE_FBUSY	EQU	0002H 
DDE_FNODATA	EQU	0004H 
DDE_FACKREQ	EQU	0008H 
DDE_FRESPONSE	EQU	0010H 
DDE_NOTPROCESSED	EQU	0020H 
DDE_FRESERVED	EQU	00C0H 
DDE_FAPPSTATUS	EQU	0FF00H 
DDEFMT_TEXT	EQU	0001H 
ifdef INCL_32
else
endif
DDEPM_RETRY	EQU	00000001H 
DDEPM_NOFREE	EQU	00000002H 
WM_DDE_FIRST	EQU	00A0H 
WM_DDE_INITIATE	EQU	00A0H 
WM_DDE_REQUEST	EQU	00A1H 
WM_DDE_ACK	EQU	00A2H 
WM_DDE_DATA	EQU	00A3H 
WM_DDE_ADVISE	EQU	00A4H 
WM_DDE_UNADVISE	EQU	00A5H 
WM_DDE_POKE	EQU	00A6H 
WM_DDE_EXECUTE	EQU	00A7H 
WM_DDE_TERMINATE	EQU	00A8H 
WM_DDE_INITIATEACK	EQU	00A9H 
WM_DDE_LAST	EQU	00AFH 
ifndef INCL_32
endif
endif 
endif 
ifdef INCL_WINWINDOWMGR
WM_QUERYCONVERTPOS	EQU	00b0H    
QCP_CONVERT	EQU	0001H 
QCP_NOCONVERT	EQU	0000H 
endif  
ifdef INCL_WINHELP
INCLUDE pmhelp.INC
endif 
ifdef INCL_WINLOAD
endif 
ifndef INCL_SAADEFS
ifdef INCL_WINDESKTOP

DESKTOP	STRUC
dsk_cbSize	DD	?
dsk_hbm	DD	?
dsk_x	DD	?
dsk_y	DD	?
dsk_fl	DD	?
dsk_lTileCount	DD	?
dsk_szFile	DB	260 DUP (?)
DESKTOP	ENDS
SDT_DESTROY	EQU	0001H 
SDT_NOBKGND	EQU	0002H 
SDT_TILE	EQU	0004H 
SDT_SCALE	EQU	0008H 
SDT_PATTERN	EQU	0010H 
SDT_CENTER	EQU	0020H 
SDT_RETAIN	EQU	0040H 
SDT_LOADFILE	EQU	0080H 
endif  
endif
ifndef INCL_SAADEFS
ifdef INCL_WINPALETTE
endif  
endif
ifdef INCL_REMAPDLL
STR_DLLNAME	EQU	<"keyremap">
endif 
ifdef INCL_NLS
WM_DBCSFIRST	EQU	00b0H 
WM_DBCSLAST	EQU	00cfH 
INCLUDE os2nls.INC
endif 
