;*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.;
;*****************************************************************************/
PMHELP_INCLUDED	EQU	1

ifndef INCL_32         
ifndef INCL_16      
ifdef M_I386
INCL_32	EQU	1

else
INCL_16	EQU	1

endif
endif
endif

HELPTABLE	STRUC
ht_idAppWindow	DW	?
ht_phstHelpSubTable	DD	?
ht_idExtPanel	DW	?
HELPTABLE	ENDS
ifdef INCL_32

HELPINIT	STRUC
hinit_cb	DD	?
hinit_ulReturnCode	DD	?
hinit_pszTutorialName	DD	?
hinit_phtHelpTable	DD	?
hinit_hmodHelpTableModule	DD	?
hinit_hmodAccelActionBarModule	DD	?
hinit_idAccelTable	DD	?
hinit_idActionBar	DD	?
hinit_pszHelpWindowTitle	DD	?
hinit_fShowPanelId	DD	?
hinit_pszHelpLibraryName	DD	?
HELPINIT	ENDS
else

HELPINIT	STRUC
hinit_cb	DW	?
hinit_ulReturnCode	DD	?
hinit_pszTutorialName	DD	?
hinit_phtHelpTable	DD	?
hinit_hmodHelpTableModule	DW	?
hinit_hmodAccelActionBarModule	DW	?
hinit_idAccelTable	DW	?
hinit_idActionBar	DW	?
hinit_pszHelpWindowTitle	DD	?
hinit_usShowPanelId	DW	?
hinit_pszHelpLibraryName	DD	?
HELPINIT	ENDS
endif
HWND_PARENT	EQU	      NULL
HM_RESOURCEID	EQU	0 
HM_PANELNAME	EQU	1 
HMPANELTYPE_NUMBER	EQU	0 
HMPANELTYPE_NAME	EQU	1 
CMIC_HIDE_PANEL_ID	EQU	0000H 
CMIC_SHOW_PANEL_ID	EQU	0001H 
CMIC_TOGGLE_PANEL_ID	EQU	0002H 
ifdef INCL_32
else
endif
HM_MSG_BASE	EQU	0220H 
HM_DISMISS_WINDOW	EQU	HM_MSG_BASE+0001H 
HM_DISPLAY_HELP	EQU	HM_MSG_BASE+0002H 
HM_EXT_HELP	EQU	HM_MSG_BASE+0003H 
HM_GENERAL_HELP	EQU	HM_EXT_HELP
HM_SET_ACTIVE_WINDOW	EQU	HM_MSG_BASE+0004H 
HM_LOAD_HELP_TABLE	EQU	HM_MSG_BASE+0005H 
HM_CREATE_HELP_TABLE	EQU	HM_MSG_BASE+0006H 
HM_SET_HELP_WINDOW_TITLE	EQU	HM_MSG_BASE+0007H 
HM_SET_SHOW_PANEL_ID	EQU	HM_MSG_BASE+0008H 
HM_REPLACE_HELP_FOR_HELP	EQU	HM_MSG_BASE+0009H 
HM_REPLACE_USING_HELP	EQU	HM_REPLACE_HELP_FOR_HELP
HM_HELP_INDEX	EQU	HM_MSG_BASE+000aH 
HM_HELP_CONTENTS	EQU	HM_MSG_BASE+000bH 
HM_KEYS_HELP	EQU	HM_MSG_BASE+000cH 
HM_SET_HELP_LIBRARY_NAME	EQU	HM_MSG_BASE+000dH 
HM_SET_OBJCOM_WINDOW	EQU	HM_MSG_BASE+0018H 
HM_UPDATE_OBJCOM_WINDOW_CHAIN	EQU	HM_MSG_BASE+0019H 
HM_QUERY_DDF_DATA	EQU	HM_MSG_BASE+001aH 
HM_INVALIDATE_DDF_DATA	EQU	HM_MSG_BASE+001bH 
HM_QUERY	EQU	HM_MSG_BASE+001cH 
HM_SET_COVERPAGE_SIZE	EQU	HM_MSG_BASE+001dH 
HMQW_COVERPAGE	EQU	0001H 
HMQW_INDEX	EQU	0002H 
HMQW_TOC	EQU	0003H 
HMQW_SEARCH	EQU	0004H 
HMQW_VIEWPAGES	EQU	0005H 
HMQW_LIBRARY	EQU	0006H 
HMQW_VIEWPORT	EQU	0007H 
HMQW_OBJCOM_WINDOW	EQU	0008H 
HMQW_INSTANCE	EQU	0009H 
HMQW_ACTIVEVIEWPORT	EQU	000aH 
CONTROL_SELECTED	EQU	000bH 
HMQW_GROUP_VIEWPORT	EQU	00f1H 
HMQW_RES_VIEWPORT	EQU	00f2H 
USERDATA	EQU	00f3H 
HMQVP_NUMBER	EQU	0001H 
HMQVP_NAME	EQU	0002H 
HMQVP_GROUP	EQU	0003H 
CTRL_PREVIOUS_ID	EQU	(        0001H )
CTRL_SEARCH_ID	EQU	(        0002H )
CTRL_PRINT_ID	EQU	(        0003H )
CTRL_INDEX_ID	EQU	(        0004H )
CTRL_CONTENTS_ID	EQU	(        0005H )
CTRL_BACK_ID	EQU	(        0006H )
CTRL_FORWARD_ID	EQU	(        0007H )
CTRL_TUTORIAL_ID	EQU	(        00FFH )
CTRL_USER_ID_BASE	EQU	(        257 )
HM_ERROR	EQU	HM_MSG_BASE+000eH 
HM_HELPSUBITEM_NOT_FOUND	EQU	HM_MSG_BASE+000fH 
HM_QUERY_KEYS_HELP	EQU	HM_MSG_BASE+0010H 
HM_TUTORIAL	EQU	HM_MSG_BASE+0011H 
HM_EXT_HELP_UNDEFINED	EQU	HM_MSG_BASE+0012H 
HM_GENERAL_HELP_UNDEFINED	EQU	HM_EXT_HELP_UNDEFINED
HM_ACTIONBAR_COMMAND	EQU	HM_MSG_BASE+0013H 
HM_INFORM	EQU	HM_MSG_BASE+0014H 
HM_NOTIFY	EQU	HM_MSG_BASE+0022H 
HM_SET_USERDATA	EQU	HM_MSG_BASE+0023H 
HM_CONTROL	EQU	HM_MSG_BASE+0024H 
OPEN_COVERPAGE	EQU	0001H 
OPEN_PAGE	EQU	0002H 
SWAP_PAGE	EQU	0003H 
OPEN_TOC	EQU	0004H 
OPEN_INDEX	EQU	0005H 
OPEN_HISTORY	EQU	0006H 
OPEN_SEARCH_HIT_LIST	EQU	0007H 
OPEN_LIBRARY	EQU	0008H 
HELP_REQUESTED	EQU	0009H 
HMERR_NO_FRAME_WND_IN_CHAIN	EQU	00001001H 
HMERR_INVALID_ASSOC_APP_WND	EQU	00001002H 
HMERR_INVALID_ASSOC_HELP_INST	EQU	00001003H 
HMERR_INVALID_DESTROY_HELP_INST	EQU	00001004H 
HMERR_NO_HELP_INST_IN_CHAIN	EQU	00001005H 
HMERR_INVALID_HELP_INSTANCE_HDL	EQU	00001006H 
HMERR_INVALID_QUERY_APP_WND	EQU	00001007H 
HMERR_HELP_INST_CALLED_INVALID	EQU	00001008H 
HMERR_HELPTABLE_UNDEFINE	EQU	00001009H 
HMERR_HELP_INSTANCE_UNDEFINE	EQU	0000100aH 
HMERR_HELPITEM_NOT_FOUND	EQU	0000100bH 
HMERR_INVALID_HELPSUBITEM_SIZE	EQU	0000100cH 
HMERR_HELPSUBITEM_NOT_FOUND	EQU	0000100dH 
HMERR_INDEX_NOT_FOUND	EQU	00002001H 
HMERR_CONTENT_NOT_FOUND	EQU	00002002H 
HMERR_OPEN_LIB_FILE	EQU	00002003H 
HMERR_READ_LIB_FILE	EQU	00002004H 
HMERR_CLOSE_LIB_FILE	EQU	00002005H 
HMERR_INVALID_LIB_FILE	EQU	00002006H 
HMERR_NO_MEMORY	EQU	00002007H 
HMERR_ALLOCATE_SEGMENT	EQU	00002008H 
HMERR_FREE_MEMORY	EQU	00002009H 
HMERR_PANEL_NOT_FOUND	EQU	00002010H 
HMERR_DATABASE_NOT_OPEN	EQU	00002011H 
HMERR_LOAD_DLL	EQU	00002013H 

