;*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.;
;*****************************************************************************/
ifdef __IBMC__
ifndef __CHKHDR__
endif
endif
DEV_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_ERRORS 
INCL_DEVERRORS	EQU	1

endif 
ifdef INCL_DDIDEFS 
INCL_DEV	EQU	1

endif 
ifdef INCL_SAADEFS 
INCL_DEV	EQU	1

endif 
IFTEMP00 = 0
IFDEF INCL_DEV
IFTEMP00 = 1
ENDIF
IFNDEF INCL_NOCOMMON
IFTEMP00 = 1
ENDIF
IF IFTEMP00
DEV_ERROR	EQU	0 
DEV_OK	EQU	1 
OD_QUEUED	EQU	2 
OD_DIRECT	EQU	5 
OD_INFO	EQU	6 
OD_METAFILE	EQU	7 
OD_MEMORY	EQU	8 
OD_METAFILE_NOQUERY	EQU	9 
CAPS_FAMILY	EQU	0 
CAPS_IO_CAPS	EQU	1 
CAPS_TECHNOLOGY	EQU	2 
CAPS_DRIVER_VERSION	EQU	3 
CAPS_WIDTH	EQU	4       
CAPS_HEIGHT	EQU	5       
CAPS_WIDTH_IN_CHARS	EQU	6 
CAPS_HEIGHT_IN_CHARS	EQU	7 
CAPS_HORIZONTAL_RESOLUTION	EQU	8       
CAPS_VERTICAL_RESOLUTION	EQU	9       
CAPS_CHAR_WIDTH	EQU	10       
CAPS_CHAR_HEIGHT	EQU	11       
CAPS_SMALL_CHAR_WIDTH	EQU	12       
CAPS_SMALL_CHAR_HEIGHT	EQU	13       
CAPS_COLORS	EQU	14 
CAPS_COLOR_PLANES	EQU	15 
CAPS_COLOR_BITCOUNT	EQU	16 
CAPS_COLOR_TABLE_SUPPORT	EQU	17 
CAPS_MOUSE_BUTTONS	EQU	18 
CAPS_FOREGROUND_MIX_SUPPORT	EQU	19 
CAPS_BACKGROUND_MIX_SUPPORT	EQU	20 
CAPS_DEVICE_WINDOWING	EQU	31 
CAPS_ADDITIONAL_GRAPHICS	EQU	32 
CAPS_VIO_LOADABLE_FONTS	EQU	21 
CAPS_WINDOW_BYTE_ALIGNMENT	EQU	22 
CAPS_BITMAP_FORMATS	EQU	23 
CAPS_RASTER_CAPS	EQU	24 
CAPS_MARKER_HEIGHT	EQU	25       
CAPS_MARKER_WIDTH	EQU	26       
CAPS_DEVICE_FONTS	EQU	27 
CAPS_GRAPHICS_SUBSET	EQU	28 
CAPS_GRAPHICS_VERSION	EQU	29 
CAPS_GRAPHICS_VECTOR_SUBSET	EQU	30 
CAPS_PHYS_COLORS	EQU	33 
CAPS_COLOR_INDEX	EQU	34 
CAPS_GRAPHICS_CHAR_WIDTH	EQU	35 
CAPS_GRAPHICS_CHAR_HEIGHT	EQU	36 
CAPS_HORIZONTAL_FONT_RES	EQU	37 
CAPS_VERTICAL_FONT_RES	EQU	38 
CAPS_DEVICE_FONT_SIM	EQU	39 
CAPS_LINEWIDTH_THICK	EQU	40 
CAPS_DEVICE_POLYSET_POINTS	EQU	41 
CAPS_IO_DUMMY	EQU	1 
CAPS_IO_SUPPORTS_OP	EQU	2 
CAPS_IO_SUPPORTS_IP	EQU	3 
CAPS_IO_SUPPORTS_IO	EQU	4 
CAPS_TECH_UNKNOWN	EQU	0 
CAPS_TECH_VECTOR_PLOTTER	EQU	1 
CAPS_TECH_RASTER_DISPLAY	EQU	2 
CAPS_TECH_RASTER_PRINTER	EQU	3 
CAPS_TECH_RASTER_CAMERA	EQU	4 
CAPS_TECH_POSTSCRIPT	EQU	5 
CAPS_COLTABL_RGB_8	EQU	1 
CAPS_COLTABL_RGB_8_PLUS	EQU	2 
CAPS_COLTABL_TRUE_MIX	EQU	4 
CAPS_COLTABL_REALIZE	EQU	8 
CAPS_FM_OR	EQU	1 
CAPS_FM_OVERPAINT	EQU	2 
CAPS_FM_XOR	EQU	8 
CAPS_FM_LEAVEALONE	EQU	16 
CAPS_FM_AND	EQU	32 
CAPS_FM_GENERAL_BOOLEAN	EQU	64 
CAPS_BM_OR	EQU	1 
CAPS_BM_OVERPAINT	EQU	2 
CAPS_BM_XOR	EQU	8 
CAPS_BM_LEAVEALONE	EQU	16 
CAPS_BM_AND	EQU	32 
CAPS_BM_GENERAL_BOOLEAN	EQU	64 
CAPS_BM_SRCTRANSPARENT	EQU	128 
CAPS_BM_DESTTRANSPARENT	EQU	256 
CAPS_DEV_WINDOWING_SUPPORT	EQU	1 
CAPS_DEV_FONT_SIM_BOLD	EQU	1 
CAPS_DEV_FONT_SIM_ITALIC	EQU	2 
CAPS_DEV_FONT_SIM_UNDERSCORE	EQU	4 
CAPS_DEV_FONT_SIM_STRIKEOUT	EQU	8 
CAPS_VDD_DDB_TRANSFER	EQU	1 
CAPS_GRAPHICS_KERNING_SUPPORT	EQU	2 
CAPS_FONT_OUTLINE_DEFAULT	EQU	4 
CAPS_FONT_IMAGE_DEFAULT	EQU	8 
CAPS_SCALED_DEFAULT_MARKERS	EQU	64 
CAPS_COLOR_CURSOR_SUPPORT	EQU	128 
CAPS_PALETTE_MANAGER	EQU	256 
CAPS_COSMETIC_WIDELINE_SUPPORT	EQU	512 
CAPS_DIRECT_FILL	EQU	1024 
CAPS_REBUILD_FILLS	EQU	2048 
CAPS_CLIP_FILLS	EQU	00001000H  
CAPS_ENHANCED_FONTMETRICS	EQU	00002000H  
CAPS_TRANSFORM_SUPPORT	EQU	00004000H  
CAPS_EXTERNAL_16_BITCOUNT	EQU	00008000H  
ifndef INCL_SAADEFS
CAPS_BYTE_ALIGN_REQUIRED	EQU	0 
CAPS_BYTE_ALIGN_RECOMMENDED	EQU	1 
CAPS_BYTE_ALIGN_NOT_REQUIRED	EQU	2 
endif 
CAPS_RASTER_BITBLT	EQU	1 
CAPS_RASTER_BANDING	EQU	2 
CAPS_RASTER_BITBLT_SCALING	EQU	4 
CAPS_RASTER_SET_PEL	EQU	16 
CAPS_RASTER_FONTS	EQU	32 
CAPS_RASTER_FLOOD_FILL	EQU	64 
ifndef INCL_DDIDEFS
ifdef INCL_16
endif  
endif 
endif 
ifdef INCL_DEV
ifndef INCL_SAADEFS

