5 DT_RASDISPLAY, // ulTechnology
8 0, // ulHorzRes (filled in at initialization)
9 0, // ulVertRes (filled in at initialization)
13 0, // flRaster (DDI reserved field)
15 0, // ulLogPixelsX (filled in at initialization)
16 0, // ulLogPixelsY (filled in at initialization)
18 TC_RA_ABLE | TC_SCROLLBLT, // flTextCaps
24 0x0024, // ulAspectX (one-to-one aspect ratio)
32 { 0, 0 }, // ptlPhysOffset
33 { 0, 0 }, // szlPhysSize
35 0, // ulNumPalReg (win3.1 16 color drivers say 0 too)
37 // These fields are for halftone initialization.
39 { // ciDevice, ColorInfo
40 { 6700, 3300, 0 }, // Red
41 { 2100, 7100, 0 }, // Green
42 { 1400, 800, 0 }, // Blue
43 { 1750, 3950, 0 }, // Cyan
44 { 4050, 2050, 0 }, // Magenta
45 { 4400, 5200, 0 }, // Yellow
46 { 3127, 3290, 0 }, // AlignmentWhite
54 PRIMARY_ORDER_CBA, // ulPrimaryOrder
55 HT_PATSIZE_4x4_M, // ulHTPatternSize
56 HT_FORMAT_4BPP_IRGB, // ulHTOutputFormat
57 HT_FLAG_ADDITIVE_PRIMS, // flHTFlags
61 0, // ulPanningHorzRes
62 0, // ulPanningVertRes
67 typedef struct _VGALOGPALETTE
71 PALETTEENTRY PaletteEntry[16];
74 const VGALOGPALETTE VGApalette =
77 0x400, // driver version
80 { 0x00, 0x00, 0x00, 0x00 }, // 0
81 { 0x80, 0x00, 0x00, 0x00 }, // 1
82 { 0x00, 0x80, 0x00, 0x00 }, // 2
83 { 0x80, 0x80, 0x00, 0x00 }, // 3
84 { 0x00, 0x00, 0x80, 0x00 }, // 4
85 { 0x80, 0x00, 0x80, 0x00 }, // 5
86 { 0x00, 0x80, 0x80, 0x00 }, // 6
87 { 0x80, 0x80, 0x80, 0x00 }, // 7
88 { 0xc0, 0xc0, 0xc0, 0x00 }, // 8
89 { 0xff, 0x00, 0x00, 0x00 }, // 9
90 { 0x00, 0xff, 0x00, 0x00 }, // 10
91 { 0xff, 0xff, 0x00, 0x00 }, // 11
92 { 0x00, 0x00, 0xff, 0x00 }, // 12
93 { 0xff, 0x00, 0xff, 0x00 }, // 13
94 { 0x00, 0xff, 0xff, 0x00 }, // 14
95 { 0xff, 0xff, 0xff, 0x00 } // 15
99 // Devinfo structure passed back to the engine in DrvEnablePDEV
101 #define SYSTM_LOGFONT {16,7,0,0,700,0,0,0,ANSI_CHARSET,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY,VARIABLE_PITCH | FF_DONTCARE, L"System"}
102 #define HELVE_LOGFONT {12,9,0,0,400,0,0,0,ANSI_CHARSET,OUT_DEFAULT_PRECIS,CLIP_STROKE_PRECIS,PROOF_QUALITY,VARIABLE_PITCH | FF_DONTCARE, L"MS Sans Serif"}
103 #define COURI_LOGFONT {12,9,0,0,400,0,0,0,ANSI_CHARSET,OUT_DEFAULT_PRECIS,CLIP_STROKE_PRECIS,PROOF_QUALITY,FIXED_PITCH | FF_DONTCARE, L"Courier"}
107 (GCAPS_OPAQUERECT | GCAPS_HORIZSTRIKE | GCAPS_ALTERNATEFILL | GCAPS_MONO_DITHER | GCAPS_COLOR_DITHER |
108 GCAPS_WINDINGFILL | GCAPS_DITHERONREALIZE
109 ), // Graphics capabilities
111 SYSTM_LOGFONT, // Default font description
112 HELVE_LOGFONT, // ANSI variable font description
113 COURI_LOGFONT, // ANSI fixed font description
114 0, // Count of device fonts
115 BMF_4BPP, // preferred DIB format
116 8, // Width of color dither
117 8, // Height of color dither
118 0 // Default palette to use for this device