mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 09:33:38 +00:00
Move DM* defines from winbase.h -> wingdi.h.
This commit is contained in:
parent
e8ceac986b
commit
ed6d459f03
|
@ -909,123 +909,6 @@ typedef DWORD (WINAPI *LPPROGRESS_ROUTINE)(LARGE_INTEGER, LARGE_INTEGER, LARGE_I
|
|||
LARGE_INTEGER, DWORD, DWORD, HANDLE,
|
||||
HANDLE, LPVOID);
|
||||
|
||||
#define DM_UPDATE 1
|
||||
#define DM_COPY 2
|
||||
#define DM_PROMPT 4
|
||||
#define DM_MODIFY 8
|
||||
|
||||
#define DM_IN_BUFFER DM_MODIFY
|
||||
#define DM_IN_PROMPT DM_PROMPT
|
||||
#define DM_OUT_BUFFER DM_COPY
|
||||
#define DM_OUT_DEFAULT DM_UPDATE
|
||||
|
||||
#define DM_ORIENTATION 0x00000001L
|
||||
#define DM_PAPERSIZE 0x00000002L
|
||||
#define DM_PAPERLENGTH 0x00000004L
|
||||
#define DM_PAPERWIDTH 0x00000008L
|
||||
#define DM_SCALE 0x00000010L
|
||||
#define DM_COPIES 0x00000100L
|
||||
#define DM_DEFAULTSOURCE 0x00000200L
|
||||
#define DM_PRINTQUALITY 0x00000400L
|
||||
#define DM_COLOR 0x00000800L
|
||||
#define DM_DUPLEX 0x00001000L
|
||||
#define DM_YRESOLUTION 0x00002000L
|
||||
#define DM_TTOPTION 0x00004000L
|
||||
#define DM_BITSPERPEL 0x00040000L
|
||||
#define DM_PELSWIDTH 0x00080000L
|
||||
#define DM_PELSHEIGHT 0x00100000L
|
||||
#define DM_DISPLAYFLAGS 0x00200000L
|
||||
#define DM_DISPLAYFREQUENCY 0x00400000L
|
||||
|
||||
/* etc.... */
|
||||
|
||||
#define DMORIENT_PORTRAIT 1
|
||||
#define DMORIENT_LANDSCAPE 2
|
||||
|
||||
#define DMPAPER_LETTER 1
|
||||
#define DMPAPER_LETTERSMALL 2
|
||||
#define DMPAPER_TABLOID 3
|
||||
#define DMPAPER_LEDGER 4
|
||||
#define DMPAPER_LEGAL 5
|
||||
#define DMPAPER_STATEMENT 6
|
||||
#define DMPAPER_EXECUTIVE 7
|
||||
#define DMPAPER_A3 8
|
||||
#define DMPAPER_A4 9
|
||||
#define DMPAPER_A4SMALL 10
|
||||
#define DMPAPER_A5 11
|
||||
#define DMPAPER_B4 12
|
||||
#define DMPAPER_B5 13
|
||||
#define DMPAPER_FOLIO 14
|
||||
#define DMPAPER_QUARTO 15
|
||||
#define DMPAPER_10X14 16
|
||||
#define DMPAPER_11X17 17
|
||||
#define DMPAPER_NOTE 18
|
||||
#define DMPAPER_ENV_9 19
|
||||
#define DMPAPER_ENV_10 20
|
||||
#define DMPAPER_ENV_11 21
|
||||
#define DMPAPER_ENV_12 22
|
||||
#define DMPAPER_ENV_14 23
|
||||
#define DMPAPER_CSHEET 24
|
||||
#define DMPAPER_DSHEET 25
|
||||
#define DMPAPER_ESHEET 26
|
||||
#define DMPAPER_ENV_DL 27
|
||||
#define DMPAPER_ENV_C5 28
|
||||
#define DMPAPER_ENV_C3 29
|
||||
#define DMPAPER_ENV_C4 30
|
||||
#define DMPAPER_ENV_C6 31
|
||||
#define DMPAPER_ENV_C65 32
|
||||
#define DMPAPER_ENV_B4 33
|
||||
#define DMPAPER_ENV_B5 34
|
||||
#define DMPAPER_ENV_B6 35
|
||||
#define DMPAPER_ENV_ITALY 36
|
||||
#define DMPAPER_ENV_MONARCH 37
|
||||
#define DMPAPER_ENV_PERSONAL 38
|
||||
#define DMPAPER_FANFOLD_US 39
|
||||
#define DMPAPER_FANFOLD_STD_GERMAN 40
|
||||
#define DMPAPER_FANFOLD_LGL_GERMAN 41
|
||||
#define DMPAPER_ISO_B4 42
|
||||
#define DMPAPER_JAPANESE_POSTCARD 43
|
||||
#define DMPAPER_9X11 44
|
||||
#define DMPAPER_10X11 45
|
||||
#define DMPAPER_15X11 46
|
||||
#define DMPAPER_ENV_INVITE 47
|
||||
#define DMPAPER_RESERVED_48 48
|
||||
#define DMPAPER_RESERVED_49 49
|
||||
#define DMPAPER_LETTER_EXTRA 50
|
||||
#define DMPAPER_LEGAL_EXTRA 51
|
||||
#define DMPAPER_TABLOID_EXTRA 52
|
||||
#define DMPAPER_A4_EXTRA 53
|
||||
#define DMPAPER_LETTER_TRANSVERSE 54
|
||||
#define DMPAPER_A4_TRANSVERSE 55
|
||||
#define DMPAPER_LETTER_EXTRA_TRANSVERSE 56
|
||||
#define DMPAPER_A_PLUS 57
|
||||
#define DMPAPER_B_PLUS 58
|
||||
#define DMPAPER_LETTER_PLUS 59
|
||||
#define DMPAPER_A4_PLUS 60
|
||||
#define DMPAPER_A5_TRANSVERSE 61
|
||||
#define DMPAPER_B5_TRANSVERSE 62
|
||||
#define DMPAPER_A3_EXTRA 63
|
||||
#define DMPAPER_A5_EXTRA 64
|
||||
#define DMPAPER_B5_EXTRA 65
|
||||
#define DMPAPER_A2 66
|
||||
#define DMPAPER_A3_TRANSVERSE 67
|
||||
#define DMPAPER_A3_EXTRA_TRANSVERSE 68
|
||||
|
||||
#define DMBIN_UPPER 1
|
||||
#define DMBIN_LOWER 2
|
||||
#define DMBIN_MIDDLE 3
|
||||
#define DMBIN_MANUAL 4
|
||||
#define DMBIN_ENVELOPE 5
|
||||
#define DMBIN_ENVMANUAL 6
|
||||
#define DMBIN_AUTO 7
|
||||
#define DMBIN_LARGECAPACITY 11
|
||||
|
||||
#define DMCOLOR_MONOCHROME 1
|
||||
#define DMCOLOR_COLOR 2
|
||||
|
||||
#define DMTT_BITMAP 1
|
||||
#define DMTT_DOWNLOAD 2
|
||||
#define DMTT_SUBDEV 3
|
||||
|
||||
#define WAIT_FAILED 0xffffffff
|
||||
#define WAIT_OBJECT_0 0
|
||||
|
|
118
include/wingdi.h
118
include/wingdi.h
|
@ -2056,6 +2056,124 @@ DECL_WINELIB_TYPE_AW(DEVMODE)
|
|||
DECL_WINELIB_TYPE_AW(PDEVMODE)
|
||||
DECL_WINELIB_TYPE_AW(LPDEVMODE)
|
||||
|
||||
#define DM_UPDATE 1
|
||||
#define DM_COPY 2
|
||||
#define DM_PROMPT 4
|
||||
#define DM_MODIFY 8
|
||||
|
||||
#define DM_IN_BUFFER DM_MODIFY
|
||||
#define DM_IN_PROMPT DM_PROMPT
|
||||
#define DM_OUT_BUFFER DM_COPY
|
||||
#define DM_OUT_DEFAULT DM_UPDATE
|
||||
|
||||
#define DM_ORIENTATION 0x00000001L
|
||||
#define DM_PAPERSIZE 0x00000002L
|
||||
#define DM_PAPERLENGTH 0x00000004L
|
||||
#define DM_PAPERWIDTH 0x00000008L
|
||||
#define DM_SCALE 0x00000010L
|
||||
#define DM_COPIES 0x00000100L
|
||||
#define DM_DEFAULTSOURCE 0x00000200L
|
||||
#define DM_PRINTQUALITY 0x00000400L
|
||||
#define DM_COLOR 0x00000800L
|
||||
#define DM_DUPLEX 0x00001000L
|
||||
#define DM_YRESOLUTION 0x00002000L
|
||||
#define DM_TTOPTION 0x00004000L
|
||||
#define DM_BITSPERPEL 0x00040000L
|
||||
#define DM_PELSWIDTH 0x00080000L
|
||||
#define DM_PELSHEIGHT 0x00100000L
|
||||
#define DM_DISPLAYFLAGS 0x00200000L
|
||||
#define DM_DISPLAYFREQUENCY 0x00400000L
|
||||
|
||||
/* etc.... */
|
||||
|
||||
#define DMORIENT_PORTRAIT 1
|
||||
#define DMORIENT_LANDSCAPE 2
|
||||
|
||||
#define DMPAPER_LETTER 1
|
||||
#define DMPAPER_LETTERSMALL 2
|
||||
#define DMPAPER_TABLOID 3
|
||||
#define DMPAPER_LEDGER 4
|
||||
#define DMPAPER_LEGAL 5
|
||||
#define DMPAPER_STATEMENT 6
|
||||
#define DMPAPER_EXECUTIVE 7
|
||||
#define DMPAPER_A3 8
|
||||
#define DMPAPER_A4 9
|
||||
#define DMPAPER_A4SMALL 10
|
||||
#define DMPAPER_A5 11
|
||||
#define DMPAPER_B4 12
|
||||
#define DMPAPER_B5 13
|
||||
#define DMPAPER_FOLIO 14
|
||||
#define DMPAPER_QUARTO 15
|
||||
#define DMPAPER_10X14 16
|
||||
#define DMPAPER_11X17 17
|
||||
#define DMPAPER_NOTE 18
|
||||
#define DMPAPER_ENV_9 19
|
||||
#define DMPAPER_ENV_10 20
|
||||
#define DMPAPER_ENV_11 21
|
||||
#define DMPAPER_ENV_12 22
|
||||
#define DMPAPER_ENV_14 23
|
||||
#define DMPAPER_CSHEET 24
|
||||
#define DMPAPER_DSHEET 25
|
||||
#define DMPAPER_ESHEET 26
|
||||
#define DMPAPER_ENV_DL 27
|
||||
#define DMPAPER_ENV_C5 28
|
||||
#define DMPAPER_ENV_C3 29
|
||||
#define DMPAPER_ENV_C4 30
|
||||
#define DMPAPER_ENV_C6 31
|
||||
#define DMPAPER_ENV_C65 32
|
||||
#define DMPAPER_ENV_B4 33
|
||||
#define DMPAPER_ENV_B5 34
|
||||
#define DMPAPER_ENV_B6 35
|
||||
#define DMPAPER_ENV_ITALY 36
|
||||
#define DMPAPER_ENV_MONARCH 37
|
||||
#define DMPAPER_ENV_PERSONAL 38
|
||||
#define DMPAPER_FANFOLD_US 39
|
||||
#define DMPAPER_FANFOLD_STD_GERMAN 40
|
||||
#define DMPAPER_FANFOLD_LGL_GERMAN 41
|
||||
#define DMPAPER_ISO_B4 42
|
||||
#define DMPAPER_JAPANESE_POSTCARD 43
|
||||
#define DMPAPER_9X11 44
|
||||
#define DMPAPER_10X11 45
|
||||
#define DMPAPER_15X11 46
|
||||
#define DMPAPER_ENV_INVITE 47
|
||||
#define DMPAPER_RESERVED_48 48
|
||||
#define DMPAPER_RESERVED_49 49
|
||||
#define DMPAPER_LETTER_EXTRA 50
|
||||
#define DMPAPER_LEGAL_EXTRA 51
|
||||
#define DMPAPER_TABLOID_EXTRA 52
|
||||
#define DMPAPER_A4_EXTRA 53
|
||||
#define DMPAPER_LETTER_TRANSVERSE 54
|
||||
#define DMPAPER_A4_TRANSVERSE 55
|
||||
#define DMPAPER_LETTER_EXTRA_TRANSVERSE 56
|
||||
#define DMPAPER_A_PLUS 57
|
||||
#define DMPAPER_B_PLUS 58
|
||||
#define DMPAPER_LETTER_PLUS 59
|
||||
#define DMPAPER_A4_PLUS 60
|
||||
#define DMPAPER_A5_TRANSVERSE 61
|
||||
#define DMPAPER_B5_TRANSVERSE 62
|
||||
#define DMPAPER_A3_EXTRA 63
|
||||
#define DMPAPER_A5_EXTRA 64
|
||||
#define DMPAPER_B5_EXTRA 65
|
||||
#define DMPAPER_A2 66
|
||||
#define DMPAPER_A3_TRANSVERSE 67
|
||||
#define DMPAPER_A3_EXTRA_TRANSVERSE 68
|
||||
|
||||
#define DMBIN_UPPER 1
|
||||
#define DMBIN_LOWER 2
|
||||
#define DMBIN_MIDDLE 3
|
||||
#define DMBIN_MANUAL 4
|
||||
#define DMBIN_ENVELOPE 5
|
||||
#define DMBIN_ENVMANUAL 6
|
||||
#define DMBIN_AUTO 7
|
||||
#define DMBIN_LARGECAPACITY 11
|
||||
|
||||
#define DMCOLOR_MONOCHROME 1
|
||||
#define DMCOLOR_COLOR 2
|
||||
|
||||
#define DMTT_BITMAP 1
|
||||
#define DMTT_DOWNLOAD 2
|
||||
#define DMTT_SUBDEV 3
|
||||
|
||||
typedef struct
|
||||
{
|
||||
INT16 cbSize;
|
||||
|
|
Loading…
Reference in a new issue