VIOSIZECOUNT	STRUC
vios_maxcount	DD	?
vios_count	DD	?
VIOSIZECOUNT	ENDS

VIOFONTCELLSIZE	STRUC
viof_cx	DD	?
viof_cy	DD	?
VIOFONTCELLSIZE	ENDS

SFACTORS	STRUC
sfactors_x	DD	?
sfactors_y	DD	?
SFACTORS	ENDS

BANDRECT	STRUC
bandrect_xleft	DD	?
bandrect_ybottom	DD	?
bandrect_xright	DD	?
bandrect_ytop	DD	?
BANDRECT	ENDS
DEVESC_ERROR	EQU	(-1 )
DEVESC_NOTIMPLEMENTED	EQU	0 
DEVESC_QUERYESCSUPPORT	EQU	0 
DEVESC_GETSCALINGFACTOR	EQU	1 
DEVESC_QUERYVIOCELLSIZES	EQU	2 
DEVESC_GETCP	EQU	8000 
DEVESC_STARTDOC	EQU	8150 
DEVESC_ENDDOC	EQU	8151 
DEVESC_NEXTBAND	EQU	8152 
DEVESC_ABORTDOC	EQU	8153 
DEVESC_NEWFRAME	EQU	16300 
DEVESC_DRAFTMODE	EQU	16301 
DEVESC_FLUSHOUTPUT	EQU	16302 
DEVESC_RAWDATA	EQU	16303 
DEVESC_SETMODE	EQU	16304 
DEVESC_DBE_FIRST	EQU	24450 
DEVESC_DBE_LAST	EQU	24455 
DEVESC_CHAR_EXTRA	EQU	16998 
DEVESC_BREAK_EXTRA	EQU	16999 
DEVESC_STD_JOURNAL	EQU	32600 

ESCMODE	STRUC
em_mode	DD	?
em_modedata	DB	1 DUP (?)
ESCMODE	ENDS
DPDM_ERROR	EQU	(-1 )
DPDM_NONE	EQU	0 
DPDM_POSTJOBPROP	EQU	0 
DPDM_CHANGEPROP	EQU	1 
DPDM_QUERYJOBPROP	EQU	2 
DQHC_ERROR	EQU	(-1 )
HCAPS_CURRENT	EQU	1 
HCAPS_SELECTABLE	EQU	2 

HCINFO	STRUC
hci_szFormname	DB	32 DUP (?)
hci_cx	DD	?
hci_cy	DD	?
hci_xLeftClip	DD	?
hci_yBottomClip	DD	?
hci_xRightClip	DD	?
hci_yTopClip	DD	?
hci_xPels	DD	?
hci_yPels	DD	?
hci_flAttributes	DD	?
HCINFO	ENDS
ifndef INCL_DDIDEFS
ifdef INCL_16
endif  
endif 
endif 
endif 
ifdef INCL_DEVERRORS
endif 
ifdef __IBMC__
ifndef __CHKHDR__
endif
endif
