7 #define DeleteBitmap(hbm) DeleteObject((HGDIOBJ)(HBITMAP)(hbm))
10 #define DeleteBrush(hbr) DeleteObject((HGDIOBJ)(HBRUSH)(hbr))
13 #define DeleteFont(hfont) DeleteObject((HGDIOBJ)(HFONT)(hfont))
16 #define DeletePalette(hpal) DeleteObject((HGDIOBJ)(HPALETTE)(hpal))
19 #define DeletePen(hpen) DeleteObject((HGDIOBJ)(HPEN)(hpen))
22 #define SelectBitmap(hdc, hbm) ((HBITMAP)SelectObject((hdc), (HGDIOBJ)(HBITMAP)(hbm)))
25 #define SelectBrush(hdc, hbr) ((HBRUSH)SelectObject((hdc), (HGDIOBJ)(HBRUSH)(hbr)))
28 #define SelectFont(hdc, hfont) ((HFONT)SelectObject((hdc), (HGDIOBJ)(HFONT)(hfont)))
31 #define SelectPen(hdc, hpen) ((HPEN)SelectObject((hdc), (HGDIOBJ)(HPEN)(hpen)))
34 #define GetNextWindow(hWnd,wCmd) GetWindow((hWnd),(wCmd))
37 #define GetStockBrush(i) ((HBRUSH)GetStockObject(i))
40 #define GetStockPen(i) ((HPEN)GetStockObject(i))
44 #define DM_SPECVERSION 0x0401
46 #define DMPAPER_ISO_B4 42 /* B4 (ISO) 250 x 353 mm */
47 #define DMPAPER_JAPANESE_POSTCARD 43 /* Japanese Postcard 100 x 148 mm */
48 #define DMPAPER_9X11 44 /* 9 x 11 in */
49 #define DMPAPER_10X11 45 /* 10 x 11 in */
50 #define DMPAPER_15X11 46 /* 15 x 11 in */
51 #define DMPAPER_ENV_INVITE 47 /* Envelope Invite 220 x 220 mm */
52 #define DMPAPER_RESERVED_48 48 /* RESERVED--DO NOT USE */
53 #define DMPAPER_RESERVED_49 49 /* RESERVED--DO NOT USE */
54 #define DMPAPER_LETTER_EXTRA 50 /* Letter Extra 9 \275 x 12 in */
55 #define DMPAPER_LEGAL_EXTRA 51 /* Legal Extra 9 \275 x 15 in */
56 #define DMPAPER_TABLOID_EXTRA 52 /* Tabloid Extra 11.69 x 18 in */
57 #define DMPAPER_A4_EXTRA 53 /* A4 Extra 9.27 x 12.69 in */
58 #define DMPAPER_LETTER_TRANSVERSE 54 /* Letter Transverse 8 \275 x 11 in */
59 #define DMPAPER_A4_TRANSVERSE 55 /* A4 Transverse 210 x 297 mm */
60 #define DMPAPER_LETTER_EXTRA_TRANSVERSE 56 /* Letter Extra Transverse 9\275 x 12 in */
61 #define DMPAPER_A_PLUS 57 /* SuperA/SuperA/A4 227 x 356 mm */
62 #define DMPAPER_B_PLUS 58 /* SuperB/SuperB/A3 305 x 487 mm */
63 #define DMPAPER_LETTER_PLUS 59 /* Letter Plus 8.5 x 12.69 in */
64 #define DMPAPER_A4_PLUS 60 /* A4 Plus 210 x 330 mm */
65 #define DMPAPER_A5_TRANSVERSE 61 /* A5 Transverse 148 x 210 mm */
66 #define DMPAPER_B5_TRANSVERSE 62 /* B5 (JIS) Transverse 182 x 257 mm */
67 #define DMPAPER_A3_EXTRA 63 /* A3 Extra 322 x 445 mm */
68 #define DMPAPER_A5_EXTRA 64 /* A5 Extra 174 x 235 mm */
69 #define DMPAPER_B5_EXTRA 65 /* B5 (ISO) Extra 201 x 276 mm */
70 #define DMPAPER_A2 66 /* A2 420 x 594 mm */
71 #define DMPAPER_A3_TRANSVERSE 67 /* A3 Transverse 297 x 420 mm */
72 #define DMPAPER_A3_EXTRA_TRANSVERSE 68 /* A3 Extra Transverse 322 x 445 mm */
74 #define DMPAPER_LAST DMPAPER_A3_EXTRA_TRANSVERSE
75 #endif /*DMPAPER_LAST */
77 #define DMPAPER_USER 256
81 #define DMBIN_FIRST DMBIN_UPPER
82 #endif /*DMPAPER_FIRST*/
85 #define DMBIN_ONLYONE 1
87 #define DMBIN_MIDDLE 3
88 #define DMBIN_MANUAL 4
89 #define DMBIN_ENVELOPE 5
90 #define DMBIN_ENVMANUAL 6
92 #define DMBIN_TRACTOR 8
93 #define DMBIN_SMALLFMT 9
94 #define DMBIN_LARGEFMT 10
95 #define DMBIN_LARGECAPACITY 11
96 #define DMBIN_CASSETTE 14
97 #define DMBIN_FORMSOURCE 15
100 #define DMBIN_LAST DMBIN_FORMSOURCE
101 #endif /*DMBIN_LAST*/
103 #define DMBIN_USER 256 /* device specific bins start here */
105 /* print qualities */
106 #define DMRES_DRAFT (-1)
107 #define DMRES_LOW (-2)
108 #define DMRES_MEDIUM (-3)
109 #define DMRES_HIGH (-4)
111 #define DMTT_DOWNLOAD_OUTLINE 4 /* download TT fonts as outline soft fonts */
114 #endif /* _MISSING_H */