ACVP	STRUC
acvp_cb	DD	?
acvp_hAB	DD	?
acvp_hmq	DD	?
acvp_ObjectID	DD	?
acvp_hWndParent	DD	?
acvp_hWndOwner	DD	?
acvp_hWndACVP	DD	?
ACVP	ENDS
ifndef PMDDF_H
PMDDF_H	EQU	1

endif 
ifdef INCL_DDF
REFERENCE_BY_ID	EQU	0 
REFERENCE_BY_RES	EQU	1 
HMBT_NONE	EQU	1 
HMBT_ALL	EQU	2 
HMBT_FIT	EQU	3 
HMLS_SINGLELINE	EQU	1 
HMLS_DOUBLELINE	EQU	2 
ART_RUNIN	EQU	10H 
ART_LEFT	EQU	01H 
ART_RIGHT	EQU	02H 
ART_CENTER	EQU	04H 
CLR_UNCHANGED	EQU	(-6 )
HMERR_DDF_MEMORY	EQU	3001H 
HMERR_DDF_ALIGN_TYPE	EQU	3002H 
HMERR_DDF_BACKCOLOR	EQU	3003H 
HMERR_DDF_FORECOLOR	EQU	3004H 
HMERR_DDF_FONTSTYLE	EQU	3005H 
HMERR_DDF_REFTYPE	EQU	3006H 
HMERR_DDF_LIST_UNCLOSED	EQU	3007H 
HMERR_DDF_LIST_UNINITIALIZED	EQU	3008H 
HMERR_DDF_LIST_BREAKTYPE	EQU	3009H 
HMERR_DDF_LIST_SPACING	EQU	300AH 
HMERR_DDF_HINSTANCE	EQU	300BH 
HMERR_DDF_EXCEED_MAX_LENGTH	EQU	300CH 
HMERR_DDF_EXCEED_MAX_INC	EQU	300DH 
HMERR_DDF_INVALID_DDF	EQU	300EH 
HMERR_DDF_FORMAT_TYPE	EQU	300FH 
HMERR_DDF_INVALID_PARM	EQU	3010H 
HMERR_DDF_INVALID_FONT	EQU	3011H 
HMERR_DDF_SEVERE	EQU	3012H 
endif 
