Changeset 22081 for branches/swt/include/win/wingdi.h
- Timestamp:
- Aug 23, 2014, 4:21:44 PM (11 years ago)
- File:
-
- 1 edited
-
branches/swt/include/win/wingdi.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/swt/include/win/wingdi.h
r21998 r22081 2933 2933 #define CCHFORMNAME 32 2934 2934 2935 ///-------------------------------------------------------------------[swt-os2] 2936 /// Substituted the Wine structures, which are different in layout and size. 2937 /// Changed BYTE to CHAR in Wine structure. 2938 /* 2935 2939 typedef struct 2936 2940 { … … 2975 2979 DWORD dmPanningHeight; 2976 2980 } DEVMODEA, *PDEVMODEA, *LPDEVMODEA; 2977 2981 */ 2982 typedef struct 2983 { 2984 CHAR dmDeviceName[CCHDEVICENAME]; 2985 WORD dmSpecVersion; 2986 WORD dmDriverVersion; 2987 WORD dmSize; 2988 WORD dmDriverExtra; 2989 DWORD dmFields; 2990 union { 2991 struct { 2992 short dmOrientation; 2993 short dmPaperSize; 2994 short dmPaperLength; 2995 short dmPaperWidth; 2996 short dmScale; 2997 short dmCopies; 2998 short dmDefaultSource; 2999 short dmPrintQuality; 3000 } DUMMYSTRUCTNAME1; 3001 struct { 3002 POINTL dmPosition; 3003 DWORD dmDisplayOrientation; 3004 DWORD dmDisplayFixedOutput; 3005 } DUMMYSTRUCTNAME2; 3006 } DUMMYUNIONNAME1; 3007 short dmColor; 3008 short dmDuplex; 3009 short dmYResolution; 3010 short dmTTOption; 3011 short dmCollate; 3012 CHAR dmFormName[CCHFORMNAME]; 3013 WORD dmLogPixels; 3014 DWORD dmBitsPerPel; 3015 DWORD dmPelsWidth; 3016 DWORD dmPelsHeight; 3017 union { 3018 DWORD dmDisplayFlags; 3019 DWORD dmNup; 3020 } DUMMYUNIONNAME2; 3021 DWORD dmDisplayFrequency; 3022 DWORD dmICMMethod; 3023 DWORD dmICMIntent; 3024 DWORD dmMediaType; 3025 DWORD dmDitherType; 3026 DWORD dmReserved1; 3027 DWORD dmReserved2; 3028 DWORD dmPanningWidth; 3029 DWORD dmPanningHeight; 3030 } DEVMODEA, *PDEVMODEA, *LPDEVMODEA; 3031 /* 2978 3032 typedef struct 2979 3033 { … … 3018 3072 DWORD dmPanningHeight; 3019 3073 } DEVMODEW, *PDEVMODEW, *LPDEVMODEW; 3074 */ 3075 typedef struct 3076 { 3077 WCHAR dmDeviceName[CCHDEVICENAME]; 3078 WORD dmSpecVersion; 3079 WORD dmDriverVersion; 3080 WORD dmSize; 3081 WORD dmDriverExtra; 3082 DWORD dmFields; 3083 union { 3084 struct { 3085 short dmOrientation; 3086 short dmPaperSize; 3087 short dmPaperLength; 3088 short dmPaperWidth; 3089 short dmScale; 3090 short dmCopies; 3091 short dmDefaultSource; 3092 short dmPrintQuality; 3093 } DUMMYSTRUCTNAME1; 3094 struct { 3095 POINTL dmPosition; 3096 DWORD dmDisplayOrientation; 3097 DWORD dmDisplayFixedOutput; 3098 } DUMMYSTRUCTNAME2; 3099 } DUMMYUNIONNAME1; 3100 short dmColor; 3101 short dmDuplex; 3102 short dmYResolution; 3103 short dmTTOption; 3104 short dmCollate; 3105 WCHAR dmFormName[CCHFORMNAME]; 3106 WORD dmLogPixels; 3107 DWORD dmBitsPerPel; 3108 DWORD dmPelsWidth; 3109 DWORD dmPelsHeight; 3110 union { 3111 DWORD dmDisplayFlags; 3112 DWORD dmNup; 3113 } DUMMYUNIONNAME2; 3114 DWORD dmDisplayFrequency; 3115 DWORD dmICMMethod; 3116 DWORD dmICMIntent; 3117 DWORD dmMediaType; 3118 DWORD dmDitherType; 3119 DWORD dmReserved1; 3120 DWORD dmReserved2; 3121 DWORD dmPanningWidth; 3122 DWORD dmPanningHeight; 3123 } DEVMODEW, *PDEVMODEW, *LPDEVMODEW; 3124 ///---------------------------------------------------------------------------- 3020 3125 3021 3126 DECL_WINELIB_TYPE_AW(DEVMODE)
Note:
See TracChangeset
for help on using the changeset viewer.
