home *** CD-ROM | disk | FTP | other *** search
- // DRIVERVERSION 0
- // TECHNOLOGY 2 *
- // HORZSIZE 4
- // VERTSIZE 6
- // HORZRES 8
- // VERTRES 10
- // BITSPIXEL 12
- // PLANES 14
- // NUMBRUSHES 16
- // NUMPENS 18
- // NUMMARKERS 20
- // NUMFONTS 22
- // NUMCOLORS 24
- // PDEVICESIZE 26
- // CURVECAPS 28 *
- // LINECAPS 30 *
- // POLYGONALCAPS 32 *
- // TEXTCAPS 34 *
- // CLIPCAPS 36 *
- // RASTERCAPS 38 *
- // ASPECTX 40
- // ASPECTY 42
- // ASPECTXY 44__
- // LOGPIXELSX 88
- // LOGPIXELSY 90__
- // SIZEPALETTE 104
- // NUMRESERVED 106
- // COLORRES 108
-
- /* GetDeviceCaps() return value masks */
-
- /* TECHNOLOGY */
- #define DT_PLOTTER 0
- #define DT_RASDISPLAY 1
- #define DT_RASPRINTER 2
- #define DT_RASCAMERA 3
- #define DT_CHARSTREAM 4
- #define DT_METAFILE 5
- #define DT_DISPFILE 6
-
- /* CURVECAPS */
- #define CC_NONE 0x0000
- #define CC_CIRCLES 0x0001
- #define CC_PIE 0x0002
- #define CC_CHORD 0x0004
- #define CC_ELLIPSES 0x0008
- #define CC_WIDE 0x0010
- #define CC_STYLED 0x0020
- #define CC_WIDESTYLED 0x0040
- #define CC_INTERIORS 0x0080
- #define CC_ROUNDRECT 0x0100
-
- /* LINECAPS */
- #define LC_NONE 0x0000
- #define LC_POLYLINE 0x0002
- #define LC_MARKER 0x0004
- #define LC_POLYMARKER 0x0008
- #define LC_WIDE 0x0010
- #define LC_STYLED 0x0020
- #define LC_WIDESTYLED 0x0040
- #define LC_INTERIORS 0x0080
-
- /* POLYGONALCAPS */
- #define PC_NONE 0x0000
- #define PC_POLYGON 0x0001
- #define PC_RECTANGLE 0x0002
- #define PC_WINDPOLYGON 0x0004
- #define PC_SCANLINE 0x0008
- #define PC_WIDE 0x0010
- #define PC_STYLED 0x0020
- #define PC_WIDESTYLED 0x0040
- #define PC_INTERIORS 0x0080
-
- /* TEXTCAPS */
- #define TC_OP_CHARACTER 0x0001
- #define TC_OP_STROKE 0x0002
- #define TC_CP_STROKE 0x0004
- #define TC_CR_90 0x0008
- #define TC_CR_ANY 0x0010
- #define TC_SF_X_YINDEP 0x0020
- #define TC_SA_DOUBLE 0x0040
- #define TC_SA_INTEGER 0x0080
- #define TC_SA_CONTIN 0x0100
- #define TC_EA_DOUBLE 0x0200
- #define TC_IA_ABLE 0x0400
- #define TC_UA_ABLE 0x0800
- #define TC_SO_ABLE 0x1000
- #define TC_RA_ABLE 0x2000
- #define TC_VA_ABLE 0x4000
- #define TC_RESERVED 0x8000
-
- /* CLIPCAPS */
- #define CP_NONE 0x0000
- #define CP_RECTANGLE 0x0001
- #define CP_REGION 0x0002
-
- /* RASTERCAPS */
- #define RC_NONE
- #define RC_BITBLT 0x0001
- #define RC_BANDING 0x0002
- #define RC_SCALING 0x0004
- #define RC_BITMAP64 0x0008
- #define RC_GDI20_OUTPUT 0x0010
- #define RC_GDI20_STATE 0x0020
- #define RC_SAVEBITMAP 0x0040
- #define RC_DI_BITMAP 0x0080
- #define RC_PALETTE 0x0100
- #define RC_DIBTODEV 0x0200
- #define RC_BIGFONT 0x0400
- #define RC_STRETCHBLT 0x0800
- #define RC_FLOODFILL 0x1000
- #define RC_STRETCHDIB 0x2000
- #define RC_OP_DX_OUTPUT 0x4000
- #define RC_DEVBITS 0x8000