]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | #[link(name = "windows")] |
2 | extern "system" { | |
04454e1e | 3 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4 | #[cfg(feature = "Win32_Foundation")] |
5 | pub fn AbortPath(hdc: HDC) -> super::super::Foundation::BOOL; | |
04454e1e | 6 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
7 | #[cfg(feature = "Win32_Foundation")] |
8 | pub fn AddFontMemResourceEx(pfileview: *const ::core::ffi::c_void, cjsize: u32, pvresrved: *mut ::core::ffi::c_void, pnumfonts: *const u32) -> super::super::Foundation::HANDLE; | |
04454e1e FG |
9 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
10 | pub fn AddFontResourceA(param0: ::windows_sys::core::PCSTR) -> i32; | |
11 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
12 | pub fn AddFontResourceExA(name: ::windows_sys::core::PCSTR, fl: FONT_RESOURCE_CHARACTERISTICS, res: *mut ::core::ffi::c_void) -> i32; | |
13 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
14 | pub fn AddFontResourceExW(name: ::windows_sys::core::PCWSTR, fl: FONT_RESOURCE_CHARACTERISTICS, res: *mut ::core::ffi::c_void) -> i32; | |
15 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
16 | pub fn AddFontResourceW(param0: ::windows_sys::core::PCWSTR) -> i32; | |
17 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
18 | #[cfg(feature = "Win32_Foundation")] |
19 | pub fn AlphaBlend(hdcdest: HDC, xorigindest: i32, yorigindest: i32, wdest: i32, hdest: i32, hdcsrc: HDC, xoriginsrc: i32, yoriginsrc: i32, wsrc: i32, hsrc: i32, ftn: BLENDFUNCTION) -> super::super::Foundation::BOOL; | |
04454e1e | 20 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
21 | #[cfg(feature = "Win32_Foundation")] |
22 | pub fn AngleArc(hdc: HDC, x: i32, y: i32, r: u32, startangle: f32, sweepangle: f32) -> super::super::Foundation::BOOL; | |
04454e1e | 23 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
24 | #[cfg(feature = "Win32_Foundation")] |
25 | pub fn AnimatePalette(hpal: HPALETTE, istartindex: u32, centries: u32, ppe: *const PALETTEENTRY) -> super::super::Foundation::BOOL; | |
04454e1e | 26 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
27 | #[cfg(feature = "Win32_Foundation")] |
28 | pub fn Arc(hdc: HDC, x1: i32, y1: i32, x2: i32, y2: i32, x3: i32, y3: i32, x4: i32, y4: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 29 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
30 | #[cfg(feature = "Win32_Foundation")] |
31 | pub fn ArcTo(hdc: HDC, left: i32, top: i32, right: i32, bottom: i32, xr1: i32, yr1: i32, xr2: i32, yr2: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 32 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
33 | #[cfg(feature = "Win32_Foundation")] |
34 | pub fn BeginPaint(hwnd: super::super::Foundation::HWND, lppaint: *mut PAINTSTRUCT) -> HDC; | |
04454e1e | 35 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
36 | #[cfg(feature = "Win32_Foundation")] |
37 | pub fn BeginPath(hdc: HDC) -> super::super::Foundation::BOOL; | |
04454e1e | 38 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
39 | #[cfg(feature = "Win32_Foundation")] |
40 | pub fn BitBlt(hdc: HDC, x: i32, y: i32, cx: i32, cy: i32, hdcsrc: HDC, x1: i32, y1: i32, rop: ROP_CODE) -> super::super::Foundation::BOOL; | |
04454e1e | 41 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
42 | #[cfg(feature = "Win32_Foundation")] |
43 | pub fn CancelDC(hdc: HDC) -> super::super::Foundation::BOOL; | |
04454e1e | 44 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
45 | #[cfg(feature = "Win32_Foundation")] |
46 | pub fn ChangeDisplaySettingsA(lpdevmode: *const DEVMODEA, dwflags: CDS_TYPE) -> DISP_CHANGE; | |
04454e1e | 47 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 48 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
49 | pub fn ChangeDisplaySettingsExA(lpszdevicename: ::windows_sys::core::PCSTR, lpdevmode: *const DEVMODEA, hwnd: super::super::Foundation::HWND, dwflags: CDS_TYPE, lparam: *const ::core::ffi::c_void) -> DISP_CHANGE; |
50 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 51 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
52 | pub fn ChangeDisplaySettingsExW(lpszdevicename: ::windows_sys::core::PCWSTR, lpdevmode: *const DEVMODEW, hwnd: super::super::Foundation::HWND, dwflags: CDS_TYPE, lparam: *const ::core::ffi::c_void) -> DISP_CHANGE; |
53 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
54 | #[cfg(feature = "Win32_Foundation")] |
55 | pub fn ChangeDisplaySettingsW(lpdevmode: *const DEVMODEW, dwflags: CDS_TYPE) -> DISP_CHANGE; | |
04454e1e | 56 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
57 | #[cfg(feature = "Win32_Foundation")] |
58 | pub fn Chord(hdc: HDC, x1: i32, y1: i32, x2: i32, y2: i32, x3: i32, y3: i32, x4: i32, y4: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 59 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
60 | #[cfg(feature = "Win32_Foundation")] |
61 | pub fn ClientToScreen(hwnd: super::super::Foundation::HWND, lppoint: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; | |
04454e1e | 62 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 63 | pub fn CloseEnhMetaFile(hdc: HDC) -> HENHMETAFILE; |
04454e1e | 64 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
65 | #[cfg(feature = "Win32_Foundation")] |
66 | pub fn CloseFigure(hdc: HDC) -> super::super::Foundation::BOOL; | |
04454e1e | 67 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 68 | pub fn CloseMetaFile(hdc: HDC) -> HMETAFILE; |
04454e1e | 69 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 70 | pub fn CombineRgn(hrgndst: HRGN, hrgnsrc1: HRGN, hrgnsrc2: HRGN, imode: RGN_COMBINE_MODE) -> i32; |
04454e1e | 71 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
72 | #[cfg(feature = "Win32_Foundation")] |
73 | pub fn CombineTransform(lpxfout: *mut XFORM, lpxf1: *const XFORM, lpxf2: *const XFORM) -> super::super::Foundation::BOOL; | |
04454e1e FG |
74 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
75 | pub fn CopyEnhMetaFileA(henh: HENHMETAFILE, lpfilename: ::windows_sys::core::PCSTR) -> HENHMETAFILE; | |
76 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
77 | pub fn CopyEnhMetaFileW(henh: HENHMETAFILE, lpfilename: ::windows_sys::core::PCWSTR) -> HENHMETAFILE; | |
78 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
79 | pub fn CopyMetaFileA(param0: HMETAFILE, param1: ::windows_sys::core::PCSTR) -> HMETAFILE; | |
80 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
81 | pub fn CopyMetaFileW(param0: HMETAFILE, param1: ::windows_sys::core::PCWSTR) -> HMETAFILE; | |
82 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
83 | #[cfg(feature = "Win32_Foundation")] |
84 | pub fn CopyRect(lprcdst: *mut super::super::Foundation::RECT, lprcsrc: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; | |
04454e1e | 85 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 86 | pub fn CreateBitmap(nwidth: i32, nheight: i32, nplanes: u32, nbitcount: u32, lpbits: *const ::core::ffi::c_void) -> HBITMAP; |
04454e1e | 87 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 88 | pub fn CreateBitmapIndirect(pbm: *const BITMAP) -> HBITMAP; |
04454e1e | 89 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 90 | pub fn CreateBrushIndirect(plbrush: *const LOGBRUSH) -> HBRUSH; |
04454e1e | 91 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 92 | pub fn CreateCompatibleBitmap(hdc: HDC, cx: i32, cy: i32) -> HBITMAP; |
04454e1e | 93 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 94 | pub fn CreateCompatibleDC(hdc: HDC) -> CreatedHDC; |
04454e1e | 95 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 96 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
97 | pub fn CreateDCA(pwszdriver: ::windows_sys::core::PCSTR, pwszdevice: ::windows_sys::core::PCSTR, pszport: ::windows_sys::core::PCSTR, pdm: *const DEVMODEA) -> CreatedHDC; |
98 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 99 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
100 | pub fn CreateDCW(pwszdriver: ::windows_sys::core::PCWSTR, pwszdevice: ::windows_sys::core::PCWSTR, pszport: ::windows_sys::core::PCWSTR, pdm: *const DEVMODEW) -> CreatedHDC; |
101 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
5e7ed085 | 102 | pub fn CreateDIBPatternBrush(h: isize, iusage: DIB_USAGE) -> HBRUSH; |
04454e1e | 103 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 104 | pub fn CreateDIBPatternBrushPt(lppackeddib: *const ::core::ffi::c_void, iusage: DIB_USAGE) -> HBRUSH; |
04454e1e | 105 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
106 | #[cfg(feature = "Win32_Foundation")] |
107 | pub fn CreateDIBSection(hdc: HDC, pbmi: *const BITMAPINFO, usage: DIB_USAGE, ppvbits: *mut *mut ::core::ffi::c_void, hsection: super::super::Foundation::HANDLE, offset: u32) -> HBITMAP; | |
04454e1e | 108 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 109 | pub fn CreateDIBitmap(hdc: HDC, pbmih: *const BITMAPINFOHEADER, flinit: u32, pjbits: *const ::core::ffi::c_void, pbmi: *const BITMAPINFO, iusage: DIB_USAGE) -> HBITMAP; |
04454e1e | 110 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 111 | pub fn CreateDiscardableBitmap(hdc: HDC, cx: i32, cy: i32) -> HBITMAP; |
04454e1e | 112 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 113 | pub fn CreateEllipticRgn(x1: i32, y1: i32, x2: i32, y2: i32) -> HRGN; |
04454e1e | 114 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
115 | #[cfg(feature = "Win32_Foundation")] |
116 | pub fn CreateEllipticRgnIndirect(lprect: *const super::super::Foundation::RECT) -> HRGN; | |
04454e1e | 117 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 118 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
119 | pub fn CreateEnhMetaFileA(hdc: HDC, lpfilename: ::windows_sys::core::PCSTR, lprc: *const super::super::Foundation::RECT, lpdesc: ::windows_sys::core::PCSTR) -> HdcMetdataEnhFileHandle; |
120 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 121 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
122 | pub fn CreateEnhMetaFileW(hdc: HDC, lpfilename: ::windows_sys::core::PCWSTR, lprc: *const super::super::Foundation::RECT, lpdesc: ::windows_sys::core::PCWSTR) -> HdcMetdataEnhFileHandle; |
123 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
124 | pub fn CreateFontA(cheight: i32, cwidth: i32, cescapement: i32, corientation: i32, cweight: i32, bitalic: u32, bunderline: u32, bstrikeout: u32, icharset: u32, ioutprecision: FONT_OUTPUT_PRECISION, iclipprecision: FONT_CLIP_PRECISION, iquality: FONT_QUALITY, ipitchandfamily: FONT_PITCH_AND_FAMILY, pszfacename: ::windows_sys::core::PCSTR) -> HFONT; | |
125 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
126 | #[cfg(feature = "Win32_Foundation")] |
127 | pub fn CreateFontIndirectA(lplf: *const LOGFONTA) -> HFONT; | |
04454e1e | 128 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
129 | #[cfg(feature = "Win32_Foundation")] |
130 | pub fn CreateFontIndirectExA(param0: *const ENUMLOGFONTEXDVA) -> HFONT; | |
04454e1e | 131 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 132 | pub fn CreateFontIndirectExW(param0: *const ENUMLOGFONTEXDVW) -> HFONT; |
04454e1e | 133 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 134 | pub fn CreateFontIndirectW(lplf: *const LOGFONTW) -> HFONT; |
04454e1e | 135 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 136 | pub fn CreateFontPackage(puchsrcbuffer: *const u8, ulsrcbuffersize: u32, ppuchfontpackagebuffer: *mut *mut u8, pulfontpackagebuffersize: *mut u32, pulbyteswritten: *mut u32, usflag: u16, usttcindex: u16, ussubsetformat: u16, ussubsetlanguage: u16, ussubsetplatform: CREATE_FONT_PACKAGE_SUBSET_PLATFORM, ussubsetencoding: CREATE_FONT_PACKAGE_SUBSET_ENCODING, pussubsetkeeplist: *const u16, ussubsetlistcount: u16, lpfnallocate: CFP_ALLOCPROC, lpfnreallocate: CFP_REALLOCPROC, lpfnfree: CFP_FREEPROC, lpvreserved: *mut ::core::ffi::c_void) -> u32; |
04454e1e FG |
137 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
138 | pub fn CreateFontW(cheight: i32, cwidth: i32, cescapement: i32, corientation: i32, cweight: i32, bitalic: u32, bunderline: u32, bstrikeout: u32, icharset: u32, ioutprecision: FONT_OUTPUT_PRECISION, iclipprecision: FONT_CLIP_PRECISION, iquality: FONT_QUALITY, ipitchandfamily: FONT_PITCH_AND_FAMILY, pszfacename: ::windows_sys::core::PCWSTR) -> HFONT; | |
139 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
5e7ed085 | 140 | pub fn CreateHalftonePalette(hdc: HDC) -> HPALETTE; |
04454e1e | 141 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 142 | pub fn CreateHatchBrush(ihatch: HATCH_BRUSH_STYLE, color: u32) -> HBRUSH; |
04454e1e | 143 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 144 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
145 | pub fn CreateICA(pszdriver: ::windows_sys::core::PCSTR, pszdevice: ::windows_sys::core::PCSTR, pszport: ::windows_sys::core::PCSTR, pdm: *const DEVMODEA) -> CreatedHDC; |
146 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 147 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
148 | pub fn CreateICW(pszdriver: ::windows_sys::core::PCWSTR, pszdevice: ::windows_sys::core::PCWSTR, pszport: ::windows_sys::core::PCWSTR, pdm: *const DEVMODEW) -> CreatedHDC; |
149 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
150 | pub fn CreateMetaFileA(pszfile: ::windows_sys::core::PCSTR) -> HdcMetdataFileHandle; | |
151 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
152 | pub fn CreateMetaFileW(pszfile: ::windows_sys::core::PCWSTR) -> HdcMetdataFileHandle; | |
153 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
5e7ed085 | 154 | pub fn CreatePalette(plpal: *const LOGPALETTE) -> HPALETTE; |
04454e1e | 155 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 156 | pub fn CreatePatternBrush(hbm: HBITMAP) -> HBRUSH; |
04454e1e | 157 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 158 | pub fn CreatePen(istyle: PEN_STYLE, cwidth: i32, color: u32) -> HPEN; |
04454e1e | 159 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
160 | #[cfg(feature = "Win32_Foundation")] |
161 | pub fn CreatePenIndirect(plpen: *const LOGPEN) -> HPEN; | |
04454e1e | 162 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
163 | #[cfg(feature = "Win32_Foundation")] |
164 | pub fn CreatePolyPolygonRgn(pptl: *const super::super::Foundation::POINT, pc: *const i32, cpoly: i32, imode: CREATE_POLYGON_RGN_MODE) -> HRGN; | |
04454e1e | 165 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
166 | #[cfg(feature = "Win32_Foundation")] |
167 | pub fn CreatePolygonRgn(pptl: *const super::super::Foundation::POINT, cpoint: i32, imode: CREATE_POLYGON_RGN_MODE) -> HRGN; | |
04454e1e | 168 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 169 | pub fn CreateRectRgn(x1: i32, y1: i32, x2: i32, y2: i32) -> HRGN; |
04454e1e | 170 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
171 | #[cfg(feature = "Win32_Foundation")] |
172 | pub fn CreateRectRgnIndirect(lprect: *const super::super::Foundation::RECT) -> HRGN; | |
04454e1e | 173 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 174 | pub fn CreateRoundRectRgn(x1: i32, y1: i32, x2: i32, y2: i32, w: i32, h: i32) -> HRGN; |
04454e1e | 175 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 176 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
177 | pub fn CreateScalableFontResourceA(fdwhidden: u32, lpszfont: ::windows_sys::core::PCSTR, lpszfile: ::windows_sys::core::PCSTR, lpszpath: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; |
178 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 179 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
180 | pub fn CreateScalableFontResourceW(fdwhidden: u32, lpszfont: ::windows_sys::core::PCWSTR, lpszfile: ::windows_sys::core::PCWSTR, lpszpath: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; |
181 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
5e7ed085 | 182 | pub fn CreateSolidBrush(color: u32) -> HBRUSH; |
04454e1e | 183 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
184 | #[cfg(feature = "Win32_Foundation")] |
185 | pub fn DPtoLP(hdc: HDC, lppt: *mut super::super::Foundation::POINT, c: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 186 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
187 | #[cfg(feature = "Win32_Foundation")] |
188 | pub fn DeleteDC(hdc: CreatedHDC) -> super::super::Foundation::BOOL; | |
04454e1e | 189 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
190 | #[cfg(feature = "Win32_Foundation")] |
191 | pub fn DeleteEnhMetaFile(hmf: HENHMETAFILE) -> super::super::Foundation::BOOL; | |
04454e1e | 192 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
193 | #[cfg(feature = "Win32_Foundation")] |
194 | pub fn DeleteMetaFile(hmf: HMETAFILE) -> super::super::Foundation::BOOL; | |
04454e1e | 195 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
196 | #[cfg(feature = "Win32_Foundation")] |
197 | pub fn DeleteObject(ho: HGDIOBJ) -> super::super::Foundation::BOOL; | |
04454e1e | 198 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
199 | #[cfg(feature = "Win32_Foundation")] |
200 | pub fn DrawAnimatedRects(hwnd: super::super::Foundation::HWND, idani: i32, lprcfrom: *const super::super::Foundation::RECT, lprcto: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; | |
04454e1e | 201 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
202 | #[cfg(feature = "Win32_Foundation")] |
203 | pub fn DrawCaption(hwnd: super::super::Foundation::HWND, hdc: HDC, lprect: *const super::super::Foundation::RECT, flags: DRAW_CAPTION_FLAGS) -> super::super::Foundation::BOOL; | |
04454e1e | 204 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
205 | #[cfg(feature = "Win32_Foundation")] |
206 | pub fn DrawEdge(hdc: HDC, qrc: *mut super::super::Foundation::RECT, edge: DRAWEDGE_FLAGS, grfflags: DRAW_EDGE_FLAGS) -> super::super::Foundation::BOOL; | |
04454e1e FG |
207 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
208 | pub fn DrawEscape(hdc: HDC, iescape: i32, cjin: i32, lpin: ::windows_sys::core::PCSTR) -> i32; | |
209 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
210 | #[cfg(feature = "Win32_Foundation")] |
211 | pub fn DrawFocusRect(hdc: HDC, lprc: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; | |
04454e1e | 212 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
213 | #[cfg(feature = "Win32_Foundation")] |
214 | pub fn DrawFrameControl(param0: HDC, param1: *mut super::super::Foundation::RECT, param2: DFC_TYPE, param3: DFCS_STATE) -> super::super::Foundation::BOOL; | |
04454e1e | 215 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
216 | #[cfg(feature = "Win32_Foundation")] |
217 | pub fn DrawStateA(hdc: HDC, hbrfore: HBRUSH, qfncallback: DRAWSTATEPROC, ldata: super::super::Foundation::LPARAM, wdata: super::super::Foundation::WPARAM, x: i32, y: i32, cx: i32, cy: i32, uflags: DRAWSTATE_FLAGS) -> super::super::Foundation::BOOL; | |
04454e1e | 218 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
219 | #[cfg(feature = "Win32_Foundation")] |
220 | pub fn DrawStateW(hdc: HDC, hbrfore: HBRUSH, qfncallback: DRAWSTATEPROC, ldata: super::super::Foundation::LPARAM, wdata: super::super::Foundation::WPARAM, x: i32, y: i32, cx: i32, cy: i32, uflags: DRAWSTATE_FLAGS) -> super::super::Foundation::BOOL; | |
04454e1e | 221 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 222 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
223 | pub fn DrawTextA(hdc: HDC, lpchtext: ::windows_sys::core::PCSTR, cchtext: i32, lprc: *mut super::super::Foundation::RECT, format: DRAW_TEXT_FORMAT) -> i32; |
224 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 225 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
226 | pub fn DrawTextExA(hdc: HDC, lpchtext: ::windows_sys::core::PSTR, cchtext: i32, lprc: *mut super::super::Foundation::RECT, format: DRAW_TEXT_FORMAT, lpdtp: *const DRAWTEXTPARAMS) -> i32; |
227 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 228 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
229 | pub fn DrawTextExW(hdc: HDC, lpchtext: ::windows_sys::core::PWSTR, cchtext: i32, lprc: *mut super::super::Foundation::RECT, format: DRAW_TEXT_FORMAT, lpdtp: *const DRAWTEXTPARAMS) -> i32; |
230 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 231 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
232 | pub fn DrawTextW(hdc: HDC, lpchtext: ::windows_sys::core::PCWSTR, cchtext: i32, lprc: *mut super::super::Foundation::RECT, format: DRAW_TEXT_FORMAT) -> i32; |
233 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
234 | #[cfg(feature = "Win32_Foundation")] |
235 | pub fn Ellipse(hdc: HDC, left: i32, top: i32, right: i32, bottom: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 236 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
237 | #[cfg(feature = "Win32_Foundation")] |
238 | pub fn EndPaint(hwnd: super::super::Foundation::HWND, lppaint: *const PAINTSTRUCT) -> super::super::Foundation::BOOL; | |
04454e1e | 239 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
240 | #[cfg(feature = "Win32_Foundation")] |
241 | pub fn EndPath(hdc: HDC) -> super::super::Foundation::BOOL; | |
04454e1e | 242 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 243 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
244 | pub fn EnumDisplayDevicesA(lpdevice: ::windows_sys::core::PCSTR, idevnum: u32, lpdisplaydevice: *mut DISPLAY_DEVICEA, dwflags: u32) -> super::super::Foundation::BOOL; |
245 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 246 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
247 | pub fn EnumDisplayDevicesW(lpdevice: ::windows_sys::core::PCWSTR, idevnum: u32, lpdisplaydevice: *mut DISPLAY_DEVICEW, dwflags: u32) -> super::super::Foundation::BOOL; |
248 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
249 | #[cfg(feature = "Win32_Foundation")] |
250 | pub fn EnumDisplayMonitors(hdc: HDC, lprcclip: *const super::super::Foundation::RECT, lpfnenum: MONITORENUMPROC, dwdata: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; | |
04454e1e | 251 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 252 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
253 | pub fn EnumDisplaySettingsA(lpszdevicename: ::windows_sys::core::PCSTR, imodenum: ENUM_DISPLAY_SETTINGS_MODE, lpdevmode: *mut DEVMODEA) -> super::super::Foundation::BOOL; |
254 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 255 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
256 | pub fn EnumDisplaySettingsExA(lpszdevicename: ::windows_sys::core::PCSTR, imodenum: ENUM_DISPLAY_SETTINGS_MODE, lpdevmode: *mut DEVMODEA, dwflags: u32) -> super::super::Foundation::BOOL; |
257 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 258 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
259 | pub fn EnumDisplaySettingsExW(lpszdevicename: ::windows_sys::core::PCWSTR, imodenum: ENUM_DISPLAY_SETTINGS_MODE, lpdevmode: *mut DEVMODEW, dwflags: u32) -> super::super::Foundation::BOOL; |
260 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 261 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
262 | pub fn EnumDisplaySettingsW(lpszdevicename: ::windows_sys::core::PCWSTR, imodenum: ENUM_DISPLAY_SETTINGS_MODE, lpdevmode: *mut DEVMODEW) -> super::super::Foundation::BOOL; |
263 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
264 | #[cfg(feature = "Win32_Foundation")] |
265 | pub fn EnumEnhMetaFile(hdc: HDC, hmf: HENHMETAFILE, proc: ENHMFENUMPROC, param3: *const ::core::ffi::c_void, lprect: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; | |
04454e1e | 266 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 267 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
268 | pub fn EnumFontFamiliesA(hdc: HDC, lplogfont: ::windows_sys::core::PCSTR, lpproc: FONTENUMPROCA, lparam: super::super::Foundation::LPARAM) -> i32; |
269 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
270 | #[cfg(feature = "Win32_Foundation")] |
271 | pub fn EnumFontFamiliesExA(hdc: HDC, lplogfont: *const LOGFONTA, lpproc: FONTENUMPROCA, lparam: super::super::Foundation::LPARAM, dwflags: u32) -> i32; | |
04454e1e | 272 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
273 | #[cfg(feature = "Win32_Foundation")] |
274 | pub fn EnumFontFamiliesExW(hdc: HDC, lplogfont: *const LOGFONTW, lpproc: FONTENUMPROCW, lparam: super::super::Foundation::LPARAM, dwflags: u32) -> i32; | |
04454e1e | 275 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 276 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
277 | pub fn EnumFontFamiliesW(hdc: HDC, lplogfont: ::windows_sys::core::PCWSTR, lpproc: FONTENUMPROCW, lparam: super::super::Foundation::LPARAM) -> i32; |
278 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 279 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
280 | pub fn EnumFontsA(hdc: HDC, lplogfont: ::windows_sys::core::PCSTR, lpproc: FONTENUMPROCA, lparam: super::super::Foundation::LPARAM) -> i32; |
281 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 282 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
283 | pub fn EnumFontsW(hdc: HDC, lplogfont: ::windows_sys::core::PCWSTR, lpproc: FONTENUMPROCW, lparam: super::super::Foundation::LPARAM) -> i32; |
284 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
285 | #[cfg(feature = "Win32_Foundation")] |
286 | pub fn EnumMetaFile(hdc: HDC, hmf: HMETAFILE, proc: MFENUMPROC, param3: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; | |
04454e1e | 287 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
288 | #[cfg(feature = "Win32_Foundation")] |
289 | pub fn EnumObjects(hdc: HDC, ntype: OBJ_TYPE, lpfunc: GOBJENUMPROC, lparam: super::super::Foundation::LPARAM) -> i32; | |
04454e1e | 290 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
291 | #[cfg(feature = "Win32_Foundation")] |
292 | pub fn EqualRect(lprc1: *const super::super::Foundation::RECT, lprc2: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; | |
04454e1e | 293 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
294 | #[cfg(feature = "Win32_Foundation")] |
295 | pub fn EqualRgn(hrgn1: HRGN, hrgn2: HRGN) -> super::super::Foundation::BOOL; | |
04454e1e | 296 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 297 | pub fn ExcludeClipRect(hdc: HDC, left: i32, top: i32, right: i32, bottom: i32) -> i32; |
04454e1e | 298 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
299 | #[cfg(feature = "Win32_Foundation")] |
300 | pub fn ExcludeUpdateRgn(hdc: HDC, hwnd: super::super::Foundation::HWND) -> i32; | |
04454e1e | 301 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 302 | pub fn ExtCreatePen(ipenstyle: PEN_STYLE, cwidth: u32, plbrush: *const LOGBRUSH, cstyle: u32, pstyle: *const u32) -> HPEN; |
04454e1e | 303 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
304 | #[cfg(feature = "Win32_Foundation")] |
305 | pub fn ExtCreateRegion(lpx: *const XFORM, ncount: u32, lpdata: *const RGNDATA) -> HRGN; | |
04454e1e | 306 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
307 | #[cfg(feature = "Win32_Foundation")] |
308 | pub fn ExtFloodFill(hdc: HDC, x: i32, y: i32, color: u32, r#type: EXT_FLOOD_FILL_TYPE) -> super::super::Foundation::BOOL; | |
04454e1e | 309 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 310 | pub fn ExtSelectClipRgn(hdc: HDC, hrgn: HRGN, mode: RGN_COMBINE_MODE) -> i32; |
04454e1e | 311 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 312 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
313 | pub fn ExtTextOutA(hdc: HDC, x: i32, y: i32, options: ETO_OPTIONS, lprect: *const super::super::Foundation::RECT, lpstring: ::windows_sys::core::PCSTR, c: u32, lpdx: *const i32) -> super::super::Foundation::BOOL; |
314 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 315 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
316 | pub fn ExtTextOutW(hdc: HDC, x: i32, y: i32, options: ETO_OPTIONS, lprect: *const super::super::Foundation::RECT, lpstring: ::windows_sys::core::PCWSTR, c: u32, lpdx: *const i32) -> super::super::Foundation::BOOL; |
317 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
318 | #[cfg(feature = "Win32_Foundation")] |
319 | pub fn FillPath(hdc: HDC) -> super::super::Foundation::BOOL; | |
04454e1e | 320 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
321 | #[cfg(feature = "Win32_Foundation")] |
322 | pub fn FillRect(hdc: HDC, lprc: *const super::super::Foundation::RECT, hbr: HBRUSH) -> i32; | |
04454e1e | 323 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
324 | #[cfg(feature = "Win32_Foundation")] |
325 | pub fn FillRgn(hdc: HDC, hrgn: HRGN, hbr: HBRUSH) -> super::super::Foundation::BOOL; | |
04454e1e | 326 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
327 | #[cfg(feature = "Win32_Foundation")] |
328 | pub fn FixBrushOrgEx(hdc: HDC, x: i32, y: i32, ptl: *const super::super::Foundation::POINT) -> super::super::Foundation::BOOL; | |
04454e1e | 329 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
330 | #[cfg(feature = "Win32_Foundation")] |
331 | pub fn FlattenPath(hdc: HDC) -> super::super::Foundation::BOOL; | |
04454e1e | 332 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
333 | #[cfg(feature = "Win32_Foundation")] |
334 | pub fn FloodFill(hdc: HDC, x: i32, y: i32, color: u32) -> super::super::Foundation::BOOL; | |
04454e1e | 335 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
336 | #[cfg(feature = "Win32_Foundation")] |
337 | pub fn FrameRect(hdc: HDC, lprc: *const super::super::Foundation::RECT, hbr: HBRUSH) -> i32; | |
04454e1e | 338 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
339 | #[cfg(feature = "Win32_Foundation")] |
340 | pub fn FrameRgn(hdc: HDC, hrgn: HRGN, hbr: HBRUSH, w: i32, h: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 341 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
342 | #[cfg(feature = "Win32_Foundation")] |
343 | pub fn GdiAlphaBlend(hdcdest: HDC, xorigindest: i32, yorigindest: i32, wdest: i32, hdest: i32, hdcsrc: HDC, xoriginsrc: i32, yoriginsrc: i32, wsrc: i32, hsrc: i32, ftn: BLENDFUNCTION) -> super::super::Foundation::BOOL; | |
04454e1e | 344 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
345 | #[cfg(feature = "Win32_Foundation")] |
346 | pub fn GdiComment(hdc: HDC, nsize: u32, lpdata: *const u8) -> super::super::Foundation::BOOL; | |
04454e1e | 347 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
348 | #[cfg(feature = "Win32_Foundation")] |
349 | pub fn GdiFlush() -> super::super::Foundation::BOOL; | |
04454e1e | 350 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 351 | pub fn GdiGetBatchLimit() -> u32; |
04454e1e | 352 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
353 | #[cfg(feature = "Win32_Foundation")] |
354 | pub fn GdiGradientFill(hdc: HDC, pvertex: *const TRIVERTEX, nvertex: u32, pmesh: *const ::core::ffi::c_void, ncount: u32, ulmode: GRADIENT_FILL) -> super::super::Foundation::BOOL; | |
04454e1e | 355 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 356 | pub fn GdiSetBatchLimit(dw: u32) -> u32; |
04454e1e | 357 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
358 | #[cfg(feature = "Win32_Foundation")] |
359 | pub fn GdiTransparentBlt(hdcdest: HDC, xorigindest: i32, yorigindest: i32, wdest: i32, hdest: i32, hdcsrc: HDC, xoriginsrc: i32, yoriginsrc: i32, wsrc: i32, hsrc: i32, crtransparent: u32) -> super::super::Foundation::BOOL; | |
04454e1e | 360 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 361 | pub fn GetArcDirection(hdc: HDC) -> i32; |
04454e1e | 362 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
363 | #[cfg(feature = "Win32_Foundation")] |
364 | pub fn GetAspectRatioFilterEx(hdc: HDC, lpsize: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; | |
04454e1e | 365 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 366 | pub fn GetBitmapBits(hbit: HBITMAP, cb: i32, lpvbits: *mut ::core::ffi::c_void) -> i32; |
04454e1e | 367 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
368 | #[cfg(feature = "Win32_Foundation")] |
369 | pub fn GetBitmapDimensionEx(hbit: HBITMAP, lpsize: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; | |
04454e1e | 370 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 371 | pub fn GetBkColor(hdc: HDC) -> u32; |
04454e1e | 372 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 373 | pub fn GetBkMode(hdc: HDC) -> i32; |
04454e1e | 374 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
375 | #[cfg(feature = "Win32_Foundation")] |
376 | pub fn GetBoundsRect(hdc: HDC, lprect: *mut super::super::Foundation::RECT, flags: u32) -> u32; | |
04454e1e | 377 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
378 | #[cfg(feature = "Win32_Foundation")] |
379 | pub fn GetBrushOrgEx(hdc: HDC, lppt: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; | |
04454e1e | 380 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
381 | #[cfg(feature = "Win32_Foundation")] |
382 | pub fn GetCharABCWidthsA(hdc: HDC, wfirst: u32, wlast: u32, lpabc: *mut ABC) -> super::super::Foundation::BOOL; | |
04454e1e | 383 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
384 | #[cfg(feature = "Win32_Foundation")] |
385 | pub fn GetCharABCWidthsFloatA(hdc: HDC, ifirst: u32, ilast: u32, lpabc: *mut ABCFLOAT) -> super::super::Foundation::BOOL; | |
04454e1e | 386 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
387 | #[cfg(feature = "Win32_Foundation")] |
388 | pub fn GetCharABCWidthsFloatW(hdc: HDC, ifirst: u32, ilast: u32, lpabc: *mut ABCFLOAT) -> super::super::Foundation::BOOL; | |
04454e1e | 389 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
390 | #[cfg(feature = "Win32_Foundation")] |
391 | pub fn GetCharABCWidthsI(hdc: HDC, gifirst: u32, cgi: u32, pgi: *const u16, pabc: *mut ABC) -> super::super::Foundation::BOOL; | |
04454e1e | 392 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
393 | #[cfg(feature = "Win32_Foundation")] |
394 | pub fn GetCharABCWidthsW(hdc: HDC, wfirst: u32, wlast: u32, lpabc: *mut ABC) -> super::super::Foundation::BOOL; | |
04454e1e | 395 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
396 | #[cfg(feature = "Win32_Foundation")] |
397 | pub fn GetCharWidth32A(hdc: HDC, ifirst: u32, ilast: u32, lpbuffer: *mut i32) -> super::super::Foundation::BOOL; | |
04454e1e | 398 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
399 | #[cfg(feature = "Win32_Foundation")] |
400 | pub fn GetCharWidth32W(hdc: HDC, ifirst: u32, ilast: u32, lpbuffer: *mut i32) -> super::super::Foundation::BOOL; | |
04454e1e | 401 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
402 | #[cfg(feature = "Win32_Foundation")] |
403 | pub fn GetCharWidthA(hdc: HDC, ifirst: u32, ilast: u32, lpbuffer: *mut i32) -> super::super::Foundation::BOOL; | |
04454e1e | 404 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
405 | #[cfg(feature = "Win32_Foundation")] |
406 | pub fn GetCharWidthFloatA(hdc: HDC, ifirst: u32, ilast: u32, lpbuffer: *mut f32) -> super::super::Foundation::BOOL; | |
04454e1e | 407 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
408 | #[cfg(feature = "Win32_Foundation")] |
409 | pub fn GetCharWidthFloatW(hdc: HDC, ifirst: u32, ilast: u32, lpbuffer: *mut f32) -> super::super::Foundation::BOOL; | |
04454e1e | 410 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
411 | #[cfg(feature = "Win32_Foundation")] |
412 | pub fn GetCharWidthI(hdc: HDC, gifirst: u32, cgi: u32, pgi: *const u16, piwidths: *mut i32) -> super::super::Foundation::BOOL; | |
04454e1e | 413 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
414 | #[cfg(feature = "Win32_Foundation")] |
415 | pub fn GetCharWidthW(hdc: HDC, ifirst: u32, ilast: u32, lpbuffer: *mut i32) -> super::super::Foundation::BOOL; | |
04454e1e FG |
416 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
417 | pub fn GetCharacterPlacementA(hdc: HDC, lpstring: ::windows_sys::core::PCSTR, ncount: i32, nmexextent: i32, lpresults: *mut GCP_RESULTSA, dwflags: GET_CHARACTER_PLACEMENT_FLAGS) -> u32; | |
418 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
419 | pub fn GetCharacterPlacementW(hdc: HDC, lpstring: ::windows_sys::core::PCWSTR, ncount: i32, nmexextent: i32, lpresults: *mut GCP_RESULTSW, dwflags: GET_CHARACTER_PLACEMENT_FLAGS) -> u32; | |
420 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
421 | #[cfg(feature = "Win32_Foundation")] |
422 | pub fn GetClipBox(hdc: HDC, lprect: *mut super::super::Foundation::RECT) -> i32; | |
04454e1e | 423 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 424 | pub fn GetClipRgn(hdc: HDC, hrgn: HRGN) -> i32; |
04454e1e | 425 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
426 | #[cfg(feature = "Win32_Foundation")] |
427 | pub fn GetColorAdjustment(hdc: HDC, lpca: *mut COLORADJUSTMENT) -> super::super::Foundation::BOOL; | |
04454e1e | 428 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 429 | pub fn GetCurrentObject(hdc: HDC, r#type: OBJ_TYPE) -> HGDIOBJ; |
04454e1e | 430 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
431 | #[cfg(feature = "Win32_Foundation")] |
432 | pub fn GetCurrentPositionEx(hdc: HDC, lppt: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; | |
04454e1e | 433 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
434 | #[cfg(feature = "Win32_Foundation")] |
435 | pub fn GetDC(hwnd: super::super::Foundation::HWND) -> HDC; | |
04454e1e | 436 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 437 | pub fn GetDCBrushColor(hdc: HDC) -> u32; |
04454e1e | 438 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
439 | #[cfg(feature = "Win32_Foundation")] |
440 | pub fn GetDCEx(hwnd: super::super::Foundation::HWND, hrgnclip: HRGN, flags: GET_DCX_FLAGS) -> HDC; | |
04454e1e | 441 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
442 | #[cfg(feature = "Win32_Foundation")] |
443 | pub fn GetDCOrgEx(hdc: HDC, lppt: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; | |
04454e1e | 444 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 445 | pub fn GetDCPenColor(hdc: HDC) -> u32; |
04454e1e | 446 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 447 | pub fn GetDIBColorTable(hdc: HDC, istart: u32, centries: u32, prgbq: *mut RGBQUAD) -> u32; |
04454e1e | 448 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 449 | pub fn GetDIBits(hdc: HDC, hbm: HBITMAP, start: u32, clines: u32, lpvbits: *mut ::core::ffi::c_void, lpbmi: *mut BITMAPINFO, usage: DIB_USAGE) -> i32; |
04454e1e | 450 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 451 | pub fn GetDeviceCaps(hdc: HDC, index: GET_DEVICE_CAPS_INDEX) -> i32; |
04454e1e FG |
452 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
453 | pub fn GetEnhMetaFileA(lpname: ::windows_sys::core::PCSTR) -> HENHMETAFILE; | |
454 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
5e7ed085 | 455 | pub fn GetEnhMetaFileBits(hemf: HENHMETAFILE, nsize: u32, lpdata: *mut u8) -> u32; |
04454e1e FG |
456 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
457 | pub fn GetEnhMetaFileDescriptionA(hemf: HENHMETAFILE, cchbuffer: u32, lpdescription: ::windows_sys::core::PSTR) -> u32; | |
458 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
459 | pub fn GetEnhMetaFileDescriptionW(hemf: HENHMETAFILE, cchbuffer: u32, lpdescription: ::windows_sys::core::PWSTR) -> u32; | |
460 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
461 | #[cfg(feature = "Win32_Foundation")] |
462 | pub fn GetEnhMetaFileHeader(hemf: HENHMETAFILE, nsize: u32, lpenhmetaheader: *mut ENHMETAHEADER) -> u32; | |
04454e1e | 463 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 464 | pub fn GetEnhMetaFilePaletteEntries(hemf: HENHMETAFILE, nnumentries: u32, lppaletteentries: *mut PALETTEENTRY) -> u32; |
04454e1e FG |
465 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
466 | pub fn GetEnhMetaFileW(lpname: ::windows_sys::core::PCWSTR) -> HENHMETAFILE; | |
467 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
5e7ed085 | 468 | pub fn GetFontData(hdc: HDC, dwtable: u32, dwoffset: u32, pvbuffer: *mut ::core::ffi::c_void, cjbuffer: u32) -> u32; |
04454e1e | 469 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 470 | pub fn GetFontLanguageInfo(hdc: HDC) -> u32; |
04454e1e | 471 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 472 | pub fn GetFontUnicodeRanges(hdc: HDC, lpgs: *mut GLYPHSET) -> u32; |
04454e1e FG |
473 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
474 | pub fn GetGlyphIndicesA(hdc: HDC, lpstr: ::windows_sys::core::PCSTR, c: i32, pgi: *mut u16, fl: u32) -> u32; | |
475 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
476 | pub fn GetGlyphIndicesW(hdc: HDC, lpstr: ::windows_sys::core::PCWSTR, c: i32, pgi: *mut u16, fl: u32) -> u32; | |
477 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
478 | #[cfg(feature = "Win32_Foundation")] |
479 | pub fn GetGlyphOutlineA(hdc: HDC, uchar: u32, fuformat: GET_GLYPH_OUTLINE_FORMAT, lpgm: *mut GLYPHMETRICS, cjbuffer: u32, pvbuffer: *mut ::core::ffi::c_void, lpmat2: *const MAT2) -> u32; | |
04454e1e | 480 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
481 | #[cfg(feature = "Win32_Foundation")] |
482 | pub fn GetGlyphOutlineW(hdc: HDC, uchar: u32, fuformat: GET_GLYPH_OUTLINE_FORMAT, lpgm: *mut GLYPHMETRICS, cjbuffer: u32, pvbuffer: *mut ::core::ffi::c_void, lpmat2: *const MAT2) -> u32; | |
04454e1e | 483 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 484 | pub fn GetGraphicsMode(hdc: HDC) -> i32; |
04454e1e | 485 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 486 | pub fn GetKerningPairsA(hdc: HDC, npairs: u32, lpkernpair: *mut KERNINGPAIR) -> u32; |
04454e1e | 487 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 488 | pub fn GetKerningPairsW(hdc: HDC, npairs: u32, lpkernpair: *mut KERNINGPAIR) -> u32; |
04454e1e | 489 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 490 | pub fn GetLayout(hdc: HDC) -> u32; |
04454e1e | 491 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 492 | pub fn GetMapMode(hdc: HDC) -> i32; |
04454e1e FG |
493 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
494 | pub fn GetMetaFileA(lpname: ::windows_sys::core::PCSTR) -> HMETAFILE; | |
495 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
5e7ed085 | 496 | pub fn GetMetaFileBitsEx(hmf: HMETAFILE, cbbuffer: u32, lpdata: *mut ::core::ffi::c_void) -> u32; |
04454e1e FG |
497 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
498 | pub fn GetMetaFileW(lpname: ::windows_sys::core::PCWSTR) -> HMETAFILE; | |
499 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
5e7ed085 | 500 | pub fn GetMetaRgn(hdc: HDC, hrgn: HRGN) -> i32; |
04454e1e | 501 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
502 | #[cfg(feature = "Win32_Foundation")] |
503 | pub fn GetMiterLimit(hdc: HDC, plimit: *mut f32) -> super::super::Foundation::BOOL; | |
04454e1e | 504 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
505 | #[cfg(feature = "Win32_Foundation")] |
506 | pub fn GetMonitorInfoA(hmonitor: HMONITOR, lpmi: *mut MONITORINFO) -> super::super::Foundation::BOOL; | |
04454e1e | 507 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
508 | #[cfg(feature = "Win32_Foundation")] |
509 | pub fn GetMonitorInfoW(hmonitor: HMONITOR, lpmi: *mut MONITORINFO) -> super::super::Foundation::BOOL; | |
04454e1e | 510 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 511 | pub fn GetNearestColor(hdc: HDC, color: u32) -> u32; |
04454e1e | 512 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 513 | pub fn GetNearestPaletteIndex(h: HPALETTE, color: u32) -> u32; |
04454e1e | 514 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 515 | pub fn GetObjectA(h: HGDIOBJ, c: i32, pv: *mut ::core::ffi::c_void) -> i32; |
04454e1e | 516 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 517 | pub fn GetObjectType(h: HGDIOBJ) -> u32; |
04454e1e | 518 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 519 | pub fn GetObjectW(h: HGDIOBJ, c: i32, pv: *mut ::core::ffi::c_void) -> i32; |
04454e1e | 520 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
521 | #[cfg(feature = "Win32_Foundation")] |
522 | pub fn GetOutlineTextMetricsA(hdc: HDC, cjcopy: u32, potm: *mut OUTLINETEXTMETRICA) -> u32; | |
04454e1e | 523 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
524 | #[cfg(feature = "Win32_Foundation")] |
525 | pub fn GetOutlineTextMetricsW(hdc: HDC, cjcopy: u32, potm: *mut OUTLINETEXTMETRICW) -> u32; | |
04454e1e | 526 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 527 | pub fn GetPaletteEntries(hpal: HPALETTE, istart: u32, centries: u32, ppalentries: *mut PALETTEENTRY) -> u32; |
04454e1e | 528 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
529 | #[cfg(feature = "Win32_Foundation")] |
530 | pub fn GetPath(hdc: HDC, apt: *mut super::super::Foundation::POINT, aj: *mut u8, cpt: i32) -> i32; | |
04454e1e | 531 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 532 | pub fn GetPixel(hdc: HDC, x: i32, y: i32) -> u32; |
04454e1e | 533 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 534 | pub fn GetPolyFillMode(hdc: HDC) -> i32; |
04454e1e | 535 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 536 | pub fn GetROP2(hdc: HDC) -> i32; |
04454e1e | 537 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 538 | pub fn GetRandomRgn(hdc: HDC, hrgn: HRGN, i: i32) -> i32; |
04454e1e | 539 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
540 | #[cfg(feature = "Win32_Foundation")] |
541 | pub fn GetRasterizerCaps(lpraststat: *mut RASTERIZER_STATUS, cjbytes: u32) -> super::super::Foundation::BOOL; | |
04454e1e | 542 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
543 | #[cfg(feature = "Win32_Foundation")] |
544 | pub fn GetRegionData(hrgn: HRGN, ncount: u32, lprgndata: *mut RGNDATA) -> u32; | |
04454e1e | 545 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
546 | #[cfg(feature = "Win32_Foundation")] |
547 | pub fn GetRgnBox(hrgn: HRGN, lprc: *mut super::super::Foundation::RECT) -> i32; | |
04454e1e | 548 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 549 | pub fn GetStockObject(i: GET_STOCK_OBJECT_FLAGS) -> HGDIOBJ; |
04454e1e | 550 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 551 | pub fn GetStretchBltMode(hdc: HDC) -> i32; |
04454e1e | 552 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 553 | pub fn GetSysColorBrush(nindex: i32) -> HBRUSH; |
04454e1e | 554 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 555 | pub fn GetSystemPaletteEntries(hdc: HDC, istart: u32, centries: u32, ppalentries: *mut PALETTEENTRY) -> u32; |
04454e1e | 556 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 557 | pub fn GetSystemPaletteUse(hdc: HDC) -> u32; |
04454e1e FG |
558 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
559 | pub fn GetTabbedTextExtentA(hdc: HDC, lpstring: ::windows_sys::core::PCSTR, chcount: i32, ntabpositions: i32, lpntabstoppositions: *const i32) -> u32; | |
560 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
561 | pub fn GetTabbedTextExtentW(hdc: HDC, lpstring: ::windows_sys::core::PCWSTR, chcount: i32, ntabpositions: i32, lpntabstoppositions: *const i32) -> u32; | |
562 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
5e7ed085 | 563 | pub fn GetTextAlign(hdc: HDC) -> u32; |
04454e1e | 564 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 565 | pub fn GetTextCharacterExtra(hdc: HDC) -> i32; |
04454e1e | 566 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 567 | pub fn GetTextColor(hdc: HDC) -> u32; |
04454e1e | 568 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 569 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
570 | pub fn GetTextExtentExPointA(hdc: HDC, lpszstring: ::windows_sys::core::PCSTR, cchstring: i32, nmaxextent: i32, lpnfit: *mut i32, lpndx: *mut i32, lpsize: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; |
571 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
572 | #[cfg(feature = "Win32_Foundation")] |
573 | pub fn GetTextExtentExPointI(hdc: HDC, lpwszstring: *const u16, cwchstring: i32, nmaxextent: i32, lpnfit: *mut i32, lpndx: *mut i32, lpsize: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; | |
04454e1e | 574 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 575 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
576 | pub fn GetTextExtentExPointW(hdc: HDC, lpszstring: ::windows_sys::core::PCWSTR, cchstring: i32, nmaxextent: i32, lpnfit: *mut i32, lpndx: *mut i32, lpsize: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; |
577 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 578 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
579 | pub fn GetTextExtentPoint32A(hdc: HDC, lpstring: ::windows_sys::core::PCSTR, c: i32, psizl: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; |
580 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 581 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
582 | pub fn GetTextExtentPoint32W(hdc: HDC, lpstring: ::windows_sys::core::PCWSTR, c: i32, psizl: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; |
583 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 584 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
585 | pub fn GetTextExtentPointA(hdc: HDC, lpstring: ::windows_sys::core::PCSTR, c: i32, lpsz: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; |
586 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
587 | #[cfg(feature = "Win32_Foundation")] |
588 | pub fn GetTextExtentPointI(hdc: HDC, pgiin: *const u16, cgi: i32, psize: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; | |
04454e1e | 589 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 590 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
591 | pub fn GetTextExtentPointW(hdc: HDC, lpstring: ::windows_sys::core::PCWSTR, c: i32, lpsz: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; |
592 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
593 | pub fn GetTextFaceA(hdc: HDC, c: i32, lpname: ::windows_sys::core::PSTR) -> i32; | |
594 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
595 | pub fn GetTextFaceW(hdc: HDC, c: i32, lpname: ::windows_sys::core::PWSTR) -> i32; | |
596 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
597 | #[cfg(feature = "Win32_Foundation")] |
598 | pub fn GetTextMetricsA(hdc: HDC, lptm: *mut TEXTMETRICA) -> super::super::Foundation::BOOL; | |
04454e1e | 599 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
600 | #[cfg(feature = "Win32_Foundation")] |
601 | pub fn GetTextMetricsW(hdc: HDC, lptm: *mut TEXTMETRICW) -> super::super::Foundation::BOOL; | |
04454e1e | 602 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
603 | #[cfg(feature = "Win32_Foundation")] |
604 | pub fn GetUpdateRect(hwnd: super::super::Foundation::HWND, lprect: *mut super::super::Foundation::RECT, berase: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; | |
04454e1e | 605 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
606 | #[cfg(feature = "Win32_Foundation")] |
607 | pub fn GetUpdateRgn(hwnd: super::super::Foundation::HWND, hrgn: HRGN, berase: super::super::Foundation::BOOL) -> i32; | |
04454e1e | 608 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
609 | #[cfg(feature = "Win32_Foundation")] |
610 | pub fn GetViewportExtEx(hdc: HDC, lpsize: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; | |
04454e1e | 611 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
612 | #[cfg(feature = "Win32_Foundation")] |
613 | pub fn GetViewportOrgEx(hdc: HDC, lppoint: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; | |
04454e1e | 614 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 615 | pub fn GetWinMetaFileBits(hemf: HENHMETAFILE, cbdata16: u32, pdata16: *mut u8, imapmode: i32, hdcref: HDC) -> u32; |
04454e1e | 616 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
617 | #[cfg(feature = "Win32_Foundation")] |
618 | pub fn GetWindowDC(hwnd: super::super::Foundation::HWND) -> HDC; | |
04454e1e | 619 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
620 | #[cfg(feature = "Win32_Foundation")] |
621 | pub fn GetWindowExtEx(hdc: HDC, lpsize: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; | |
04454e1e | 622 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
623 | #[cfg(feature = "Win32_Foundation")] |
624 | pub fn GetWindowOrgEx(hdc: HDC, lppoint: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; | |
04454e1e | 625 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
626 | #[cfg(feature = "Win32_Foundation")] |
627 | pub fn GetWindowRgn(hwnd: super::super::Foundation::HWND, hrgn: HRGN) -> i32; | |
04454e1e | 628 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
629 | #[cfg(feature = "Win32_Foundation")] |
630 | pub fn GetWindowRgnBox(hwnd: super::super::Foundation::HWND, lprc: *mut super::super::Foundation::RECT) -> i32; | |
04454e1e | 631 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
632 | #[cfg(feature = "Win32_Foundation")] |
633 | pub fn GetWorldTransform(hdc: HDC, lpxf: *mut XFORM) -> super::super::Foundation::BOOL; | |
04454e1e | 634 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
635 | #[cfg(feature = "Win32_Foundation")] |
636 | pub fn GradientFill(hdc: HDC, pvertex: *const TRIVERTEX, nvertex: u32, pmesh: *const ::core::ffi::c_void, nmesh: u32, ulmode: GRADIENT_FILL) -> super::super::Foundation::BOOL; | |
04454e1e | 637 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
638 | #[cfg(feature = "Win32_Foundation")] |
639 | pub fn GrayStringA(hdc: HDC, hbrush: HBRUSH, lpoutputfunc: GRAYSTRINGPROC, lpdata: super::super::Foundation::LPARAM, ncount: i32, x: i32, y: i32, nwidth: i32, nheight: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 640 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
641 | #[cfg(feature = "Win32_Foundation")] |
642 | pub fn GrayStringW(hdc: HDC, hbrush: HBRUSH, lpoutputfunc: GRAYSTRINGPROC, lpdata: super::super::Foundation::LPARAM, ncount: i32, x: i32, y: i32, nwidth: i32, nheight: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 643 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
644 | #[cfg(feature = "Win32_Foundation")] |
645 | pub fn InflateRect(lprc: *mut super::super::Foundation::RECT, dx: i32, dy: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 646 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 647 | pub fn IntersectClipRect(hdc: HDC, left: i32, top: i32, right: i32, bottom: i32) -> i32; |
04454e1e | 648 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
649 | #[cfg(feature = "Win32_Foundation")] |
650 | pub fn IntersectRect(lprcdst: *mut super::super::Foundation::RECT, lprcsrc1: *const super::super::Foundation::RECT, lprcsrc2: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; | |
04454e1e | 651 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
652 | #[cfg(feature = "Win32_Foundation")] |
653 | pub fn InvalidateRect(hwnd: super::super::Foundation::HWND, lprect: *const super::super::Foundation::RECT, berase: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; | |
04454e1e | 654 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
655 | #[cfg(feature = "Win32_Foundation")] |
656 | pub fn InvalidateRgn(hwnd: super::super::Foundation::HWND, hrgn: HRGN, berase: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; | |
04454e1e | 657 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
658 | #[cfg(feature = "Win32_Foundation")] |
659 | pub fn InvertRect(hdc: HDC, lprc: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; | |
04454e1e | 660 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
661 | #[cfg(feature = "Win32_Foundation")] |
662 | pub fn InvertRgn(hdc: HDC, hrgn: HRGN) -> super::super::Foundation::BOOL; | |
04454e1e | 663 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
664 | #[cfg(feature = "Win32_Foundation")] |
665 | pub fn IsRectEmpty(lprc: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; | |
04454e1e | 666 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
667 | #[cfg(feature = "Win32_Foundation")] |
668 | pub fn LPtoDP(hdc: HDC, lppt: *mut super::super::Foundation::POINT, c: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 669 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
670 | #[cfg(feature = "Win32_Foundation")] |
671 | pub fn LineDDA(xstart: i32, ystart: i32, xend: i32, yend: i32, lpproc: LINEDDAPROC, data: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL; | |
04454e1e | 672 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
673 | #[cfg(feature = "Win32_Foundation")] |
674 | pub fn LineTo(hdc: HDC, x: i32, y: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 675 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 676 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
677 | pub fn LoadBitmapA(hinstance: super::super::Foundation::HINSTANCE, lpbitmapname: ::windows_sys::core::PCSTR) -> HBITMAP; |
678 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 679 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
680 | pub fn LoadBitmapW(hinstance: super::super::Foundation::HINSTANCE, lpbitmapname: ::windows_sys::core::PCWSTR) -> HBITMAP; |
681 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
682 | #[cfg(feature = "Win32_Foundation")] |
683 | pub fn LockWindowUpdate(hwndlock: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; | |
04454e1e | 684 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
685 | #[cfg(feature = "Win32_Foundation")] |
686 | pub fn MapWindowPoints(hwndfrom: super::super::Foundation::HWND, hwndto: super::super::Foundation::HWND, lppoints: *mut super::super::Foundation::POINT, cpoints: u32) -> i32; | |
04454e1e | 687 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
688 | #[cfg(feature = "Win32_Foundation")] |
689 | pub fn MaskBlt(hdcdest: HDC, xdest: i32, ydest: i32, width: i32, height: i32, hdcsrc: HDC, xsrc: i32, ysrc: i32, hbmmask: HBITMAP, xmask: i32, ymask: i32, rop: u32) -> super::super::Foundation::BOOL; | |
04454e1e | 690 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 691 | pub fn MergeFontPackage(puchmergefontbuffer: *const u8, ulmergefontbuffersize: u32, puchfontpackagebuffer: *const u8, ulfontpackagebuffersize: u32, ppuchdestbuffer: *mut *mut u8, puldestbuffersize: *mut u32, pulbyteswritten: *mut u32, usmode: u16, lpfnallocate: CFP_ALLOCPROC, lpfnreallocate: CFP_REALLOCPROC, lpfnfree: CFP_FREEPROC, lpvreserved: *mut ::core::ffi::c_void) -> u32; |
04454e1e | 692 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
693 | #[cfg(feature = "Win32_Foundation")] |
694 | pub fn ModifyWorldTransform(hdc: HDC, lpxf: *const XFORM, mode: MODIFY_WORLD_TRANSFORM_MODE) -> super::super::Foundation::BOOL; | |
04454e1e | 695 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
696 | #[cfg(feature = "Win32_Foundation")] |
697 | pub fn MonitorFromPoint(pt: super::super::Foundation::POINT, dwflags: MONITOR_FROM_FLAGS) -> HMONITOR; | |
04454e1e | 698 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
699 | #[cfg(feature = "Win32_Foundation")] |
700 | pub fn MonitorFromRect(lprc: *const super::super::Foundation::RECT, dwflags: MONITOR_FROM_FLAGS) -> HMONITOR; | |
04454e1e | 701 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
702 | #[cfg(feature = "Win32_Foundation")] |
703 | pub fn MonitorFromWindow(hwnd: super::super::Foundation::HWND, dwflags: MONITOR_FROM_FLAGS) -> HMONITOR; | |
04454e1e | 704 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
705 | #[cfg(feature = "Win32_Foundation")] |
706 | pub fn MoveToEx(hdc: HDC, x: i32, y: i32, lppt: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; | |
04454e1e | 707 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 708 | pub fn OffsetClipRgn(hdc: HDC, x: i32, y: i32) -> i32; |
04454e1e | 709 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
710 | #[cfg(feature = "Win32_Foundation")] |
711 | pub fn OffsetRect(lprc: *mut super::super::Foundation::RECT, dx: i32, dy: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 712 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 713 | pub fn OffsetRgn(hrgn: HRGN, x: i32, y: i32) -> i32; |
04454e1e | 714 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
715 | #[cfg(feature = "Win32_Foundation")] |
716 | pub fn OffsetViewportOrgEx(hdc: HDC, x: i32, y: i32, lppt: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; | |
04454e1e | 717 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
718 | #[cfg(feature = "Win32_Foundation")] |
719 | pub fn OffsetWindowOrgEx(hdc: HDC, x: i32, y: i32, lppt: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; | |
04454e1e | 720 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
721 | #[cfg(feature = "Win32_Foundation")] |
722 | pub fn PaintDesktop(hdc: HDC) -> super::super::Foundation::BOOL; | |
04454e1e | 723 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
724 | #[cfg(feature = "Win32_Foundation")] |
725 | pub fn PaintRgn(hdc: HDC, hrgn: HRGN) -> super::super::Foundation::BOOL; | |
04454e1e | 726 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
727 | #[cfg(feature = "Win32_Foundation")] |
728 | pub fn PatBlt(hdc: HDC, x: i32, y: i32, w: i32, h: i32, rop: ROP_CODE) -> super::super::Foundation::BOOL; | |
04454e1e | 729 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 730 | pub fn PathToRegion(hdc: HDC) -> HRGN; |
04454e1e | 731 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
732 | #[cfg(feature = "Win32_Foundation")] |
733 | pub fn Pie(hdc: HDC, left: i32, top: i32, right: i32, bottom: i32, xr1: i32, yr1: i32, xr2: i32, yr2: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 734 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
735 | #[cfg(feature = "Win32_Foundation")] |
736 | pub fn PlayEnhMetaFile(hdc: HDC, hmf: HENHMETAFILE, lprect: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; | |
04454e1e | 737 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
738 | #[cfg(feature = "Win32_Foundation")] |
739 | pub fn PlayEnhMetaFileRecord(hdc: HDC, pht: *const HANDLETABLE, pmr: *const ENHMETARECORD, cht: u32) -> super::super::Foundation::BOOL; | |
04454e1e | 740 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
741 | #[cfg(feature = "Win32_Foundation")] |
742 | pub fn PlayMetaFile(hdc: HDC, hmf: HMETAFILE) -> super::super::Foundation::BOOL; | |
04454e1e | 743 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
744 | #[cfg(feature = "Win32_Foundation")] |
745 | pub fn PlayMetaFileRecord(hdc: HDC, lphandletable: *const HANDLETABLE, lpmr: *const METARECORD, noobjs: u32) -> super::super::Foundation::BOOL; | |
04454e1e | 746 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
747 | #[cfg(feature = "Win32_Foundation")] |
748 | pub fn PlgBlt(hdcdest: HDC, lppoint: *const super::super::Foundation::POINT, hdcsrc: HDC, xsrc: i32, ysrc: i32, width: i32, height: i32, hbmmask: HBITMAP, xmask: i32, ymask: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 749 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
750 | #[cfg(feature = "Win32_Foundation")] |
751 | pub fn PolyBezier(hdc: HDC, apt: *const super::super::Foundation::POINT, cpt: u32) -> super::super::Foundation::BOOL; | |
04454e1e | 752 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
753 | #[cfg(feature = "Win32_Foundation")] |
754 | pub fn PolyBezierTo(hdc: HDC, apt: *const super::super::Foundation::POINT, cpt: u32) -> super::super::Foundation::BOOL; | |
04454e1e | 755 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
756 | #[cfg(feature = "Win32_Foundation")] |
757 | pub fn PolyDraw(hdc: HDC, apt: *const super::super::Foundation::POINT, aj: *const u8, cpt: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 758 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
759 | #[cfg(feature = "Win32_Foundation")] |
760 | pub fn PolyPolygon(hdc: HDC, apt: *const super::super::Foundation::POINT, asz: *const i32, csz: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 761 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
762 | #[cfg(feature = "Win32_Foundation")] |
763 | pub fn PolyPolyline(hdc: HDC, apt: *const super::super::Foundation::POINT, asz: *const u32, csz: u32) -> super::super::Foundation::BOOL; | |
04454e1e | 764 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
765 | #[cfg(feature = "Win32_Foundation")] |
766 | pub fn PolyTextOutA(hdc: HDC, ppt: *const POLYTEXTA, nstrings: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 767 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
768 | #[cfg(feature = "Win32_Foundation")] |
769 | pub fn PolyTextOutW(hdc: HDC, ppt: *const POLYTEXTW, nstrings: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 770 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
771 | #[cfg(feature = "Win32_Foundation")] |
772 | pub fn Polygon(hdc: HDC, apt: *const super::super::Foundation::POINT, cpt: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 773 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
774 | #[cfg(feature = "Win32_Foundation")] |
775 | pub fn Polyline(hdc: HDC, apt: *const super::super::Foundation::POINT, cpt: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 776 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
777 | #[cfg(feature = "Win32_Foundation")] |
778 | pub fn PolylineTo(hdc: HDC, apt: *const super::super::Foundation::POINT, cpt: u32) -> super::super::Foundation::BOOL; | |
04454e1e | 779 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
780 | #[cfg(feature = "Win32_Foundation")] |
781 | pub fn PtInRect(lprc: *const super::super::Foundation::RECT, pt: super::super::Foundation::POINT) -> super::super::Foundation::BOOL; | |
04454e1e | 782 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
783 | #[cfg(feature = "Win32_Foundation")] |
784 | pub fn PtInRegion(hrgn: HRGN, x: i32, y: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 785 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
786 | #[cfg(feature = "Win32_Foundation")] |
787 | pub fn PtVisible(hdc: HDC, x: i32, y: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 788 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 789 | pub fn RealizePalette(hdc: HDC) -> u32; |
04454e1e | 790 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
791 | #[cfg(feature = "Win32_Foundation")] |
792 | pub fn RectInRegion(hrgn: HRGN, lprect: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; | |
04454e1e | 793 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
794 | #[cfg(feature = "Win32_Foundation")] |
795 | pub fn RectVisible(hdc: HDC, lprect: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; | |
04454e1e | 796 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
797 | #[cfg(feature = "Win32_Foundation")] |
798 | pub fn Rectangle(hdc: HDC, left: i32, top: i32, right: i32, bottom: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 799 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
800 | #[cfg(feature = "Win32_Foundation")] |
801 | pub fn RedrawWindow(hwnd: super::super::Foundation::HWND, lprcupdate: *const super::super::Foundation::RECT, hrgnupdate: HRGN, flags: REDRAW_WINDOW_FLAGS) -> super::super::Foundation::BOOL; | |
04454e1e | 802 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
803 | #[cfg(feature = "Win32_Foundation")] |
804 | pub fn ReleaseDC(hwnd: super::super::Foundation::HWND, hdc: HDC) -> i32; | |
04454e1e | 805 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
806 | #[cfg(feature = "Win32_Foundation")] |
807 | pub fn RemoveFontMemResourceEx(h: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; | |
04454e1e | 808 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 809 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
810 | pub fn RemoveFontResourceA(lpfilename: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; |
811 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 812 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
813 | pub fn RemoveFontResourceExA(name: ::windows_sys::core::PCSTR, fl: u32, pdv: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; |
814 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 815 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
816 | pub fn RemoveFontResourceExW(name: ::windows_sys::core::PCWSTR, fl: u32, pdv: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; |
817 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 818 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
819 | pub fn RemoveFontResourceW(lpfilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; |
820 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
821 | #[cfg(feature = "Win32_Foundation")] |
822 | pub fn ResetDCA(hdc: HDC, lpdm: *const DEVMODEA) -> HDC; | |
04454e1e | 823 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
824 | #[cfg(feature = "Win32_Foundation")] |
825 | pub fn ResetDCW(hdc: HDC, lpdm: *const DEVMODEW) -> HDC; | |
04454e1e | 826 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
827 | #[cfg(feature = "Win32_Foundation")] |
828 | pub fn ResizePalette(hpal: HPALETTE, n: u32) -> super::super::Foundation::BOOL; | |
04454e1e | 829 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
830 | #[cfg(feature = "Win32_Foundation")] |
831 | pub fn RestoreDC(hdc: HDC, nsaveddc: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 832 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
833 | #[cfg(feature = "Win32_Foundation")] |
834 | pub fn RoundRect(hdc: HDC, left: i32, top: i32, right: i32, bottom: i32, width: i32, height: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 835 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 836 | pub fn SaveDC(hdc: HDC) -> i32; |
04454e1e | 837 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
838 | #[cfg(feature = "Win32_Foundation")] |
839 | pub fn ScaleViewportExtEx(hdc: HDC, xn: i32, dx: i32, yn: i32, yd: i32, lpsz: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; | |
04454e1e | 840 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
841 | #[cfg(feature = "Win32_Foundation")] |
842 | pub fn ScaleWindowExtEx(hdc: HDC, xn: i32, xd: i32, yn: i32, yd: i32, lpsz: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; | |
04454e1e | 843 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
844 | #[cfg(feature = "Win32_Foundation")] |
845 | pub fn ScreenToClient(hwnd: super::super::Foundation::HWND, lppoint: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; | |
04454e1e | 846 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
847 | #[cfg(feature = "Win32_Foundation")] |
848 | pub fn SelectClipPath(hdc: HDC, mode: RGN_COMBINE_MODE) -> super::super::Foundation::BOOL; | |
04454e1e | 849 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 850 | pub fn SelectClipRgn(hdc: HDC, hrgn: HRGN) -> i32; |
04454e1e | 851 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 852 | pub fn SelectObject(hdc: HDC, h: HGDIOBJ) -> HGDIOBJ; |
04454e1e | 853 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
854 | #[cfg(feature = "Win32_Foundation")] |
855 | pub fn SelectPalette(hdc: HDC, hpal: HPALETTE, bforcebkgd: super::super::Foundation::BOOL) -> HPALETTE; | |
04454e1e | 856 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 857 | pub fn SetArcDirection(hdc: HDC, dir: ARC_DIRECTION) -> i32; |
04454e1e | 858 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 859 | pub fn SetBitmapBits(hbm: HBITMAP, cb: u32, pvbits: *const ::core::ffi::c_void) -> i32; |
04454e1e | 860 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
861 | #[cfg(feature = "Win32_Foundation")] |
862 | pub fn SetBitmapDimensionEx(hbm: HBITMAP, w: i32, h: i32, lpsz: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; | |
04454e1e | 863 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 864 | pub fn SetBkColor(hdc: HDC, color: u32) -> u32; |
04454e1e | 865 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 866 | pub fn SetBkMode(hdc: HDC, mode: BACKGROUND_MODE) -> i32; |
04454e1e | 867 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
868 | #[cfg(feature = "Win32_Foundation")] |
869 | pub fn SetBoundsRect(hdc: HDC, lprect: *const super::super::Foundation::RECT, flags: SET_BOUNDS_RECT_FLAGS) -> u32; | |
04454e1e | 870 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
871 | #[cfg(feature = "Win32_Foundation")] |
872 | pub fn SetBrushOrgEx(hdc: HDC, x: i32, y: i32, lppt: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; | |
04454e1e | 873 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
874 | #[cfg(feature = "Win32_Foundation")] |
875 | pub fn SetColorAdjustment(hdc: HDC, lpca: *const COLORADJUSTMENT) -> super::super::Foundation::BOOL; | |
04454e1e | 876 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 877 | pub fn SetDCBrushColor(hdc: HDC, color: u32) -> u32; |
04454e1e | 878 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 879 | pub fn SetDCPenColor(hdc: HDC, color: u32) -> u32; |
04454e1e | 880 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 881 | pub fn SetDIBColorTable(hdc: HDC, istart: u32, centries: u32, prgbq: *const RGBQUAD) -> u32; |
04454e1e | 882 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 883 | pub fn SetDIBits(hdc: HDC, hbm: HBITMAP, start: u32, clines: u32, lpbits: *const ::core::ffi::c_void, lpbmi: *const BITMAPINFO, coloruse: DIB_USAGE) -> i32; |
04454e1e | 884 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 885 | pub fn SetDIBitsToDevice(hdc: HDC, xdest: i32, ydest: i32, w: u32, h: u32, xsrc: i32, ysrc: i32, startscan: u32, clines: u32, lpvbits: *const ::core::ffi::c_void, lpbmi: *const BITMAPINFO, coloruse: DIB_USAGE) -> i32; |
04454e1e | 886 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 887 | pub fn SetEnhMetaFileBits(nsize: u32, pb: *const u8) -> HENHMETAFILE; |
04454e1e | 888 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 889 | pub fn SetGraphicsMode(hdc: HDC, imode: GRAPHICS_MODE) -> i32; |
04454e1e | 890 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 891 | pub fn SetLayout(hdc: HDC, l: DC_LAYOUT) -> u32; |
04454e1e | 892 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 893 | pub fn SetMapMode(hdc: HDC, imode: HDC_MAP_MODE) -> i32; |
04454e1e | 894 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 895 | pub fn SetMapperFlags(hdc: HDC, flags: u32) -> u32; |
04454e1e | 896 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 897 | pub fn SetMetaFileBitsEx(cbbuffer: u32, lpdata: *const u8) -> HMETAFILE; |
04454e1e | 898 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 899 | pub fn SetMetaRgn(hdc: HDC) -> i32; |
04454e1e | 900 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
901 | #[cfg(feature = "Win32_Foundation")] |
902 | pub fn SetMiterLimit(hdc: HDC, limit: f32, old: *mut f32) -> super::super::Foundation::BOOL; | |
04454e1e | 903 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 904 | pub fn SetPaletteEntries(hpal: HPALETTE, istart: u32, centries: u32, ppalentries: *const PALETTEENTRY) -> u32; |
04454e1e | 905 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 906 | pub fn SetPixel(hdc: HDC, x: i32, y: i32, color: u32) -> u32; |
04454e1e | 907 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
908 | #[cfg(feature = "Win32_Foundation")] |
909 | pub fn SetPixelV(hdc: HDC, x: i32, y: i32, color: u32) -> super::super::Foundation::BOOL; | |
04454e1e | 910 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 911 | pub fn SetPolyFillMode(hdc: HDC, mode: CREATE_POLYGON_RGN_MODE) -> i32; |
04454e1e | 912 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 913 | pub fn SetROP2(hdc: HDC, rop2: R2_MODE) -> i32; |
04454e1e | 914 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
915 | #[cfg(feature = "Win32_Foundation")] |
916 | pub fn SetRect(lprc: *mut super::super::Foundation::RECT, xleft: i32, ytop: i32, xright: i32, ybottom: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 917 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
918 | #[cfg(feature = "Win32_Foundation")] |
919 | pub fn SetRectEmpty(lprc: *mut super::super::Foundation::RECT) -> super::super::Foundation::BOOL; | |
04454e1e | 920 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
921 | #[cfg(feature = "Win32_Foundation")] |
922 | pub fn SetRectRgn(hrgn: HRGN, left: i32, top: i32, right: i32, bottom: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 923 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 924 | pub fn SetStretchBltMode(hdc: HDC, mode: STRETCH_BLT_MODE) -> i32; |
04454e1e | 925 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 926 | pub fn SetSystemPaletteUse(hdc: HDC, r#use: SYSTEM_PALETTE_USE) -> u32; |
04454e1e | 927 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 928 | pub fn SetTextAlign(hdc: HDC, align: TEXT_ALIGN_OPTIONS) -> u32; |
04454e1e | 929 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 930 | pub fn SetTextCharacterExtra(hdc: HDC, extra: i32) -> i32; |
04454e1e | 931 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 932 | pub fn SetTextColor(hdc: HDC, color: u32) -> u32; |
04454e1e | 933 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
934 | #[cfg(feature = "Win32_Foundation")] |
935 | pub fn SetTextJustification(hdc: HDC, extra: i32, count: i32) -> super::super::Foundation::BOOL; | |
04454e1e | 936 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
937 | #[cfg(feature = "Win32_Foundation")] |
938 | pub fn SetViewportExtEx(hdc: HDC, x: i32, y: i32, lpsz: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; | |
04454e1e | 939 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
940 | #[cfg(feature = "Win32_Foundation")] |
941 | pub fn SetViewportOrgEx(hdc: HDC, x: i32, y: i32, lppt: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; | |
04454e1e | 942 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
943 | #[cfg(feature = "Win32_Foundation")] |
944 | pub fn SetWindowExtEx(hdc: HDC, x: i32, y: i32, lpsz: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL; | |
04454e1e | 945 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
946 | #[cfg(feature = "Win32_Foundation")] |
947 | pub fn SetWindowOrgEx(hdc: HDC, x: i32, y: i32, lppt: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL; | |
04454e1e | 948 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
949 | #[cfg(feature = "Win32_Foundation")] |
950 | pub fn SetWindowRgn(hwnd: super::super::Foundation::HWND, hrgn: HRGN, bredraw: super::super::Foundation::BOOL) -> i32; | |
04454e1e | 951 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
952 | #[cfg(feature = "Win32_Foundation")] |
953 | pub fn SetWorldTransform(hdc: HDC, lpxf: *const XFORM) -> super::super::Foundation::BOOL; | |
04454e1e | 954 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
955 | #[cfg(feature = "Win32_Foundation")] |
956 | pub fn StretchBlt(hdcdest: HDC, xdest: i32, ydest: i32, wdest: i32, hdest: i32, hdcsrc: HDC, xsrc: i32, ysrc: i32, wsrc: i32, hsrc: i32, rop: ROP_CODE) -> super::super::Foundation::BOOL; | |
04454e1e | 957 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 958 | pub fn StretchDIBits(hdc: HDC, xdest: i32, ydest: i32, destwidth: i32, destheight: i32, xsrc: i32, ysrc: i32, srcwidth: i32, srcheight: i32, lpbits: *const ::core::ffi::c_void, lpbmi: *const BITMAPINFO, iusage: DIB_USAGE, rop: ROP_CODE) -> i32; |
04454e1e | 959 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
960 | #[cfg(feature = "Win32_Foundation")] |
961 | pub fn StrokeAndFillPath(hdc: HDC) -> super::super::Foundation::BOOL; | |
04454e1e | 962 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
963 | #[cfg(feature = "Win32_Foundation")] |
964 | pub fn StrokePath(hdc: HDC) -> super::super::Foundation::BOOL; | |
04454e1e | 965 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
966 | #[cfg(feature = "Win32_Foundation")] |
967 | pub fn SubtractRect(lprcdst: *mut super::super::Foundation::RECT, lprcsrc1: *const super::super::Foundation::RECT, lprcsrc2: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; | |
04454e1e | 968 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 969 | pub fn TTCharToUnicode(hdc: HDC, puccharcodes: *const u8, ulcharcodesize: u32, pusshortcodes: *mut u16, ulshortcodesize: u32, ulflags: u32) -> i32; |
04454e1e | 970 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
971 | #[cfg(feature = "Win32_Foundation")] |
972 | pub fn TTDeleteEmbeddedFont(hfontreference: super::super::Foundation::HANDLE, ulflags: u32, pulstatus: *mut u32) -> i32; | |
04454e1e | 973 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 974 | pub fn TTEmbedFont(hdc: HDC, ulflags: TTEMBED_FLAGS, ulcharset: EMBED_FONT_CHARSET, pulprivstatus: *mut EMBEDDED_FONT_PRIV_STATUS, pulstatus: *mut u32, lpfnwritetostream: WRITEEMBEDPROC, lpvwritestream: *const ::core::ffi::c_void, puscharcodeset: *const u16, uscharcodecount: u16, uslanguage: u16, pttembedinfo: *const TTEMBEDINFO) -> i32; |
04454e1e | 975 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 976 | pub fn TTEmbedFontEx(hdc: HDC, ulflags: TTEMBED_FLAGS, ulcharset: EMBED_FONT_CHARSET, pulprivstatus: *mut EMBEDDED_FONT_PRIV_STATUS, pulstatus: *mut u32, lpfnwritetostream: WRITEEMBEDPROC, lpvwritestream: *const ::core::ffi::c_void, pulcharcodeset: *const u32, uscharcodecount: u16, uslanguage: u16, pttembedinfo: *const TTEMBEDINFO) -> i32; |
04454e1e FG |
977 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
978 | pub fn TTEmbedFontFromFileA(hdc: HDC, szfontfilename: ::windows_sys::core::PCSTR, usttcindex: u16, ulflags: TTEMBED_FLAGS, ulcharset: EMBED_FONT_CHARSET, pulprivstatus: *mut EMBEDDED_FONT_PRIV_STATUS, pulstatus: *mut u32, lpfnwritetostream: WRITEEMBEDPROC, lpvwritestream: *const ::core::ffi::c_void, puscharcodeset: *const u16, uscharcodecount: u16, uslanguage: u16, pttembedinfo: *const TTEMBEDINFO) -> i32; | |
979 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 980 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
981 | pub fn TTEnableEmbeddingForFacename(lpszfacename: ::windows_sys::core::PCSTR, benable: super::super::Foundation::BOOL) -> i32; |
982 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
5e7ed085 | 983 | pub fn TTGetEmbeddedFontInfo(ulflags: TTEMBED_FLAGS, pulprivstatus: *mut u32, ulprivs: FONT_LICENSE_PRIVS, pulstatus: *mut u32, lpfnreadfromstream: READEMBEDPROC, lpvreadstream: *const ::core::ffi::c_void, pttloadinfo: *const TTLOADINFO) -> i32; |
04454e1e | 984 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 985 | pub fn TTGetEmbeddingType(hdc: HDC, pulembedtype: *mut EMBEDDED_FONT_PRIV_STATUS) -> i32; |
04454e1e | 986 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 987 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
988 | pub fn TTGetNewFontName(phfontreference: *const super::super::Foundation::HANDLE, wzwinfamilyname: ::windows_sys::core::PWSTR, cchmaxwinname: i32, szmacfamilyname: ::windows_sys::core::PSTR, cchmaxmacname: i32) -> i32; |
989 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
990 | #[cfg(feature = "Win32_Foundation")] |
991 | pub fn TTIsEmbeddingEnabled(hdc: HDC, pbenabled: *mut super::super::Foundation::BOOL) -> i32; | |
04454e1e | 992 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 993 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
994 | pub fn TTIsEmbeddingEnabledForFacename(lpszfacename: ::windows_sys::core::PCSTR, pbenabled: *mut super::super::Foundation::BOOL) -> i32; |
995 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 996 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
997 | pub fn TTLoadEmbeddedFont(phfontreference: *mut super::super::Foundation::HANDLE, ulflags: u32, pulprivstatus: *mut EMBEDDED_FONT_PRIV_STATUS, ulprivs: FONT_LICENSE_PRIVS, pulstatus: *mut TTLOAD_EMBEDDED_FONT_STATUS, lpfnreadfromstream: READEMBEDPROC, lpvreadstream: *const ::core::ffi::c_void, szwinfamilyname: ::windows_sys::core::PCWSTR, szmacfamilyname: ::windows_sys::core::PCSTR, pttloadinfo: *const TTLOADINFO) -> i32; |
998 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
5e7ed085 | 999 | pub fn TTRunValidationTests(hdc: HDC, ptestparam: *const TTVALIDATIONTESTSPARAMS) -> i32; |
04454e1e | 1000 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1001 | pub fn TTRunValidationTestsEx(hdc: HDC, ptestparam: *const TTVALIDATIONTESTSPARAMSEX) -> i32; |
04454e1e FG |
1002 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
1003 | pub fn TabbedTextOutA(hdc: HDC, x: i32, y: i32, lpstring: ::windows_sys::core::PCSTR, chcount: i32, ntabpositions: i32, lpntabstoppositions: *const i32, ntaborigin: i32) -> i32; | |
1004 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
1005 | pub fn TabbedTextOutW(hdc: HDC, x: i32, y: i32, lpstring: ::windows_sys::core::PCWSTR, chcount: i32, ntabpositions: i32, lpntabstoppositions: *const i32, ntaborigin: i32) -> i32; | |
1006 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 1007 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
1008 | pub fn TextOutA(hdc: HDC, x: i32, y: i32, lpstring: ::windows_sys::core::PCSTR, c: i32) -> super::super::Foundation::BOOL; |
1009 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 1010 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
1011 | pub fn TextOutW(hdc: HDC, x: i32, y: i32, lpstring: ::windows_sys::core::PCWSTR, c: i32) -> super::super::Foundation::BOOL; |
1012 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
1013 | #[cfg(feature = "Win32_Foundation")] |
1014 | pub fn TransparentBlt(hdcdest: HDC, xorigindest: i32, yorigindest: i32, wdest: i32, hdest: i32, hdcsrc: HDC, xoriginsrc: i32, yoriginsrc: i32, wsrc: i32, hsrc: i32, crtransparent: u32) -> super::super::Foundation::BOOL; | |
04454e1e | 1015 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1016 | #[cfg(feature = "Win32_Foundation")] |
1017 | pub fn UnionRect(lprcdst: *mut super::super::Foundation::RECT, lprcsrc1: *const super::super::Foundation::RECT, lprcsrc2: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; | |
04454e1e | 1018 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1019 | #[cfg(feature = "Win32_Foundation")] |
1020 | pub fn UnrealizeObject(h: HGDIOBJ) -> super::super::Foundation::BOOL; | |
04454e1e | 1021 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1022 | #[cfg(feature = "Win32_Foundation")] |
1023 | pub fn UpdateColors(hdc: HDC) -> super::super::Foundation::BOOL; | |
04454e1e | 1024 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1025 | #[cfg(feature = "Win32_Foundation")] |
1026 | pub fn UpdateWindow(hwnd: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; | |
04454e1e | 1027 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1028 | #[cfg(feature = "Win32_Foundation")] |
1029 | pub fn ValidateRect(hwnd: super::super::Foundation::HWND, lprect: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL; | |
04454e1e | 1030 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1031 | #[cfg(feature = "Win32_Foundation")] |
1032 | pub fn ValidateRgn(hwnd: super::super::Foundation::HWND, hrgn: HRGN) -> super::super::Foundation::BOOL; | |
04454e1e | 1033 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1034 | #[cfg(feature = "Win32_Foundation")] |
1035 | pub fn WidenPath(hdc: HDC) -> super::super::Foundation::BOOL; | |
04454e1e | 1036 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1037 | #[cfg(feature = "Win32_Foundation")] |
1038 | pub fn WindowFromDC(hdc: HDC) -> super::super::Foundation::HWND; | |
04454e1e | 1039 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1040 | pub fn wglSwapMultipleBuffers(param0: u32, param1: *const WGLSWAP) -> u32; |
1041 | } | |
1042 | #[repr(C)] | |
04454e1e | 1043 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1044 | pub struct ABC { |
1045 | pub abcA: i32, | |
1046 | pub abcB: u32, | |
1047 | pub abcC: i32, | |
1048 | } | |
1049 | impl ::core::marker::Copy for ABC {} | |
1050 | impl ::core::clone::Clone for ABC { | |
1051 | fn clone(&self) -> Self { | |
1052 | *self | |
1053 | } | |
1054 | } | |
1055 | #[repr(C)] | |
04454e1e | 1056 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1057 | pub struct ABCFLOAT { |
1058 | pub abcfA: f32, | |
1059 | pub abcfB: f32, | |
1060 | pub abcfC: f32, | |
1061 | } | |
1062 | impl ::core::marker::Copy for ABCFLOAT {} | |
1063 | impl ::core::clone::Clone for ABCFLOAT { | |
1064 | fn clone(&self) -> Self { | |
1065 | *self | |
1066 | } | |
1067 | } | |
04454e1e | 1068 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1069 | pub const ABORTDOC: u32 = 2u32; |
1070 | #[repr(C)] | |
04454e1e | 1071 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1072 | pub struct ABORTPATH { |
1073 | pub emr: EMR, | |
1074 | } | |
1075 | impl ::core::marker::Copy for ABORTPATH {} | |
1076 | impl ::core::clone::Clone for ABORTPATH { | |
1077 | fn clone(&self) -> Self { | |
1078 | *self | |
1079 | } | |
1080 | } | |
04454e1e | 1081 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1082 | pub const ABSOLUTE: u32 = 1u32; |
04454e1e | 1083 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1084 | pub const AC_SRC_ALPHA: u32 = 1u32; |
04454e1e | 1085 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1086 | pub const AC_SRC_OVER: u32 = 0u32; |
04454e1e | 1087 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1088 | pub const ANSI_CHARSET: u32 = 0u32; |
04454e1e | 1089 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1090 | pub const ARABIC_CHARSET: u32 = 178u32; |
04454e1e | 1091 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1092 | pub type ARC_DIRECTION = u32; |
04454e1e | 1093 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1094 | pub const AD_COUNTERCLOCKWISE: ARC_DIRECTION = 1u32; |
04454e1e | 1095 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1096 | pub const AD_CLOCKWISE: ARC_DIRECTION = 2u32; |
04454e1e | 1097 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1098 | pub const ASPECT_FILTERING: u32 = 1u32; |
1099 | #[repr(C)] | |
04454e1e | 1100 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1101 | pub struct AXESLISTA { |
1102 | pub axlReserved: u32, | |
1103 | pub axlNumAxes: u32, | |
1104 | pub axlAxisInfo: [AXISINFOA; 16], | |
1105 | } | |
1106 | impl ::core::marker::Copy for AXESLISTA {} | |
1107 | impl ::core::clone::Clone for AXESLISTA { | |
1108 | fn clone(&self) -> Self { | |
1109 | *self | |
1110 | } | |
1111 | } | |
1112 | #[repr(C)] | |
04454e1e | 1113 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1114 | pub struct AXESLISTW { |
1115 | pub axlReserved: u32, | |
1116 | pub axlNumAxes: u32, | |
1117 | pub axlAxisInfo: [AXISINFOW; 16], | |
1118 | } | |
1119 | impl ::core::marker::Copy for AXESLISTW {} | |
1120 | impl ::core::clone::Clone for AXESLISTW { | |
1121 | fn clone(&self) -> Self { | |
1122 | *self | |
1123 | } | |
1124 | } | |
1125 | #[repr(C)] | |
04454e1e | 1126 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1127 | pub struct AXISINFOA { |
1128 | pub axMinValue: i32, | |
1129 | pub axMaxValue: i32, | |
1130 | pub axAxisName: [u8; 16], | |
1131 | } | |
1132 | impl ::core::marker::Copy for AXISINFOA {} | |
1133 | impl ::core::clone::Clone for AXISINFOA { | |
1134 | fn clone(&self) -> Self { | |
1135 | *self | |
1136 | } | |
1137 | } | |
1138 | #[repr(C)] | |
04454e1e | 1139 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1140 | pub struct AXISINFOW { |
1141 | pub axMinValue: i32, | |
1142 | pub axMaxValue: i32, | |
1143 | pub axAxisName: [u16; 16], | |
1144 | } | |
1145 | impl ::core::marker::Copy for AXISINFOW {} | |
1146 | impl ::core::clone::Clone for AXISINFOW { | |
1147 | fn clone(&self) -> Self { | |
1148 | *self | |
1149 | } | |
1150 | } | |
04454e1e | 1151 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1152 | pub type BACKGROUND_MODE = u32; |
04454e1e | 1153 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1154 | pub const OPAQUE: BACKGROUND_MODE = 2u32; |
04454e1e | 1155 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1156 | pub const TRANSPARENT: BACKGROUND_MODE = 1u32; |
04454e1e | 1157 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1158 | pub const BALTIC_CHARSET: u32 = 186u32; |
04454e1e | 1159 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1160 | pub const BANDINFO: u32 = 24u32; |
04454e1e | 1161 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1162 | pub const BEGIN_PATH: u32 = 4096u32; |
1163 | #[repr(C)] | |
04454e1e | 1164 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1165 | pub struct BITMAP { |
1166 | pub bmType: i32, | |
1167 | pub bmWidth: i32, | |
1168 | pub bmHeight: i32, | |
1169 | pub bmWidthBytes: i32, | |
1170 | pub bmPlanes: u16, | |
1171 | pub bmBitsPixel: u16, | |
1172 | pub bmBits: *mut ::core::ffi::c_void, | |
1173 | } | |
1174 | impl ::core::marker::Copy for BITMAP {} | |
1175 | impl ::core::clone::Clone for BITMAP { | |
1176 | fn clone(&self) -> Self { | |
1177 | *self | |
1178 | } | |
1179 | } | |
1180 | #[repr(C)] | |
04454e1e | 1181 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1182 | pub struct BITMAPCOREHEADER { |
1183 | pub bcSize: u32, | |
1184 | pub bcWidth: u16, | |
1185 | pub bcHeight: u16, | |
1186 | pub bcPlanes: u16, | |
1187 | pub bcBitCount: u16, | |
1188 | } | |
1189 | impl ::core::marker::Copy for BITMAPCOREHEADER {} | |
1190 | impl ::core::clone::Clone for BITMAPCOREHEADER { | |
1191 | fn clone(&self) -> Self { | |
1192 | *self | |
1193 | } | |
1194 | } | |
1195 | #[repr(C)] | |
04454e1e | 1196 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1197 | pub struct BITMAPCOREINFO { |
1198 | pub bmciHeader: BITMAPCOREHEADER, | |
1199 | pub bmciColors: [RGBTRIPLE; 1], | |
1200 | } | |
1201 | impl ::core::marker::Copy for BITMAPCOREINFO {} | |
1202 | impl ::core::clone::Clone for BITMAPCOREINFO { | |
1203 | fn clone(&self) -> Self { | |
1204 | *self | |
1205 | } | |
1206 | } | |
1207 | #[repr(C, packed(2))] | |
04454e1e | 1208 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1209 | pub struct BITMAPFILEHEADER { |
1210 | pub bfType: u16, | |
1211 | pub bfSize: u32, | |
1212 | pub bfReserved1: u16, | |
1213 | pub bfReserved2: u16, | |
1214 | pub bfOffBits: u32, | |
1215 | } | |
1216 | impl ::core::marker::Copy for BITMAPFILEHEADER {} | |
1217 | impl ::core::clone::Clone for BITMAPFILEHEADER { | |
1218 | fn clone(&self) -> Self { | |
1219 | *self | |
1220 | } | |
1221 | } | |
1222 | #[repr(C)] | |
04454e1e | 1223 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1224 | pub struct BITMAPINFO { |
1225 | pub bmiHeader: BITMAPINFOHEADER, | |
1226 | pub bmiColors: [RGBQUAD; 1], | |
1227 | } | |
1228 | impl ::core::marker::Copy for BITMAPINFO {} | |
1229 | impl ::core::clone::Clone for BITMAPINFO { | |
1230 | fn clone(&self) -> Self { | |
1231 | *self | |
1232 | } | |
1233 | } | |
1234 | #[repr(C)] | |
04454e1e | 1235 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1236 | pub struct BITMAPINFOHEADER { |
1237 | pub biSize: u32, | |
1238 | pub biWidth: i32, | |
1239 | pub biHeight: i32, | |
1240 | pub biPlanes: u16, | |
1241 | pub biBitCount: u16, | |
1242 | pub biCompression: u32, | |
1243 | pub biSizeImage: u32, | |
1244 | pub biXPelsPerMeter: i32, | |
1245 | pub biYPelsPerMeter: i32, | |
1246 | pub biClrUsed: u32, | |
1247 | pub biClrImportant: u32, | |
1248 | } | |
1249 | impl ::core::marker::Copy for BITMAPINFOHEADER {} | |
1250 | impl ::core::clone::Clone for BITMAPINFOHEADER { | |
1251 | fn clone(&self) -> Self { | |
1252 | *self | |
1253 | } | |
1254 | } | |
1255 | #[repr(C)] | |
04454e1e | 1256 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1257 | pub struct BITMAPV4HEADER { |
1258 | pub bV4Size: u32, | |
1259 | pub bV4Width: i32, | |
1260 | pub bV4Height: i32, | |
1261 | pub bV4Planes: u16, | |
1262 | pub bV4BitCount: u16, | |
1263 | pub bV4V4Compression: u32, | |
1264 | pub bV4SizeImage: u32, | |
1265 | pub bV4XPelsPerMeter: i32, | |
1266 | pub bV4YPelsPerMeter: i32, | |
1267 | pub bV4ClrUsed: u32, | |
1268 | pub bV4ClrImportant: u32, | |
1269 | pub bV4RedMask: u32, | |
1270 | pub bV4GreenMask: u32, | |
1271 | pub bV4BlueMask: u32, | |
1272 | pub bV4AlphaMask: u32, | |
1273 | pub bV4CSType: u32, | |
1274 | pub bV4Endpoints: CIEXYZTRIPLE, | |
1275 | pub bV4GammaRed: u32, | |
1276 | pub bV4GammaGreen: u32, | |
1277 | pub bV4GammaBlue: u32, | |
1278 | } | |
1279 | impl ::core::marker::Copy for BITMAPV4HEADER {} | |
1280 | impl ::core::clone::Clone for BITMAPV4HEADER { | |
1281 | fn clone(&self) -> Self { | |
1282 | *self | |
1283 | } | |
1284 | } | |
1285 | #[repr(C)] | |
04454e1e | 1286 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1287 | pub struct BITMAPV5HEADER { |
1288 | pub bV5Size: u32, | |
1289 | pub bV5Width: i32, | |
1290 | pub bV5Height: i32, | |
1291 | pub bV5Planes: u16, | |
1292 | pub bV5BitCount: u16, | |
1293 | pub bV5Compression: u32, | |
1294 | pub bV5SizeImage: u32, | |
1295 | pub bV5XPelsPerMeter: i32, | |
1296 | pub bV5YPelsPerMeter: i32, | |
1297 | pub bV5ClrUsed: u32, | |
1298 | pub bV5ClrImportant: u32, | |
1299 | pub bV5RedMask: u32, | |
1300 | pub bV5GreenMask: u32, | |
1301 | pub bV5BlueMask: u32, | |
1302 | pub bV5AlphaMask: u32, | |
1303 | pub bV5CSType: u32, | |
1304 | pub bV5Endpoints: CIEXYZTRIPLE, | |
1305 | pub bV5GammaRed: u32, | |
1306 | pub bV5GammaGreen: u32, | |
1307 | pub bV5GammaBlue: u32, | |
1308 | pub bV5Intent: u32, | |
1309 | pub bV5ProfileData: u32, | |
1310 | pub bV5ProfileSize: u32, | |
1311 | pub bV5Reserved: u32, | |
1312 | } | |
1313 | impl ::core::marker::Copy for BITMAPV5HEADER {} | |
1314 | impl ::core::clone::Clone for BITMAPV5HEADER { | |
1315 | fn clone(&self) -> Self { | |
1316 | *self | |
1317 | } | |
1318 | } | |
04454e1e | 1319 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1320 | pub const BI_BITFIELDS: i32 = 3i32; |
04454e1e | 1321 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1322 | pub const BI_JPEG: i32 = 4i32; |
04454e1e | 1323 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1324 | pub const BI_PNG: i32 = 5i32; |
04454e1e | 1325 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1326 | pub const BI_RGB: i32 = 0i32; |
04454e1e | 1327 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1328 | pub const BI_RLE4: i32 = 2i32; |
04454e1e | 1329 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1330 | pub const BI_RLE8: i32 = 1i32; |
04454e1e | 1331 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1332 | pub const BKMODE_LAST: u32 = 2u32; |
1333 | #[repr(C)] | |
04454e1e | 1334 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1335 | pub struct BLENDFUNCTION { |
1336 | pub BlendOp: u8, | |
1337 | pub BlendFlags: u8, | |
1338 | pub SourceConstantAlpha: u8, | |
1339 | pub AlphaFormat: u8, | |
1340 | } | |
1341 | impl ::core::marker::Copy for BLENDFUNCTION {} | |
1342 | impl ::core::clone::Clone for BLENDFUNCTION { | |
1343 | fn clone(&self) -> Self { | |
1344 | *self | |
1345 | } | |
1346 | } | |
04454e1e | 1347 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1348 | pub const BS_DIBPATTERN: u32 = 5u32; |
04454e1e | 1349 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1350 | pub const BS_DIBPATTERN8X8: u32 = 8u32; |
04454e1e | 1351 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1352 | pub const BS_DIBPATTERNPT: u32 = 6u32; |
04454e1e | 1353 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1354 | pub const BS_HATCHED: u32 = 2u32; |
04454e1e | 1355 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1356 | pub const BS_HOLLOW: u32 = 1u32; |
04454e1e | 1357 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1358 | pub const BS_INDEXED: u32 = 4u32; |
04454e1e | 1359 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1360 | pub const BS_MONOPATTERN: u32 = 9u32; |
04454e1e | 1361 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1362 | pub const BS_NULL: u32 = 1u32; |
04454e1e | 1363 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1364 | pub const BS_PATTERN: u32 = 3u32; |
04454e1e | 1365 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1366 | pub const BS_PATTERN8X8: u32 = 7u32; |
04454e1e | 1367 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1368 | pub const BS_SOLID: u32 = 0u32; |
04454e1e | 1369 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1370 | pub const CA_LOG_FILTER: u32 = 2u32; |
04454e1e | 1371 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1372 | pub const CA_NEGATIVE: u32 = 1u32; |
04454e1e | 1373 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1374 | pub const CBM_INIT: i32 = 4i32; |
04454e1e | 1375 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1376 | pub const CCHFORMNAME: u32 = 32u32; |
04454e1e | 1377 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1378 | pub const CC_CHORD: u32 = 4u32; |
04454e1e | 1379 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1380 | pub const CC_CIRCLES: u32 = 1u32; |
04454e1e | 1381 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1382 | pub const CC_ELLIPSES: u32 = 8u32; |
04454e1e | 1383 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1384 | pub const CC_INTERIORS: u32 = 128u32; |
04454e1e | 1385 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1386 | pub const CC_NONE: u32 = 0u32; |
04454e1e | 1387 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1388 | pub const CC_PIE: u32 = 2u32; |
04454e1e | 1389 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1390 | pub const CC_ROUNDRECT: u32 = 256u32; |
04454e1e | 1391 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1392 | pub const CC_STYLED: u32 = 32u32; |
04454e1e | 1393 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1394 | pub const CC_WIDE: u32 = 16u32; |
04454e1e | 1395 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1396 | pub const CC_WIDESTYLED: u32 = 64u32; |
04454e1e | 1397 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1398 | pub type CDS_TYPE = u32; |
04454e1e | 1399 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1400 | pub const CDS_FULLSCREEN: CDS_TYPE = 4u32; |
04454e1e | 1401 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1402 | pub const CDS_GLOBAL: CDS_TYPE = 8u32; |
04454e1e | 1403 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1404 | pub const CDS_NORESET: CDS_TYPE = 268435456u32; |
04454e1e | 1405 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1406 | pub const CDS_RESET: CDS_TYPE = 1073741824u32; |
04454e1e | 1407 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1408 | pub const CDS_SET_PRIMARY: CDS_TYPE = 16u32; |
04454e1e | 1409 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1410 | pub const CDS_TEST: CDS_TYPE = 2u32; |
04454e1e | 1411 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1412 | pub const CDS_UPDATEREGISTRY: CDS_TYPE = 1u32; |
04454e1e | 1413 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1414 | pub const CDS_VIDEOPARAMETERS: CDS_TYPE = 32u32; |
04454e1e | 1415 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1416 | pub const CDS_ENABLE_UNSAFE_MODES: CDS_TYPE = 256u32; |
04454e1e | 1417 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1418 | pub const CDS_DISABLE_UNSAFE_MODES: CDS_TYPE = 512u32; |
04454e1e | 1419 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1420 | pub const CDS_RESET_EX: CDS_TYPE = 536870912u32; |
04454e1e | 1421 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1422 | pub type CFP_ALLOCPROC = ::core::option::Option<unsafe extern "system" fn(param0: usize) -> *mut ::core::ffi::c_void>; |
04454e1e | 1423 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1424 | pub type CFP_FREEPROC = ::core::option::Option<unsafe extern "system" fn(param0: *mut ::core::ffi::c_void)>; |
04454e1e | 1425 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1426 | pub type CFP_REALLOCPROC = ::core::option::Option<unsafe extern "system" fn(param0: *mut ::core::ffi::c_void, param1: usize) -> *mut ::core::ffi::c_void>; |
04454e1e | 1427 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1428 | pub const CHARSET_DEFAULT: u32 = 1u32; |
04454e1e | 1429 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1430 | pub const CHARSET_GLYPHIDX: u32 = 3u32; |
04454e1e | 1431 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1432 | pub const CHECKJPEGFORMAT: u32 = 4119u32; |
04454e1e | 1433 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1434 | pub const CHECKPNGFORMAT: u32 = 4120u32; |
04454e1e | 1435 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1436 | pub const CHINESEBIG5_CHARSET: u32 = 136u32; |
1437 | #[repr(C)] | |
04454e1e | 1438 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1439 | pub struct CIEXYZ { |
1440 | pub ciexyzX: i32, | |
1441 | pub ciexyzY: i32, | |
1442 | pub ciexyzZ: i32, | |
1443 | } | |
1444 | impl ::core::marker::Copy for CIEXYZ {} | |
1445 | impl ::core::clone::Clone for CIEXYZ { | |
1446 | fn clone(&self) -> Self { | |
1447 | *self | |
1448 | } | |
1449 | } | |
1450 | #[repr(C)] | |
04454e1e | 1451 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1452 | pub struct CIEXYZTRIPLE { |
1453 | pub ciexyzRed: CIEXYZ, | |
1454 | pub ciexyzGreen: CIEXYZ, | |
1455 | pub ciexyzBlue: CIEXYZ, | |
1456 | } | |
1457 | impl ::core::marker::Copy for CIEXYZTRIPLE {} | |
1458 | impl ::core::clone::Clone for CIEXYZTRIPLE { | |
1459 | fn clone(&self) -> Self { | |
1460 | *self | |
1461 | } | |
1462 | } | |
04454e1e | 1463 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1464 | pub const CLEARTYPE_NATURAL_QUALITY: u32 = 6u32; |
04454e1e | 1465 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1466 | pub const CLIP_TO_PATH: u32 = 4097u32; |
04454e1e | 1467 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1468 | pub const CLOSECHANNEL: u32 = 4112u32; |
04454e1e | 1469 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1470 | pub const CLR_INVALID: u32 = 4294967295u32; |
04454e1e | 1471 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1472 | pub const CM_CMYK_COLOR: u32 = 4u32; |
04454e1e | 1473 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1474 | pub const CM_DEVICE_ICM: u32 = 1u32; |
04454e1e | 1475 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1476 | pub const CM_GAMMA_RAMP: u32 = 2u32; |
04454e1e | 1477 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1478 | pub const CM_IN_GAMUT: u32 = 0u32; |
04454e1e | 1479 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1480 | pub const CM_NONE: u32 = 0u32; |
04454e1e | 1481 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1482 | pub const CM_OUT_OF_GAMUT: u32 = 255u32; |
1483 | #[repr(C)] | |
04454e1e | 1484 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1485 | pub struct COLORADJUSTMENT { |
1486 | pub caSize: u16, | |
1487 | pub caFlags: u16, | |
1488 | pub caIlluminantIndex: u16, | |
1489 | pub caRedGamma: u16, | |
1490 | pub caGreenGamma: u16, | |
1491 | pub caBlueGamma: u16, | |
1492 | pub caReferenceBlack: u16, | |
1493 | pub caReferenceWhite: u16, | |
1494 | pub caContrast: i16, | |
1495 | pub caBrightness: i16, | |
1496 | pub caColorfulness: i16, | |
1497 | pub caRedGreenTint: i16, | |
1498 | } | |
1499 | impl ::core::marker::Copy for COLORADJUSTMENT {} | |
1500 | impl ::core::clone::Clone for COLORADJUSTMENT { | |
1501 | fn clone(&self) -> Self { | |
1502 | *self | |
1503 | } | |
1504 | } | |
1505 | #[repr(C)] | |
04454e1e | 1506 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1507 | pub struct COLORCORRECTPALETTE { |
1508 | pub emr: EMR, | |
1509 | pub ihPalette: u32, | |
1510 | pub nFirstEntry: u32, | |
1511 | pub nPalEntries: u32, | |
1512 | pub nReserved: u32, | |
1513 | } | |
1514 | impl ::core::marker::Copy for COLORCORRECTPALETTE {} | |
1515 | impl ::core::clone::Clone for COLORCORRECTPALETTE { | |
1516 | fn clone(&self) -> Self { | |
1517 | *self | |
1518 | } | |
1519 | } | |
1520 | #[repr(C)] | |
04454e1e | 1521 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1522 | pub struct COLORMATCHTOTARGET { |
1523 | pub emr: EMR, | |
1524 | pub dwAction: u32, | |
1525 | pub dwFlags: u32, | |
1526 | pub cbName: u32, | |
1527 | pub cbData: u32, | |
1528 | pub Data: [u8; 1], | |
1529 | } | |
1530 | impl ::core::marker::Copy for COLORMATCHTOTARGET {} | |
1531 | impl ::core::clone::Clone for COLORMATCHTOTARGET { | |
1532 | fn clone(&self) -> Self { | |
1533 | *self | |
1534 | } | |
1535 | } | |
04454e1e | 1536 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1537 | pub const COLORMATCHTOTARGET_EMBEDED: u32 = 1u32; |
04454e1e | 1538 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1539 | pub const COMPLEXREGION: u32 = 3u32; |
04454e1e | 1540 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1541 | pub const CP_NONE: u32 = 0u32; |
04454e1e | 1542 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1543 | pub const CP_RECTANGLE: u32 = 1u32; |
04454e1e | 1544 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1545 | pub const CP_REGION: u32 = 2u32; |
04454e1e | 1546 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1547 | pub const CREATECOLORSPACE_EMBEDED: u32 = 1u32; |
04454e1e | 1548 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1549 | pub type CREATE_FONT_PACKAGE_SUBSET_ENCODING = u32; |
04454e1e | 1550 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1551 | pub const TTFCFP_STD_MAC_CHAR_SET: CREATE_FONT_PACKAGE_SUBSET_ENCODING = 0u32; |
04454e1e | 1552 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1553 | pub const TTFCFP_SYMBOL_CHAR_SET: CREATE_FONT_PACKAGE_SUBSET_ENCODING = 0u32; |
04454e1e | 1554 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1555 | pub const TTFCFP_UNICODE_CHAR_SET: CREATE_FONT_PACKAGE_SUBSET_ENCODING = 1u32; |
04454e1e | 1556 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1557 | pub type CREATE_FONT_PACKAGE_SUBSET_PLATFORM = u32; |
04454e1e | 1558 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1559 | pub const TTFCFP_UNICODE_PLATFORMID: CREATE_FONT_PACKAGE_SUBSET_PLATFORM = 0u32; |
04454e1e | 1560 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1561 | pub const TTFCFP_ISO_PLATFORMID: CREATE_FONT_PACKAGE_SUBSET_PLATFORM = 2u32; |
04454e1e | 1562 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1563 | pub type CREATE_POLYGON_RGN_MODE = u32; |
04454e1e | 1564 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1565 | pub const ALTERNATE: CREATE_POLYGON_RGN_MODE = 1u32; |
04454e1e | 1566 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1567 | pub const WINDING: CREATE_POLYGON_RGN_MODE = 2u32; |
1568 | pub type CreatedHDC = isize; | |
04454e1e | 1569 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1570 | pub const DCBA_FACEDOWNCENTER: u32 = 257u32; |
04454e1e | 1571 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1572 | pub const DCBA_FACEDOWNLEFT: u32 = 258u32; |
04454e1e | 1573 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1574 | pub const DCBA_FACEDOWNNONE: u32 = 256u32; |
04454e1e | 1575 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1576 | pub const DCBA_FACEDOWNRIGHT: u32 = 259u32; |
04454e1e | 1577 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1578 | pub const DCBA_FACEUPCENTER: u32 = 1u32; |
04454e1e | 1579 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1580 | pub const DCBA_FACEUPLEFT: u32 = 2u32; |
04454e1e | 1581 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1582 | pub const DCBA_FACEUPNONE: u32 = 0u32; |
04454e1e | 1583 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1584 | pub const DCBA_FACEUPRIGHT: u32 = 3u32; |
04454e1e | 1585 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1586 | pub const DCTT_BITMAP: i32 = 1i32; |
04454e1e | 1587 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1588 | pub const DCTT_DOWNLOAD: i32 = 2i32; |
04454e1e | 1589 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1590 | pub const DCTT_DOWNLOAD_OUTLINE: i32 = 8i32; |
04454e1e | 1591 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1592 | pub const DCTT_SUBDEV: i32 = 4i32; |
04454e1e | 1593 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1594 | pub const DC_BINADJUST: u32 = 19u32; |
04454e1e | 1595 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1596 | pub const DC_DATATYPE_PRODUCED: u32 = 21u32; |
04454e1e | 1597 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1598 | pub const DC_EMF_COMPLIANT: u32 = 20u32; |
04454e1e | 1599 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1600 | pub type DC_LAYOUT = u32; |
04454e1e | 1601 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1602 | pub const LAYOUT_BITMAPORIENTATIONPRESERVED: DC_LAYOUT = 8u32; |
04454e1e | 1603 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1604 | pub const LAYOUT_RTL: DC_LAYOUT = 1u32; |
04454e1e | 1605 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1606 | pub const DC_MANUFACTURER: u32 = 23u32; |
04454e1e | 1607 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1608 | pub const DC_MODEL: u32 = 24u32; |
04454e1e | 1609 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1610 | pub const DEFAULT_CHARSET: u32 = 1u32; |
04454e1e | 1611 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1612 | pub const DEFAULT_PITCH: u32 = 0u32; |
1613 | #[repr(C)] | |
04454e1e | 1614 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1615 | pub struct DESIGNVECTOR { |
1616 | pub dvReserved: u32, | |
1617 | pub dvNumAxes: u32, | |
1618 | pub dvValues: [i32; 16], | |
1619 | } | |
1620 | impl ::core::marker::Copy for DESIGNVECTOR {} | |
1621 | impl ::core::clone::Clone for DESIGNVECTOR { | |
1622 | fn clone(&self) -> Self { | |
1623 | *self | |
1624 | } | |
1625 | } | |
04454e1e | 1626 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1627 | pub const DEVICEDATA: u32 = 19u32; |
04454e1e | 1628 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1629 | pub const DEVICE_FONTTYPE: u32 = 2u32; |
1630 | #[repr(C)] | |
04454e1e | 1631 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1632 | #[cfg(feature = "Win32_Foundation")] |
1633 | pub struct DEVMODEA { | |
1634 | pub dmDeviceName: [u8; 32], | |
1635 | pub dmSpecVersion: u16, | |
1636 | pub dmDriverVersion: u16, | |
1637 | pub dmSize: u16, | |
1638 | pub dmDriverExtra: u16, | |
1639 | pub dmFields: u32, | |
1640 | pub Anonymous1: DEVMODEA_0, | |
1641 | pub dmColor: i16, | |
1642 | pub dmDuplex: i16, | |
1643 | pub dmYResolution: i16, | |
1644 | pub dmTTOption: i16, | |
1645 | pub dmCollate: i16, | |
1646 | pub dmFormName: [u8; 32], | |
1647 | pub dmLogPixels: u16, | |
1648 | pub dmBitsPerPel: u32, | |
1649 | pub dmPelsWidth: u32, | |
1650 | pub dmPelsHeight: u32, | |
1651 | pub Anonymous2: DEVMODEA_1, | |
1652 | pub dmDisplayFrequency: u32, | |
1653 | pub dmICMMethod: u32, | |
1654 | pub dmICMIntent: u32, | |
1655 | pub dmMediaType: u32, | |
1656 | pub dmDitherType: u32, | |
1657 | pub dmReserved1: u32, | |
1658 | pub dmReserved2: u32, | |
1659 | pub dmPanningWidth: u32, | |
1660 | pub dmPanningHeight: u32, | |
1661 | } | |
1662 | #[cfg(feature = "Win32_Foundation")] | |
1663 | impl ::core::marker::Copy for DEVMODEA {} | |
1664 | #[cfg(feature = "Win32_Foundation")] | |
1665 | impl ::core::clone::Clone for DEVMODEA { | |
1666 | fn clone(&self) -> Self { | |
1667 | *self | |
1668 | } | |
1669 | } | |
1670 | #[repr(C)] | |
04454e1e | 1671 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1672 | #[cfg(feature = "Win32_Foundation")] |
1673 | pub union DEVMODEA_0 { | |
1674 | pub Anonymous1: DEVMODEA_0_0, | |
1675 | pub Anonymous2: DEVMODEA_0_1, | |
1676 | } | |
1677 | #[cfg(feature = "Win32_Foundation")] | |
1678 | impl ::core::marker::Copy for DEVMODEA_0 {} | |
1679 | #[cfg(feature = "Win32_Foundation")] | |
1680 | impl ::core::clone::Clone for DEVMODEA_0 { | |
1681 | fn clone(&self) -> Self { | |
1682 | *self | |
1683 | } | |
1684 | } | |
1685 | #[repr(C)] | |
04454e1e | 1686 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1687 | #[cfg(feature = "Win32_Foundation")] |
1688 | pub struct DEVMODEA_0_0 { | |
1689 | pub dmOrientation: i16, | |
1690 | pub dmPaperSize: i16, | |
1691 | pub dmPaperLength: i16, | |
1692 | pub dmPaperWidth: i16, | |
1693 | pub dmScale: i16, | |
1694 | pub dmCopies: i16, | |
1695 | pub dmDefaultSource: i16, | |
1696 | pub dmPrintQuality: i16, | |
1697 | } | |
1698 | #[cfg(feature = "Win32_Foundation")] | |
1699 | impl ::core::marker::Copy for DEVMODEA_0_0 {} | |
1700 | #[cfg(feature = "Win32_Foundation")] | |
1701 | impl ::core::clone::Clone for DEVMODEA_0_0 { | |
1702 | fn clone(&self) -> Self { | |
1703 | *self | |
1704 | } | |
1705 | } | |
1706 | #[repr(C)] | |
04454e1e | 1707 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1708 | #[cfg(feature = "Win32_Foundation")] |
1709 | pub struct DEVMODEA_0_1 { | |
1710 | pub dmPosition: super::super::Foundation::POINTL, | |
1711 | pub dmDisplayOrientation: u32, | |
1712 | pub dmDisplayFixedOutput: u32, | |
1713 | } | |
1714 | #[cfg(feature = "Win32_Foundation")] | |
1715 | impl ::core::marker::Copy for DEVMODEA_0_1 {} | |
1716 | #[cfg(feature = "Win32_Foundation")] | |
1717 | impl ::core::clone::Clone for DEVMODEA_0_1 { | |
1718 | fn clone(&self) -> Self { | |
1719 | *self | |
1720 | } | |
1721 | } | |
1722 | #[repr(C)] | |
04454e1e | 1723 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1724 | #[cfg(feature = "Win32_Foundation")] |
1725 | pub union DEVMODEA_1 { | |
1726 | pub dmDisplayFlags: u32, | |
1727 | pub dmNup: u32, | |
1728 | } | |
1729 | #[cfg(feature = "Win32_Foundation")] | |
1730 | impl ::core::marker::Copy for DEVMODEA_1 {} | |
1731 | #[cfg(feature = "Win32_Foundation")] | |
1732 | impl ::core::clone::Clone for DEVMODEA_1 { | |
1733 | fn clone(&self) -> Self { | |
1734 | *self | |
1735 | } | |
1736 | } | |
1737 | #[repr(C)] | |
04454e1e | 1738 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1739 | #[cfg(feature = "Win32_Foundation")] |
1740 | pub struct DEVMODEW { | |
1741 | pub dmDeviceName: [u16; 32], | |
1742 | pub dmSpecVersion: u16, | |
1743 | pub dmDriverVersion: u16, | |
1744 | pub dmSize: u16, | |
1745 | pub dmDriverExtra: u16, | |
1746 | pub dmFields: u32, | |
1747 | pub Anonymous1: DEVMODEW_0, | |
1748 | pub dmColor: i16, | |
1749 | pub dmDuplex: i16, | |
1750 | pub dmYResolution: i16, | |
1751 | pub dmTTOption: i16, | |
1752 | pub dmCollate: i16, | |
1753 | pub dmFormName: [u16; 32], | |
1754 | pub dmLogPixels: u16, | |
1755 | pub dmBitsPerPel: u32, | |
1756 | pub dmPelsWidth: u32, | |
1757 | pub dmPelsHeight: u32, | |
1758 | pub Anonymous2: DEVMODEW_1, | |
1759 | pub dmDisplayFrequency: u32, | |
1760 | pub dmICMMethod: u32, | |
1761 | pub dmICMIntent: u32, | |
1762 | pub dmMediaType: u32, | |
1763 | pub dmDitherType: u32, | |
1764 | pub dmReserved1: u32, | |
1765 | pub dmReserved2: u32, | |
1766 | pub dmPanningWidth: u32, | |
1767 | pub dmPanningHeight: u32, | |
1768 | } | |
1769 | #[cfg(feature = "Win32_Foundation")] | |
1770 | impl ::core::marker::Copy for DEVMODEW {} | |
1771 | #[cfg(feature = "Win32_Foundation")] | |
1772 | impl ::core::clone::Clone for DEVMODEW { | |
1773 | fn clone(&self) -> Self { | |
1774 | *self | |
1775 | } | |
1776 | } | |
1777 | #[repr(C)] | |
04454e1e | 1778 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1779 | #[cfg(feature = "Win32_Foundation")] |
1780 | pub union DEVMODEW_0 { | |
1781 | pub Anonymous1: DEVMODEW_0_0, | |
1782 | pub Anonymous2: DEVMODEW_0_1, | |
1783 | } | |
1784 | #[cfg(feature = "Win32_Foundation")] | |
1785 | impl ::core::marker::Copy for DEVMODEW_0 {} | |
1786 | #[cfg(feature = "Win32_Foundation")] | |
1787 | impl ::core::clone::Clone for DEVMODEW_0 { | |
1788 | fn clone(&self) -> Self { | |
1789 | *self | |
1790 | } | |
1791 | } | |
1792 | #[repr(C)] | |
04454e1e | 1793 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1794 | #[cfg(feature = "Win32_Foundation")] |
1795 | pub struct DEVMODEW_0_0 { | |
1796 | pub dmOrientation: i16, | |
1797 | pub dmPaperSize: i16, | |
1798 | pub dmPaperLength: i16, | |
1799 | pub dmPaperWidth: i16, | |
1800 | pub dmScale: i16, | |
1801 | pub dmCopies: i16, | |
1802 | pub dmDefaultSource: i16, | |
1803 | pub dmPrintQuality: i16, | |
1804 | } | |
1805 | #[cfg(feature = "Win32_Foundation")] | |
1806 | impl ::core::marker::Copy for DEVMODEW_0_0 {} | |
1807 | #[cfg(feature = "Win32_Foundation")] | |
1808 | impl ::core::clone::Clone for DEVMODEW_0_0 { | |
1809 | fn clone(&self) -> Self { | |
1810 | *self | |
1811 | } | |
1812 | } | |
1813 | #[repr(C)] | |
04454e1e | 1814 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1815 | #[cfg(feature = "Win32_Foundation")] |
1816 | pub struct DEVMODEW_0_1 { | |
1817 | pub dmPosition: super::super::Foundation::POINTL, | |
1818 | pub dmDisplayOrientation: u32, | |
1819 | pub dmDisplayFixedOutput: u32, | |
1820 | } | |
1821 | #[cfg(feature = "Win32_Foundation")] | |
1822 | impl ::core::marker::Copy for DEVMODEW_0_1 {} | |
1823 | #[cfg(feature = "Win32_Foundation")] | |
1824 | impl ::core::clone::Clone for DEVMODEW_0_1 { | |
1825 | fn clone(&self) -> Self { | |
1826 | *self | |
1827 | } | |
1828 | } | |
1829 | #[repr(C)] | |
04454e1e | 1830 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1831 | #[cfg(feature = "Win32_Foundation")] |
1832 | pub union DEVMODEW_1 { | |
1833 | pub dmDisplayFlags: u32, | |
1834 | pub dmNup: u32, | |
1835 | } | |
1836 | #[cfg(feature = "Win32_Foundation")] | |
1837 | impl ::core::marker::Copy for DEVMODEW_1 {} | |
1838 | #[cfg(feature = "Win32_Foundation")] | |
1839 | impl ::core::clone::Clone for DEVMODEW_1 { | |
1840 | fn clone(&self) -> Self { | |
1841 | *self | |
1842 | } | |
1843 | } | |
04454e1e | 1844 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1845 | pub type DFCS_STATE = u32; |
04454e1e | 1846 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1847 | pub const DFCS_CAPTIONCLOSE: DFCS_STATE = 0u32; |
04454e1e | 1848 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1849 | pub const DFCS_CAPTIONMIN: DFCS_STATE = 1u32; |
04454e1e | 1850 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1851 | pub const DFCS_CAPTIONMAX: DFCS_STATE = 2u32; |
04454e1e | 1852 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1853 | pub const DFCS_CAPTIONRESTORE: DFCS_STATE = 3u32; |
04454e1e | 1854 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1855 | pub const DFCS_CAPTIONHELP: DFCS_STATE = 4u32; |
04454e1e | 1856 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1857 | pub const DFCS_MENUARROW: DFCS_STATE = 0u32; |
04454e1e | 1858 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1859 | pub const DFCS_MENUCHECK: DFCS_STATE = 1u32; |
04454e1e | 1860 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1861 | pub const DFCS_MENUBULLET: DFCS_STATE = 2u32; |
04454e1e | 1862 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1863 | pub const DFCS_MENUARROWRIGHT: DFCS_STATE = 4u32; |
04454e1e | 1864 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1865 | pub const DFCS_SCROLLUP: DFCS_STATE = 0u32; |
04454e1e | 1866 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1867 | pub const DFCS_SCROLLDOWN: DFCS_STATE = 1u32; |
04454e1e | 1868 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1869 | pub const DFCS_SCROLLLEFT: DFCS_STATE = 2u32; |
04454e1e | 1870 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1871 | pub const DFCS_SCROLLRIGHT: DFCS_STATE = 3u32; |
04454e1e | 1872 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1873 | pub const DFCS_SCROLLCOMBOBOX: DFCS_STATE = 5u32; |
04454e1e | 1874 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1875 | pub const DFCS_SCROLLSIZEGRIP: DFCS_STATE = 8u32; |
04454e1e | 1876 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1877 | pub const DFCS_SCROLLSIZEGRIPRIGHT: DFCS_STATE = 16u32; |
04454e1e | 1878 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1879 | pub const DFCS_BUTTONCHECK: DFCS_STATE = 0u32; |
04454e1e | 1880 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1881 | pub const DFCS_BUTTONRADIOIMAGE: DFCS_STATE = 1u32; |
04454e1e | 1882 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1883 | pub const DFCS_BUTTONRADIOMASK: DFCS_STATE = 2u32; |
04454e1e | 1884 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1885 | pub const DFCS_BUTTONRADIO: DFCS_STATE = 4u32; |
04454e1e | 1886 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1887 | pub const DFCS_BUTTON3STATE: DFCS_STATE = 8u32; |
04454e1e | 1888 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1889 | pub const DFCS_BUTTONPUSH: DFCS_STATE = 16u32; |
04454e1e | 1890 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1891 | pub const DFCS_INACTIVE: DFCS_STATE = 256u32; |
04454e1e | 1892 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1893 | pub const DFCS_PUSHED: DFCS_STATE = 512u32; |
04454e1e | 1894 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1895 | pub const DFCS_CHECKED: DFCS_STATE = 1024u32; |
04454e1e | 1896 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1897 | pub const DFCS_TRANSPARENT: DFCS_STATE = 2048u32; |
04454e1e | 1898 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1899 | pub const DFCS_HOT: DFCS_STATE = 4096u32; |
04454e1e | 1900 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1901 | pub const DFCS_ADJUSTRECT: DFCS_STATE = 8192u32; |
04454e1e | 1902 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1903 | pub const DFCS_FLAT: DFCS_STATE = 16384u32; |
04454e1e | 1904 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1905 | pub const DFCS_MONO: DFCS_STATE = 32768u32; |
04454e1e | 1906 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1907 | pub type DFC_TYPE = u32; |
04454e1e | 1908 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1909 | pub const DFC_CAPTION: DFC_TYPE = 1u32; |
04454e1e | 1910 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1911 | pub const DFC_MENU: DFC_TYPE = 2u32; |
04454e1e | 1912 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1913 | pub const DFC_SCROLL: DFC_TYPE = 3u32; |
04454e1e | 1914 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1915 | pub const DFC_BUTTON: DFC_TYPE = 4u32; |
04454e1e | 1916 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1917 | pub const DFC_POPUPMENU: DFC_TYPE = 5u32; |
1918 | #[repr(C)] | |
04454e1e | 1919 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1920 | #[cfg(feature = "Win32_Foundation")] |
1921 | pub struct DIBSECTION { | |
1922 | pub dsBm: BITMAP, | |
1923 | pub dsBmih: BITMAPINFOHEADER, | |
1924 | pub dsBitfields: [u32; 3], | |
1925 | pub dshSection: super::super::Foundation::HANDLE, | |
1926 | pub dsOffset: u32, | |
1927 | } | |
1928 | #[cfg(feature = "Win32_Foundation")] | |
1929 | impl ::core::marker::Copy for DIBSECTION {} | |
1930 | #[cfg(feature = "Win32_Foundation")] | |
1931 | impl ::core::clone::Clone for DIBSECTION { | |
1932 | fn clone(&self) -> Self { | |
1933 | *self | |
1934 | } | |
1935 | } | |
04454e1e | 1936 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1937 | pub type DIB_USAGE = u32; |
04454e1e | 1938 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1939 | pub const DIB_RGB_COLORS: DIB_USAGE = 0u32; |
04454e1e | 1940 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1941 | pub const DIB_PAL_COLORS: DIB_USAGE = 1u32; |
04454e1e | 1942 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1943 | pub type DISPLAYCONFIG_COLOR_ENCODING = i32; |
04454e1e | 1944 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1945 | pub const DISPLAYCONFIG_COLOR_ENCODING_RGB: DISPLAYCONFIG_COLOR_ENCODING = 0i32; |
04454e1e | 1946 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1947 | pub const DISPLAYCONFIG_COLOR_ENCODING_YCBCR444: DISPLAYCONFIG_COLOR_ENCODING = 1i32; |
04454e1e | 1948 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1949 | pub const DISPLAYCONFIG_COLOR_ENCODING_YCBCR422: DISPLAYCONFIG_COLOR_ENCODING = 2i32; |
04454e1e | 1950 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1951 | pub const DISPLAYCONFIG_COLOR_ENCODING_YCBCR420: DISPLAYCONFIG_COLOR_ENCODING = 3i32; |
04454e1e | 1952 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1953 | pub const DISPLAYCONFIG_COLOR_ENCODING_INTENSITY: DISPLAYCONFIG_COLOR_ENCODING = 4i32; |
04454e1e | 1954 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1955 | pub const DISPLAYCONFIG_COLOR_ENCODING_FORCE_UINT32: DISPLAYCONFIG_COLOR_ENCODING = -1i32; |
04454e1e | 1956 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1957 | pub const DISPLAYCONFIG_MAXPATH: u32 = 1024u32; |
04454e1e | 1958 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1959 | pub const DISPLAYCONFIG_PATH_ACTIVE: u32 = 1u32; |
04454e1e | 1960 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1961 | pub const DISPLAYCONFIG_PATH_CLONE_GROUP_INVALID: u32 = 65535u32; |
04454e1e | 1962 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1963 | pub const DISPLAYCONFIG_PATH_DESKTOP_IMAGE_IDX_INVALID: u32 = 65535u32; |
04454e1e | 1964 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1965 | pub const DISPLAYCONFIG_PATH_MODE_IDX_INVALID: u32 = 4294967295u32; |
04454e1e | 1966 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1967 | pub const DISPLAYCONFIG_PATH_PREFERRED_UNSCALED: u32 = 4u32; |
04454e1e | 1968 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1969 | pub const DISPLAYCONFIG_PATH_SOURCE_MODE_IDX_INVALID: u32 = 65535u32; |
04454e1e | 1970 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1971 | pub const DISPLAYCONFIG_PATH_SUPPORT_VIRTUAL_MODE: u32 = 8u32; |
04454e1e | 1972 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1973 | pub const DISPLAYCONFIG_PATH_TARGET_MODE_IDX_INVALID: u32 = 65535u32; |
04454e1e | 1974 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1975 | pub const DISPLAYCONFIG_PATH_VALID_FLAGS: u32 = 29u32; |
04454e1e | 1976 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1977 | pub const DISPLAYCONFIG_SOURCE_IN_USE: u32 = 1u32; |
04454e1e | 1978 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1979 | pub const DISPLAYCONFIG_TARGET_FORCED_AVAILABILITY_BOOT: u32 = 4u32; |
04454e1e | 1980 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1981 | pub const DISPLAYCONFIG_TARGET_FORCED_AVAILABILITY_PATH: u32 = 8u32; |
04454e1e | 1982 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1983 | pub const DISPLAYCONFIG_TARGET_FORCED_AVAILABILITY_SYSTEM: u32 = 16u32; |
04454e1e | 1984 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1985 | pub const DISPLAYCONFIG_TARGET_FORCIBLE: u32 = 2u32; |
04454e1e | 1986 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 1987 | pub const DISPLAYCONFIG_TARGET_IN_USE: u32 = 1u32; |
04454e1e | 1988 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
1989 | pub const DISPLAYCONFIG_TARGET_IS_HMD: u32 = 32u32; |
1990 | #[repr(C)] | |
04454e1e | 1991 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1992 | #[cfg(feature = "Win32_Foundation")] |
1993 | pub struct DISPLAY_DEVICEA { | |
1994 | pub cb: u32, | |
1995 | pub DeviceName: [super::super::Foundation::CHAR; 32], | |
1996 | pub DeviceString: [super::super::Foundation::CHAR; 128], | |
1997 | pub StateFlags: u32, | |
1998 | pub DeviceID: [super::super::Foundation::CHAR; 128], | |
1999 | pub DeviceKey: [super::super::Foundation::CHAR; 128], | |
2000 | } | |
2001 | #[cfg(feature = "Win32_Foundation")] | |
2002 | impl ::core::marker::Copy for DISPLAY_DEVICEA {} | |
2003 | #[cfg(feature = "Win32_Foundation")] | |
2004 | impl ::core::clone::Clone for DISPLAY_DEVICEA { | |
2005 | fn clone(&self) -> Self { | |
2006 | *self | |
2007 | } | |
2008 | } | |
2009 | #[repr(C)] | |
04454e1e | 2010 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
2011 | pub struct DISPLAY_DEVICEW { |
2012 | pub cb: u32, | |
2013 | pub DeviceName: [u16; 32], | |
2014 | pub DeviceString: [u16; 128], | |
2015 | pub StateFlags: u32, | |
2016 | pub DeviceID: [u16; 128], | |
2017 | pub DeviceKey: [u16; 128], | |
2018 | } | |
2019 | impl ::core::marker::Copy for DISPLAY_DEVICEW {} | |
2020 | impl ::core::clone::Clone for DISPLAY_DEVICEW { | |
2021 | fn clone(&self) -> Self { | |
2022 | *self | |
2023 | } | |
2024 | } | |
04454e1e | 2025 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2026 | pub const DISPLAY_DEVICE_ACC_DRIVER: u32 = 64u32; |
04454e1e | 2027 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2028 | pub const DISPLAY_DEVICE_ACTIVE: u32 = 1u32; |
04454e1e | 2029 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2030 | pub const DISPLAY_DEVICE_ATTACHED: u32 = 2u32; |
04454e1e | 2031 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2032 | pub const DISPLAY_DEVICE_ATTACHED_TO_DESKTOP: u32 = 1u32; |
04454e1e | 2033 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2034 | pub const DISPLAY_DEVICE_DISCONNECT: u32 = 33554432u32; |
04454e1e | 2035 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2036 | pub const DISPLAY_DEVICE_MIRRORING_DRIVER: u32 = 8u32; |
04454e1e | 2037 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2038 | pub const DISPLAY_DEVICE_MODESPRUNED: u32 = 134217728u32; |
04454e1e | 2039 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2040 | pub const DISPLAY_DEVICE_MULTI_DRIVER: u32 = 2u32; |
04454e1e | 2041 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2042 | pub const DISPLAY_DEVICE_PRIMARY_DEVICE: u32 = 4u32; |
04454e1e | 2043 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2044 | pub const DISPLAY_DEVICE_RDPUDD: u32 = 16777216u32; |
04454e1e | 2045 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2046 | pub const DISPLAY_DEVICE_REMOTE: u32 = 67108864u32; |
04454e1e | 2047 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2048 | pub const DISPLAY_DEVICE_REMOVABLE: u32 = 32u32; |
04454e1e | 2049 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2050 | pub const DISPLAY_DEVICE_TS_COMPATIBLE: u32 = 2097152u32; |
04454e1e | 2051 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2052 | pub const DISPLAY_DEVICE_UNSAFE_MODES_ON: u32 = 524288u32; |
04454e1e | 2053 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2054 | pub const DISPLAY_DEVICE_VGA_COMPATIBLE: u32 = 16u32; |
04454e1e | 2055 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2056 | pub type DISP_CHANGE = i32; |
04454e1e | 2057 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2058 | pub const DISP_CHANGE_SUCCESSFUL: DISP_CHANGE = 0i32; |
04454e1e | 2059 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2060 | pub const DISP_CHANGE_RESTART: DISP_CHANGE = 1i32; |
04454e1e | 2061 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2062 | pub const DISP_CHANGE_FAILED: DISP_CHANGE = -1i32; |
04454e1e | 2063 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2064 | pub const DISP_CHANGE_BADMODE: DISP_CHANGE = -2i32; |
04454e1e | 2065 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2066 | pub const DISP_CHANGE_NOTUPDATED: DISP_CHANGE = -3i32; |
04454e1e | 2067 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2068 | pub const DISP_CHANGE_BADFLAGS: DISP_CHANGE = -4i32; |
04454e1e | 2069 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2070 | pub const DISP_CHANGE_BADPARAM: DISP_CHANGE = -5i32; |
04454e1e | 2071 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2072 | pub const DISP_CHANGE_BADDUALVIEW: DISP_CHANGE = -6i32; |
04454e1e | 2073 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2074 | pub const DI_APPBANDING: u32 = 1u32; |
04454e1e | 2075 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2076 | pub const DI_ROPS_READ_DESTINATION: u32 = 2u32; |
04454e1e | 2077 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2078 | pub const DMBIN_AUTO: u32 = 7u32; |
04454e1e | 2079 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2080 | pub const DMBIN_CASSETTE: u32 = 14u32; |
04454e1e | 2081 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2082 | pub const DMBIN_ENVELOPE: u32 = 5u32; |
04454e1e | 2083 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2084 | pub const DMBIN_ENVMANUAL: u32 = 6u32; |
04454e1e | 2085 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2086 | pub const DMBIN_FORMSOURCE: u32 = 15u32; |
04454e1e | 2087 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2088 | pub const DMBIN_LARGECAPACITY: u32 = 11u32; |
04454e1e | 2089 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2090 | pub const DMBIN_LARGEFMT: u32 = 10u32; |
04454e1e | 2091 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2092 | pub const DMBIN_LAST: u32 = 15u32; |
04454e1e | 2093 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2094 | pub const DMBIN_LOWER: u32 = 2u32; |
04454e1e | 2095 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2096 | pub const DMBIN_MANUAL: u32 = 4u32; |
04454e1e | 2097 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2098 | pub const DMBIN_MIDDLE: u32 = 3u32; |
04454e1e | 2099 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2100 | pub const DMBIN_ONLYONE: u32 = 1u32; |
04454e1e | 2101 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2102 | pub const DMBIN_SMALLFMT: u32 = 9u32; |
04454e1e | 2103 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2104 | pub const DMBIN_TRACTOR: u32 = 8u32; |
04454e1e | 2105 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2106 | pub const DMBIN_UPPER: u32 = 1u32; |
04454e1e | 2107 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2108 | pub const DMBIN_USER: u32 = 256u32; |
04454e1e | 2109 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2110 | pub const DMCOLLATE_FALSE: u32 = 0u32; |
04454e1e | 2111 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2112 | pub const DMCOLLATE_TRUE: u32 = 1u32; |
04454e1e | 2113 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2114 | pub const DMCOLOR_COLOR: u32 = 2u32; |
04454e1e | 2115 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2116 | pub const DMCOLOR_MONOCHROME: u32 = 1u32; |
04454e1e | 2117 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2118 | pub const DMDFO_CENTER: u32 = 2u32; |
04454e1e | 2119 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2120 | pub const DMDFO_DEFAULT: u32 = 0u32; |
04454e1e | 2121 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2122 | pub const DMDFO_STRETCH: u32 = 1u32; |
04454e1e | 2123 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2124 | pub const DMDISPLAYFLAGS_TEXTMODE: u32 = 4u32; |
04454e1e | 2125 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2126 | pub const DMDITHER_COARSE: u32 = 2u32; |
04454e1e | 2127 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2128 | pub const DMDITHER_ERRORDIFFUSION: u32 = 5u32; |
04454e1e | 2129 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2130 | pub const DMDITHER_FINE: u32 = 3u32; |
04454e1e | 2131 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2132 | pub const DMDITHER_GRAYSCALE: u32 = 10u32; |
04454e1e | 2133 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2134 | pub const DMDITHER_LINEART: u32 = 4u32; |
04454e1e | 2135 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2136 | pub const DMDITHER_NONE: u32 = 1u32; |
04454e1e | 2137 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2138 | pub const DMDITHER_RESERVED6: u32 = 6u32; |
04454e1e | 2139 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2140 | pub const DMDITHER_RESERVED7: u32 = 7u32; |
04454e1e | 2141 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2142 | pub const DMDITHER_RESERVED8: u32 = 8u32; |
04454e1e | 2143 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2144 | pub const DMDITHER_RESERVED9: u32 = 9u32; |
04454e1e | 2145 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2146 | pub const DMDITHER_USER: u32 = 256u32; |
04454e1e | 2147 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2148 | pub const DMDO_180: u32 = 2u32; |
04454e1e | 2149 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2150 | pub const DMDO_270: u32 = 3u32; |
04454e1e | 2151 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2152 | pub const DMDO_90: u32 = 1u32; |
04454e1e | 2153 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2154 | pub const DMDO_DEFAULT: u32 = 0u32; |
04454e1e | 2155 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2156 | pub const DMDUP_HORIZONTAL: u32 = 3u32; |
04454e1e | 2157 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2158 | pub const DMDUP_SIMPLEX: u32 = 1u32; |
04454e1e | 2159 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2160 | pub const DMDUP_VERTICAL: u32 = 2u32; |
04454e1e | 2161 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2162 | pub const DMICMMETHOD_DEVICE: u32 = 4u32; |
04454e1e | 2163 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2164 | pub const DMICMMETHOD_DRIVER: u32 = 3u32; |
04454e1e | 2165 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2166 | pub const DMICMMETHOD_NONE: u32 = 1u32; |
04454e1e | 2167 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2168 | pub const DMICMMETHOD_SYSTEM: u32 = 2u32; |
04454e1e | 2169 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2170 | pub const DMICMMETHOD_USER: u32 = 256u32; |
04454e1e | 2171 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2172 | pub const DMICM_ABS_COLORIMETRIC: u32 = 4u32; |
04454e1e | 2173 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2174 | pub const DMICM_COLORIMETRIC: u32 = 3u32; |
04454e1e | 2175 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2176 | pub const DMICM_CONTRAST: u32 = 2u32; |
04454e1e | 2177 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2178 | pub const DMICM_SATURATE: u32 = 1u32; |
04454e1e | 2179 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2180 | pub const DMICM_USER: u32 = 256u32; |
04454e1e | 2181 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2182 | pub const DMMEDIA_GLOSSY: u32 = 3u32; |
04454e1e | 2183 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2184 | pub const DMMEDIA_STANDARD: u32 = 1u32; |
04454e1e | 2185 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2186 | pub const DMMEDIA_TRANSPARENCY: u32 = 2u32; |
04454e1e | 2187 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2188 | pub const DMMEDIA_USER: u32 = 256u32; |
04454e1e | 2189 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2190 | pub const DMNUP_ONEUP: u32 = 2u32; |
04454e1e | 2191 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2192 | pub const DMNUP_SYSTEM: u32 = 1u32; |
04454e1e | 2193 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2194 | pub const DMORIENT_LANDSCAPE: u32 = 2u32; |
04454e1e | 2195 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2196 | pub const DMORIENT_PORTRAIT: u32 = 1u32; |
04454e1e | 2197 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2198 | pub const DMPAPER_10X11: u32 = 45u32; |
04454e1e | 2199 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2200 | pub const DMPAPER_10X14: u32 = 16u32; |
04454e1e | 2201 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2202 | pub const DMPAPER_11X17: u32 = 17u32; |
04454e1e | 2203 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2204 | pub const DMPAPER_12X11: u32 = 90u32; |
04454e1e | 2205 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2206 | pub const DMPAPER_15X11: u32 = 46u32; |
04454e1e | 2207 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2208 | pub const DMPAPER_9X11: u32 = 44u32; |
04454e1e | 2209 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2210 | pub const DMPAPER_A2: u32 = 66u32; |
04454e1e | 2211 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2212 | pub const DMPAPER_A3: u32 = 8u32; |
04454e1e | 2213 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2214 | pub const DMPAPER_A3_EXTRA: u32 = 63u32; |
04454e1e | 2215 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2216 | pub const DMPAPER_A3_EXTRA_TRANSVERSE: u32 = 68u32; |
04454e1e | 2217 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2218 | pub const DMPAPER_A3_ROTATED: u32 = 76u32; |
04454e1e | 2219 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2220 | pub const DMPAPER_A3_TRANSVERSE: u32 = 67u32; |
04454e1e | 2221 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2222 | pub const DMPAPER_A4: u32 = 9u32; |
04454e1e | 2223 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2224 | pub const DMPAPER_A4SMALL: u32 = 10u32; |
04454e1e | 2225 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2226 | pub const DMPAPER_A4_EXTRA: u32 = 53u32; |
04454e1e | 2227 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2228 | pub const DMPAPER_A4_PLUS: u32 = 60u32; |
04454e1e | 2229 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2230 | pub const DMPAPER_A4_ROTATED: u32 = 77u32; |
04454e1e | 2231 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2232 | pub const DMPAPER_A4_TRANSVERSE: u32 = 55u32; |
04454e1e | 2233 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2234 | pub const DMPAPER_A5: u32 = 11u32; |
04454e1e | 2235 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2236 | pub const DMPAPER_A5_EXTRA: u32 = 64u32; |
04454e1e | 2237 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2238 | pub const DMPAPER_A5_ROTATED: u32 = 78u32; |
04454e1e | 2239 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2240 | pub const DMPAPER_A5_TRANSVERSE: u32 = 61u32; |
04454e1e | 2241 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2242 | pub const DMPAPER_A6: u32 = 70u32; |
04454e1e | 2243 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2244 | pub const DMPAPER_A6_ROTATED: u32 = 83u32; |
04454e1e | 2245 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2246 | pub const DMPAPER_A_PLUS: u32 = 57u32; |
04454e1e | 2247 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2248 | pub const DMPAPER_B4: u32 = 12u32; |
04454e1e | 2249 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2250 | pub const DMPAPER_B4_JIS_ROTATED: u32 = 79u32; |
04454e1e | 2251 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2252 | pub const DMPAPER_B5: u32 = 13u32; |
04454e1e | 2253 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2254 | pub const DMPAPER_B5_EXTRA: u32 = 65u32; |
04454e1e | 2255 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2256 | pub const DMPAPER_B5_JIS_ROTATED: u32 = 80u32; |
04454e1e | 2257 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2258 | pub const DMPAPER_B5_TRANSVERSE: u32 = 62u32; |
04454e1e | 2259 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2260 | pub const DMPAPER_B6_JIS: u32 = 88u32; |
04454e1e | 2261 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2262 | pub const DMPAPER_B6_JIS_ROTATED: u32 = 89u32; |
04454e1e | 2263 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2264 | pub const DMPAPER_B_PLUS: u32 = 58u32; |
04454e1e | 2265 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2266 | pub const DMPAPER_CSHEET: u32 = 24u32; |
04454e1e | 2267 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2268 | pub const DMPAPER_DBL_JAPANESE_POSTCARD: u32 = 69u32; |
04454e1e | 2269 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2270 | pub const DMPAPER_DBL_JAPANESE_POSTCARD_ROTATED: u32 = 82u32; |
04454e1e | 2271 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2272 | pub const DMPAPER_DSHEET: u32 = 25u32; |
04454e1e | 2273 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2274 | pub const DMPAPER_ENV_10: u32 = 20u32; |
04454e1e | 2275 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2276 | pub const DMPAPER_ENV_11: u32 = 21u32; |
04454e1e | 2277 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2278 | pub const DMPAPER_ENV_12: u32 = 22u32; |
04454e1e | 2279 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2280 | pub const DMPAPER_ENV_14: u32 = 23u32; |
04454e1e | 2281 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2282 | pub const DMPAPER_ENV_9: u32 = 19u32; |
04454e1e | 2283 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2284 | pub const DMPAPER_ENV_B4: u32 = 33u32; |
04454e1e | 2285 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2286 | pub const DMPAPER_ENV_B5: u32 = 34u32; |
04454e1e | 2287 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2288 | pub const DMPAPER_ENV_B6: u32 = 35u32; |
04454e1e | 2289 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2290 | pub const DMPAPER_ENV_C3: u32 = 29u32; |
04454e1e | 2291 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2292 | pub const DMPAPER_ENV_C4: u32 = 30u32; |
04454e1e | 2293 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2294 | pub const DMPAPER_ENV_C5: u32 = 28u32; |
04454e1e | 2295 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2296 | pub const DMPAPER_ENV_C6: u32 = 31u32; |
04454e1e | 2297 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2298 | pub const DMPAPER_ENV_C65: u32 = 32u32; |
04454e1e | 2299 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2300 | pub const DMPAPER_ENV_DL: u32 = 27u32; |
04454e1e | 2301 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2302 | pub const DMPAPER_ENV_INVITE: u32 = 47u32; |
04454e1e | 2303 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2304 | pub const DMPAPER_ENV_ITALY: u32 = 36u32; |
04454e1e | 2305 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2306 | pub const DMPAPER_ENV_MONARCH: u32 = 37u32; |
04454e1e | 2307 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2308 | pub const DMPAPER_ENV_PERSONAL: u32 = 38u32; |
04454e1e | 2309 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2310 | pub const DMPAPER_ESHEET: u32 = 26u32; |
04454e1e | 2311 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2312 | pub const DMPAPER_EXECUTIVE: u32 = 7u32; |
04454e1e | 2313 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2314 | pub const DMPAPER_FANFOLD_LGL_GERMAN: u32 = 41u32; |
04454e1e | 2315 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2316 | pub const DMPAPER_FANFOLD_STD_GERMAN: u32 = 40u32; |
04454e1e | 2317 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2318 | pub const DMPAPER_FANFOLD_US: u32 = 39u32; |
04454e1e | 2319 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2320 | pub const DMPAPER_FOLIO: u32 = 14u32; |
04454e1e | 2321 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2322 | pub const DMPAPER_ISO_B4: u32 = 42u32; |
04454e1e | 2323 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2324 | pub const DMPAPER_JAPANESE_POSTCARD: u32 = 43u32; |
04454e1e | 2325 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2326 | pub const DMPAPER_JAPANESE_POSTCARD_ROTATED: u32 = 81u32; |
04454e1e | 2327 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2328 | pub const DMPAPER_JENV_CHOU3: u32 = 73u32; |
04454e1e | 2329 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2330 | pub const DMPAPER_JENV_CHOU3_ROTATED: u32 = 86u32; |
04454e1e | 2331 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2332 | pub const DMPAPER_JENV_CHOU4: u32 = 74u32; |
04454e1e | 2333 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2334 | pub const DMPAPER_JENV_CHOU4_ROTATED: u32 = 87u32; |
04454e1e | 2335 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2336 | pub const DMPAPER_JENV_KAKU2: u32 = 71u32; |
04454e1e | 2337 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2338 | pub const DMPAPER_JENV_KAKU2_ROTATED: u32 = 84u32; |
04454e1e | 2339 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2340 | pub const DMPAPER_JENV_KAKU3: u32 = 72u32; |
04454e1e | 2341 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2342 | pub const DMPAPER_JENV_KAKU3_ROTATED: u32 = 85u32; |
04454e1e | 2343 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2344 | pub const DMPAPER_JENV_YOU4: u32 = 91u32; |
04454e1e | 2345 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2346 | pub const DMPAPER_JENV_YOU4_ROTATED: u32 = 92u32; |
04454e1e | 2347 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2348 | pub const DMPAPER_LAST: u32 = 118u32; |
04454e1e | 2349 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2350 | pub const DMPAPER_LEDGER: u32 = 4u32; |
04454e1e | 2351 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2352 | pub const DMPAPER_LEGAL: u32 = 5u32; |
04454e1e | 2353 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2354 | pub const DMPAPER_LEGAL_EXTRA: u32 = 51u32; |
04454e1e | 2355 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2356 | pub const DMPAPER_LETTER: u32 = 1u32; |
04454e1e | 2357 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2358 | pub const DMPAPER_LETTERSMALL: u32 = 2u32; |
04454e1e | 2359 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2360 | pub const DMPAPER_LETTER_EXTRA: u32 = 50u32; |
04454e1e | 2361 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2362 | pub const DMPAPER_LETTER_EXTRA_TRANSVERSE: u32 = 56u32; |
04454e1e | 2363 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2364 | pub const DMPAPER_LETTER_PLUS: u32 = 59u32; |
04454e1e | 2365 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2366 | pub const DMPAPER_LETTER_ROTATED: u32 = 75u32; |
04454e1e | 2367 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2368 | pub const DMPAPER_LETTER_TRANSVERSE: u32 = 54u32; |
04454e1e | 2369 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2370 | pub const DMPAPER_NOTE: u32 = 18u32; |
04454e1e | 2371 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2372 | pub const DMPAPER_P16K: u32 = 93u32; |
04454e1e | 2373 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2374 | pub const DMPAPER_P16K_ROTATED: u32 = 106u32; |
04454e1e | 2375 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2376 | pub const DMPAPER_P32K: u32 = 94u32; |
04454e1e | 2377 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2378 | pub const DMPAPER_P32KBIG: u32 = 95u32; |
04454e1e | 2379 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2380 | pub const DMPAPER_P32KBIG_ROTATED: u32 = 108u32; |
04454e1e | 2381 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2382 | pub const DMPAPER_P32K_ROTATED: u32 = 107u32; |
04454e1e | 2383 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2384 | pub const DMPAPER_PENV_1: u32 = 96u32; |
04454e1e | 2385 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2386 | pub const DMPAPER_PENV_10: u32 = 105u32; |
04454e1e | 2387 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2388 | pub const DMPAPER_PENV_10_ROTATED: u32 = 118u32; |
04454e1e | 2389 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2390 | pub const DMPAPER_PENV_1_ROTATED: u32 = 109u32; |
04454e1e | 2391 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2392 | pub const DMPAPER_PENV_2: u32 = 97u32; |
04454e1e | 2393 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2394 | pub const DMPAPER_PENV_2_ROTATED: u32 = 110u32; |
04454e1e | 2395 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2396 | pub const DMPAPER_PENV_3: u32 = 98u32; |
04454e1e | 2397 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2398 | pub const DMPAPER_PENV_3_ROTATED: u32 = 111u32; |
04454e1e | 2399 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2400 | pub const DMPAPER_PENV_4: u32 = 99u32; |
04454e1e | 2401 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2402 | pub const DMPAPER_PENV_4_ROTATED: u32 = 112u32; |
04454e1e | 2403 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2404 | pub const DMPAPER_PENV_5: u32 = 100u32; |
04454e1e | 2405 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2406 | pub const DMPAPER_PENV_5_ROTATED: u32 = 113u32; |
04454e1e | 2407 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2408 | pub const DMPAPER_PENV_6: u32 = 101u32; |
04454e1e | 2409 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2410 | pub const DMPAPER_PENV_6_ROTATED: u32 = 114u32; |
04454e1e | 2411 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2412 | pub const DMPAPER_PENV_7: u32 = 102u32; |
04454e1e | 2413 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2414 | pub const DMPAPER_PENV_7_ROTATED: u32 = 115u32; |
04454e1e | 2415 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2416 | pub const DMPAPER_PENV_8: u32 = 103u32; |
04454e1e | 2417 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2418 | pub const DMPAPER_PENV_8_ROTATED: u32 = 116u32; |
04454e1e | 2419 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2420 | pub const DMPAPER_PENV_9: u32 = 104u32; |
04454e1e | 2421 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2422 | pub const DMPAPER_PENV_9_ROTATED: u32 = 117u32; |
04454e1e | 2423 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2424 | pub const DMPAPER_QUARTO: u32 = 15u32; |
04454e1e | 2425 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2426 | pub const DMPAPER_RESERVED_48: u32 = 48u32; |
04454e1e | 2427 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2428 | pub const DMPAPER_RESERVED_49: u32 = 49u32; |
04454e1e | 2429 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2430 | pub const DMPAPER_STATEMENT: u32 = 6u32; |
04454e1e | 2431 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2432 | pub const DMPAPER_TABLOID: u32 = 3u32; |
04454e1e | 2433 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2434 | pub const DMPAPER_TABLOID_EXTRA: u32 = 52u32; |
04454e1e | 2435 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2436 | pub const DMPAPER_USER: u32 = 256u32; |
04454e1e | 2437 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2438 | pub const DMRES_DRAFT: i32 = -1i32; |
04454e1e | 2439 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2440 | pub const DMRES_HIGH: i32 = -4i32; |
04454e1e | 2441 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2442 | pub const DMRES_LOW: i32 = -2i32; |
04454e1e | 2443 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2444 | pub const DMRES_MEDIUM: i32 = -3i32; |
04454e1e | 2445 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2446 | pub const DMTT_BITMAP: u32 = 1u32; |
04454e1e | 2447 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2448 | pub const DMTT_DOWNLOAD: u32 = 2u32; |
04454e1e | 2449 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2450 | pub const DMTT_DOWNLOAD_OUTLINE: u32 = 4u32; |
04454e1e | 2451 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2452 | pub const DMTT_SUBDEV: u32 = 3u32; |
04454e1e | 2453 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2454 | pub const DM_BITSPERPEL: i32 = 262144i32; |
04454e1e | 2455 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2456 | pub const DM_COLLATE: i32 = 32768i32; |
04454e1e | 2457 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2458 | pub const DM_COLOR: i32 = 2048i32; |
04454e1e | 2459 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2460 | pub const DM_COPIES: i32 = 256i32; |
04454e1e | 2461 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2462 | pub const DM_DEFAULTSOURCE: i32 = 512i32; |
04454e1e | 2463 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2464 | pub const DM_DISPLAYFIXEDOUTPUT: i32 = 536870912i32; |
04454e1e | 2465 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2466 | pub const DM_DISPLAYFLAGS: i32 = 2097152i32; |
04454e1e | 2467 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2468 | pub const DM_DISPLAYFREQUENCY: i32 = 4194304i32; |
04454e1e | 2469 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2470 | pub const DM_DISPLAYORIENTATION: i32 = 128i32; |
04454e1e | 2471 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2472 | pub const DM_DITHERTYPE: i32 = 67108864i32; |
04454e1e | 2473 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2474 | pub const DM_DUPLEX: i32 = 4096i32; |
04454e1e | 2475 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2476 | pub const DM_FORMNAME: i32 = 65536i32; |
04454e1e | 2477 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2478 | pub const DM_ICMINTENT: i32 = 16777216i32; |
04454e1e | 2479 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2480 | pub const DM_ICMMETHOD: i32 = 8388608i32; |
04454e1e | 2481 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2482 | pub const DM_INTERLACED: u32 = 2u32; |
04454e1e | 2483 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2484 | pub const DM_LOGPIXELS: i32 = 131072i32; |
04454e1e | 2485 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2486 | pub const DM_MEDIATYPE: i32 = 33554432i32; |
04454e1e | 2487 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2488 | pub const DM_NUP: i32 = 64i32; |
04454e1e | 2489 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2490 | pub const DM_ORIENTATION: i32 = 1i32; |
04454e1e | 2491 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2492 | pub const DM_PANNINGHEIGHT: i32 = 268435456i32; |
04454e1e | 2493 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2494 | pub const DM_PANNINGWIDTH: i32 = 134217728i32; |
04454e1e | 2495 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2496 | pub const DM_PAPERLENGTH: i32 = 4i32; |
04454e1e | 2497 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2498 | pub const DM_PAPERSIZE: i32 = 2i32; |
04454e1e | 2499 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2500 | pub const DM_PAPERWIDTH: i32 = 8i32; |
04454e1e | 2501 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2502 | pub const DM_PELSHEIGHT: i32 = 1048576i32; |
04454e1e | 2503 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2504 | pub const DM_PELSWIDTH: i32 = 524288i32; |
04454e1e | 2505 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2506 | pub const DM_POSITION: i32 = 32i32; |
04454e1e | 2507 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2508 | pub const DM_PRINTQUALITY: i32 = 1024i32; |
04454e1e | 2509 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2510 | pub const DM_SCALE: i32 = 16i32; |
04454e1e | 2511 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2512 | pub const DM_SPECVERSION: u32 = 1025u32; |
04454e1e | 2513 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2514 | pub const DM_TTOPTION: i32 = 16384i32; |
04454e1e | 2515 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2516 | pub const DM_YRESOLUTION: i32 = 8192i32; |
04454e1e | 2517 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2518 | pub const DOWNLOADFACE: u32 = 514u32; |
04454e1e | 2519 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2520 | pub const DOWNLOADHEADER: u32 = 4111u32; |
04454e1e | 2521 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2522 | pub const DRAFTMODE: u32 = 7u32; |
04454e1e | 2523 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2524 | pub type DRAWEDGE_FLAGS = u32; |
04454e1e | 2525 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2526 | pub const BDR_RAISEDOUTER: DRAWEDGE_FLAGS = 1u32; |
04454e1e | 2527 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2528 | pub const BDR_SUNKENOUTER: DRAWEDGE_FLAGS = 2u32; |
04454e1e | 2529 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2530 | pub const BDR_RAISEDINNER: DRAWEDGE_FLAGS = 4u32; |
04454e1e | 2531 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2532 | pub const BDR_SUNKENINNER: DRAWEDGE_FLAGS = 8u32; |
04454e1e | 2533 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2534 | pub const BDR_OUTER: DRAWEDGE_FLAGS = 3u32; |
04454e1e | 2535 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2536 | pub const BDR_INNER: DRAWEDGE_FLAGS = 12u32; |
04454e1e | 2537 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2538 | pub const BDR_RAISED: DRAWEDGE_FLAGS = 5u32; |
04454e1e | 2539 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2540 | pub const BDR_SUNKEN: DRAWEDGE_FLAGS = 10u32; |
04454e1e | 2541 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2542 | pub const EDGE_RAISED: DRAWEDGE_FLAGS = 5u32; |
04454e1e | 2543 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2544 | pub const EDGE_SUNKEN: DRAWEDGE_FLAGS = 10u32; |
04454e1e | 2545 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2546 | pub const EDGE_ETCHED: DRAWEDGE_FLAGS = 6u32; |
04454e1e | 2547 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2548 | pub const EDGE_BUMP: DRAWEDGE_FLAGS = 9u32; |
04454e1e | 2549 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2550 | pub const DRAWPATTERNRECT: u32 = 25u32; |
04454e1e | 2551 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2552 | #[cfg(feature = "Win32_Foundation")] |
2553 | pub type DRAWSTATEPROC = ::core::option::Option<unsafe extern "system" fn(hdc: HDC, ldata: super::super::Foundation::LPARAM, wdata: super::super::Foundation::WPARAM, cx: i32, cy: i32) -> super::super::Foundation::BOOL>; | |
04454e1e | 2554 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2555 | pub type DRAWSTATE_FLAGS = u32; |
04454e1e | 2556 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2557 | pub const DST_COMPLEX: DRAWSTATE_FLAGS = 0u32; |
04454e1e | 2558 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2559 | pub const DST_TEXT: DRAWSTATE_FLAGS = 1u32; |
04454e1e | 2560 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2561 | pub const DST_PREFIXTEXT: DRAWSTATE_FLAGS = 2u32; |
04454e1e | 2562 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2563 | pub const DST_ICON: DRAWSTATE_FLAGS = 3u32; |
04454e1e | 2564 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2565 | pub const DST_BITMAP: DRAWSTATE_FLAGS = 4u32; |
04454e1e | 2566 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2567 | pub const DSS_NORMAL: DRAWSTATE_FLAGS = 0u32; |
04454e1e | 2568 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2569 | pub const DSS_UNION: DRAWSTATE_FLAGS = 16u32; |
04454e1e | 2570 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2571 | pub const DSS_DISABLED: DRAWSTATE_FLAGS = 32u32; |
04454e1e | 2572 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2573 | pub const DSS_MONO: DRAWSTATE_FLAGS = 128u32; |
04454e1e | 2574 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2575 | pub const DSS_HIDEPREFIX: DRAWSTATE_FLAGS = 512u32; |
04454e1e | 2576 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2577 | pub const DSS_PREFIXONLY: DRAWSTATE_FLAGS = 1024u32; |
04454e1e | 2578 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
2579 | pub const DSS_RIGHT: DRAWSTATE_FLAGS = 32768u32; |
2580 | #[repr(C)] | |
04454e1e | 2581 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
2582 | pub struct DRAWTEXTPARAMS { |
2583 | pub cbSize: u32, | |
2584 | pub iTabLength: i32, | |
2585 | pub iLeftMargin: i32, | |
2586 | pub iRightMargin: i32, | |
2587 | pub uiLengthDrawn: u32, | |
2588 | } | |
2589 | impl ::core::marker::Copy for DRAWTEXTPARAMS {} | |
2590 | impl ::core::clone::Clone for DRAWTEXTPARAMS { | |
2591 | fn clone(&self) -> Self { | |
2592 | *self | |
2593 | } | |
2594 | } | |
04454e1e | 2595 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2596 | pub type DRAW_CAPTION_FLAGS = u32; |
04454e1e | 2597 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2598 | pub const DC_ACTIVE: DRAW_CAPTION_FLAGS = 1u32; |
04454e1e | 2599 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2600 | pub const DC_BUTTONS: DRAW_CAPTION_FLAGS = 4096u32; |
04454e1e | 2601 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2602 | pub const DC_GRADIENT: DRAW_CAPTION_FLAGS = 32u32; |
04454e1e | 2603 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2604 | pub const DC_ICON: DRAW_CAPTION_FLAGS = 4u32; |
04454e1e | 2605 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2606 | pub const DC_INBUTTON: DRAW_CAPTION_FLAGS = 16u32; |
04454e1e | 2607 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2608 | pub const DC_SMALLCAP: DRAW_CAPTION_FLAGS = 2u32; |
04454e1e | 2609 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2610 | pub const DC_TEXT: DRAW_CAPTION_FLAGS = 8u32; |
04454e1e | 2611 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2612 | pub type DRAW_EDGE_FLAGS = u32; |
04454e1e | 2613 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2614 | pub const BF_ADJUST: DRAW_EDGE_FLAGS = 8192u32; |
04454e1e | 2615 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2616 | pub const BF_BOTTOM: DRAW_EDGE_FLAGS = 8u32; |
04454e1e | 2617 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2618 | pub const BF_BOTTOMLEFT: DRAW_EDGE_FLAGS = 9u32; |
04454e1e | 2619 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2620 | pub const BF_BOTTOMRIGHT: DRAW_EDGE_FLAGS = 12u32; |
04454e1e | 2621 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2622 | pub const BF_DIAGONAL: DRAW_EDGE_FLAGS = 16u32; |
04454e1e | 2623 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2624 | pub const BF_DIAGONAL_ENDBOTTOMLEFT: DRAW_EDGE_FLAGS = 25u32; |
04454e1e | 2625 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2626 | pub const BF_DIAGONAL_ENDBOTTOMRIGHT: DRAW_EDGE_FLAGS = 28u32; |
04454e1e | 2627 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2628 | pub const BF_DIAGONAL_ENDTOPLEFT: DRAW_EDGE_FLAGS = 19u32; |
04454e1e | 2629 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2630 | pub const BF_DIAGONAL_ENDTOPRIGHT: DRAW_EDGE_FLAGS = 22u32; |
04454e1e | 2631 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2632 | pub const BF_FLAT: DRAW_EDGE_FLAGS = 16384u32; |
04454e1e | 2633 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2634 | pub const BF_LEFT: DRAW_EDGE_FLAGS = 1u32; |
04454e1e | 2635 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2636 | pub const BF_MIDDLE: DRAW_EDGE_FLAGS = 2048u32; |
04454e1e | 2637 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2638 | pub const BF_MONO: DRAW_EDGE_FLAGS = 32768u32; |
04454e1e | 2639 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2640 | pub const BF_RECT: DRAW_EDGE_FLAGS = 15u32; |
04454e1e | 2641 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2642 | pub const BF_RIGHT: DRAW_EDGE_FLAGS = 4u32; |
04454e1e | 2643 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2644 | pub const BF_SOFT: DRAW_EDGE_FLAGS = 4096u32; |
04454e1e | 2645 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2646 | pub const BF_TOP: DRAW_EDGE_FLAGS = 2u32; |
04454e1e | 2647 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2648 | pub const BF_TOPLEFT: DRAW_EDGE_FLAGS = 3u32; |
04454e1e | 2649 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2650 | pub const BF_TOPRIGHT: DRAW_EDGE_FLAGS = 6u32; |
04454e1e | 2651 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2652 | pub type DRAW_TEXT_FORMAT = u32; |
04454e1e | 2653 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2654 | pub const DT_BOTTOM: DRAW_TEXT_FORMAT = 8u32; |
04454e1e | 2655 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2656 | pub const DT_CALCRECT: DRAW_TEXT_FORMAT = 1024u32; |
04454e1e | 2657 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2658 | pub const DT_CENTER: DRAW_TEXT_FORMAT = 1u32; |
04454e1e | 2659 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2660 | pub const DT_EDITCONTROL: DRAW_TEXT_FORMAT = 8192u32; |
04454e1e | 2661 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2662 | pub const DT_END_ELLIPSIS: DRAW_TEXT_FORMAT = 32768u32; |
04454e1e | 2663 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2664 | pub const DT_EXPANDTABS: DRAW_TEXT_FORMAT = 64u32; |
04454e1e | 2665 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2666 | pub const DT_EXTERNALLEADING: DRAW_TEXT_FORMAT = 512u32; |
04454e1e | 2667 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2668 | pub const DT_HIDEPREFIX: DRAW_TEXT_FORMAT = 1048576u32; |
04454e1e | 2669 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2670 | pub const DT_INTERNAL: DRAW_TEXT_FORMAT = 4096u32; |
04454e1e | 2671 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2672 | pub const DT_LEFT: DRAW_TEXT_FORMAT = 0u32; |
04454e1e | 2673 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2674 | pub const DT_MODIFYSTRING: DRAW_TEXT_FORMAT = 65536u32; |
04454e1e | 2675 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2676 | pub const DT_NOCLIP: DRAW_TEXT_FORMAT = 256u32; |
04454e1e | 2677 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2678 | pub const DT_NOFULLWIDTHCHARBREAK: DRAW_TEXT_FORMAT = 524288u32; |
04454e1e | 2679 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2680 | pub const DT_NOPREFIX: DRAW_TEXT_FORMAT = 2048u32; |
04454e1e | 2681 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2682 | pub const DT_PATH_ELLIPSIS: DRAW_TEXT_FORMAT = 16384u32; |
04454e1e | 2683 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2684 | pub const DT_PREFIXONLY: DRAW_TEXT_FORMAT = 2097152u32; |
04454e1e | 2685 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2686 | pub const DT_RIGHT: DRAW_TEXT_FORMAT = 2u32; |
04454e1e | 2687 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2688 | pub const DT_RTLREADING: DRAW_TEXT_FORMAT = 131072u32; |
04454e1e | 2689 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2690 | pub const DT_SINGLELINE: DRAW_TEXT_FORMAT = 32u32; |
04454e1e | 2691 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2692 | pub const DT_TABSTOP: DRAW_TEXT_FORMAT = 128u32; |
04454e1e | 2693 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2694 | pub const DT_TOP: DRAW_TEXT_FORMAT = 0u32; |
04454e1e | 2695 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2696 | pub const DT_VCENTER: DRAW_TEXT_FORMAT = 4u32; |
04454e1e | 2697 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2698 | pub const DT_WORDBREAK: DRAW_TEXT_FORMAT = 16u32; |
04454e1e | 2699 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2700 | pub const DT_WORD_ELLIPSIS: DRAW_TEXT_FORMAT = 262144u32; |
04454e1e | 2701 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2702 | pub const DT_CHARSTREAM: u32 = 4u32; |
04454e1e | 2703 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2704 | pub const DT_DISPFILE: u32 = 6u32; |
04454e1e | 2705 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2706 | pub const DT_METAFILE: u32 = 5u32; |
04454e1e | 2707 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2708 | pub const DT_PLOTTER: u32 = 0u32; |
04454e1e | 2709 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2710 | pub const DT_RASCAMERA: u32 = 3u32; |
04454e1e | 2711 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2712 | pub const DT_RASDISPLAY: u32 = 1u32; |
04454e1e | 2713 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2714 | pub const DT_RASPRINTER: u32 = 2u32; |
04454e1e | 2715 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2716 | pub const EASTEUROPE_CHARSET: u32 = 238u32; |
04454e1e | 2717 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2718 | pub const ELF_CULTURE_LATIN: u32 = 0u32; |
04454e1e | 2719 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2720 | pub const ELF_VENDOR_SIZE: u32 = 4u32; |
04454e1e | 2721 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2722 | pub const ELF_VERSION: u32 = 0u32; |
04454e1e | 2723 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2724 | pub type EMBEDDED_FONT_PRIV_STATUS = u32; |
04454e1e | 2725 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2726 | pub const EMBED_PREVIEWPRINT: EMBEDDED_FONT_PRIV_STATUS = 1u32; |
04454e1e | 2727 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2728 | pub const EMBED_EDITABLE: EMBEDDED_FONT_PRIV_STATUS = 2u32; |
04454e1e | 2729 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2730 | pub const EMBED_INSTALLABLE: EMBEDDED_FONT_PRIV_STATUS = 3u32; |
04454e1e | 2731 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2732 | pub const EMBED_NOEMBEDDING: EMBEDDED_FONT_PRIV_STATUS = 4u32; |
04454e1e | 2733 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2734 | pub type EMBED_FONT_CHARSET = u32; |
04454e1e | 2735 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 2736 | pub const CHARSET_UNICODE: EMBED_FONT_CHARSET = 1u32; |
04454e1e | 2737 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
2738 | pub const CHARSET_SYMBOL: EMBED_FONT_CHARSET = 2u32; |
2739 | #[repr(C)] | |
04454e1e | 2740 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
2741 | pub struct EMR { |
2742 | pub iType: u32, | |
2743 | pub nSize: u32, | |
2744 | } | |
2745 | impl ::core::marker::Copy for EMR {} | |
2746 | impl ::core::clone::Clone for EMR { | |
2747 | fn clone(&self) -> Self { | |
2748 | *self | |
2749 | } | |
2750 | } | |
2751 | #[repr(C)] | |
04454e1e | 2752 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2753 | #[cfg(feature = "Win32_Foundation")] |
2754 | pub struct EMRALPHABLEND { | |
2755 | pub emr: EMR, | |
2756 | pub rclBounds: super::super::Foundation::RECTL, | |
2757 | pub xDest: i32, | |
2758 | pub yDest: i32, | |
2759 | pub cxDest: i32, | |
2760 | pub cyDest: i32, | |
2761 | pub dwRop: u32, | |
2762 | pub xSrc: i32, | |
2763 | pub ySrc: i32, | |
2764 | pub xformSrc: XFORM, | |
2765 | pub crBkColorSrc: u32, | |
2766 | pub iUsageSrc: u32, | |
2767 | pub offBmiSrc: u32, | |
2768 | pub cbBmiSrc: u32, | |
2769 | pub offBitsSrc: u32, | |
2770 | pub cbBitsSrc: u32, | |
2771 | pub cxSrc: i32, | |
2772 | pub cySrc: i32, | |
2773 | } | |
2774 | #[cfg(feature = "Win32_Foundation")] | |
2775 | impl ::core::marker::Copy for EMRALPHABLEND {} | |
2776 | #[cfg(feature = "Win32_Foundation")] | |
2777 | impl ::core::clone::Clone for EMRALPHABLEND { | |
2778 | fn clone(&self) -> Self { | |
2779 | *self | |
2780 | } | |
2781 | } | |
2782 | #[repr(C)] | |
04454e1e | 2783 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2784 | #[cfg(feature = "Win32_Foundation")] |
2785 | pub struct EMRANGLEARC { | |
2786 | pub emr: EMR, | |
2787 | pub ptlCenter: super::super::Foundation::POINTL, | |
2788 | pub nRadius: u32, | |
2789 | pub eStartAngle: f32, | |
2790 | pub eSweepAngle: f32, | |
2791 | } | |
2792 | #[cfg(feature = "Win32_Foundation")] | |
2793 | impl ::core::marker::Copy for EMRANGLEARC {} | |
2794 | #[cfg(feature = "Win32_Foundation")] | |
2795 | impl ::core::clone::Clone for EMRANGLEARC { | |
2796 | fn clone(&self) -> Self { | |
2797 | *self | |
2798 | } | |
2799 | } | |
2800 | #[repr(C)] | |
04454e1e | 2801 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2802 | #[cfg(feature = "Win32_Foundation")] |
2803 | pub struct EMRARC { | |
2804 | pub emr: EMR, | |
2805 | pub rclBox: super::super::Foundation::RECTL, | |
2806 | pub ptlStart: super::super::Foundation::POINTL, | |
2807 | pub ptlEnd: super::super::Foundation::POINTL, | |
2808 | } | |
2809 | #[cfg(feature = "Win32_Foundation")] | |
2810 | impl ::core::marker::Copy for EMRARC {} | |
2811 | #[cfg(feature = "Win32_Foundation")] | |
2812 | impl ::core::clone::Clone for EMRARC { | |
2813 | fn clone(&self) -> Self { | |
2814 | *self | |
2815 | } | |
2816 | } | |
2817 | #[repr(C)] | |
04454e1e | 2818 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2819 | #[cfg(feature = "Win32_Foundation")] |
2820 | pub struct EMRBITBLT { | |
2821 | pub emr: EMR, | |
2822 | pub rclBounds: super::super::Foundation::RECTL, | |
2823 | pub xDest: i32, | |
2824 | pub yDest: i32, | |
2825 | pub cxDest: i32, | |
2826 | pub cyDest: i32, | |
2827 | pub dwRop: u32, | |
2828 | pub xSrc: i32, | |
2829 | pub ySrc: i32, | |
2830 | pub xformSrc: XFORM, | |
2831 | pub crBkColorSrc: u32, | |
2832 | pub iUsageSrc: u32, | |
2833 | pub offBmiSrc: u32, | |
2834 | pub cbBmiSrc: u32, | |
2835 | pub offBitsSrc: u32, | |
2836 | pub cbBitsSrc: u32, | |
2837 | } | |
2838 | #[cfg(feature = "Win32_Foundation")] | |
2839 | impl ::core::marker::Copy for EMRBITBLT {} | |
2840 | #[cfg(feature = "Win32_Foundation")] | |
2841 | impl ::core::clone::Clone for EMRBITBLT { | |
2842 | fn clone(&self) -> Self { | |
2843 | *self | |
2844 | } | |
2845 | } | |
2846 | #[repr(C)] | |
04454e1e | 2847 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
2848 | pub struct EMRCREATEBRUSHINDIRECT { |
2849 | pub emr: EMR, | |
2850 | pub ihBrush: u32, | |
2851 | pub lb: LOGBRUSH32, | |
2852 | } | |
2853 | impl ::core::marker::Copy for EMRCREATEBRUSHINDIRECT {} | |
2854 | impl ::core::clone::Clone for EMRCREATEBRUSHINDIRECT { | |
2855 | fn clone(&self) -> Self { | |
2856 | *self | |
2857 | } | |
2858 | } | |
2859 | #[repr(C)] | |
04454e1e | 2860 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
2861 | pub struct EMRCREATEDIBPATTERNBRUSHPT { |
2862 | pub emr: EMR, | |
2863 | pub ihBrush: u32, | |
2864 | pub iUsage: u32, | |
2865 | pub offBmi: u32, | |
2866 | pub cbBmi: u32, | |
2867 | pub offBits: u32, | |
2868 | pub cbBits: u32, | |
2869 | } | |
2870 | impl ::core::marker::Copy for EMRCREATEDIBPATTERNBRUSHPT {} | |
2871 | impl ::core::clone::Clone for EMRCREATEDIBPATTERNBRUSHPT { | |
2872 | fn clone(&self) -> Self { | |
2873 | *self | |
2874 | } | |
2875 | } | |
2876 | #[repr(C)] | |
04454e1e | 2877 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
2878 | pub struct EMRCREATEMONOBRUSH { |
2879 | pub emr: EMR, | |
2880 | pub ihBrush: u32, | |
2881 | pub iUsage: u32, | |
2882 | pub offBmi: u32, | |
2883 | pub cbBmi: u32, | |
2884 | pub offBits: u32, | |
2885 | pub cbBits: u32, | |
2886 | } | |
2887 | impl ::core::marker::Copy for EMRCREATEMONOBRUSH {} | |
2888 | impl ::core::clone::Clone for EMRCREATEMONOBRUSH { | |
2889 | fn clone(&self) -> Self { | |
2890 | *self | |
2891 | } | |
2892 | } | |
2893 | #[repr(C)] | |
04454e1e | 2894 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
2895 | pub struct EMRCREATEPALETTE { |
2896 | pub emr: EMR, | |
2897 | pub ihPal: u32, | |
2898 | pub lgpl: LOGPALETTE, | |
2899 | } | |
2900 | impl ::core::marker::Copy for EMRCREATEPALETTE {} | |
2901 | impl ::core::clone::Clone for EMRCREATEPALETTE { | |
2902 | fn clone(&self) -> Self { | |
2903 | *self | |
2904 | } | |
2905 | } | |
2906 | #[repr(C)] | |
04454e1e | 2907 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2908 | #[cfg(feature = "Win32_Foundation")] |
2909 | pub struct EMRCREATEPEN { | |
2910 | pub emr: EMR, | |
2911 | pub ihPen: u32, | |
2912 | pub lopn: LOGPEN, | |
2913 | } | |
2914 | #[cfg(feature = "Win32_Foundation")] | |
2915 | impl ::core::marker::Copy for EMRCREATEPEN {} | |
2916 | #[cfg(feature = "Win32_Foundation")] | |
2917 | impl ::core::clone::Clone for EMRCREATEPEN { | |
2918 | fn clone(&self) -> Self { | |
2919 | *self | |
2920 | } | |
2921 | } | |
2922 | #[repr(C)] | |
04454e1e | 2923 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2924 | #[cfg(feature = "Win32_Foundation")] |
2925 | pub struct EMRELLIPSE { | |
2926 | pub emr: EMR, | |
2927 | pub rclBox: super::super::Foundation::RECTL, | |
2928 | } | |
2929 | #[cfg(feature = "Win32_Foundation")] | |
2930 | impl ::core::marker::Copy for EMRELLIPSE {} | |
2931 | #[cfg(feature = "Win32_Foundation")] | |
2932 | impl ::core::clone::Clone for EMRELLIPSE { | |
2933 | fn clone(&self) -> Self { | |
2934 | *self | |
2935 | } | |
2936 | } | |
2937 | #[repr(C)] | |
04454e1e | 2938 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
2939 | pub struct EMREOF { |
2940 | pub emr: EMR, | |
2941 | pub nPalEntries: u32, | |
2942 | pub offPalEntries: u32, | |
2943 | pub nSizeLast: u32, | |
2944 | } | |
2945 | impl ::core::marker::Copy for EMREOF {} | |
2946 | impl ::core::clone::Clone for EMREOF { | |
2947 | fn clone(&self) -> Self { | |
2948 | *self | |
2949 | } | |
2950 | } | |
2951 | #[repr(C)] | |
04454e1e | 2952 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2953 | #[cfg(feature = "Win32_Foundation")] |
2954 | pub struct EMREXCLUDECLIPRECT { | |
2955 | pub emr: EMR, | |
2956 | pub rclClip: super::super::Foundation::RECTL, | |
2957 | } | |
2958 | #[cfg(feature = "Win32_Foundation")] | |
2959 | impl ::core::marker::Copy for EMREXCLUDECLIPRECT {} | |
2960 | #[cfg(feature = "Win32_Foundation")] | |
2961 | impl ::core::clone::Clone for EMREXCLUDECLIPRECT { | |
2962 | fn clone(&self) -> Self { | |
2963 | *self | |
2964 | } | |
2965 | } | |
2966 | #[repr(C)] | |
04454e1e | 2967 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
2968 | pub struct EMREXTCREATEFONTINDIRECTW { |
2969 | pub emr: EMR, | |
2970 | pub ihFont: u32, | |
2971 | pub elfw: EXTLOGFONTW, | |
2972 | } | |
2973 | impl ::core::marker::Copy for EMREXTCREATEFONTINDIRECTW {} | |
2974 | impl ::core::clone::Clone for EMREXTCREATEFONTINDIRECTW { | |
2975 | fn clone(&self) -> Self { | |
2976 | *self | |
2977 | } | |
2978 | } | |
2979 | #[repr(C)] | |
04454e1e | 2980 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
2981 | pub struct EMREXTCREATEPEN { |
2982 | pub emr: EMR, | |
2983 | pub ihPen: u32, | |
2984 | pub offBmi: u32, | |
2985 | pub cbBmi: u32, | |
2986 | pub offBits: u32, | |
2987 | pub cbBits: u32, | |
2988 | pub elp: EXTLOGPEN32, | |
2989 | } | |
2990 | impl ::core::marker::Copy for EMREXTCREATEPEN {} | |
2991 | impl ::core::clone::Clone for EMREXTCREATEPEN { | |
2992 | fn clone(&self) -> Self { | |
2993 | *self | |
2994 | } | |
2995 | } | |
2996 | #[repr(C)] | |
04454e1e | 2997 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
2998 | pub struct EMREXTESCAPE { |
2999 | pub emr: EMR, | |
3000 | pub iEscape: i32, | |
3001 | pub cbEscData: i32, | |
3002 | pub EscData: [u8; 1], | |
3003 | } | |
3004 | impl ::core::marker::Copy for EMREXTESCAPE {} | |
3005 | impl ::core::clone::Clone for EMREXTESCAPE { | |
3006 | fn clone(&self) -> Self { | |
3007 | *self | |
3008 | } | |
3009 | } | |
3010 | #[repr(C)] | |
04454e1e | 3011 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3012 | #[cfg(feature = "Win32_Foundation")] |
3013 | pub struct EMREXTFLOODFILL { | |
3014 | pub emr: EMR, | |
3015 | pub ptlStart: super::super::Foundation::POINTL, | |
3016 | pub crColor: u32, | |
3017 | pub iMode: u32, | |
3018 | } | |
3019 | #[cfg(feature = "Win32_Foundation")] | |
3020 | impl ::core::marker::Copy for EMREXTFLOODFILL {} | |
3021 | #[cfg(feature = "Win32_Foundation")] | |
3022 | impl ::core::clone::Clone for EMREXTFLOODFILL { | |
3023 | fn clone(&self) -> Self { | |
3024 | *self | |
3025 | } | |
3026 | } | |
3027 | #[repr(C)] | |
04454e1e | 3028 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
3029 | pub struct EMREXTSELECTCLIPRGN { |
3030 | pub emr: EMR, | |
3031 | pub cbRgnData: u32, | |
3032 | pub iMode: u32, | |
3033 | pub RgnData: [u8; 1], | |
3034 | } | |
3035 | impl ::core::marker::Copy for EMREXTSELECTCLIPRGN {} | |
3036 | impl ::core::clone::Clone for EMREXTSELECTCLIPRGN { | |
3037 | fn clone(&self) -> Self { | |
3038 | *self | |
3039 | } | |
3040 | } | |
3041 | #[repr(C)] | |
04454e1e | 3042 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3043 | #[cfg(feature = "Win32_Foundation")] |
3044 | pub struct EMREXTTEXTOUTA { | |
3045 | pub emr: EMR, | |
3046 | pub rclBounds: super::super::Foundation::RECTL, | |
3047 | pub iGraphicsMode: u32, | |
3048 | pub exScale: f32, | |
3049 | pub eyScale: f32, | |
3050 | pub emrtext: EMRTEXT, | |
3051 | } | |
3052 | #[cfg(feature = "Win32_Foundation")] | |
3053 | impl ::core::marker::Copy for EMREXTTEXTOUTA {} | |
3054 | #[cfg(feature = "Win32_Foundation")] | |
3055 | impl ::core::clone::Clone for EMREXTTEXTOUTA { | |
3056 | fn clone(&self) -> Self { | |
3057 | *self | |
3058 | } | |
3059 | } | |
3060 | #[repr(C)] | |
04454e1e | 3061 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3062 | #[cfg(feature = "Win32_Foundation")] |
3063 | pub struct EMRFILLPATH { | |
3064 | pub emr: EMR, | |
3065 | pub rclBounds: super::super::Foundation::RECTL, | |
3066 | } | |
3067 | #[cfg(feature = "Win32_Foundation")] | |
3068 | impl ::core::marker::Copy for EMRFILLPATH {} | |
3069 | #[cfg(feature = "Win32_Foundation")] | |
3070 | impl ::core::clone::Clone for EMRFILLPATH { | |
3071 | fn clone(&self) -> Self { | |
3072 | *self | |
3073 | } | |
3074 | } | |
3075 | #[repr(C)] | |
04454e1e | 3076 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3077 | #[cfg(feature = "Win32_Foundation")] |
3078 | pub struct EMRFILLRGN { | |
3079 | pub emr: EMR, | |
3080 | pub rclBounds: super::super::Foundation::RECTL, | |
3081 | pub cbRgnData: u32, | |
3082 | pub ihBrush: u32, | |
3083 | pub RgnData: [u8; 1], | |
3084 | } | |
3085 | #[cfg(feature = "Win32_Foundation")] | |
3086 | impl ::core::marker::Copy for EMRFILLRGN {} | |
3087 | #[cfg(feature = "Win32_Foundation")] | |
3088 | impl ::core::clone::Clone for EMRFILLRGN { | |
3089 | fn clone(&self) -> Self { | |
3090 | *self | |
3091 | } | |
3092 | } | |
3093 | #[repr(C)] | |
04454e1e | 3094 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
3095 | pub struct EMRFORMAT { |
3096 | pub dSignature: u32, | |
3097 | pub nVersion: u32, | |
3098 | pub cbData: u32, | |
3099 | pub offData: u32, | |
3100 | } | |
3101 | impl ::core::marker::Copy for EMRFORMAT {} | |
3102 | impl ::core::clone::Clone for EMRFORMAT { | |
3103 | fn clone(&self) -> Self { | |
3104 | *self | |
3105 | } | |
3106 | } | |
3107 | #[repr(C)] | |
04454e1e | 3108 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3109 | #[cfg(feature = "Win32_Foundation")] |
3110 | pub struct EMRFRAMERGN { | |
3111 | pub emr: EMR, | |
3112 | pub rclBounds: super::super::Foundation::RECTL, | |
3113 | pub cbRgnData: u32, | |
3114 | pub ihBrush: u32, | |
3115 | pub szlStroke: super::super::Foundation::SIZE, | |
3116 | pub RgnData: [u8; 1], | |
3117 | } | |
3118 | #[cfg(feature = "Win32_Foundation")] | |
3119 | impl ::core::marker::Copy for EMRFRAMERGN {} | |
3120 | #[cfg(feature = "Win32_Foundation")] | |
3121 | impl ::core::clone::Clone for EMRFRAMERGN { | |
3122 | fn clone(&self) -> Self { | |
3123 | *self | |
3124 | } | |
3125 | } | |
3126 | #[repr(C)] | |
04454e1e | 3127 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
3128 | pub struct EMRGDICOMMENT { |
3129 | pub emr: EMR, | |
3130 | pub cbData: u32, | |
3131 | pub Data: [u8; 1], | |
3132 | } | |
3133 | impl ::core::marker::Copy for EMRGDICOMMENT {} | |
3134 | impl ::core::clone::Clone for EMRGDICOMMENT { | |
3135 | fn clone(&self) -> Self { | |
3136 | *self | |
3137 | } | |
3138 | } | |
3139 | #[repr(C)] | |
04454e1e | 3140 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3141 | #[cfg(feature = "Win32_Foundation")] |
3142 | pub struct EMRGLSBOUNDEDRECORD { | |
3143 | pub emr: EMR, | |
3144 | pub rclBounds: super::super::Foundation::RECTL, | |
3145 | pub cbData: u32, | |
3146 | pub Data: [u8; 1], | |
3147 | } | |
3148 | #[cfg(feature = "Win32_Foundation")] | |
3149 | impl ::core::marker::Copy for EMRGLSBOUNDEDRECORD {} | |
3150 | #[cfg(feature = "Win32_Foundation")] | |
3151 | impl ::core::clone::Clone for EMRGLSBOUNDEDRECORD { | |
3152 | fn clone(&self) -> Self { | |
3153 | *self | |
3154 | } | |
3155 | } | |
3156 | #[repr(C)] | |
04454e1e | 3157 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
3158 | pub struct EMRGLSRECORD { |
3159 | pub emr: EMR, | |
3160 | pub cbData: u32, | |
3161 | pub Data: [u8; 1], | |
3162 | } | |
3163 | impl ::core::marker::Copy for EMRGLSRECORD {} | |
3164 | impl ::core::clone::Clone for EMRGLSRECORD { | |
3165 | fn clone(&self) -> Self { | |
3166 | *self | |
3167 | } | |
3168 | } | |
3169 | #[repr(C)] | |
04454e1e | 3170 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3171 | #[cfg(feature = "Win32_Foundation")] |
3172 | pub struct EMRGRADIENTFILL { | |
3173 | pub emr: EMR, | |
3174 | pub rclBounds: super::super::Foundation::RECTL, | |
3175 | pub nVer: u32, | |
3176 | pub nTri: u32, | |
3177 | pub ulMode: GRADIENT_FILL, | |
3178 | pub Ver: [TRIVERTEX; 1], | |
3179 | } | |
3180 | #[cfg(feature = "Win32_Foundation")] | |
3181 | impl ::core::marker::Copy for EMRGRADIENTFILL {} | |
3182 | #[cfg(feature = "Win32_Foundation")] | |
3183 | impl ::core::clone::Clone for EMRGRADIENTFILL { | |
3184 | fn clone(&self) -> Self { | |
3185 | *self | |
3186 | } | |
3187 | } | |
3188 | #[repr(C)] | |
04454e1e | 3189 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3190 | #[cfg(feature = "Win32_Foundation")] |
3191 | pub struct EMRINVERTRGN { | |
3192 | pub emr: EMR, | |
3193 | pub rclBounds: super::super::Foundation::RECTL, | |
3194 | pub cbRgnData: u32, | |
3195 | pub RgnData: [u8; 1], | |
3196 | } | |
3197 | #[cfg(feature = "Win32_Foundation")] | |
3198 | impl ::core::marker::Copy for EMRINVERTRGN {} | |
3199 | #[cfg(feature = "Win32_Foundation")] | |
3200 | impl ::core::clone::Clone for EMRINVERTRGN { | |
3201 | fn clone(&self) -> Self { | |
3202 | *self | |
3203 | } | |
3204 | } | |
3205 | #[repr(C)] | |
04454e1e | 3206 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3207 | #[cfg(feature = "Win32_Foundation")] |
3208 | pub struct EMRLINETO { | |
3209 | pub emr: EMR, | |
3210 | pub ptl: super::super::Foundation::POINTL, | |
3211 | } | |
3212 | #[cfg(feature = "Win32_Foundation")] | |
3213 | impl ::core::marker::Copy for EMRLINETO {} | |
3214 | #[cfg(feature = "Win32_Foundation")] | |
3215 | impl ::core::clone::Clone for EMRLINETO { | |
3216 | fn clone(&self) -> Self { | |
3217 | *self | |
3218 | } | |
3219 | } | |
3220 | #[repr(C)] | |
04454e1e | 3221 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3222 | #[cfg(feature = "Win32_Foundation")] |
3223 | pub struct EMRMASKBLT { | |
3224 | pub emr: EMR, | |
3225 | pub rclBounds: super::super::Foundation::RECTL, | |
3226 | pub xDest: i32, | |
3227 | pub yDest: i32, | |
3228 | pub cxDest: i32, | |
3229 | pub cyDest: i32, | |
3230 | pub dwRop: u32, | |
3231 | pub xSrc: i32, | |
3232 | pub ySrc: i32, | |
3233 | pub xformSrc: XFORM, | |
3234 | pub crBkColorSrc: u32, | |
3235 | pub iUsageSrc: u32, | |
3236 | pub offBmiSrc: u32, | |
3237 | pub cbBmiSrc: u32, | |
3238 | pub offBitsSrc: u32, | |
3239 | pub cbBitsSrc: u32, | |
3240 | pub xMask: i32, | |
3241 | pub yMask: i32, | |
3242 | pub iUsageMask: u32, | |
3243 | pub offBmiMask: u32, | |
3244 | pub cbBmiMask: u32, | |
3245 | pub offBitsMask: u32, | |
3246 | pub cbBitsMask: u32, | |
3247 | } | |
3248 | #[cfg(feature = "Win32_Foundation")] | |
3249 | impl ::core::marker::Copy for EMRMASKBLT {} | |
3250 | #[cfg(feature = "Win32_Foundation")] | |
3251 | impl ::core::clone::Clone for EMRMASKBLT { | |
3252 | fn clone(&self) -> Self { | |
3253 | *self | |
3254 | } | |
3255 | } | |
3256 | #[repr(C)] | |
04454e1e | 3257 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
3258 | pub struct EMRMODIFYWORLDTRANSFORM { |
3259 | pub emr: EMR, | |
3260 | pub xform: XFORM, | |
3261 | pub iMode: u32, | |
3262 | } | |
3263 | impl ::core::marker::Copy for EMRMODIFYWORLDTRANSFORM {} | |
3264 | impl ::core::clone::Clone for EMRMODIFYWORLDTRANSFORM { | |
3265 | fn clone(&self) -> Self { | |
3266 | *self | |
3267 | } | |
3268 | } | |
3269 | #[repr(C)] | |
04454e1e | 3270 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
3271 | pub struct EMRNAMEDESCAPE { |
3272 | pub emr: EMR, | |
3273 | pub iEscape: i32, | |
3274 | pub cbDriver: i32, | |
3275 | pub cbEscData: i32, | |
3276 | pub EscData: [u8; 1], | |
3277 | } | |
3278 | impl ::core::marker::Copy for EMRNAMEDESCAPE {} | |
3279 | impl ::core::clone::Clone for EMRNAMEDESCAPE { | |
3280 | fn clone(&self) -> Self { | |
3281 | *self | |
3282 | } | |
3283 | } | |
3284 | #[repr(C)] | |
04454e1e | 3285 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3286 | #[cfg(feature = "Win32_Foundation")] |
3287 | pub struct EMROFFSETCLIPRGN { | |
3288 | pub emr: EMR, | |
3289 | pub ptlOffset: super::super::Foundation::POINTL, | |
3290 | } | |
3291 | #[cfg(feature = "Win32_Foundation")] | |
3292 | impl ::core::marker::Copy for EMROFFSETCLIPRGN {} | |
3293 | #[cfg(feature = "Win32_Foundation")] | |
3294 | impl ::core::clone::Clone for EMROFFSETCLIPRGN { | |
3295 | fn clone(&self) -> Self { | |
3296 | *self | |
3297 | } | |
3298 | } | |
3299 | #[repr(C)] | |
04454e1e | 3300 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3301 | #[cfg(feature = "Win32_Foundation")] |
3302 | pub struct EMRPLGBLT { | |
3303 | pub emr: EMR, | |
3304 | pub rclBounds: super::super::Foundation::RECTL, | |
3305 | pub aptlDest: [super::super::Foundation::POINTL; 3], | |
3306 | pub xSrc: i32, | |
3307 | pub ySrc: i32, | |
3308 | pub cxSrc: i32, | |
3309 | pub cySrc: i32, | |
3310 | pub xformSrc: XFORM, | |
3311 | pub crBkColorSrc: u32, | |
3312 | pub iUsageSrc: u32, | |
3313 | pub offBmiSrc: u32, | |
3314 | pub cbBmiSrc: u32, | |
3315 | pub offBitsSrc: u32, | |
3316 | pub cbBitsSrc: u32, | |
3317 | pub xMask: i32, | |
3318 | pub yMask: i32, | |
3319 | pub iUsageMask: u32, | |
3320 | pub offBmiMask: u32, | |
3321 | pub cbBmiMask: u32, | |
3322 | pub offBitsMask: u32, | |
3323 | pub cbBitsMask: u32, | |
3324 | } | |
3325 | #[cfg(feature = "Win32_Foundation")] | |
3326 | impl ::core::marker::Copy for EMRPLGBLT {} | |
3327 | #[cfg(feature = "Win32_Foundation")] | |
3328 | impl ::core::clone::Clone for EMRPLGBLT { | |
3329 | fn clone(&self) -> Self { | |
3330 | *self | |
3331 | } | |
3332 | } | |
3333 | #[repr(C)] | |
04454e1e | 3334 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3335 | #[cfg(feature = "Win32_Foundation")] |
3336 | pub struct EMRPOLYDRAW { | |
3337 | pub emr: EMR, | |
3338 | pub rclBounds: super::super::Foundation::RECTL, | |
3339 | pub cptl: u32, | |
3340 | pub aptl: [super::super::Foundation::POINTL; 1], | |
3341 | pub abTypes: [u8; 1], | |
3342 | } | |
3343 | #[cfg(feature = "Win32_Foundation")] | |
3344 | impl ::core::marker::Copy for EMRPOLYDRAW {} | |
3345 | #[cfg(feature = "Win32_Foundation")] | |
3346 | impl ::core::clone::Clone for EMRPOLYDRAW { | |
3347 | fn clone(&self) -> Self { | |
3348 | *self | |
3349 | } | |
3350 | } | |
3351 | #[repr(C)] | |
04454e1e | 3352 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3353 | #[cfg(feature = "Win32_Foundation")] |
3354 | pub struct EMRPOLYDRAW16 { | |
3355 | pub emr: EMR, | |
3356 | pub rclBounds: super::super::Foundation::RECTL, | |
3357 | pub cpts: u32, | |
3358 | pub apts: [super::super::Foundation::POINTS; 1], | |
3359 | pub abTypes: [u8; 1], | |
3360 | } | |
3361 | #[cfg(feature = "Win32_Foundation")] | |
3362 | impl ::core::marker::Copy for EMRPOLYDRAW16 {} | |
3363 | #[cfg(feature = "Win32_Foundation")] | |
3364 | impl ::core::clone::Clone for EMRPOLYDRAW16 { | |
3365 | fn clone(&self) -> Self { | |
3366 | *self | |
3367 | } | |
3368 | } | |
3369 | #[repr(C)] | |
04454e1e | 3370 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3371 | #[cfg(feature = "Win32_Foundation")] |
3372 | pub struct EMRPOLYLINE { | |
3373 | pub emr: EMR, | |
3374 | pub rclBounds: super::super::Foundation::RECTL, | |
3375 | pub cptl: u32, | |
3376 | pub aptl: [super::super::Foundation::POINTL; 1], | |
3377 | } | |
3378 | #[cfg(feature = "Win32_Foundation")] | |
3379 | impl ::core::marker::Copy for EMRPOLYLINE {} | |
3380 | #[cfg(feature = "Win32_Foundation")] | |
3381 | impl ::core::clone::Clone for EMRPOLYLINE { | |
3382 | fn clone(&self) -> Self { | |
3383 | *self | |
3384 | } | |
3385 | } | |
3386 | #[repr(C)] | |
04454e1e | 3387 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3388 | #[cfg(feature = "Win32_Foundation")] |
3389 | pub struct EMRPOLYLINE16 { | |
3390 | pub emr: EMR, | |
3391 | pub rclBounds: super::super::Foundation::RECTL, | |
3392 | pub cpts: u32, | |
3393 | pub apts: [super::super::Foundation::POINTS; 1], | |
3394 | } | |
3395 | #[cfg(feature = "Win32_Foundation")] | |
3396 | impl ::core::marker::Copy for EMRPOLYLINE16 {} | |
3397 | #[cfg(feature = "Win32_Foundation")] | |
3398 | impl ::core::clone::Clone for EMRPOLYLINE16 { | |
3399 | fn clone(&self) -> Self { | |
3400 | *self | |
3401 | } | |
3402 | } | |
3403 | #[repr(C)] | |
04454e1e | 3404 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3405 | #[cfg(feature = "Win32_Foundation")] |
3406 | pub struct EMRPOLYPOLYLINE { | |
3407 | pub emr: EMR, | |
3408 | pub rclBounds: super::super::Foundation::RECTL, | |
3409 | pub nPolys: u32, | |
3410 | pub cptl: u32, | |
3411 | pub aPolyCounts: [u32; 1], | |
3412 | pub aptl: [super::super::Foundation::POINTL; 1], | |
3413 | } | |
3414 | #[cfg(feature = "Win32_Foundation")] | |
3415 | impl ::core::marker::Copy for EMRPOLYPOLYLINE {} | |
3416 | #[cfg(feature = "Win32_Foundation")] | |
3417 | impl ::core::clone::Clone for EMRPOLYPOLYLINE { | |
3418 | fn clone(&self) -> Self { | |
3419 | *self | |
3420 | } | |
3421 | } | |
3422 | #[repr(C)] | |
04454e1e | 3423 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3424 | #[cfg(feature = "Win32_Foundation")] |
3425 | pub struct EMRPOLYPOLYLINE16 { | |
3426 | pub emr: EMR, | |
3427 | pub rclBounds: super::super::Foundation::RECTL, | |
3428 | pub nPolys: u32, | |
3429 | pub cpts: u32, | |
3430 | pub aPolyCounts: [u32; 1], | |
3431 | pub apts: [super::super::Foundation::POINTS; 1], | |
3432 | } | |
3433 | #[cfg(feature = "Win32_Foundation")] | |
3434 | impl ::core::marker::Copy for EMRPOLYPOLYLINE16 {} | |
3435 | #[cfg(feature = "Win32_Foundation")] | |
3436 | impl ::core::clone::Clone for EMRPOLYPOLYLINE16 { | |
3437 | fn clone(&self) -> Self { | |
3438 | *self | |
3439 | } | |
3440 | } | |
3441 | #[repr(C)] | |
04454e1e | 3442 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3443 | #[cfg(feature = "Win32_Foundation")] |
3444 | pub struct EMRPOLYTEXTOUTA { | |
3445 | pub emr: EMR, | |
3446 | pub rclBounds: super::super::Foundation::RECTL, | |
3447 | pub iGraphicsMode: u32, | |
3448 | pub exScale: f32, | |
3449 | pub eyScale: f32, | |
3450 | pub cStrings: i32, | |
3451 | pub aemrtext: [EMRTEXT; 1], | |
3452 | } | |
3453 | #[cfg(feature = "Win32_Foundation")] | |
3454 | impl ::core::marker::Copy for EMRPOLYTEXTOUTA {} | |
3455 | #[cfg(feature = "Win32_Foundation")] | |
3456 | impl ::core::clone::Clone for EMRPOLYTEXTOUTA { | |
3457 | fn clone(&self) -> Self { | |
3458 | *self | |
3459 | } | |
3460 | } | |
3461 | #[repr(C)] | |
04454e1e | 3462 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
3463 | pub struct EMRRESIZEPALETTE { |
3464 | pub emr: EMR, | |
3465 | pub ihPal: u32, | |
3466 | pub cEntries: u32, | |
3467 | } | |
3468 | impl ::core::marker::Copy for EMRRESIZEPALETTE {} | |
3469 | impl ::core::clone::Clone for EMRRESIZEPALETTE { | |
3470 | fn clone(&self) -> Self { | |
3471 | *self | |
3472 | } | |
3473 | } | |
3474 | #[repr(C)] | |
04454e1e | 3475 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
3476 | pub struct EMRRESTOREDC { |
3477 | pub emr: EMR, | |
3478 | pub iRelative: i32, | |
3479 | } | |
3480 | impl ::core::marker::Copy for EMRRESTOREDC {} | |
3481 | impl ::core::clone::Clone for EMRRESTOREDC { | |
3482 | fn clone(&self) -> Self { | |
3483 | *self | |
3484 | } | |
3485 | } | |
3486 | #[repr(C)] | |
04454e1e | 3487 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3488 | #[cfg(feature = "Win32_Foundation")] |
3489 | pub struct EMRROUNDRECT { | |
3490 | pub emr: EMR, | |
3491 | pub rclBox: super::super::Foundation::RECTL, | |
3492 | pub szlCorner: super::super::Foundation::SIZE, | |
3493 | } | |
3494 | #[cfg(feature = "Win32_Foundation")] | |
3495 | impl ::core::marker::Copy for EMRROUNDRECT {} | |
3496 | #[cfg(feature = "Win32_Foundation")] | |
3497 | impl ::core::clone::Clone for EMRROUNDRECT { | |
3498 | fn clone(&self) -> Self { | |
3499 | *self | |
3500 | } | |
3501 | } | |
3502 | #[repr(C)] | |
04454e1e | 3503 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
3504 | pub struct EMRSCALEVIEWPORTEXTEX { |
3505 | pub emr: EMR, | |
3506 | pub xNum: i32, | |
3507 | pub xDenom: i32, | |
3508 | pub yNum: i32, | |
3509 | pub yDenom: i32, | |
3510 | } | |
3511 | impl ::core::marker::Copy for EMRSCALEVIEWPORTEXTEX {} | |
3512 | impl ::core::clone::Clone for EMRSCALEVIEWPORTEXTEX { | |
3513 | fn clone(&self) -> Self { | |
3514 | *self | |
3515 | } | |
3516 | } | |
3517 | #[repr(C)] | |
04454e1e | 3518 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
3519 | pub struct EMRSELECTCLIPPATH { |
3520 | pub emr: EMR, | |
3521 | pub iMode: u32, | |
3522 | } | |
3523 | impl ::core::marker::Copy for EMRSELECTCLIPPATH {} | |
3524 | impl ::core::clone::Clone for EMRSELECTCLIPPATH { | |
3525 | fn clone(&self) -> Self { | |
3526 | *self | |
3527 | } | |
3528 | } | |
3529 | #[repr(C)] | |
04454e1e | 3530 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
3531 | pub struct EMRSELECTOBJECT { |
3532 | pub emr: EMR, | |
3533 | pub ihObject: u32, | |
3534 | } | |
3535 | impl ::core::marker::Copy for EMRSELECTOBJECT {} | |
3536 | impl ::core::clone::Clone for EMRSELECTOBJECT { | |
3537 | fn clone(&self) -> Self { | |
3538 | *self | |
3539 | } | |
3540 | } | |
3541 | #[repr(C)] | |
04454e1e | 3542 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
3543 | pub struct EMRSELECTPALETTE { |
3544 | pub emr: EMR, | |
3545 | pub ihPal: u32, | |
3546 | } | |
3547 | impl ::core::marker::Copy for EMRSELECTPALETTE {} | |
3548 | impl ::core::clone::Clone for EMRSELECTPALETTE { | |
3549 | fn clone(&self) -> Self { | |
3550 | *self | |
3551 | } | |
3552 | } | |
3553 | #[repr(C)] | |
04454e1e | 3554 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
3555 | pub struct EMRSETARCDIRECTION { |
3556 | pub emr: EMR, | |
3557 | pub iArcDirection: u32, | |
3558 | } | |
3559 | impl ::core::marker::Copy for EMRSETARCDIRECTION {} | |
3560 | impl ::core::clone::Clone for EMRSETARCDIRECTION { | |
3561 | fn clone(&self) -> Self { | |
3562 | *self | |
3563 | } | |
3564 | } | |
3565 | #[repr(C)] | |
04454e1e | 3566 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
3567 | pub struct EMRSETCOLORADJUSTMENT { |
3568 | pub emr: EMR, | |
3569 | pub ColorAdjustment: COLORADJUSTMENT, | |
3570 | } | |
3571 | impl ::core::marker::Copy for EMRSETCOLORADJUSTMENT {} | |
3572 | impl ::core::clone::Clone for EMRSETCOLORADJUSTMENT { | |
3573 | fn clone(&self) -> Self { | |
3574 | *self | |
3575 | } | |
3576 | } | |
3577 | #[repr(C)] | |
04454e1e | 3578 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
3579 | pub struct EMRSETCOLORSPACE { |
3580 | pub emr: EMR, | |
3581 | pub ihCS: u32, | |
3582 | } | |
3583 | impl ::core::marker::Copy for EMRSETCOLORSPACE {} | |
3584 | impl ::core::clone::Clone for EMRSETCOLORSPACE { | |
3585 | fn clone(&self) -> Self { | |
3586 | *self | |
3587 | } | |
3588 | } | |
3589 | #[repr(C)] | |
04454e1e | 3590 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3591 | #[cfg(feature = "Win32_Foundation")] |
3592 | pub struct EMRSETDIBITSTODEVICE { | |
3593 | pub emr: EMR, | |
3594 | pub rclBounds: super::super::Foundation::RECTL, | |
3595 | pub xDest: i32, | |
3596 | pub yDest: i32, | |
3597 | pub xSrc: i32, | |
3598 | pub ySrc: i32, | |
3599 | pub cxSrc: i32, | |
3600 | pub cySrc: i32, | |
3601 | pub offBmiSrc: u32, | |
3602 | pub cbBmiSrc: u32, | |
3603 | pub offBitsSrc: u32, | |
3604 | pub cbBitsSrc: u32, | |
3605 | pub iUsageSrc: u32, | |
3606 | pub iStartScan: u32, | |
3607 | pub cScans: u32, | |
3608 | } | |
3609 | #[cfg(feature = "Win32_Foundation")] | |
3610 | impl ::core::marker::Copy for EMRSETDIBITSTODEVICE {} | |
3611 | #[cfg(feature = "Win32_Foundation")] | |
3612 | impl ::core::clone::Clone for EMRSETDIBITSTODEVICE { | |
3613 | fn clone(&self) -> Self { | |
3614 | *self | |
3615 | } | |
3616 | } | |
3617 | #[repr(C)] | |
04454e1e | 3618 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
3619 | pub struct EMRSETICMPROFILE { |
3620 | pub emr: EMR, | |
3621 | pub dwFlags: u32, | |
3622 | pub cbName: u32, | |
3623 | pub cbData: u32, | |
3624 | pub Data: [u8; 1], | |
3625 | } | |
3626 | impl ::core::marker::Copy for EMRSETICMPROFILE {} | |
3627 | impl ::core::clone::Clone for EMRSETICMPROFILE { | |
3628 | fn clone(&self) -> Self { | |
3629 | *self | |
3630 | } | |
3631 | } | |
3632 | #[repr(C)] | |
04454e1e | 3633 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
3634 | pub struct EMRSETMAPPERFLAGS { |
3635 | pub emr: EMR, | |
3636 | pub dwFlags: u32, | |
3637 | } | |
3638 | impl ::core::marker::Copy for EMRSETMAPPERFLAGS {} | |
3639 | impl ::core::clone::Clone for EMRSETMAPPERFLAGS { | |
3640 | fn clone(&self) -> Self { | |
3641 | *self | |
3642 | } | |
3643 | } | |
3644 | #[repr(C)] | |
04454e1e | 3645 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
3646 | pub struct EMRSETMITERLIMIT { |
3647 | pub emr: EMR, | |
3648 | pub eMiterLimit: f32, | |
3649 | } | |
3650 | impl ::core::marker::Copy for EMRSETMITERLIMIT {} | |
3651 | impl ::core::clone::Clone for EMRSETMITERLIMIT { | |
3652 | fn clone(&self) -> Self { | |
3653 | *self | |
3654 | } | |
3655 | } | |
3656 | #[repr(C)] | |
04454e1e | 3657 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
3658 | pub struct EMRSETPALETTEENTRIES { |
3659 | pub emr: EMR, | |
3660 | pub ihPal: u32, | |
3661 | pub iStart: u32, | |
3662 | pub cEntries: u32, | |
3663 | pub aPalEntries: [PALETTEENTRY; 1], | |
3664 | } | |
3665 | impl ::core::marker::Copy for EMRSETPALETTEENTRIES {} | |
3666 | impl ::core::clone::Clone for EMRSETPALETTEENTRIES { | |
3667 | fn clone(&self) -> Self { | |
3668 | *self | |
3669 | } | |
3670 | } | |
3671 | #[repr(C)] | |
04454e1e | 3672 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3673 | #[cfg(feature = "Win32_Foundation")] |
3674 | pub struct EMRSETPIXELV { | |
3675 | pub emr: EMR, | |
3676 | pub ptlPixel: super::super::Foundation::POINTL, | |
3677 | pub crColor: u32, | |
3678 | } | |
3679 | #[cfg(feature = "Win32_Foundation")] | |
3680 | impl ::core::marker::Copy for EMRSETPIXELV {} | |
3681 | #[cfg(feature = "Win32_Foundation")] | |
3682 | impl ::core::clone::Clone for EMRSETPIXELV { | |
3683 | fn clone(&self) -> Self { | |
3684 | *self | |
3685 | } | |
3686 | } | |
3687 | #[repr(C)] | |
04454e1e | 3688 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
3689 | pub struct EMRSETTEXTCOLOR { |
3690 | pub emr: EMR, | |
3691 | pub crColor: u32, | |
3692 | } | |
3693 | impl ::core::marker::Copy for EMRSETTEXTCOLOR {} | |
3694 | impl ::core::clone::Clone for EMRSETTEXTCOLOR { | |
3695 | fn clone(&self) -> Self { | |
3696 | *self | |
3697 | } | |
3698 | } | |
3699 | #[repr(C)] | |
04454e1e | 3700 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3701 | #[cfg(feature = "Win32_Foundation")] |
3702 | pub struct EMRSETVIEWPORTEXTEX { | |
3703 | pub emr: EMR, | |
3704 | pub szlExtent: super::super::Foundation::SIZE, | |
3705 | } | |
3706 | #[cfg(feature = "Win32_Foundation")] | |
3707 | impl ::core::marker::Copy for EMRSETVIEWPORTEXTEX {} | |
3708 | #[cfg(feature = "Win32_Foundation")] | |
3709 | impl ::core::clone::Clone for EMRSETVIEWPORTEXTEX { | |
3710 | fn clone(&self) -> Self { | |
3711 | *self | |
3712 | } | |
3713 | } | |
3714 | #[repr(C)] | |
04454e1e | 3715 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3716 | #[cfg(feature = "Win32_Foundation")] |
3717 | pub struct EMRSETVIEWPORTORGEX { | |
3718 | pub emr: EMR, | |
3719 | pub ptlOrigin: super::super::Foundation::POINTL, | |
3720 | } | |
3721 | #[cfg(feature = "Win32_Foundation")] | |
3722 | impl ::core::marker::Copy for EMRSETVIEWPORTORGEX {} | |
3723 | #[cfg(feature = "Win32_Foundation")] | |
3724 | impl ::core::clone::Clone for EMRSETVIEWPORTORGEX { | |
3725 | fn clone(&self) -> Self { | |
3726 | *self | |
3727 | } | |
3728 | } | |
3729 | #[repr(C)] | |
04454e1e | 3730 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
3731 | pub struct EMRSETWORLDTRANSFORM { |
3732 | pub emr: EMR, | |
3733 | pub xform: XFORM, | |
3734 | } | |
3735 | impl ::core::marker::Copy for EMRSETWORLDTRANSFORM {} | |
3736 | impl ::core::clone::Clone for EMRSETWORLDTRANSFORM { | |
3737 | fn clone(&self) -> Self { | |
3738 | *self | |
3739 | } | |
3740 | } | |
3741 | #[repr(C)] | |
04454e1e | 3742 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3743 | #[cfg(feature = "Win32_Foundation")] |
3744 | pub struct EMRSTRETCHBLT { | |
3745 | pub emr: EMR, | |
3746 | pub rclBounds: super::super::Foundation::RECTL, | |
3747 | pub xDest: i32, | |
3748 | pub yDest: i32, | |
3749 | pub cxDest: i32, | |
3750 | pub cyDest: i32, | |
3751 | pub dwRop: u32, | |
3752 | pub xSrc: i32, | |
3753 | pub ySrc: i32, | |
3754 | pub xformSrc: XFORM, | |
3755 | pub crBkColorSrc: u32, | |
3756 | pub iUsageSrc: u32, | |
3757 | pub offBmiSrc: u32, | |
3758 | pub cbBmiSrc: u32, | |
3759 | pub offBitsSrc: u32, | |
3760 | pub cbBitsSrc: u32, | |
3761 | pub cxSrc: i32, | |
3762 | pub cySrc: i32, | |
3763 | } | |
3764 | #[cfg(feature = "Win32_Foundation")] | |
3765 | impl ::core::marker::Copy for EMRSTRETCHBLT {} | |
3766 | #[cfg(feature = "Win32_Foundation")] | |
3767 | impl ::core::clone::Clone for EMRSTRETCHBLT { | |
3768 | fn clone(&self) -> Self { | |
3769 | *self | |
3770 | } | |
3771 | } | |
3772 | #[repr(C)] | |
04454e1e | 3773 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3774 | #[cfg(feature = "Win32_Foundation")] |
3775 | pub struct EMRSTRETCHDIBITS { | |
3776 | pub emr: EMR, | |
3777 | pub rclBounds: super::super::Foundation::RECTL, | |
3778 | pub xDest: i32, | |
3779 | pub yDest: i32, | |
3780 | pub xSrc: i32, | |
3781 | pub ySrc: i32, | |
3782 | pub cxSrc: i32, | |
3783 | pub cySrc: i32, | |
3784 | pub offBmiSrc: u32, | |
3785 | pub cbBmiSrc: u32, | |
3786 | pub offBitsSrc: u32, | |
3787 | pub cbBitsSrc: u32, | |
3788 | pub iUsageSrc: u32, | |
3789 | pub dwRop: u32, | |
3790 | pub cxDest: i32, | |
3791 | pub cyDest: i32, | |
3792 | } | |
3793 | #[cfg(feature = "Win32_Foundation")] | |
3794 | impl ::core::marker::Copy for EMRSTRETCHDIBITS {} | |
3795 | #[cfg(feature = "Win32_Foundation")] | |
3796 | impl ::core::clone::Clone for EMRSTRETCHDIBITS { | |
3797 | fn clone(&self) -> Self { | |
3798 | *self | |
3799 | } | |
3800 | } | |
3801 | #[repr(C)] | |
04454e1e | 3802 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3803 | #[cfg(feature = "Win32_Foundation")] |
3804 | pub struct EMRTEXT { | |
3805 | pub ptlReference: super::super::Foundation::POINTL, | |
3806 | pub nChars: u32, | |
3807 | pub offString: u32, | |
3808 | pub fOptions: u32, | |
3809 | pub rcl: super::super::Foundation::RECTL, | |
3810 | pub offDx: u32, | |
3811 | } | |
3812 | #[cfg(feature = "Win32_Foundation")] | |
3813 | impl ::core::marker::Copy for EMRTEXT {} | |
3814 | #[cfg(feature = "Win32_Foundation")] | |
3815 | impl ::core::clone::Clone for EMRTEXT { | |
3816 | fn clone(&self) -> Self { | |
3817 | *self | |
3818 | } | |
3819 | } | |
3820 | #[repr(C)] | |
04454e1e | 3821 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3822 | #[cfg(feature = "Win32_Foundation")] |
3823 | pub struct EMRTRANSPARENTBLT { | |
3824 | pub emr: EMR, | |
3825 | pub rclBounds: super::super::Foundation::RECTL, | |
3826 | pub xDest: i32, | |
3827 | pub yDest: i32, | |
3828 | pub cxDest: i32, | |
3829 | pub cyDest: i32, | |
3830 | pub dwRop: u32, | |
3831 | pub xSrc: i32, | |
3832 | pub ySrc: i32, | |
3833 | pub xformSrc: XFORM, | |
3834 | pub crBkColorSrc: u32, | |
3835 | pub iUsageSrc: u32, | |
3836 | pub offBmiSrc: u32, | |
3837 | pub cbBmiSrc: u32, | |
3838 | pub offBitsSrc: u32, | |
3839 | pub cbBitsSrc: u32, | |
3840 | pub cxSrc: i32, | |
3841 | pub cySrc: i32, | |
3842 | } | |
3843 | #[cfg(feature = "Win32_Foundation")] | |
3844 | impl ::core::marker::Copy for EMRTRANSPARENTBLT {} | |
3845 | #[cfg(feature = "Win32_Foundation")] | |
3846 | impl ::core::clone::Clone for EMRTRANSPARENTBLT { | |
3847 | fn clone(&self) -> Self { | |
3848 | *self | |
3849 | } | |
3850 | } | |
04454e1e | 3851 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3852 | pub const EMR_ABORTPATH: u32 = 68u32; |
04454e1e | 3853 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3854 | pub const EMR_ALPHABLEND: u32 = 114u32; |
04454e1e | 3855 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3856 | pub const EMR_ANGLEARC: u32 = 41u32; |
04454e1e | 3857 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3858 | pub const EMR_ARC: u32 = 45u32; |
04454e1e | 3859 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3860 | pub const EMR_ARCTO: u32 = 55u32; |
04454e1e | 3861 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3862 | pub const EMR_BEGINPATH: u32 = 59u32; |
04454e1e | 3863 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3864 | pub const EMR_BITBLT: u32 = 76u32; |
04454e1e | 3865 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3866 | pub const EMR_CHORD: u32 = 46u32; |
04454e1e | 3867 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3868 | pub const EMR_CLOSEFIGURE: u32 = 61u32; |
04454e1e | 3869 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3870 | pub const EMR_COLORCORRECTPALETTE: u32 = 111u32; |
04454e1e | 3871 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3872 | pub const EMR_COLORMATCHTOTARGETW: u32 = 121u32; |
04454e1e | 3873 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3874 | pub const EMR_CREATEBRUSHINDIRECT: u32 = 39u32; |
04454e1e | 3875 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3876 | pub const EMR_CREATECOLORSPACE: u32 = 99u32; |
04454e1e | 3877 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3878 | pub const EMR_CREATECOLORSPACEW: u32 = 122u32; |
04454e1e | 3879 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3880 | pub const EMR_CREATEDIBPATTERNBRUSHPT: u32 = 94u32; |
04454e1e | 3881 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3882 | pub const EMR_CREATEMONOBRUSH: u32 = 93u32; |
04454e1e | 3883 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3884 | pub const EMR_CREATEPALETTE: u32 = 49u32; |
04454e1e | 3885 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3886 | pub const EMR_CREATEPEN: u32 = 38u32; |
04454e1e | 3887 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3888 | pub const EMR_DELETECOLORSPACE: u32 = 101u32; |
04454e1e | 3889 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3890 | pub const EMR_DELETEOBJECT: u32 = 40u32; |
04454e1e | 3891 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3892 | pub const EMR_ELLIPSE: u32 = 42u32; |
04454e1e | 3893 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3894 | pub const EMR_ENDPATH: u32 = 60u32; |
04454e1e | 3895 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3896 | pub const EMR_EOF: u32 = 14u32; |
04454e1e | 3897 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3898 | pub const EMR_EXCLUDECLIPRECT: u32 = 29u32; |
04454e1e | 3899 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3900 | pub const EMR_EXTCREATEFONTINDIRECTW: u32 = 82u32; |
04454e1e | 3901 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3902 | pub const EMR_EXTCREATEPEN: u32 = 95u32; |
04454e1e | 3903 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3904 | pub const EMR_EXTFLOODFILL: u32 = 53u32; |
04454e1e | 3905 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3906 | pub const EMR_EXTSELECTCLIPRGN: u32 = 75u32; |
04454e1e | 3907 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3908 | pub const EMR_EXTTEXTOUTA: u32 = 83u32; |
04454e1e | 3909 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3910 | pub const EMR_EXTTEXTOUTW: u32 = 84u32; |
04454e1e | 3911 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3912 | pub const EMR_FILLPATH: u32 = 62u32; |
04454e1e | 3913 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3914 | pub const EMR_FILLRGN: u32 = 71u32; |
04454e1e | 3915 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3916 | pub const EMR_FLATTENPATH: u32 = 65u32; |
04454e1e | 3917 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3918 | pub const EMR_FRAMERGN: u32 = 72u32; |
04454e1e | 3919 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3920 | pub const EMR_GDICOMMENT: u32 = 70u32; |
04454e1e | 3921 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3922 | pub const EMR_GLSBOUNDEDRECORD: u32 = 103u32; |
04454e1e | 3923 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3924 | pub const EMR_GLSRECORD: u32 = 102u32; |
04454e1e | 3925 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3926 | pub const EMR_GRADIENTFILL: u32 = 118u32; |
04454e1e | 3927 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3928 | pub const EMR_HEADER: u32 = 1u32; |
04454e1e | 3929 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3930 | pub const EMR_INTERSECTCLIPRECT: u32 = 30u32; |
04454e1e | 3931 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3932 | pub const EMR_INVERTRGN: u32 = 73u32; |
04454e1e | 3933 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3934 | pub const EMR_LINETO: u32 = 54u32; |
04454e1e | 3935 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3936 | pub const EMR_MASKBLT: u32 = 78u32; |
04454e1e | 3937 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3938 | pub const EMR_MAX: u32 = 122u32; |
04454e1e | 3939 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3940 | pub const EMR_MIN: u32 = 1u32; |
04454e1e | 3941 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3942 | pub const EMR_MODIFYWORLDTRANSFORM: u32 = 36u32; |
04454e1e | 3943 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3944 | pub const EMR_MOVETOEX: u32 = 27u32; |
04454e1e | 3945 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3946 | pub const EMR_OFFSETCLIPRGN: u32 = 26u32; |
04454e1e | 3947 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3948 | pub const EMR_PAINTRGN: u32 = 74u32; |
04454e1e | 3949 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3950 | pub const EMR_PIE: u32 = 47u32; |
04454e1e | 3951 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3952 | pub const EMR_PIXELFORMAT: u32 = 104u32; |
04454e1e | 3953 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3954 | pub const EMR_PLGBLT: u32 = 79u32; |
04454e1e | 3955 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3956 | pub const EMR_POLYBEZIER: u32 = 2u32; |
04454e1e | 3957 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3958 | pub const EMR_POLYBEZIER16: u32 = 85u32; |
04454e1e | 3959 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3960 | pub const EMR_POLYBEZIERTO: u32 = 5u32; |
04454e1e | 3961 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3962 | pub const EMR_POLYBEZIERTO16: u32 = 88u32; |
04454e1e | 3963 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3964 | pub const EMR_POLYDRAW: u32 = 56u32; |
04454e1e | 3965 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3966 | pub const EMR_POLYDRAW16: u32 = 92u32; |
04454e1e | 3967 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3968 | pub const EMR_POLYGON: u32 = 3u32; |
04454e1e | 3969 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3970 | pub const EMR_POLYGON16: u32 = 86u32; |
04454e1e | 3971 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3972 | pub const EMR_POLYLINE: u32 = 4u32; |
04454e1e | 3973 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3974 | pub const EMR_POLYLINE16: u32 = 87u32; |
04454e1e | 3975 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3976 | pub const EMR_POLYLINETO: u32 = 6u32; |
04454e1e | 3977 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3978 | pub const EMR_POLYLINETO16: u32 = 89u32; |
04454e1e | 3979 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3980 | pub const EMR_POLYPOLYGON: u32 = 8u32; |
04454e1e | 3981 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3982 | pub const EMR_POLYPOLYGON16: u32 = 91u32; |
04454e1e | 3983 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3984 | pub const EMR_POLYPOLYLINE: u32 = 7u32; |
04454e1e | 3985 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3986 | pub const EMR_POLYPOLYLINE16: u32 = 90u32; |
04454e1e | 3987 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3988 | pub const EMR_POLYTEXTOUTA: u32 = 96u32; |
04454e1e | 3989 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3990 | pub const EMR_POLYTEXTOUTW: u32 = 97u32; |
04454e1e | 3991 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3992 | pub const EMR_REALIZEPALETTE: u32 = 52u32; |
04454e1e | 3993 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3994 | pub const EMR_RECTANGLE: u32 = 43u32; |
04454e1e | 3995 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3996 | pub const EMR_RESERVED_105: u32 = 105u32; |
04454e1e | 3997 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 3998 | pub const EMR_RESERVED_106: u32 = 106u32; |
04454e1e | 3999 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4000 | pub const EMR_RESERVED_107: u32 = 107u32; |
04454e1e | 4001 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4002 | pub const EMR_RESERVED_108: u32 = 108u32; |
04454e1e | 4003 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4004 | pub const EMR_RESERVED_109: u32 = 109u32; |
04454e1e | 4005 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4006 | pub const EMR_RESERVED_110: u32 = 110u32; |
04454e1e | 4007 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4008 | pub const EMR_RESERVED_117: u32 = 117u32; |
04454e1e | 4009 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4010 | pub const EMR_RESERVED_119: u32 = 119u32; |
04454e1e | 4011 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4012 | pub const EMR_RESERVED_120: u32 = 120u32; |
04454e1e | 4013 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4014 | pub const EMR_RESIZEPALETTE: u32 = 51u32; |
04454e1e | 4015 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4016 | pub const EMR_RESTOREDC: u32 = 34u32; |
04454e1e | 4017 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4018 | pub const EMR_ROUNDRECT: u32 = 44u32; |
04454e1e | 4019 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4020 | pub const EMR_SAVEDC: u32 = 33u32; |
04454e1e | 4021 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4022 | pub const EMR_SCALEVIEWPORTEXTEX: u32 = 31u32; |
04454e1e | 4023 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4024 | pub const EMR_SCALEWINDOWEXTEX: u32 = 32u32; |
04454e1e | 4025 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4026 | pub const EMR_SELECTCLIPPATH: u32 = 67u32; |
04454e1e | 4027 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4028 | pub const EMR_SELECTOBJECT: u32 = 37u32; |
04454e1e | 4029 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4030 | pub const EMR_SELECTPALETTE: u32 = 48u32; |
04454e1e | 4031 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4032 | pub const EMR_SETARCDIRECTION: u32 = 57u32; |
04454e1e | 4033 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4034 | pub const EMR_SETBKCOLOR: u32 = 25u32; |
04454e1e | 4035 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4036 | pub const EMR_SETBKMODE: u32 = 18u32; |
04454e1e | 4037 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4038 | pub const EMR_SETBRUSHORGEX: u32 = 13u32; |
04454e1e | 4039 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4040 | pub const EMR_SETCOLORADJUSTMENT: u32 = 23u32; |
04454e1e | 4041 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4042 | pub const EMR_SETCOLORSPACE: u32 = 100u32; |
04454e1e | 4043 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4044 | pub const EMR_SETDIBITSTODEVICE: u32 = 80u32; |
04454e1e | 4045 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4046 | pub const EMR_SETICMMODE: u32 = 98u32; |
04454e1e | 4047 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4048 | pub const EMR_SETICMPROFILEA: u32 = 112u32; |
04454e1e | 4049 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4050 | pub const EMR_SETICMPROFILEW: u32 = 113u32; |
04454e1e | 4051 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4052 | pub const EMR_SETLAYOUT: u32 = 115u32; |
04454e1e | 4053 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4054 | pub const EMR_SETMAPMODE: u32 = 17u32; |
04454e1e | 4055 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4056 | pub const EMR_SETMAPPERFLAGS: u32 = 16u32; |
04454e1e | 4057 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4058 | pub const EMR_SETMETARGN: u32 = 28u32; |
04454e1e | 4059 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4060 | pub const EMR_SETMITERLIMIT: u32 = 58u32; |
04454e1e | 4061 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4062 | pub const EMR_SETPALETTEENTRIES: u32 = 50u32; |
04454e1e | 4063 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4064 | pub const EMR_SETPIXELV: u32 = 15u32; |
04454e1e | 4065 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4066 | pub const EMR_SETPOLYFILLMODE: u32 = 19u32; |
04454e1e | 4067 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4068 | pub const EMR_SETROP2: u32 = 20u32; |
04454e1e | 4069 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4070 | pub const EMR_SETSTRETCHBLTMODE: u32 = 21u32; |
04454e1e | 4071 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4072 | pub const EMR_SETTEXTALIGN: u32 = 22u32; |
04454e1e | 4073 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4074 | pub const EMR_SETTEXTCOLOR: u32 = 24u32; |
04454e1e | 4075 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4076 | pub const EMR_SETVIEWPORTEXTEX: u32 = 11u32; |
04454e1e | 4077 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4078 | pub const EMR_SETVIEWPORTORGEX: u32 = 12u32; |
04454e1e | 4079 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4080 | pub const EMR_SETWINDOWEXTEX: u32 = 9u32; |
04454e1e | 4081 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4082 | pub const EMR_SETWINDOWORGEX: u32 = 10u32; |
04454e1e | 4083 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4084 | pub const EMR_SETWORLDTRANSFORM: u32 = 35u32; |
04454e1e | 4085 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4086 | pub const EMR_STRETCHBLT: u32 = 77u32; |
04454e1e | 4087 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4088 | pub const EMR_STRETCHDIBITS: u32 = 81u32; |
04454e1e | 4089 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4090 | pub const EMR_STROKEANDFILLPATH: u32 = 63u32; |
04454e1e | 4091 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4092 | pub const EMR_STROKEPATH: u32 = 64u32; |
04454e1e | 4093 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4094 | pub const EMR_TRANSPARENTBLT: u32 = 116u32; |
04454e1e | 4095 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4096 | pub const EMR_WIDENPATH: u32 = 66u32; |
04454e1e | 4097 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4098 | pub const ENABLEDUPLEX: u32 = 28u32; |
04454e1e | 4099 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4100 | pub const ENABLEPAIRKERNING: u32 = 769u32; |
04454e1e | 4101 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4102 | pub const ENABLERELATIVEWIDTHS: u32 = 768u32; |
04454e1e | 4103 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4104 | pub const ENCAPSULATED_POSTSCRIPT: u32 = 4116u32; |
04454e1e | 4105 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4106 | pub const ENDDOC: u32 = 11u32; |
04454e1e | 4107 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
4108 | pub const END_PATH: u32 = 4098u32; |
4109 | #[repr(C)] | |
04454e1e | 4110 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4111 | #[cfg(feature = "Win32_Foundation")] |
4112 | pub struct ENHMETAHEADER { | |
4113 | pub iType: u32, | |
4114 | pub nSize: u32, | |
4115 | pub rclBounds: super::super::Foundation::RECTL, | |
4116 | pub rclFrame: super::super::Foundation::RECTL, | |
4117 | pub dSignature: u32, | |
4118 | pub nVersion: u32, | |
4119 | pub nBytes: u32, | |
4120 | pub nRecords: u32, | |
4121 | pub nHandles: u16, | |
4122 | pub sReserved: u16, | |
4123 | pub nDescription: u32, | |
4124 | pub offDescription: u32, | |
4125 | pub nPalEntries: u32, | |
4126 | pub szlDevice: super::super::Foundation::SIZE, | |
4127 | pub szlMillimeters: super::super::Foundation::SIZE, | |
4128 | pub cbPixelFormat: u32, | |
4129 | pub offPixelFormat: u32, | |
4130 | pub bOpenGL: u32, | |
4131 | pub szlMicrometers: super::super::Foundation::SIZE, | |
4132 | } | |
4133 | #[cfg(feature = "Win32_Foundation")] | |
4134 | impl ::core::marker::Copy for ENHMETAHEADER {} | |
4135 | #[cfg(feature = "Win32_Foundation")] | |
4136 | impl ::core::clone::Clone for ENHMETAHEADER { | |
4137 | fn clone(&self) -> Self { | |
4138 | *self | |
4139 | } | |
4140 | } | |
4141 | #[repr(C)] | |
04454e1e | 4142 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
4143 | pub struct ENHMETARECORD { |
4144 | pub iType: u32, | |
4145 | pub nSize: u32, | |
4146 | pub dParm: [u32; 1], | |
4147 | } | |
4148 | impl ::core::marker::Copy for ENHMETARECORD {} | |
4149 | impl ::core::clone::Clone for ENHMETARECORD { | |
4150 | fn clone(&self) -> Self { | |
4151 | *self | |
4152 | } | |
4153 | } | |
04454e1e | 4154 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4155 | pub const ENHMETA_SIGNATURE: u32 = 1179469088u32; |
04454e1e | 4156 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4157 | pub const ENHMETA_STOCK_OBJECT: u32 = 2147483648u32; |
04454e1e | 4158 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4159 | #[cfg(feature = "Win32_Foundation")] |
4160 | pub type ENHMFENUMPROC = ::core::option::Option<unsafe extern "system" fn(hdc: HDC, lpht: *const HANDLETABLE, lpmr: *const ENHMETARECORD, nhandles: i32, data: super::super::Foundation::LPARAM) -> i32>; | |
4161 | #[repr(C)] | |
04454e1e | 4162 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4163 | #[cfg(feature = "Win32_Foundation")] |
4164 | pub struct ENUMLOGFONTA { | |
4165 | pub elfLogFont: LOGFONTA, | |
4166 | pub elfFullName: [u8; 64], | |
4167 | pub elfStyle: [u8; 32], | |
4168 | } | |
4169 | #[cfg(feature = "Win32_Foundation")] | |
4170 | impl ::core::marker::Copy for ENUMLOGFONTA {} | |
4171 | #[cfg(feature = "Win32_Foundation")] | |
4172 | impl ::core::clone::Clone for ENUMLOGFONTA { | |
4173 | fn clone(&self) -> Self { | |
4174 | *self | |
4175 | } | |
4176 | } | |
4177 | #[repr(C)] | |
04454e1e | 4178 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4179 | #[cfg(feature = "Win32_Foundation")] |
4180 | pub struct ENUMLOGFONTEXA { | |
4181 | pub elfLogFont: LOGFONTA, | |
4182 | pub elfFullName: [u8; 64], | |
4183 | pub elfStyle: [u8; 32], | |
4184 | pub elfScript: [u8; 32], | |
4185 | } | |
4186 | #[cfg(feature = "Win32_Foundation")] | |
4187 | impl ::core::marker::Copy for ENUMLOGFONTEXA {} | |
4188 | #[cfg(feature = "Win32_Foundation")] | |
4189 | impl ::core::clone::Clone for ENUMLOGFONTEXA { | |
4190 | fn clone(&self) -> Self { | |
4191 | *self | |
4192 | } | |
4193 | } | |
4194 | #[repr(C)] | |
04454e1e | 4195 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4196 | #[cfg(feature = "Win32_Foundation")] |
4197 | pub struct ENUMLOGFONTEXDVA { | |
4198 | pub elfEnumLogfontEx: ENUMLOGFONTEXA, | |
4199 | pub elfDesignVector: DESIGNVECTOR, | |
4200 | } | |
4201 | #[cfg(feature = "Win32_Foundation")] | |
4202 | impl ::core::marker::Copy for ENUMLOGFONTEXDVA {} | |
4203 | #[cfg(feature = "Win32_Foundation")] | |
4204 | impl ::core::clone::Clone for ENUMLOGFONTEXDVA { | |
4205 | fn clone(&self) -> Self { | |
4206 | *self | |
4207 | } | |
4208 | } | |
4209 | #[repr(C)] | |
04454e1e | 4210 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
4211 | pub struct ENUMLOGFONTEXDVW { |
4212 | pub elfEnumLogfontEx: ENUMLOGFONTEXW, | |
4213 | pub elfDesignVector: DESIGNVECTOR, | |
4214 | } | |
4215 | impl ::core::marker::Copy for ENUMLOGFONTEXDVW {} | |
4216 | impl ::core::clone::Clone for ENUMLOGFONTEXDVW { | |
4217 | fn clone(&self) -> Self { | |
4218 | *self | |
4219 | } | |
4220 | } | |
4221 | #[repr(C)] | |
04454e1e | 4222 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
4223 | pub struct ENUMLOGFONTEXW { |
4224 | pub elfLogFont: LOGFONTW, | |
4225 | pub elfFullName: [u16; 64], | |
4226 | pub elfStyle: [u16; 32], | |
4227 | pub elfScript: [u16; 32], | |
4228 | } | |
4229 | impl ::core::marker::Copy for ENUMLOGFONTEXW {} | |
4230 | impl ::core::clone::Clone for ENUMLOGFONTEXW { | |
4231 | fn clone(&self) -> Self { | |
4232 | *self | |
4233 | } | |
4234 | } | |
4235 | #[repr(C)] | |
04454e1e | 4236 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
4237 | pub struct ENUMLOGFONTW { |
4238 | pub elfLogFont: LOGFONTW, | |
4239 | pub elfFullName: [u16; 64], | |
4240 | pub elfStyle: [u16; 32], | |
4241 | } | |
4242 | impl ::core::marker::Copy for ENUMLOGFONTW {} | |
4243 | impl ::core::clone::Clone for ENUMLOGFONTW { | |
4244 | fn clone(&self) -> Self { | |
4245 | *self | |
4246 | } | |
4247 | } | |
04454e1e | 4248 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4249 | pub const ENUMPAPERBINS: u32 = 31u32; |
04454e1e | 4250 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4251 | pub const ENUMPAPERMETRICS: u32 = 34u32; |
04454e1e | 4252 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4253 | pub type ENUM_DISPLAY_SETTINGS_MODE = u32; |
04454e1e | 4254 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4255 | pub const ENUM_CURRENT_SETTINGS: ENUM_DISPLAY_SETTINGS_MODE = 4294967295u32; |
04454e1e | 4256 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4257 | pub const ENUM_REGISTRY_SETTINGS: ENUM_DISPLAY_SETTINGS_MODE = 4294967294u32; |
04454e1e | 4258 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4259 | pub const EPSPRINTING: u32 = 33u32; |
04454e1e | 4260 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4261 | pub const EPS_SIGNATURE: u32 = 1179865157u32; |
04454e1e | 4262 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4263 | pub const ERROR: u32 = 0u32; |
04454e1e | 4264 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4265 | pub const ERR_FORMAT: u32 = 1006u32; |
04454e1e | 4266 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4267 | pub const ERR_GENERIC: u32 = 1000u32; |
04454e1e | 4268 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4269 | pub const ERR_INVALID_BASE: u32 = 1085u32; |
04454e1e | 4270 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4271 | pub const ERR_INVALID_CMAP: u32 = 1060u32; |
04454e1e | 4272 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4273 | pub const ERR_INVALID_DELTA_FORMAT: u32 = 1013u32; |
04454e1e | 4274 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4275 | pub const ERR_INVALID_EBLC: u32 = 1086u32; |
04454e1e | 4276 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4277 | pub const ERR_INVALID_GDEF: u32 = 1083u32; |
04454e1e | 4278 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4279 | pub const ERR_INVALID_GLYF: u32 = 1061u32; |
04454e1e | 4280 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4281 | pub const ERR_INVALID_GPOS: u32 = 1082u32; |
04454e1e | 4282 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4283 | pub const ERR_INVALID_GSUB: u32 = 1081u32; |
04454e1e | 4284 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4285 | pub const ERR_INVALID_HDMX: u32 = 1089u32; |
04454e1e | 4286 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4287 | pub const ERR_INVALID_HEAD: u32 = 1062u32; |
04454e1e | 4288 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4289 | pub const ERR_INVALID_HHEA: u32 = 1063u32; |
04454e1e | 4290 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4291 | pub const ERR_INVALID_HHEA_OR_VHEA: u32 = 1072u32; |
04454e1e | 4292 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4293 | pub const ERR_INVALID_HMTX: u32 = 1064u32; |
04454e1e | 4294 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4295 | pub const ERR_INVALID_HMTX_OR_VMTX: u32 = 1073u32; |
04454e1e | 4296 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4297 | pub const ERR_INVALID_JSTF: u32 = 1084u32; |
04454e1e | 4298 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4299 | pub const ERR_INVALID_LOCA: u32 = 1065u32; |
04454e1e | 4300 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4301 | pub const ERR_INVALID_LTSH: u32 = 1087u32; |
04454e1e | 4302 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4303 | pub const ERR_INVALID_MAXP: u32 = 1066u32; |
04454e1e | 4304 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4305 | pub const ERR_INVALID_MERGE_CHECKSUMS: u32 = 1011u32; |
04454e1e | 4306 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4307 | pub const ERR_INVALID_MERGE_FORMATS: u32 = 1010u32; |
04454e1e | 4308 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4309 | pub const ERR_INVALID_MERGE_NUMGLYPHS: u32 = 1012u32; |
04454e1e | 4310 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4311 | pub const ERR_INVALID_NAME: u32 = 1067u32; |
04454e1e | 4312 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4313 | pub const ERR_INVALID_OS2: u32 = 1069u32; |
04454e1e | 4314 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4315 | pub const ERR_INVALID_POST: u32 = 1068u32; |
04454e1e | 4316 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4317 | pub const ERR_INVALID_TTC_INDEX: u32 = 1015u32; |
04454e1e | 4318 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4319 | pub const ERR_INVALID_TTO: u32 = 1080u32; |
04454e1e | 4320 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4321 | pub const ERR_INVALID_VDMX: u32 = 1088u32; |
04454e1e | 4322 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4323 | pub const ERR_INVALID_VHEA: u32 = 1070u32; |
04454e1e | 4324 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4325 | pub const ERR_INVALID_VMTX: u32 = 1071u32; |
04454e1e | 4326 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4327 | pub const ERR_MEM: u32 = 1005u32; |
04454e1e | 4328 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4329 | pub const ERR_MISSING_CMAP: u32 = 1030u32; |
04454e1e | 4330 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4331 | pub const ERR_MISSING_EBDT: u32 = 1044u32; |
04454e1e | 4332 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4333 | pub const ERR_MISSING_GLYF: u32 = 1031u32; |
04454e1e | 4334 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4335 | pub const ERR_MISSING_HEAD: u32 = 1032u32; |
04454e1e | 4336 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4337 | pub const ERR_MISSING_HHEA: u32 = 1033u32; |
04454e1e | 4338 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4339 | pub const ERR_MISSING_HHEA_OR_VHEA: u32 = 1042u32; |
04454e1e | 4340 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4341 | pub const ERR_MISSING_HMTX: u32 = 1034u32; |
04454e1e | 4342 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4343 | pub const ERR_MISSING_HMTX_OR_VMTX: u32 = 1043u32; |
04454e1e | 4344 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4345 | pub const ERR_MISSING_LOCA: u32 = 1035u32; |
04454e1e | 4346 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4347 | pub const ERR_MISSING_MAXP: u32 = 1036u32; |
04454e1e | 4348 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4349 | pub const ERR_MISSING_NAME: u32 = 1037u32; |
04454e1e | 4350 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4351 | pub const ERR_MISSING_OS2: u32 = 1039u32; |
04454e1e | 4352 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4353 | pub const ERR_MISSING_POST: u32 = 1038u32; |
04454e1e | 4354 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4355 | pub const ERR_MISSING_VHEA: u32 = 1040u32; |
04454e1e | 4356 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4357 | pub const ERR_MISSING_VMTX: u32 = 1041u32; |
04454e1e | 4358 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4359 | pub const ERR_NOT_TTC: u32 = 1014u32; |
04454e1e | 4360 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4361 | pub const ERR_NO_GLYPHS: u32 = 1009u32; |
04454e1e | 4362 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4363 | pub const ERR_PARAMETER0: u32 = 1100u32; |
04454e1e | 4364 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4365 | pub const ERR_PARAMETER1: u32 = 1101u32; |
04454e1e | 4366 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4367 | pub const ERR_PARAMETER10: u32 = 1110u32; |
04454e1e | 4368 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4369 | pub const ERR_PARAMETER11: u32 = 1111u32; |
04454e1e | 4370 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4371 | pub const ERR_PARAMETER12: u32 = 1112u32; |
04454e1e | 4372 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4373 | pub const ERR_PARAMETER13: u32 = 1113u32; |
04454e1e | 4374 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4375 | pub const ERR_PARAMETER14: u32 = 1114u32; |
04454e1e | 4376 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4377 | pub const ERR_PARAMETER15: u32 = 1115u32; |
04454e1e | 4378 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4379 | pub const ERR_PARAMETER16: u32 = 1116u32; |
04454e1e | 4380 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4381 | pub const ERR_PARAMETER2: u32 = 1102u32; |
04454e1e | 4382 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4383 | pub const ERR_PARAMETER3: u32 = 1103u32; |
04454e1e | 4384 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4385 | pub const ERR_PARAMETER4: u32 = 1104u32; |
04454e1e | 4386 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4387 | pub const ERR_PARAMETER5: u32 = 1105u32; |
04454e1e | 4388 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4389 | pub const ERR_PARAMETER6: u32 = 1106u32; |
04454e1e | 4390 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4391 | pub const ERR_PARAMETER7: u32 = 1107u32; |
04454e1e | 4392 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4393 | pub const ERR_PARAMETER8: u32 = 1108u32; |
04454e1e | 4394 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4395 | pub const ERR_PARAMETER9: u32 = 1109u32; |
04454e1e | 4396 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4397 | pub const ERR_READCONTROL: u32 = 1003u32; |
04454e1e | 4398 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4399 | pub const ERR_READOUTOFBOUNDS: u32 = 1001u32; |
04454e1e | 4400 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4401 | pub const ERR_VERSION: u32 = 1008u32; |
04454e1e | 4402 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4403 | pub const ERR_WOULD_GROW: u32 = 1007u32; |
04454e1e | 4404 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4405 | pub const ERR_WRITECONTROL: u32 = 1004u32; |
04454e1e | 4406 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4407 | pub const ERR_WRITEOUTOFBOUNDS: u32 = 1002u32; |
04454e1e | 4408 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4409 | pub type ETO_OPTIONS = u32; |
04454e1e | 4410 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4411 | pub const ETO_OPAQUE: ETO_OPTIONS = 2u32; |
04454e1e | 4412 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4413 | pub const ETO_CLIPPED: ETO_OPTIONS = 4u32; |
04454e1e | 4414 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4415 | pub const ETO_GLYPH_INDEX: ETO_OPTIONS = 16u32; |
04454e1e | 4416 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4417 | pub const ETO_RTLREADING: ETO_OPTIONS = 128u32; |
04454e1e | 4418 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4419 | pub const ETO_NUMERICSLOCAL: ETO_OPTIONS = 1024u32; |
04454e1e | 4420 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4421 | pub const ETO_NUMERICSLATIN: ETO_OPTIONS = 2048u32; |
04454e1e | 4422 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4423 | pub const ETO_IGNORELANGUAGE: ETO_OPTIONS = 4096u32; |
04454e1e | 4424 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4425 | pub const ETO_PDY: ETO_OPTIONS = 8192u32; |
04454e1e | 4426 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
4427 | pub const ETO_REVERSE_INDEX_MAP: ETO_OPTIONS = 65536u32; |
4428 | #[repr(C)] | |
04454e1e | 4429 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4430 | #[cfg(feature = "Win32_Foundation")] |
4431 | pub struct EXTLOGFONTA { | |
4432 | pub elfLogFont: LOGFONTA, | |
4433 | pub elfFullName: [u8; 64], | |
4434 | pub elfStyle: [u8; 32], | |
4435 | pub elfVersion: u32, | |
4436 | pub elfStyleSize: u32, | |
4437 | pub elfMatch: u32, | |
4438 | pub elfReserved: u32, | |
4439 | pub elfVendorId: [u8; 4], | |
4440 | pub elfCulture: u32, | |
4441 | pub elfPanose: PANOSE, | |
4442 | } | |
4443 | #[cfg(feature = "Win32_Foundation")] | |
4444 | impl ::core::marker::Copy for EXTLOGFONTA {} | |
4445 | #[cfg(feature = "Win32_Foundation")] | |
4446 | impl ::core::clone::Clone for EXTLOGFONTA { | |
4447 | fn clone(&self) -> Self { | |
4448 | *self | |
4449 | } | |
4450 | } | |
4451 | #[repr(C)] | |
04454e1e | 4452 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
4453 | pub struct EXTLOGFONTW { |
4454 | pub elfLogFont: LOGFONTW, | |
4455 | pub elfFullName: [u16; 64], | |
4456 | pub elfStyle: [u16; 32], | |
4457 | pub elfVersion: u32, | |
4458 | pub elfStyleSize: u32, | |
4459 | pub elfMatch: u32, | |
4460 | pub elfReserved: u32, | |
4461 | pub elfVendorId: [u8; 4], | |
4462 | pub elfCulture: u32, | |
4463 | pub elfPanose: PANOSE, | |
4464 | } | |
4465 | impl ::core::marker::Copy for EXTLOGFONTW {} | |
4466 | impl ::core::clone::Clone for EXTLOGFONTW { | |
4467 | fn clone(&self) -> Self { | |
4468 | *self | |
4469 | } | |
4470 | } | |
4471 | #[repr(C)] | |
04454e1e | 4472 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
4473 | pub struct EXTLOGPEN { |
4474 | pub elpPenStyle: u32, | |
4475 | pub elpWidth: u32, | |
4476 | pub elpBrushStyle: u32, | |
4477 | pub elpColor: u32, | |
4478 | pub elpHatch: usize, | |
4479 | pub elpNumEntries: u32, | |
4480 | pub elpStyleEntry: [u32; 1], | |
4481 | } | |
4482 | impl ::core::marker::Copy for EXTLOGPEN {} | |
4483 | impl ::core::clone::Clone for EXTLOGPEN { | |
4484 | fn clone(&self) -> Self { | |
4485 | *self | |
4486 | } | |
4487 | } | |
4488 | #[repr(C)] | |
04454e1e | 4489 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
4490 | pub struct EXTLOGPEN32 { |
4491 | pub elpPenStyle: u32, | |
4492 | pub elpWidth: u32, | |
4493 | pub elpBrushStyle: u32, | |
4494 | pub elpColor: u32, | |
4495 | pub elpHatch: u32, | |
4496 | pub elpNumEntries: u32, | |
4497 | pub elpStyleEntry: [u32; 1], | |
4498 | } | |
4499 | impl ::core::marker::Copy for EXTLOGPEN32 {} | |
4500 | impl ::core::clone::Clone for EXTLOGPEN32 { | |
4501 | fn clone(&self) -> Self { | |
4502 | *self | |
4503 | } | |
4504 | } | |
04454e1e | 4505 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4506 | pub const EXTTEXTOUT: u32 = 512u32; |
04454e1e | 4507 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4508 | pub const EXT_DEVICE_CAPS: u32 = 4099u32; |
04454e1e | 4509 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4510 | pub type EXT_FLOOD_FILL_TYPE = u32; |
04454e1e | 4511 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4512 | pub const FLOODFILLBORDER: EXT_FLOOD_FILL_TYPE = 0u32; |
04454e1e | 4513 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4514 | pub const FLOODFILLSURFACE: EXT_FLOOD_FILL_TYPE = 1u32; |
04454e1e | 4515 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4516 | pub const E_ADDFONTFAILED: i32 = 512i32; |
04454e1e | 4517 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4518 | pub const E_API_NOTIMPL: i32 = 1i32; |
04454e1e | 4519 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4520 | pub const E_CHARCODECOUNTINVALID: i32 = 2i32; |
04454e1e | 4521 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4522 | pub const E_CHARCODESETINVALID: i32 = 3i32; |
04454e1e | 4523 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4524 | pub const E_CHARSETINVALID: i32 = 21i32; |
04454e1e | 4525 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4526 | pub const E_COULDNTCREATETEMPFILE: i32 = 513i32; |
04454e1e | 4527 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4528 | pub const E_DEVICETRUETYPEFONT: i32 = 4i32; |
04454e1e | 4529 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4530 | pub const E_ERRORACCESSINGEXCLUDELIST: i32 = 274i32; |
04454e1e | 4531 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4532 | pub const E_ERRORACCESSINGFACENAME: i32 = 13i32; |
04454e1e | 4533 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4534 | pub const E_ERRORACCESSINGFONTDATA: i32 = 12i32; |
04454e1e | 4535 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4536 | pub const E_ERRORCOMPRESSINGFONTDATA: i32 = 256i32; |
04454e1e | 4537 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4538 | pub const E_ERRORCONVERTINGCHARS: i32 = 18i32; |
04454e1e | 4539 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4540 | pub const E_ERRORCREATINGFONTFILE: i32 = 269i32; |
04454e1e | 4541 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4542 | pub const E_ERRORDECOMPRESSINGFONTDATA: i32 = 273i32; |
04454e1e | 4543 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4544 | pub const E_ERROREXPANDINGFONTDATA: i32 = 519i32; |
04454e1e | 4545 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4546 | pub const E_ERRORGETTINGDC: i32 = 520i32; |
04454e1e | 4547 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4548 | pub const E_ERRORREADINGFONTDATA: i32 = 267i32; |
04454e1e | 4549 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4550 | pub const E_ERRORUNICODECONVERSION: i32 = 17i32; |
04454e1e | 4551 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4552 | pub const E_EXCEPTION: i32 = 19i32; |
04454e1e | 4553 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4554 | pub const E_EXCEPTIONINCOMPRESSION: i32 = 522i32; |
04454e1e | 4555 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4556 | pub const E_EXCEPTIONINDECOMPRESSION: i32 = 521i32; |
04454e1e | 4557 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4558 | pub const E_FACENAMEINVALID: i32 = 275i32; |
04454e1e | 4559 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4560 | pub const E_FILE_NOT_FOUND: i32 = 23i32; |
04454e1e | 4561 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4562 | pub const E_FLAGSINVALID: i32 = 268i32; |
04454e1e | 4563 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4564 | pub const E_FONTALREADYEXISTS: i32 = 270i32; |
04454e1e | 4565 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4566 | pub const E_FONTDATAINVALID: i32 = 258i32; |
04454e1e | 4567 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4568 | pub const E_FONTFAMILYNAMENOTINFULL: i32 = 285i32; |
04454e1e | 4569 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4570 | pub const E_FONTFILECREATEFAILED: i32 = 515i32; |
04454e1e | 4571 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4572 | pub const E_FONTFILENOTFOUND: i32 = 517i32; |
04454e1e | 4573 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4574 | pub const E_FONTINSTALLFAILED: i32 = 272i32; |
04454e1e | 4575 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4576 | pub const E_FONTNAMEALREADYEXISTS: i32 = 271i32; |
04454e1e | 4577 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4578 | pub const E_FONTNOTEMBEDDABLE: i32 = 260i32; |
04454e1e | 4579 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4580 | pub const E_FONTREFERENCEINVALID: i32 = 8i32; |
04454e1e | 4581 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4582 | pub const E_FONTVARIATIONSIMULATED: i32 = 283i32; |
04454e1e | 4583 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4584 | pub const E_HDCINVALID: i32 = 6i32; |
04454e1e | 4585 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4586 | pub const E_INPUTPARAMINVALID: i32 = 25i32; |
04454e1e | 4587 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4588 | pub const E_NAMECHANGEFAILED: i32 = 259i32; |
04454e1e | 4589 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4590 | pub const E_NOFREEMEMORY: i32 = 7i32; |
04454e1e | 4591 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4592 | pub const E_NONE: i32 = 0i32; |
04454e1e | 4593 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4594 | pub const E_NOOS2: i32 = 265i32; |
04454e1e | 4595 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4596 | pub const E_NOTATRUETYPEFONT: i32 = 10i32; |
04454e1e | 4597 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4598 | pub const E_PBENABLEDINVALID: i32 = 280i32; |
04454e1e | 4599 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4600 | pub const E_PERMISSIONSINVALID: i32 = 279i32; |
04454e1e | 4601 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4602 | pub const E_PRIVSINVALID: i32 = 261i32; |
04454e1e | 4603 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4604 | pub const E_PRIVSTATUSINVALID: i32 = 278i32; |
04454e1e | 4605 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4606 | pub const E_READFROMSTREAMFAILED: i32 = 263i32; |
04454e1e | 4607 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4608 | pub const E_RESERVEDPARAMNOTNULL: i32 = 20i32; |
04454e1e | 4609 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4610 | pub const E_RESOURCEFILECREATEFAILED: i32 = 518i32; |
04454e1e | 4611 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4612 | pub const E_SAVETOSTREAMFAILED: i32 = 264i32; |
04454e1e | 4613 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4614 | pub const E_STATUSINVALID: i32 = 277i32; |
04454e1e | 4615 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4616 | pub const E_STREAMINVALID: i32 = 276i32; |
04454e1e | 4617 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4618 | pub const E_SUBSETTINGEXCEPTION: i32 = 281i32; |
04454e1e | 4619 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4620 | pub const E_SUBSETTINGFAILED: i32 = 262i32; |
04454e1e | 4621 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4622 | pub const E_SUBSTRING_TEST_FAIL: i32 = 282i32; |
04454e1e | 4623 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4624 | pub const E_T2NOFREEMEMORY: i32 = 266i32; |
04454e1e | 4625 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4626 | pub const E_TTC_INDEX_OUT_OF_RANGE: i32 = 24i32; |
04454e1e | 4627 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4628 | pub const E_WINDOWSAPI: i32 = 516i32; |
04454e1e | 4629 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4630 | pub const FEATURESETTING_CUSTPAPER: u32 = 3u32; |
04454e1e | 4631 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4632 | pub const FEATURESETTING_MIRROR: u32 = 4u32; |
04454e1e | 4633 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4634 | pub const FEATURESETTING_NEGATIVE: u32 = 5u32; |
04454e1e | 4635 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4636 | pub const FEATURESETTING_NUP: u32 = 0u32; |
04454e1e | 4637 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4638 | pub const FEATURESETTING_OUTPUT: u32 = 1u32; |
04454e1e | 4639 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4640 | pub const FEATURESETTING_PRIVATE_BEGIN: u32 = 4096u32; |
04454e1e | 4641 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4642 | pub const FEATURESETTING_PRIVATE_END: u32 = 8191u32; |
04454e1e | 4643 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4644 | pub const FEATURESETTING_PROTOCOL: u32 = 6u32; |
04454e1e | 4645 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
4646 | pub const FEATURESETTING_PSLEVEL: u32 = 2u32; |
4647 | #[repr(C)] | |
04454e1e | 4648 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
4649 | pub struct FIXED { |
4650 | pub fract: u16, | |
4651 | pub value: i16, | |
4652 | } | |
4653 | impl ::core::marker::Copy for FIXED {} | |
4654 | impl ::core::clone::Clone for FIXED { | |
4655 | fn clone(&self) -> Self { | |
4656 | *self | |
4657 | } | |
4658 | } | |
04454e1e | 4659 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4660 | pub const FIXED_PITCH: u32 = 1u32; |
04454e1e | 4661 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4662 | pub const FLI_GLYPHS: i32 = 262144i32; |
04454e1e | 4663 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4664 | pub const FLI_MASK: u32 = 4155u32; |
04454e1e | 4665 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4666 | pub const FLUSHOUTPUT: u32 = 6u32; |
04454e1e | 4667 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4668 | #[cfg(feature = "Win32_Foundation")] |
4669 | pub type FONTENUMPROCA = ::core::option::Option<unsafe extern "system" fn(param0: *const LOGFONTA, param1: *const TEXTMETRICA, param2: u32, param3: super::super::Foundation::LPARAM) -> i32>; | |
04454e1e | 4670 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4671 | #[cfg(feature = "Win32_Foundation")] |
4672 | pub type FONTENUMPROCW = ::core::option::Option<unsafe extern "system" fn(param0: *const LOGFONTW, param1: *const TEXTMETRICW, param2: u32, param3: super::super::Foundation::LPARAM) -> i32>; | |
04454e1e | 4673 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4674 | pub const FONTMAPPER_MAX: u32 = 10u32; |
04454e1e | 4675 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4676 | pub type FONT_CLIP_PRECISION = u32; |
04454e1e | 4677 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4678 | pub const CLIP_CHARACTER_PRECIS: FONT_CLIP_PRECISION = 1u32; |
04454e1e | 4679 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4680 | pub const CLIP_DEFAULT_PRECIS: FONT_CLIP_PRECISION = 0u32; |
04454e1e | 4681 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4682 | pub const CLIP_DFA_DISABLE: FONT_CLIP_PRECISION = 64u32; |
04454e1e | 4683 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4684 | pub const CLIP_EMBEDDED: FONT_CLIP_PRECISION = 128u32; |
04454e1e | 4685 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4686 | pub const CLIP_LH_ANGLES: FONT_CLIP_PRECISION = 16u32; |
04454e1e | 4687 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4688 | pub const CLIP_MASK: FONT_CLIP_PRECISION = 15u32; |
04454e1e | 4689 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4690 | pub const CLIP_STROKE_PRECIS: FONT_CLIP_PRECISION = 2u32; |
04454e1e | 4691 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4692 | pub const CLIP_TT_ALWAYS: FONT_CLIP_PRECISION = 32u32; |
04454e1e | 4693 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4694 | pub type FONT_LICENSE_PRIVS = u32; |
04454e1e | 4695 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4696 | pub const LICENSE_PREVIEWPRINT: FONT_LICENSE_PRIVS = 4u32; |
04454e1e | 4697 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4698 | pub const LICENSE_EDITABLE: FONT_LICENSE_PRIVS = 8u32; |
04454e1e | 4699 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4700 | pub const LICENSE_INSTALLABLE: FONT_LICENSE_PRIVS = 0u32; |
04454e1e | 4701 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4702 | pub const LICENSE_NOEMBEDDING: FONT_LICENSE_PRIVS = 2u32; |
04454e1e | 4703 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4704 | pub const LICENSE_DEFAULT: FONT_LICENSE_PRIVS = 0u32; |
04454e1e | 4705 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4706 | pub type FONT_OUTPUT_PRECISION = u32; |
04454e1e | 4707 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4708 | pub const OUT_CHARACTER_PRECIS: FONT_OUTPUT_PRECISION = 2u32; |
04454e1e | 4709 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4710 | pub const OUT_DEFAULT_PRECIS: FONT_OUTPUT_PRECISION = 0u32; |
04454e1e | 4711 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4712 | pub const OUT_DEVICE_PRECIS: FONT_OUTPUT_PRECISION = 5u32; |
04454e1e | 4713 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4714 | pub const OUT_OUTLINE_PRECIS: FONT_OUTPUT_PRECISION = 8u32; |
04454e1e | 4715 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4716 | pub const OUT_PS_ONLY_PRECIS: FONT_OUTPUT_PRECISION = 10u32; |
04454e1e | 4717 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4718 | pub const OUT_RASTER_PRECIS: FONT_OUTPUT_PRECISION = 6u32; |
04454e1e | 4719 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4720 | pub const OUT_STRING_PRECIS: FONT_OUTPUT_PRECISION = 1u32; |
04454e1e | 4721 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4722 | pub const OUT_STROKE_PRECIS: FONT_OUTPUT_PRECISION = 3u32; |
04454e1e | 4723 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4724 | pub const OUT_TT_ONLY_PRECIS: FONT_OUTPUT_PRECISION = 7u32; |
04454e1e | 4725 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4726 | pub const OUT_TT_PRECIS: FONT_OUTPUT_PRECISION = 4u32; |
04454e1e | 4727 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4728 | pub type FONT_PITCH_AND_FAMILY = u32; |
04454e1e | 4729 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4730 | pub const FF_DECORATIVE: FONT_PITCH_AND_FAMILY = 80u32; |
04454e1e | 4731 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4732 | pub const FF_DONTCARE: FONT_PITCH_AND_FAMILY = 0u32; |
04454e1e | 4733 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4734 | pub const FF_MODERN: FONT_PITCH_AND_FAMILY = 48u32; |
04454e1e | 4735 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4736 | pub const FF_ROMAN: FONT_PITCH_AND_FAMILY = 16u32; |
04454e1e | 4737 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4738 | pub const FF_SCRIPT: FONT_PITCH_AND_FAMILY = 64u32; |
04454e1e | 4739 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4740 | pub const FF_SWISS: FONT_PITCH_AND_FAMILY = 32u32; |
04454e1e | 4741 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4742 | pub type FONT_QUALITY = u32; |
04454e1e | 4743 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4744 | pub const ANTIALIASED_QUALITY: FONT_QUALITY = 4u32; |
04454e1e | 4745 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4746 | pub const CLEARTYPE_QUALITY: FONT_QUALITY = 5u32; |
04454e1e | 4747 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4748 | pub const DEFAULT_QUALITY: FONT_QUALITY = 0u32; |
04454e1e | 4749 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4750 | pub const DRAFT_QUALITY: FONT_QUALITY = 1u32; |
04454e1e | 4751 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4752 | pub const NONANTIALIASED_QUALITY: FONT_QUALITY = 3u32; |
04454e1e | 4753 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4754 | pub const PROOF_QUALITY: FONT_QUALITY = 2u32; |
04454e1e | 4755 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4756 | pub type FONT_RESOURCE_CHARACTERISTICS = u32; |
04454e1e | 4757 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4758 | pub const FR_PRIVATE: FONT_RESOURCE_CHARACTERISTICS = 16u32; |
04454e1e | 4759 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4760 | pub const FR_NOT_ENUM: FONT_RESOURCE_CHARACTERISTICS = 32u32; |
04454e1e | 4761 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4762 | pub const FS_ARABIC: i32 = 64i32; |
04454e1e | 4763 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4764 | pub const FS_BALTIC: i32 = 128i32; |
04454e1e | 4765 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4766 | pub const FS_CHINESESIMP: i32 = 262144i32; |
04454e1e | 4767 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4768 | pub const FS_CHINESETRAD: i32 = 1048576i32; |
04454e1e | 4769 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4770 | pub const FS_CYRILLIC: i32 = 4i32; |
04454e1e | 4771 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4772 | pub const FS_GREEK: i32 = 8i32; |
04454e1e | 4773 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4774 | pub const FS_HEBREW: i32 = 32i32; |
04454e1e | 4775 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4776 | pub const FS_JISJAPAN: i32 = 131072i32; |
04454e1e | 4777 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4778 | pub const FS_JOHAB: i32 = 2097152i32; |
04454e1e | 4779 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4780 | pub const FS_LATIN1: i32 = 1i32; |
04454e1e | 4781 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4782 | pub const FS_LATIN2: i32 = 2i32; |
04454e1e | 4783 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4784 | pub const FS_SYMBOL: i32 = -2147483648i32; |
04454e1e | 4785 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4786 | pub const FS_THAI: i32 = 65536i32; |
04454e1e | 4787 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4788 | pub const FS_TURKISH: i32 = 16i32; |
04454e1e | 4789 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4790 | pub const FS_VIETNAMESE: i32 = 256i32; |
04454e1e | 4791 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4792 | pub const FS_WANSUNG: i32 = 524288i32; |
04454e1e | 4793 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4794 | pub const FW_BLACK: u32 = 900u32; |
04454e1e | 4795 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4796 | pub const FW_BOLD: u32 = 700u32; |
04454e1e | 4797 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4798 | pub const FW_DEMIBOLD: u32 = 600u32; |
04454e1e | 4799 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4800 | pub const FW_DONTCARE: u32 = 0u32; |
04454e1e | 4801 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4802 | pub const FW_EXTRABOLD: u32 = 800u32; |
04454e1e | 4803 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4804 | pub const FW_EXTRALIGHT: u32 = 200u32; |
04454e1e | 4805 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4806 | pub const FW_HEAVY: u32 = 900u32; |
04454e1e | 4807 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4808 | pub const FW_LIGHT: u32 = 300u32; |
04454e1e | 4809 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4810 | pub const FW_MEDIUM: u32 = 500u32; |
04454e1e | 4811 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4812 | pub const FW_NORMAL: u32 = 400u32; |
04454e1e | 4813 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4814 | pub const FW_REGULAR: u32 = 400u32; |
04454e1e | 4815 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4816 | pub const FW_SEMIBOLD: u32 = 600u32; |
04454e1e | 4817 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4818 | pub const FW_THIN: u32 = 100u32; |
04454e1e | 4819 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4820 | pub const FW_ULTRABOLD: u32 = 800u32; |
04454e1e | 4821 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4822 | pub const FW_ULTRALIGHT: u32 = 200u32; |
04454e1e | 4823 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4824 | pub const GB2312_CHARSET: u32 = 134u32; |
04454e1e | 4825 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4826 | pub const GCPCLASS_ARABIC: u32 = 2u32; |
04454e1e | 4827 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4828 | pub const GCPCLASS_HEBREW: u32 = 2u32; |
04454e1e | 4829 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4830 | pub const GCPCLASS_LATIN: u32 = 1u32; |
04454e1e | 4831 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4832 | pub const GCPCLASS_LATINNUMBER: u32 = 5u32; |
04454e1e | 4833 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4834 | pub const GCPCLASS_LATINNUMERICSEPARATOR: u32 = 7u32; |
04454e1e | 4835 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4836 | pub const GCPCLASS_LATINNUMERICTERMINATOR: u32 = 6u32; |
04454e1e | 4837 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4838 | pub const GCPCLASS_LOCALNUMBER: u32 = 4u32; |
04454e1e | 4839 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4840 | pub const GCPCLASS_NEUTRAL: u32 = 3u32; |
04454e1e | 4841 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4842 | pub const GCPCLASS_NUMERICSEPARATOR: u32 = 8u32; |
04454e1e | 4843 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4844 | pub const GCPCLASS_POSTBOUNDLTR: u32 = 32u32; |
04454e1e | 4845 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4846 | pub const GCPCLASS_POSTBOUNDRTL: u32 = 16u32; |
04454e1e | 4847 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4848 | pub const GCPCLASS_PREBOUNDLTR: u32 = 128u32; |
04454e1e | 4849 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4850 | pub const GCPCLASS_PREBOUNDRTL: u32 = 64u32; |
04454e1e | 4851 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4852 | pub const GCPGLYPH_LINKAFTER: u32 = 16384u32; |
04454e1e | 4853 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4854 | pub const GCPGLYPH_LINKBEFORE: u32 = 32768u32; |
04454e1e | 4855 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4856 | pub const GCP_DBCS: u32 = 1u32; |
04454e1e | 4857 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4858 | pub const GCP_ERROR: u32 = 32768u32; |
04454e1e | 4859 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
4860 | pub const GCP_JUSTIFYIN: i32 = 2097152i32; |
4861 | #[repr(C)] | |
04454e1e | 4862 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
4863 | pub struct GCP_RESULTSA { |
4864 | pub lStructSize: u32, | |
04454e1e | 4865 | pub lpOutString: ::windows_sys::core::PSTR, |
5e7ed085 FG |
4866 | pub lpOrder: *mut u32, |
4867 | pub lpDx: *mut i32, | |
4868 | pub lpCaretPos: *mut i32, | |
04454e1e FG |
4869 | pub lpClass: ::windows_sys::core::PSTR, |
4870 | pub lpGlyphs: ::windows_sys::core::PWSTR, | |
5e7ed085 FG |
4871 | pub nGlyphs: u32, |
4872 | pub nMaxFit: i32, | |
4873 | } | |
5e7ed085 | 4874 | impl ::core::marker::Copy for GCP_RESULTSA {} |
5e7ed085 FG |
4875 | impl ::core::clone::Clone for GCP_RESULTSA { |
4876 | fn clone(&self) -> Self { | |
4877 | *self | |
4878 | } | |
4879 | } | |
4880 | #[repr(C)] | |
04454e1e | 4881 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
4882 | pub struct GCP_RESULTSW { |
4883 | pub lStructSize: u32, | |
04454e1e | 4884 | pub lpOutString: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
4885 | pub lpOrder: *mut u32, |
4886 | pub lpDx: *mut i32, | |
4887 | pub lpCaretPos: *mut i32, | |
04454e1e FG |
4888 | pub lpClass: ::windows_sys::core::PSTR, |
4889 | pub lpGlyphs: ::windows_sys::core::PWSTR, | |
5e7ed085 FG |
4890 | pub nGlyphs: u32, |
4891 | pub nMaxFit: i32, | |
4892 | } | |
5e7ed085 | 4893 | impl ::core::marker::Copy for GCP_RESULTSW {} |
5e7ed085 FG |
4894 | impl ::core::clone::Clone for GCP_RESULTSW { |
4895 | fn clone(&self) -> Self { | |
4896 | *self | |
4897 | } | |
4898 | } | |
04454e1e | 4899 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4900 | pub const GDICOMMENT_BEGINGROUP: u32 = 2u32; |
04454e1e | 4901 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4902 | pub const GDICOMMENT_ENDGROUP: u32 = 3u32; |
04454e1e | 4903 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4904 | pub const GDICOMMENT_IDENTIFIER: u32 = 1128875079u32; |
04454e1e | 4905 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4906 | pub const GDICOMMENT_MULTIFORMATS: u32 = 1073741828u32; |
04454e1e | 4907 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4908 | pub const GDICOMMENT_UNICODE_END: u32 = 128u32; |
04454e1e | 4909 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4910 | pub const GDICOMMENT_UNICODE_STRING: u32 = 64u32; |
04454e1e | 4911 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4912 | pub const GDICOMMENT_WINDOWS_METAFILE: u32 = 2147483649u32; |
04454e1e | 4913 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4914 | pub const GDIPLUS_TS_QUERYVER: u32 = 4122u32; |
04454e1e | 4915 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4916 | pub const GDIPLUS_TS_RECORD: u32 = 4123u32; |
04454e1e | 4917 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4918 | pub const GDIREGISTERDDRAWPACKETVERSION: u32 = 1u32; |
04454e1e | 4919 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4920 | pub const GDI_ERROR: i32 = -1i32; |
04454e1e | 4921 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4922 | pub const GETCOLORTABLE: u32 = 5u32; |
04454e1e | 4923 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4924 | pub const GETDEVICEUNITS: u32 = 42u32; |
04454e1e | 4925 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4926 | pub const GETEXTENDEDTEXTMETRICS: u32 = 256u32; |
04454e1e | 4927 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4928 | pub const GETEXTENTTABLE: u32 = 257u32; |
04454e1e | 4929 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4930 | pub const GETFACENAME: u32 = 513u32; |
04454e1e | 4931 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4932 | pub const GETPAIRKERNTABLE: u32 = 258u32; |
04454e1e | 4933 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4934 | pub const GETPENWIDTH: u32 = 16u32; |
04454e1e | 4935 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4936 | pub const GETPHYSPAGESIZE: u32 = 12u32; |
04454e1e | 4937 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4938 | pub const GETPRINTINGOFFSET: u32 = 13u32; |
04454e1e | 4939 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4940 | pub const GETSCALINGFACTOR: u32 = 14u32; |
04454e1e | 4941 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4942 | pub const GETSETPAPERBINS: u32 = 29u32; |
04454e1e | 4943 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4944 | pub const GETSETPAPERMETRICS: u32 = 35u32; |
04454e1e | 4945 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4946 | pub const GETSETPRINTORIENT: u32 = 30u32; |
04454e1e | 4947 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4948 | pub const GETSETSCREENPARAMS: u32 = 3072u32; |
04454e1e | 4949 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4950 | pub const GETTECHNOLGY: u32 = 20u32; |
04454e1e | 4951 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4952 | pub const GETTECHNOLOGY: u32 = 20u32; |
04454e1e | 4953 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4954 | pub const GETTRACKKERNTABLE: u32 = 259u32; |
04454e1e | 4955 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4956 | pub const GETVECTORBRUSHSIZE: u32 = 27u32; |
04454e1e | 4957 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4958 | pub const GETVECTORPENSIZE: u32 = 26u32; |
04454e1e | 4959 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4960 | pub type GET_CHARACTER_PLACEMENT_FLAGS = u32; |
04454e1e | 4961 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4962 | pub const GCP_CLASSIN: GET_CHARACTER_PLACEMENT_FLAGS = 524288u32; |
04454e1e | 4963 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4964 | pub const GCP_DIACRITIC: GET_CHARACTER_PLACEMENT_FLAGS = 256u32; |
04454e1e | 4965 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4966 | pub const GCP_DISPLAYZWG: GET_CHARACTER_PLACEMENT_FLAGS = 4194304u32; |
04454e1e | 4967 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4968 | pub const GCP_GLYPHSHAPE: GET_CHARACTER_PLACEMENT_FLAGS = 16u32; |
04454e1e | 4969 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4970 | pub const GCP_JUSTIFY: GET_CHARACTER_PLACEMENT_FLAGS = 65536u32; |
04454e1e | 4971 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4972 | pub const GCP_KASHIDA: GET_CHARACTER_PLACEMENT_FLAGS = 1024u32; |
04454e1e | 4973 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4974 | pub const GCP_LIGATE: GET_CHARACTER_PLACEMENT_FLAGS = 32u32; |
04454e1e | 4975 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4976 | pub const GCP_MAXEXTENT: GET_CHARACTER_PLACEMENT_FLAGS = 1048576u32; |
04454e1e | 4977 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4978 | pub const GCP_NEUTRALOVERRIDE: GET_CHARACTER_PLACEMENT_FLAGS = 33554432u32; |
04454e1e | 4979 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4980 | pub const GCP_NUMERICOVERRIDE: GET_CHARACTER_PLACEMENT_FLAGS = 16777216u32; |
04454e1e | 4981 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4982 | pub const GCP_NUMERICSLATIN: GET_CHARACTER_PLACEMENT_FLAGS = 67108864u32; |
04454e1e | 4983 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4984 | pub const GCP_NUMERICSLOCAL: GET_CHARACTER_PLACEMENT_FLAGS = 134217728u32; |
04454e1e | 4985 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4986 | pub const GCP_REORDER: GET_CHARACTER_PLACEMENT_FLAGS = 2u32; |
04454e1e | 4987 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4988 | pub const GCP_SYMSWAPOFF: GET_CHARACTER_PLACEMENT_FLAGS = 8388608u32; |
04454e1e | 4989 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4990 | pub const GCP_USEKERNING: GET_CHARACTER_PLACEMENT_FLAGS = 8u32; |
04454e1e | 4991 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4992 | pub type GET_DCX_FLAGS = u32; |
04454e1e | 4993 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4994 | pub const DCX_WINDOW: GET_DCX_FLAGS = 1u32; |
04454e1e | 4995 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4996 | pub const DCX_CACHE: GET_DCX_FLAGS = 2u32; |
04454e1e | 4997 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 4998 | pub const DCX_PARENTCLIP: GET_DCX_FLAGS = 32u32; |
04454e1e | 4999 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5000 | pub const DCX_CLIPSIBLINGS: GET_DCX_FLAGS = 16u32; |
04454e1e | 5001 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5002 | pub const DCX_CLIPCHILDREN: GET_DCX_FLAGS = 8u32; |
04454e1e | 5003 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5004 | pub const DCX_NORESETATTRS: GET_DCX_FLAGS = 4u32; |
04454e1e | 5005 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5006 | pub const DCX_LOCKWINDOWUPDATE: GET_DCX_FLAGS = 1024u32; |
04454e1e | 5007 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5008 | pub const DCX_EXCLUDERGN: GET_DCX_FLAGS = 64u32; |
04454e1e | 5009 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5010 | pub const DCX_INTERSECTRGN: GET_DCX_FLAGS = 128u32; |
04454e1e | 5011 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5012 | pub const DCX_INTERSECTUPDATE: GET_DCX_FLAGS = 512u32; |
04454e1e | 5013 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5014 | pub const DCX_VALIDATE: GET_DCX_FLAGS = 2097152u32; |
04454e1e | 5015 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5016 | pub type GET_DEVICE_CAPS_INDEX = u32; |
04454e1e | 5017 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5018 | pub const DRIVERVERSION: GET_DEVICE_CAPS_INDEX = 0u32; |
04454e1e | 5019 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5020 | pub const TECHNOLOGY: GET_DEVICE_CAPS_INDEX = 2u32; |
04454e1e | 5021 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5022 | pub const HORZSIZE: GET_DEVICE_CAPS_INDEX = 4u32; |
04454e1e | 5023 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5024 | pub const VERTSIZE: GET_DEVICE_CAPS_INDEX = 6u32; |
04454e1e | 5025 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5026 | pub const HORZRES: GET_DEVICE_CAPS_INDEX = 8u32; |
04454e1e | 5027 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5028 | pub const VERTRES: GET_DEVICE_CAPS_INDEX = 10u32; |
04454e1e | 5029 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5030 | pub const BITSPIXEL: GET_DEVICE_CAPS_INDEX = 12u32; |
04454e1e | 5031 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5032 | pub const PLANES: GET_DEVICE_CAPS_INDEX = 14u32; |
04454e1e | 5033 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5034 | pub const NUMBRUSHES: GET_DEVICE_CAPS_INDEX = 16u32; |
04454e1e | 5035 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5036 | pub const NUMPENS: GET_DEVICE_CAPS_INDEX = 18u32; |
04454e1e | 5037 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5038 | pub const NUMMARKERS: GET_DEVICE_CAPS_INDEX = 20u32; |
04454e1e | 5039 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5040 | pub const NUMFONTS: GET_DEVICE_CAPS_INDEX = 22u32; |
04454e1e | 5041 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5042 | pub const NUMCOLORS: GET_DEVICE_CAPS_INDEX = 24u32; |
04454e1e | 5043 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5044 | pub const PDEVICESIZE: GET_DEVICE_CAPS_INDEX = 26u32; |
04454e1e | 5045 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5046 | pub const CURVECAPS: GET_DEVICE_CAPS_INDEX = 28u32; |
04454e1e | 5047 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5048 | pub const LINECAPS: GET_DEVICE_CAPS_INDEX = 30u32; |
04454e1e | 5049 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5050 | pub const POLYGONALCAPS: GET_DEVICE_CAPS_INDEX = 32u32; |
04454e1e | 5051 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5052 | pub const TEXTCAPS: GET_DEVICE_CAPS_INDEX = 34u32; |
04454e1e | 5053 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5054 | pub const CLIPCAPS: GET_DEVICE_CAPS_INDEX = 36u32; |
04454e1e | 5055 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5056 | pub const RASTERCAPS: GET_DEVICE_CAPS_INDEX = 38u32; |
04454e1e | 5057 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5058 | pub const ASPECTX: GET_DEVICE_CAPS_INDEX = 40u32; |
04454e1e | 5059 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5060 | pub const ASPECTY: GET_DEVICE_CAPS_INDEX = 42u32; |
04454e1e | 5061 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5062 | pub const ASPECTXY: GET_DEVICE_CAPS_INDEX = 44u32; |
04454e1e | 5063 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5064 | pub const LOGPIXELSX: GET_DEVICE_CAPS_INDEX = 88u32; |
04454e1e | 5065 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5066 | pub const LOGPIXELSY: GET_DEVICE_CAPS_INDEX = 90u32; |
04454e1e | 5067 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5068 | pub const SIZEPALETTE: GET_DEVICE_CAPS_INDEX = 104u32; |
04454e1e | 5069 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5070 | pub const NUMRESERVED: GET_DEVICE_CAPS_INDEX = 106u32; |
04454e1e | 5071 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5072 | pub const COLORRES: GET_DEVICE_CAPS_INDEX = 108u32; |
04454e1e | 5073 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5074 | pub const PHYSICALWIDTH: GET_DEVICE_CAPS_INDEX = 110u32; |
04454e1e | 5075 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5076 | pub const PHYSICALHEIGHT: GET_DEVICE_CAPS_INDEX = 111u32; |
04454e1e | 5077 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5078 | pub const PHYSICALOFFSETX: GET_DEVICE_CAPS_INDEX = 112u32; |
04454e1e | 5079 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5080 | pub const PHYSICALOFFSETY: GET_DEVICE_CAPS_INDEX = 113u32; |
04454e1e | 5081 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5082 | pub const SCALINGFACTORX: GET_DEVICE_CAPS_INDEX = 114u32; |
04454e1e | 5083 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5084 | pub const SCALINGFACTORY: GET_DEVICE_CAPS_INDEX = 115u32; |
04454e1e | 5085 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5086 | pub const VREFRESH: GET_DEVICE_CAPS_INDEX = 116u32; |
04454e1e | 5087 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5088 | pub const DESKTOPVERTRES: GET_DEVICE_CAPS_INDEX = 117u32; |
04454e1e | 5089 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5090 | pub const DESKTOPHORZRES: GET_DEVICE_CAPS_INDEX = 118u32; |
04454e1e | 5091 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5092 | pub const BLTALIGNMENT: GET_DEVICE_CAPS_INDEX = 119u32; |
04454e1e | 5093 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5094 | pub const SHADEBLENDCAPS: GET_DEVICE_CAPS_INDEX = 120u32; |
04454e1e | 5095 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5096 | pub const COLORMGMTCAPS: GET_DEVICE_CAPS_INDEX = 121u32; |
04454e1e | 5097 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5098 | pub type GET_GLYPH_OUTLINE_FORMAT = u32; |
04454e1e | 5099 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5100 | pub const GGO_BEZIER: GET_GLYPH_OUTLINE_FORMAT = 3u32; |
04454e1e | 5101 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5102 | pub const GGO_BITMAP: GET_GLYPH_OUTLINE_FORMAT = 1u32; |
04454e1e | 5103 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5104 | pub const GGO_GLYPH_INDEX: GET_GLYPH_OUTLINE_FORMAT = 128u32; |
04454e1e | 5105 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5106 | pub const GGO_GRAY2_BITMAP: GET_GLYPH_OUTLINE_FORMAT = 4u32; |
04454e1e | 5107 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5108 | pub const GGO_GRAY4_BITMAP: GET_GLYPH_OUTLINE_FORMAT = 5u32; |
04454e1e | 5109 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5110 | pub const GGO_GRAY8_BITMAP: GET_GLYPH_OUTLINE_FORMAT = 6u32; |
04454e1e | 5111 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5112 | pub const GGO_METRICS: GET_GLYPH_OUTLINE_FORMAT = 0u32; |
04454e1e | 5113 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5114 | pub const GGO_NATIVE: GET_GLYPH_OUTLINE_FORMAT = 2u32; |
04454e1e | 5115 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5116 | pub const GGO_UNHINTED: GET_GLYPH_OUTLINE_FORMAT = 256u32; |
04454e1e | 5117 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5118 | pub const GET_PS_FEATURESETTING: u32 = 4121u32; |
04454e1e | 5119 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5120 | pub type GET_STOCK_OBJECT_FLAGS = u32; |
04454e1e | 5121 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5122 | pub const BLACK_BRUSH: GET_STOCK_OBJECT_FLAGS = 4u32; |
04454e1e | 5123 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5124 | pub const DKGRAY_BRUSH: GET_STOCK_OBJECT_FLAGS = 3u32; |
04454e1e | 5125 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5126 | pub const DC_BRUSH: GET_STOCK_OBJECT_FLAGS = 18u32; |
04454e1e | 5127 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5128 | pub const GRAY_BRUSH: GET_STOCK_OBJECT_FLAGS = 2u32; |
04454e1e | 5129 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5130 | pub const HOLLOW_BRUSH: GET_STOCK_OBJECT_FLAGS = 5u32; |
04454e1e | 5131 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5132 | pub const LTGRAY_BRUSH: GET_STOCK_OBJECT_FLAGS = 1u32; |
04454e1e | 5133 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5134 | pub const NULL_BRUSH: GET_STOCK_OBJECT_FLAGS = 5u32; |
04454e1e | 5135 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5136 | pub const WHITE_BRUSH: GET_STOCK_OBJECT_FLAGS = 0u32; |
04454e1e | 5137 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5138 | pub const BLACK_PEN: GET_STOCK_OBJECT_FLAGS = 7u32; |
04454e1e | 5139 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5140 | pub const DC_PEN: GET_STOCK_OBJECT_FLAGS = 19u32; |
04454e1e | 5141 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5142 | pub const NULL_PEN: GET_STOCK_OBJECT_FLAGS = 8u32; |
04454e1e | 5143 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5144 | pub const WHITE_PEN: GET_STOCK_OBJECT_FLAGS = 6u32; |
04454e1e | 5145 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5146 | pub const ANSI_FIXED_FONT: GET_STOCK_OBJECT_FLAGS = 11u32; |
04454e1e | 5147 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5148 | pub const ANSI_VAR_FONT: GET_STOCK_OBJECT_FLAGS = 12u32; |
04454e1e | 5149 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5150 | pub const DEVICE_DEFAULT_FONT: GET_STOCK_OBJECT_FLAGS = 14u32; |
04454e1e | 5151 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5152 | pub const DEFAULT_GUI_FONT: GET_STOCK_OBJECT_FLAGS = 17u32; |
04454e1e | 5153 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5154 | pub const OEM_FIXED_FONT: GET_STOCK_OBJECT_FLAGS = 10u32; |
04454e1e | 5155 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5156 | pub const SYSTEM_FONT: GET_STOCK_OBJECT_FLAGS = 13u32; |
04454e1e | 5157 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5158 | pub const SYSTEM_FIXED_FONT: GET_STOCK_OBJECT_FLAGS = 16u32; |
04454e1e | 5159 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5160 | pub const DEFAULT_PALETTE: GET_STOCK_OBJECT_FLAGS = 15u32; |
04454e1e | 5161 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
5162 | pub const GGI_MARK_NONEXISTING_GLYPHS: u32 = 1u32; |
5163 | #[repr(C)] | |
04454e1e | 5164 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5165 | #[cfg(feature = "Win32_Foundation")] |
5166 | pub struct GLYPHMETRICS { | |
5167 | pub gmBlackBoxX: u32, | |
5168 | pub gmBlackBoxY: u32, | |
5169 | pub gmptGlyphOrigin: super::super::Foundation::POINT, | |
5170 | pub gmCellIncX: i16, | |
5171 | pub gmCellIncY: i16, | |
5172 | } | |
5173 | #[cfg(feature = "Win32_Foundation")] | |
5174 | impl ::core::marker::Copy for GLYPHMETRICS {} | |
5175 | #[cfg(feature = "Win32_Foundation")] | |
5176 | impl ::core::clone::Clone for GLYPHMETRICS { | |
5177 | fn clone(&self) -> Self { | |
5178 | *self | |
5179 | } | |
5180 | } | |
5181 | #[repr(C)] | |
04454e1e | 5182 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
5183 | pub struct GLYPHSET { |
5184 | pub cbThis: u32, | |
5185 | pub flAccel: u32, | |
5186 | pub cGlyphsSupported: u32, | |
5187 | pub cRanges: u32, | |
5188 | pub ranges: [WCRANGE; 1], | |
5189 | } | |
5190 | impl ::core::marker::Copy for GLYPHSET {} | |
5191 | impl ::core::clone::Clone for GLYPHSET { | |
5192 | fn clone(&self) -> Self { | |
5193 | *self | |
5194 | } | |
5195 | } | |
04454e1e | 5196 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5197 | pub const GM_LAST: u32 = 2u32; |
04454e1e | 5198 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5199 | #[cfg(feature = "Win32_Foundation")] |
5200 | pub type GOBJENUMPROC = ::core::option::Option<unsafe extern "system" fn(param0: *mut ::core::ffi::c_void, param1: super::super::Foundation::LPARAM) -> i32>; | |
04454e1e | 5201 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5202 | pub type GRADIENT_FILL = u32; |
04454e1e | 5203 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5204 | pub const GRADIENT_FILL_RECT_H: GRADIENT_FILL = 0u32; |
04454e1e | 5205 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5206 | pub const GRADIENT_FILL_RECT_V: GRADIENT_FILL = 1u32; |
04454e1e | 5207 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5208 | pub const GRADIENT_FILL_TRIANGLE: GRADIENT_FILL = 2u32; |
04454e1e | 5209 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
5210 | pub const GRADIENT_FILL_OP_FLAG: u32 = 255u32; |
5211 | #[repr(C)] | |
04454e1e | 5212 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
5213 | pub struct GRADIENT_RECT { |
5214 | pub UpperLeft: u32, | |
5215 | pub LowerRight: u32, | |
5216 | } | |
5217 | impl ::core::marker::Copy for GRADIENT_RECT {} | |
5218 | impl ::core::clone::Clone for GRADIENT_RECT { | |
5219 | fn clone(&self) -> Self { | |
5220 | *self | |
5221 | } | |
5222 | } | |
5223 | #[repr(C)] | |
04454e1e | 5224 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
5225 | pub struct GRADIENT_TRIANGLE { |
5226 | pub Vertex1: u32, | |
5227 | pub Vertex2: u32, | |
5228 | pub Vertex3: u32, | |
5229 | } | |
5230 | impl ::core::marker::Copy for GRADIENT_TRIANGLE {} | |
5231 | impl ::core::clone::Clone for GRADIENT_TRIANGLE { | |
5232 | fn clone(&self) -> Self { | |
5233 | *self | |
5234 | } | |
5235 | } | |
04454e1e | 5236 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5237 | pub type GRAPHICS_MODE = u32; |
04454e1e | 5238 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5239 | pub const GM_COMPATIBLE: GRAPHICS_MODE = 1u32; |
04454e1e | 5240 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5241 | pub const GM_ADVANCED: GRAPHICS_MODE = 2u32; |
04454e1e | 5242 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5243 | #[cfg(feature = "Win32_Foundation")] |
5244 | pub type GRAYSTRINGPROC = ::core::option::Option<unsafe extern "system" fn(param0: HDC, param1: super::super::Foundation::LPARAM, param2: i32) -> super::super::Foundation::BOOL>; | |
04454e1e | 5245 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5246 | pub const GREEK_CHARSET: u32 = 161u32; |
04454e1e | 5247 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
5248 | pub const GS_8BIT_INDICES: u32 = 1u32; |
5249 | #[repr(C)] | |
04454e1e | 5250 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
5251 | pub struct HANDLETABLE { |
5252 | pub objectHandle: [HGDIOBJ; 1], | |
5253 | } | |
5254 | impl ::core::marker::Copy for HANDLETABLE {} | |
5255 | impl ::core::clone::Clone for HANDLETABLE { | |
5256 | fn clone(&self) -> Self { | |
5257 | *self | |
5258 | } | |
5259 | } | |
04454e1e | 5260 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5261 | pub const HANGEUL_CHARSET: u32 = 129u32; |
04454e1e | 5262 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5263 | pub const HANGUL_CHARSET: u32 = 129u32; |
04454e1e | 5264 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5265 | pub type HATCH_BRUSH_STYLE = u32; |
04454e1e | 5266 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5267 | pub const HS_BDIAGONAL: HATCH_BRUSH_STYLE = 3u32; |
04454e1e | 5268 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5269 | pub const HS_CROSS: HATCH_BRUSH_STYLE = 4u32; |
04454e1e | 5270 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5271 | pub const HS_DIAGCROSS: HATCH_BRUSH_STYLE = 5u32; |
04454e1e | 5272 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5273 | pub const HS_FDIAGONAL: HATCH_BRUSH_STYLE = 2u32; |
04454e1e | 5274 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5275 | pub const HS_HORIZONTAL: HATCH_BRUSH_STYLE = 0u32; |
04454e1e | 5276 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
5277 | pub const HS_VERTICAL: HATCH_BRUSH_STYLE = 1u32; |
5278 | pub type HBITMAP = isize; | |
5279 | pub type HBRUSH = isize; | |
5280 | pub type HDC = isize; | |
04454e1e | 5281 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5282 | pub type HDC_MAP_MODE = u32; |
04454e1e | 5283 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5284 | pub const MM_ANISOTROPIC: HDC_MAP_MODE = 8u32; |
04454e1e | 5285 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5286 | pub const MM_HIENGLISH: HDC_MAP_MODE = 5u32; |
04454e1e | 5287 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5288 | pub const MM_HIMETRIC: HDC_MAP_MODE = 3u32; |
04454e1e | 5289 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5290 | pub const MM_ISOTROPIC: HDC_MAP_MODE = 7u32; |
04454e1e | 5291 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5292 | pub const MM_LOENGLISH: HDC_MAP_MODE = 4u32; |
04454e1e | 5293 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5294 | pub const MM_LOMETRIC: HDC_MAP_MODE = 2u32; |
04454e1e | 5295 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5296 | pub const MM_TEXT: HDC_MAP_MODE = 1u32; |
04454e1e | 5297 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5298 | pub const MM_TWIPS: HDC_MAP_MODE = 6u32; |
04454e1e | 5299 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
5300 | pub const HEBREW_CHARSET: u32 = 177u32; |
5301 | pub type HENHMETAFILE = isize; | |
5302 | pub type HFONT = isize; | |
5303 | pub type HGDIOBJ = isize; | |
5304 | pub type HMETAFILE = isize; | |
5305 | pub type HMONITOR = isize; | |
5306 | pub type HPALETTE = isize; | |
5307 | pub type HPEN = isize; | |
5308 | pub type HRGN = isize; | |
04454e1e | 5309 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
5310 | pub const HS_API_MAX: u32 = 12u32; |
5311 | pub type HdcMetdataEnhFileHandle = isize; | |
5312 | pub type HdcMetdataFileHandle = isize; | |
04454e1e | 5313 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5314 | pub const ILLUMINANT_A: u32 = 1u32; |
04454e1e | 5315 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5316 | pub const ILLUMINANT_B: u32 = 2u32; |
04454e1e | 5317 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5318 | pub const ILLUMINANT_C: u32 = 3u32; |
04454e1e | 5319 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5320 | pub const ILLUMINANT_D50: u32 = 4u32; |
04454e1e | 5321 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5322 | pub const ILLUMINANT_D55: u32 = 5u32; |
04454e1e | 5323 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5324 | pub const ILLUMINANT_D65: u32 = 6u32; |
04454e1e | 5325 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5326 | pub const ILLUMINANT_D75: u32 = 7u32; |
04454e1e | 5327 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5328 | pub const ILLUMINANT_DAYLIGHT: u32 = 3u32; |
04454e1e | 5329 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5330 | pub const ILLUMINANT_DEVICE_DEFAULT: u32 = 0u32; |
04454e1e | 5331 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5332 | pub const ILLUMINANT_F2: u32 = 8u32; |
04454e1e | 5333 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5334 | pub const ILLUMINANT_FLUORESCENT: u32 = 8u32; |
04454e1e | 5335 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5336 | pub const ILLUMINANT_MAX_INDEX: u32 = 8u32; |
04454e1e | 5337 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5338 | pub const ILLUMINANT_NTSC: u32 = 3u32; |
04454e1e | 5339 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5340 | pub const ILLUMINANT_TUNGSTEN: u32 = 1u32; |
04454e1e | 5341 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
5342 | pub const JOHAB_CHARSET: u32 = 130u32; |
5343 | #[repr(C)] | |
04454e1e | 5344 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
5345 | pub struct KERNINGPAIR { |
5346 | pub wFirst: u16, | |
5347 | pub wSecond: u16, | |
5348 | pub iKernAmount: i32, | |
5349 | } | |
5350 | impl ::core::marker::Copy for KERNINGPAIR {} | |
5351 | impl ::core::clone::Clone for KERNINGPAIR { | |
5352 | fn clone(&self) -> Self { | |
5353 | *self | |
5354 | } | |
5355 | } | |
04454e1e | 5356 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5357 | pub const LAYOUT_BTT: u32 = 2u32; |
04454e1e | 5358 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5359 | pub const LAYOUT_VBH: u32 = 4u32; |
04454e1e | 5360 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5361 | pub const LCS_CALIBRATED_RGB: i32 = 0i32; |
04454e1e | 5362 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5363 | pub const LCS_GM_ABS_COLORIMETRIC: i32 = 8i32; |
04454e1e | 5364 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5365 | pub const LCS_GM_BUSINESS: i32 = 1i32; |
04454e1e | 5366 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5367 | pub const LCS_GM_GRAPHICS: i32 = 2i32; |
04454e1e | 5368 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5369 | pub const LCS_GM_IMAGES: i32 = 4i32; |
04454e1e | 5370 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5371 | pub const LC_INTERIORS: u32 = 128u32; |
04454e1e | 5372 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5373 | pub const LC_MARKER: u32 = 4u32; |
04454e1e | 5374 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5375 | pub const LC_NONE: u32 = 0u32; |
04454e1e | 5376 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5377 | pub const LC_POLYLINE: u32 = 2u32; |
04454e1e | 5378 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5379 | pub const LC_POLYMARKER: u32 = 8u32; |
04454e1e | 5380 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5381 | pub const LC_STYLED: u32 = 32u32; |
04454e1e | 5382 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5383 | pub const LC_WIDE: u32 = 16u32; |
04454e1e | 5384 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5385 | pub const LC_WIDESTYLED: u32 = 64u32; |
04454e1e | 5386 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5387 | pub const LF_FACESIZE: u32 = 32u32; |
04454e1e | 5388 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5389 | pub const LF_FULLFACESIZE: u32 = 64u32; |
04454e1e | 5390 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5391 | #[cfg(feature = "Win32_Foundation")] |
5392 | pub type LINEDDAPROC = ::core::option::Option<unsafe extern "system" fn(param0: i32, param1: i32, param2: super::super::Foundation::LPARAM)>; | |
5393 | #[repr(C)] | |
04454e1e | 5394 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
5395 | pub struct LOGBRUSH { |
5396 | pub lbStyle: u32, | |
5397 | pub lbColor: u32, | |
5398 | pub lbHatch: usize, | |
5399 | } | |
5400 | impl ::core::marker::Copy for LOGBRUSH {} | |
5401 | impl ::core::clone::Clone for LOGBRUSH { | |
5402 | fn clone(&self) -> Self { | |
5403 | *self | |
5404 | } | |
5405 | } | |
5406 | #[repr(C)] | |
04454e1e | 5407 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
5408 | pub struct LOGBRUSH32 { |
5409 | pub lbStyle: u32, | |
5410 | pub lbColor: u32, | |
5411 | pub lbHatch: u32, | |
5412 | } | |
5413 | impl ::core::marker::Copy for LOGBRUSH32 {} | |
5414 | impl ::core::clone::Clone for LOGBRUSH32 { | |
5415 | fn clone(&self) -> Self { | |
5416 | *self | |
5417 | } | |
5418 | } | |
5419 | #[repr(C)] | |
04454e1e | 5420 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5421 | #[cfg(feature = "Win32_Foundation")] |
5422 | pub struct LOGFONTA { | |
5423 | pub lfHeight: i32, | |
5424 | pub lfWidth: i32, | |
5425 | pub lfEscapement: i32, | |
5426 | pub lfOrientation: i32, | |
5427 | pub lfWeight: i32, | |
5428 | pub lfItalic: u8, | |
5429 | pub lfUnderline: u8, | |
5430 | pub lfStrikeOut: u8, | |
5431 | pub lfCharSet: u8, | |
5432 | pub lfOutPrecision: u8, | |
5433 | pub lfClipPrecision: u8, | |
5434 | pub lfQuality: u8, | |
5435 | pub lfPitchAndFamily: u8, | |
5436 | pub lfFaceName: [super::super::Foundation::CHAR; 32], | |
5437 | } | |
5438 | #[cfg(feature = "Win32_Foundation")] | |
5439 | impl ::core::marker::Copy for LOGFONTA {} | |
5440 | #[cfg(feature = "Win32_Foundation")] | |
5441 | impl ::core::clone::Clone for LOGFONTA { | |
5442 | fn clone(&self) -> Self { | |
5443 | *self | |
5444 | } | |
5445 | } | |
5446 | #[repr(C)] | |
04454e1e | 5447 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
5448 | pub struct LOGFONTW { |
5449 | pub lfHeight: i32, | |
5450 | pub lfWidth: i32, | |
5451 | pub lfEscapement: i32, | |
5452 | pub lfOrientation: i32, | |
5453 | pub lfWeight: i32, | |
5454 | pub lfItalic: u8, | |
5455 | pub lfUnderline: u8, | |
5456 | pub lfStrikeOut: u8, | |
5457 | pub lfCharSet: u8, | |
5458 | pub lfOutPrecision: u8, | |
5459 | pub lfClipPrecision: u8, | |
5460 | pub lfQuality: u8, | |
5461 | pub lfPitchAndFamily: u8, | |
5462 | pub lfFaceName: [u16; 32], | |
5463 | } | |
5464 | impl ::core::marker::Copy for LOGFONTW {} | |
5465 | impl ::core::clone::Clone for LOGFONTW { | |
5466 | fn clone(&self) -> Self { | |
5467 | *self | |
5468 | } | |
5469 | } | |
5470 | #[repr(C)] | |
04454e1e | 5471 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
5472 | pub struct LOGPALETTE { |
5473 | pub palVersion: u16, | |
5474 | pub palNumEntries: u16, | |
5475 | pub palPalEntry: [PALETTEENTRY; 1], | |
5476 | } | |
5477 | impl ::core::marker::Copy for LOGPALETTE {} | |
5478 | impl ::core::clone::Clone for LOGPALETTE { | |
5479 | fn clone(&self) -> Self { | |
5480 | *self | |
5481 | } | |
5482 | } | |
5483 | #[repr(C)] | |
04454e1e | 5484 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5485 | #[cfg(feature = "Win32_Foundation")] |
5486 | pub struct LOGPEN { | |
5487 | pub lopnStyle: u32, | |
5488 | pub lopnWidth: super::super::Foundation::POINT, | |
5489 | pub lopnColor: u32, | |
5490 | } | |
5491 | #[cfg(feature = "Win32_Foundation")] | |
5492 | impl ::core::marker::Copy for LOGPEN {} | |
5493 | #[cfg(feature = "Win32_Foundation")] | |
5494 | impl ::core::clone::Clone for LOGPEN { | |
5495 | fn clone(&self) -> Self { | |
5496 | *self | |
5497 | } | |
5498 | } | |
04454e1e | 5499 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5500 | pub const LPD_DOUBLEBUFFER: u32 = 1u32; |
04454e1e | 5501 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5502 | pub const LPD_SHARE_ACCUM: u32 = 256u32; |
04454e1e | 5503 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5504 | pub const LPD_SHARE_DEPTH: u32 = 64u32; |
04454e1e | 5505 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5506 | pub const LPD_SHARE_STENCIL: u32 = 128u32; |
04454e1e | 5507 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5508 | pub const LPD_STEREO: u32 = 2u32; |
04454e1e | 5509 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5510 | pub const LPD_SUPPORT_GDI: u32 = 16u32; |
04454e1e | 5511 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5512 | pub const LPD_SUPPORT_OPENGL: u32 = 32u32; |
04454e1e | 5513 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5514 | pub const LPD_SWAP_COPY: u32 = 1024u32; |
04454e1e | 5515 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5516 | pub const LPD_SWAP_EXCHANGE: u32 = 512u32; |
04454e1e | 5517 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5518 | pub const LPD_TRANSPARENT: u32 = 4096u32; |
04454e1e | 5519 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5520 | pub const LPD_TYPE_COLORINDEX: u32 = 1u32; |
04454e1e | 5521 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5522 | pub const LPD_TYPE_RGBA: u32 = 0u32; |
04454e1e | 5523 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 5524 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
5525 | pub type LPFNDEVCAPS = ::core::option::Option<unsafe extern "system" fn(param0: ::windows_sys::core::PCSTR, param1: ::windows_sys::core::PCSTR, param2: u32, param3: ::windows_sys::core::PCSTR, param4: *mut DEVMODEA) -> u32>; |
5526 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 5527 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
5528 | pub type LPFNDEVMODE = ::core::option::Option<unsafe extern "system" fn(param0: super::super::Foundation::HWND, param1: super::super::Foundation::HINSTANCE, param2: *mut DEVMODEA, param3: ::windows_sys::core::PCSTR, param4: ::windows_sys::core::PCSTR, param5: *mut DEVMODEA, param6: ::windows_sys::core::PCSTR, param7: u32) -> u32>; |
5529 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] | |
5e7ed085 FG |
5530 | pub const MAC_CHARSET: u32 = 77u32; |
5531 | #[repr(C)] | |
04454e1e | 5532 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
5533 | pub struct MAT2 { |
5534 | pub eM11: FIXED, | |
5535 | pub eM12: FIXED, | |
5536 | pub eM21: FIXED, | |
5537 | pub eM22: FIXED, | |
5538 | } | |
5539 | impl ::core::marker::Copy for MAT2 {} | |
5540 | impl ::core::clone::Clone for MAT2 { | |
5541 | fn clone(&self) -> Self { | |
5542 | *self | |
5543 | } | |
5544 | } | |
04454e1e | 5545 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5546 | pub const MAXSTRETCHBLTMODE: u32 = 4u32; |
04454e1e | 5547 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
5548 | pub const METAFILE_DRIVER: u32 = 2049u32; |
5549 | #[repr(C, packed(2))] | |
04454e1e | 5550 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
5551 | pub struct METAHEADER { |
5552 | pub mtType: u16, | |
5553 | pub mtHeaderSize: u16, | |
5554 | pub mtVersion: u16, | |
5555 | pub mtSize: u32, | |
5556 | pub mtNoObjects: u16, | |
5557 | pub mtMaxRecord: u32, | |
5558 | pub mtNoParameters: u16, | |
5559 | } | |
5560 | impl ::core::marker::Copy for METAHEADER {} | |
5561 | impl ::core::clone::Clone for METAHEADER { | |
5562 | fn clone(&self) -> Self { | |
5563 | *self | |
5564 | } | |
5565 | } | |
5566 | #[repr(C)] | |
04454e1e | 5567 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
5568 | pub struct METARECORD { |
5569 | pub rdSize: u32, | |
5570 | pub rdFunction: u16, | |
5571 | pub rdParm: [u16; 1], | |
5572 | } | |
5573 | impl ::core::marker::Copy for METARECORD {} | |
5574 | impl ::core::clone::Clone for METARECORD { | |
5575 | fn clone(&self) -> Self { | |
5576 | *self | |
5577 | } | |
5578 | } | |
04454e1e | 5579 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5580 | pub const META_ANIMATEPALETTE: u32 = 1078u32; |
04454e1e | 5581 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5582 | pub const META_ARC: u32 = 2071u32; |
04454e1e | 5583 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5584 | pub const META_BITBLT: u32 = 2338u32; |
04454e1e | 5585 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5586 | pub const META_CHORD: u32 = 2096u32; |
04454e1e | 5587 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5588 | pub const META_CREATEBRUSHINDIRECT: u32 = 764u32; |
04454e1e | 5589 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5590 | pub const META_CREATEFONTINDIRECT: u32 = 763u32; |
04454e1e | 5591 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5592 | pub const META_CREATEPALETTE: u32 = 247u32; |
04454e1e | 5593 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5594 | pub const META_CREATEPATTERNBRUSH: u32 = 505u32; |
04454e1e | 5595 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5596 | pub const META_CREATEPENINDIRECT: u32 = 762u32; |
04454e1e | 5597 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5598 | pub const META_CREATEREGION: u32 = 1791u32; |
04454e1e | 5599 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5600 | pub const META_DELETEOBJECT: u32 = 496u32; |
04454e1e | 5601 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5602 | pub const META_DIBBITBLT: u32 = 2368u32; |
04454e1e | 5603 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5604 | pub const META_DIBCREATEPATTERNBRUSH: u32 = 322u32; |
04454e1e | 5605 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5606 | pub const META_DIBSTRETCHBLT: u32 = 2881u32; |
04454e1e | 5607 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5608 | pub const META_ELLIPSE: u32 = 1048u32; |
04454e1e | 5609 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5610 | pub const META_ESCAPE: u32 = 1574u32; |
04454e1e | 5611 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5612 | pub const META_EXCLUDECLIPRECT: u32 = 1045u32; |
04454e1e | 5613 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5614 | pub const META_EXTFLOODFILL: u32 = 1352u32; |
04454e1e | 5615 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5616 | pub const META_EXTTEXTOUT: u32 = 2610u32; |
04454e1e | 5617 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5618 | pub const META_FILLREGION: u32 = 552u32; |
04454e1e | 5619 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5620 | pub const META_FLOODFILL: u32 = 1049u32; |
04454e1e | 5621 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5622 | pub const META_FRAMEREGION: u32 = 1065u32; |
04454e1e | 5623 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5624 | pub const META_INTERSECTCLIPRECT: u32 = 1046u32; |
04454e1e | 5625 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5626 | pub const META_INVERTREGION: u32 = 298u32; |
04454e1e | 5627 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5628 | pub const META_LINETO: u32 = 531u32; |
04454e1e | 5629 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5630 | pub const META_MOVETO: u32 = 532u32; |
04454e1e | 5631 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5632 | pub const META_OFFSETCLIPRGN: u32 = 544u32; |
04454e1e | 5633 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5634 | pub const META_OFFSETVIEWPORTORG: u32 = 529u32; |
04454e1e | 5635 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5636 | pub const META_OFFSETWINDOWORG: u32 = 527u32; |
04454e1e | 5637 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5638 | pub const META_PAINTREGION: u32 = 299u32; |
04454e1e | 5639 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5640 | pub const META_PATBLT: u32 = 1565u32; |
04454e1e | 5641 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5642 | pub const META_PIE: u32 = 2074u32; |
04454e1e | 5643 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5644 | pub const META_POLYGON: u32 = 804u32; |
04454e1e | 5645 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5646 | pub const META_POLYLINE: u32 = 805u32; |
04454e1e | 5647 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5648 | pub const META_POLYPOLYGON: u32 = 1336u32; |
04454e1e | 5649 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5650 | pub const META_REALIZEPALETTE: u32 = 53u32; |
04454e1e | 5651 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5652 | pub const META_RECTANGLE: u32 = 1051u32; |
04454e1e | 5653 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5654 | pub const META_RESIZEPALETTE: u32 = 313u32; |
04454e1e | 5655 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5656 | pub const META_RESTOREDC: u32 = 295u32; |
04454e1e | 5657 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5658 | pub const META_ROUNDRECT: u32 = 1564u32; |
04454e1e | 5659 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5660 | pub const META_SAVEDC: u32 = 30u32; |
04454e1e | 5661 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5662 | pub const META_SCALEVIEWPORTEXT: u32 = 1042u32; |
04454e1e | 5663 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5664 | pub const META_SCALEWINDOWEXT: u32 = 1040u32; |
04454e1e | 5665 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5666 | pub const META_SELECTCLIPREGION: u32 = 300u32; |
04454e1e | 5667 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5668 | pub const META_SELECTOBJECT: u32 = 301u32; |
04454e1e | 5669 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5670 | pub const META_SELECTPALETTE: u32 = 564u32; |
04454e1e | 5671 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5672 | pub const META_SETBKCOLOR: u32 = 513u32; |
04454e1e | 5673 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5674 | pub const META_SETBKMODE: u32 = 258u32; |
04454e1e | 5675 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5676 | pub const META_SETDIBTODEV: u32 = 3379u32; |
04454e1e | 5677 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5678 | pub const META_SETLAYOUT: u32 = 329u32; |
04454e1e | 5679 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5680 | pub const META_SETMAPMODE: u32 = 259u32; |
04454e1e | 5681 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5682 | pub const META_SETMAPPERFLAGS: u32 = 561u32; |
04454e1e | 5683 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5684 | pub const META_SETPALENTRIES: u32 = 55u32; |
04454e1e | 5685 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5686 | pub const META_SETPIXEL: u32 = 1055u32; |
04454e1e | 5687 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5688 | pub const META_SETPOLYFILLMODE: u32 = 262u32; |
04454e1e | 5689 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5690 | pub const META_SETRELABS: u32 = 261u32; |
04454e1e | 5691 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5692 | pub const META_SETROP2: u32 = 260u32; |
04454e1e | 5693 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5694 | pub const META_SETSTRETCHBLTMODE: u32 = 263u32; |
04454e1e | 5695 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5696 | pub const META_SETTEXTALIGN: u32 = 302u32; |
04454e1e | 5697 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5698 | pub const META_SETTEXTCHAREXTRA: u32 = 264u32; |
04454e1e | 5699 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5700 | pub const META_SETTEXTCOLOR: u32 = 521u32; |
04454e1e | 5701 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5702 | pub const META_SETTEXTJUSTIFICATION: u32 = 522u32; |
04454e1e | 5703 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5704 | pub const META_SETVIEWPORTEXT: u32 = 526u32; |
04454e1e | 5705 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5706 | pub const META_SETVIEWPORTORG: u32 = 525u32; |
04454e1e | 5707 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5708 | pub const META_SETWINDOWEXT: u32 = 524u32; |
04454e1e | 5709 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5710 | pub const META_SETWINDOWORG: u32 = 523u32; |
04454e1e | 5711 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5712 | pub const META_STRETCHBLT: u32 = 2851u32; |
04454e1e | 5713 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5714 | pub const META_STRETCHDIB: u32 = 3907u32; |
04454e1e | 5715 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5716 | pub const META_TEXTOUT: u32 = 1313u32; |
04454e1e | 5717 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5718 | pub const MFCOMMENT: u32 = 15u32; |
04454e1e | 5719 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5720 | #[cfg(feature = "Win32_Foundation")] |
5721 | pub type MFENUMPROC = ::core::option::Option<unsafe extern "system" fn(hdc: HDC, lpht: *const HANDLETABLE, lpmr: *const METARECORD, nobj: i32, param4: super::super::Foundation::LPARAM) -> i32>; | |
04454e1e | 5722 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5723 | pub const MILCORE_TS_QUERYVER_RESULT_FALSE: u32 = 0u32; |
04454e1e | 5724 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5725 | pub const MILCORE_TS_QUERYVER_RESULT_TRUE: u32 = 2147483647u32; |
04454e1e | 5726 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5727 | pub const MM_MAX_AXES_NAMELEN: u32 = 16u32; |
04454e1e | 5728 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5729 | pub const MM_MAX_NUMAXES: u32 = 16u32; |
04454e1e | 5730 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5731 | pub type MODIFY_WORLD_TRANSFORM_MODE = u32; |
04454e1e | 5732 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5733 | pub const MWT_IDENTITY: MODIFY_WORLD_TRANSFORM_MODE = 1u32; |
04454e1e | 5734 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5735 | pub const MWT_LEFTMULTIPLY: MODIFY_WORLD_TRANSFORM_MODE = 2u32; |
04454e1e | 5736 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5737 | pub const MWT_RIGHTMULTIPLY: MODIFY_WORLD_TRANSFORM_MODE = 3u32; |
04454e1e | 5738 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5739 | #[cfg(feature = "Win32_Foundation")] |
5740 | pub type MONITORENUMPROC = ::core::option::Option<unsafe extern "system" fn(param0: HMONITOR, param1: HDC, param2: *mut super::super::Foundation::RECT, param3: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL>; | |
5741 | #[repr(C)] | |
04454e1e | 5742 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5743 | #[cfg(feature = "Win32_Foundation")] |
5744 | pub struct MONITORINFO { | |
5745 | pub cbSize: u32, | |
5746 | pub rcMonitor: super::super::Foundation::RECT, | |
5747 | pub rcWork: super::super::Foundation::RECT, | |
5748 | pub dwFlags: u32, | |
5749 | } | |
5750 | #[cfg(feature = "Win32_Foundation")] | |
5751 | impl ::core::marker::Copy for MONITORINFO {} | |
5752 | #[cfg(feature = "Win32_Foundation")] | |
5753 | impl ::core::clone::Clone for MONITORINFO { | |
5754 | fn clone(&self) -> Self { | |
5755 | *self | |
5756 | } | |
5757 | } | |
5758 | #[repr(C)] | |
04454e1e | 5759 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5760 | #[cfg(feature = "Win32_Foundation")] |
5761 | pub struct MONITORINFOEXA { | |
5762 | pub monitorInfo: MONITORINFO, | |
5763 | pub szDevice: [super::super::Foundation::CHAR; 32], | |
5764 | } | |
5765 | #[cfg(feature = "Win32_Foundation")] | |
5766 | impl ::core::marker::Copy for MONITORINFOEXA {} | |
5767 | #[cfg(feature = "Win32_Foundation")] | |
5768 | impl ::core::clone::Clone for MONITORINFOEXA { | |
5769 | fn clone(&self) -> Self { | |
5770 | *self | |
5771 | } | |
5772 | } | |
5773 | #[repr(C)] | |
04454e1e | 5774 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5775 | #[cfg(feature = "Win32_Foundation")] |
5776 | pub struct MONITORINFOEXW { | |
5777 | pub monitorInfo: MONITORINFO, | |
5778 | pub szDevice: [u16; 32], | |
5779 | } | |
5780 | #[cfg(feature = "Win32_Foundation")] | |
5781 | impl ::core::marker::Copy for MONITORINFOEXW {} | |
5782 | #[cfg(feature = "Win32_Foundation")] | |
5783 | impl ::core::clone::Clone for MONITORINFOEXW { | |
5784 | fn clone(&self) -> Self { | |
5785 | *self | |
5786 | } | |
5787 | } | |
04454e1e | 5788 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5789 | pub type MONITOR_FROM_FLAGS = u32; |
04454e1e | 5790 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5791 | pub const MONITOR_DEFAULTTONEAREST: MONITOR_FROM_FLAGS = 2u32; |
04454e1e | 5792 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5793 | pub const MONITOR_DEFAULTTONULL: MONITOR_FROM_FLAGS = 0u32; |
04454e1e | 5794 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5795 | pub const MONITOR_DEFAULTTOPRIMARY: MONITOR_FROM_FLAGS = 1u32; |
04454e1e | 5796 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5797 | pub const MONO_FONT: u32 = 8u32; |
04454e1e | 5798 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5799 | pub const MOUSETRAILS: u32 = 39u32; |
04454e1e | 5800 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
5801 | pub const NEWFRAME: u32 = 1u32; |
5802 | #[repr(C)] | |
04454e1e | 5803 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
5804 | pub struct NEWTEXTMETRICA { |
5805 | pub tmHeight: i32, | |
5806 | pub tmAscent: i32, | |
5807 | pub tmDescent: i32, | |
5808 | pub tmInternalLeading: i32, | |
5809 | pub tmExternalLeading: i32, | |
5810 | pub tmAveCharWidth: i32, | |
5811 | pub tmMaxCharWidth: i32, | |
5812 | pub tmWeight: i32, | |
5813 | pub tmOverhang: i32, | |
5814 | pub tmDigitizedAspectX: i32, | |
5815 | pub tmDigitizedAspectY: i32, | |
5816 | pub tmFirstChar: u8, | |
5817 | pub tmLastChar: u8, | |
5818 | pub tmDefaultChar: u8, | |
5819 | pub tmBreakChar: u8, | |
5820 | pub tmItalic: u8, | |
5821 | pub tmUnderlined: u8, | |
5822 | pub tmStruckOut: u8, | |
5823 | pub tmPitchAndFamily: u8, | |
5824 | pub tmCharSet: u8, | |
5825 | pub ntmFlags: u32, | |
5826 | pub ntmSizeEM: u32, | |
5827 | pub ntmCellHeight: u32, | |
5828 | pub ntmAvgWidth: u32, | |
5829 | } | |
5830 | impl ::core::marker::Copy for NEWTEXTMETRICA {} | |
5831 | impl ::core::clone::Clone for NEWTEXTMETRICA { | |
5832 | fn clone(&self) -> Self { | |
5833 | *self | |
5834 | } | |
5835 | } | |
5836 | #[repr(C)] | |
04454e1e | 5837 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
5838 | pub struct NEWTEXTMETRICW { |
5839 | pub tmHeight: i32, | |
5840 | pub tmAscent: i32, | |
5841 | pub tmDescent: i32, | |
5842 | pub tmInternalLeading: i32, | |
5843 | pub tmExternalLeading: i32, | |
5844 | pub tmAveCharWidth: i32, | |
5845 | pub tmMaxCharWidth: i32, | |
5846 | pub tmWeight: i32, | |
5847 | pub tmOverhang: i32, | |
5848 | pub tmDigitizedAspectX: i32, | |
5849 | pub tmDigitizedAspectY: i32, | |
5850 | pub tmFirstChar: u16, | |
5851 | pub tmLastChar: u16, | |
5852 | pub tmDefaultChar: u16, | |
5853 | pub tmBreakChar: u16, | |
5854 | pub tmItalic: u8, | |
5855 | pub tmUnderlined: u8, | |
5856 | pub tmStruckOut: u8, | |
5857 | pub tmPitchAndFamily: u8, | |
5858 | pub tmCharSet: u8, | |
5859 | pub ntmFlags: u32, | |
5860 | pub ntmSizeEM: u32, | |
5861 | pub ntmCellHeight: u32, | |
5862 | pub ntmAvgWidth: u32, | |
5863 | } | |
5864 | impl ::core::marker::Copy for NEWTEXTMETRICW {} | |
5865 | impl ::core::clone::Clone for NEWTEXTMETRICW { | |
5866 | fn clone(&self) -> Self { | |
5867 | *self | |
5868 | } | |
5869 | } | |
04454e1e | 5870 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5871 | pub const NEWTRANSPARENT: u32 = 3u32; |
04454e1e | 5872 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5873 | pub const NEXTBAND: u32 = 3u32; |
04454e1e | 5874 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5875 | pub const NTM_BOLD: i32 = 32i32; |
04454e1e | 5876 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5877 | pub const NTM_DSIG: u32 = 2097152u32; |
04454e1e | 5878 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5879 | pub const NTM_ITALIC: i32 = 1i32; |
04454e1e | 5880 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5881 | pub const NTM_MULTIPLEMASTER: u32 = 524288u32; |
04454e1e | 5882 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5883 | pub const NTM_NONNEGATIVE_AC: u32 = 65536u32; |
04454e1e | 5884 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5885 | pub const NTM_PS_OPENTYPE: u32 = 131072u32; |
04454e1e | 5886 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5887 | pub const NTM_REGULAR: i32 = 64i32; |
04454e1e | 5888 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5889 | pub const NTM_TT_OPENTYPE: u32 = 262144u32; |
04454e1e | 5890 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5891 | pub const NTM_TYPE1: u32 = 1048576u32; |
04454e1e | 5892 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5893 | pub const NULLREGION: u32 = 1u32; |
04454e1e | 5894 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5895 | pub type OBJ_TYPE = i32; |
04454e1e | 5896 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5897 | pub const OBJ_PEN: OBJ_TYPE = 1i32; |
04454e1e | 5898 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5899 | pub const OBJ_BRUSH: OBJ_TYPE = 2i32; |
04454e1e | 5900 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5901 | pub const OBJ_DC: OBJ_TYPE = 3i32; |
04454e1e | 5902 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5903 | pub const OBJ_METADC: OBJ_TYPE = 4i32; |
04454e1e | 5904 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5905 | pub const OBJ_PAL: OBJ_TYPE = 5i32; |
04454e1e | 5906 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5907 | pub const OBJ_FONT: OBJ_TYPE = 6i32; |
04454e1e | 5908 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5909 | pub const OBJ_BITMAP: OBJ_TYPE = 7i32; |
04454e1e | 5910 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5911 | pub const OBJ_REGION: OBJ_TYPE = 8i32; |
04454e1e | 5912 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5913 | pub const OBJ_METAFILE: OBJ_TYPE = 9i32; |
04454e1e | 5914 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5915 | pub const OBJ_MEMDC: OBJ_TYPE = 10i32; |
04454e1e | 5916 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5917 | pub const OBJ_EXTPEN: OBJ_TYPE = 11i32; |
04454e1e | 5918 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5919 | pub const OBJ_ENHMETADC: OBJ_TYPE = 12i32; |
04454e1e | 5920 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5921 | pub const OBJ_ENHMETAFILE: OBJ_TYPE = 13i32; |
04454e1e | 5922 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5923 | pub const OBJ_COLORSPACE: OBJ_TYPE = 14i32; |
04454e1e | 5924 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 5925 | pub const OEM_CHARSET: u32 = 255u32; |
04454e1e | 5926 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
5927 | pub const OPENCHANNEL: u32 = 4110u32; |
5928 | #[repr(C)] | |
04454e1e | 5929 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5930 | #[cfg(feature = "Win32_Foundation")] |
5931 | pub struct OUTLINETEXTMETRICA { | |
5932 | pub otmSize: u32, | |
5933 | pub otmTextMetrics: TEXTMETRICA, | |
5934 | pub otmFiller: u8, | |
5935 | pub otmPanoseNumber: PANOSE, | |
5936 | pub otmfsSelection: u32, | |
5937 | pub otmfsType: u32, | |
5938 | pub otmsCharSlopeRise: i32, | |
5939 | pub otmsCharSlopeRun: i32, | |
5940 | pub otmItalicAngle: i32, | |
5941 | pub otmEMSquare: u32, | |
5942 | pub otmAscent: i32, | |
5943 | pub otmDescent: i32, | |
5944 | pub otmLineGap: u32, | |
5945 | pub otmsCapEmHeight: u32, | |
5946 | pub otmsXHeight: u32, | |
5947 | pub otmrcFontBox: super::super::Foundation::RECT, | |
5948 | pub otmMacAscent: i32, | |
5949 | pub otmMacDescent: i32, | |
5950 | pub otmMacLineGap: u32, | |
5951 | pub otmusMinimumPPEM: u32, | |
5952 | pub otmptSubscriptSize: super::super::Foundation::POINT, | |
5953 | pub otmptSubscriptOffset: super::super::Foundation::POINT, | |
5954 | pub otmptSuperscriptSize: super::super::Foundation::POINT, | |
5955 | pub otmptSuperscriptOffset: super::super::Foundation::POINT, | |
5956 | pub otmsStrikeoutSize: u32, | |
5957 | pub otmsStrikeoutPosition: i32, | |
5958 | pub otmsUnderscoreSize: i32, | |
5959 | pub otmsUnderscorePosition: i32, | |
04454e1e FG |
5960 | pub otmpFamilyName: ::windows_sys::core::PSTR, |
5961 | pub otmpFaceName: ::windows_sys::core::PSTR, | |
5962 | pub otmpStyleName: ::windows_sys::core::PSTR, | |
5963 | pub otmpFullName: ::windows_sys::core::PSTR, | |
5e7ed085 FG |
5964 | } |
5965 | #[cfg(feature = "Win32_Foundation")] | |
5966 | impl ::core::marker::Copy for OUTLINETEXTMETRICA {} | |
5967 | #[cfg(feature = "Win32_Foundation")] | |
5968 | impl ::core::clone::Clone for OUTLINETEXTMETRICA { | |
5969 | fn clone(&self) -> Self { | |
5970 | *self | |
5971 | } | |
5972 | } | |
5973 | #[repr(C)] | |
04454e1e | 5974 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5975 | #[cfg(feature = "Win32_Foundation")] |
5976 | pub struct OUTLINETEXTMETRICW { | |
5977 | pub otmSize: u32, | |
5978 | pub otmTextMetrics: TEXTMETRICW, | |
5979 | pub otmFiller: u8, | |
5980 | pub otmPanoseNumber: PANOSE, | |
5981 | pub otmfsSelection: u32, | |
5982 | pub otmfsType: u32, | |
5983 | pub otmsCharSlopeRise: i32, | |
5984 | pub otmsCharSlopeRun: i32, | |
5985 | pub otmItalicAngle: i32, | |
5986 | pub otmEMSquare: u32, | |
5987 | pub otmAscent: i32, | |
5988 | pub otmDescent: i32, | |
5989 | pub otmLineGap: u32, | |
5990 | pub otmsCapEmHeight: u32, | |
5991 | pub otmsXHeight: u32, | |
5992 | pub otmrcFontBox: super::super::Foundation::RECT, | |
5993 | pub otmMacAscent: i32, | |
5994 | pub otmMacDescent: i32, | |
5995 | pub otmMacLineGap: u32, | |
5996 | pub otmusMinimumPPEM: u32, | |
5997 | pub otmptSubscriptSize: super::super::Foundation::POINT, | |
5998 | pub otmptSubscriptOffset: super::super::Foundation::POINT, | |
5999 | pub otmptSuperscriptSize: super::super::Foundation::POINT, | |
6000 | pub otmptSuperscriptOffset: super::super::Foundation::POINT, | |
6001 | pub otmsStrikeoutSize: u32, | |
6002 | pub otmsStrikeoutPosition: i32, | |
6003 | pub otmsUnderscoreSize: i32, | |
6004 | pub otmsUnderscorePosition: i32, | |
04454e1e FG |
6005 | pub otmpFamilyName: ::windows_sys::core::PSTR, |
6006 | pub otmpFaceName: ::windows_sys::core::PSTR, | |
6007 | pub otmpStyleName: ::windows_sys::core::PSTR, | |
6008 | pub otmpFullName: ::windows_sys::core::PSTR, | |
5e7ed085 FG |
6009 | } |
6010 | #[cfg(feature = "Win32_Foundation")] | |
6011 | impl ::core::marker::Copy for OUTLINETEXTMETRICW {} | |
6012 | #[cfg(feature = "Win32_Foundation")] | |
6013 | impl ::core::clone::Clone for OUTLINETEXTMETRICW { | |
6014 | fn clone(&self) -> Self { | |
6015 | *self | |
6016 | } | |
6017 | } | |
04454e1e | 6018 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
6019 | pub const OUT_SCREEN_OUTLINE_PRECIS: u32 = 9u32; |
6020 | #[repr(C)] | |
04454e1e | 6021 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6022 | #[cfg(feature = "Win32_Foundation")] |
6023 | pub struct PAINTSTRUCT { | |
6024 | pub hdc: HDC, | |
6025 | pub fErase: super::super::Foundation::BOOL, | |
6026 | pub rcPaint: super::super::Foundation::RECT, | |
6027 | pub fRestore: super::super::Foundation::BOOL, | |
6028 | pub fIncUpdate: super::super::Foundation::BOOL, | |
6029 | pub rgbReserved: [u8; 32], | |
6030 | } | |
6031 | #[cfg(feature = "Win32_Foundation")] | |
6032 | impl ::core::marker::Copy for PAINTSTRUCT {} | |
6033 | #[cfg(feature = "Win32_Foundation")] | |
6034 | impl ::core::clone::Clone for PAINTSTRUCT { | |
6035 | fn clone(&self) -> Self { | |
6036 | *self | |
6037 | } | |
6038 | } | |
6039 | #[repr(C)] | |
04454e1e | 6040 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
6041 | pub struct PALETTEENTRY { |
6042 | pub peRed: u8, | |
6043 | pub peGreen: u8, | |
6044 | pub peBlue: u8, | |
6045 | pub peFlags: u8, | |
6046 | } | |
6047 | impl ::core::marker::Copy for PALETTEENTRY {} | |
6048 | impl ::core::clone::Clone for PALETTEENTRY { | |
6049 | fn clone(&self) -> Self { | |
6050 | *self | |
6051 | } | |
6052 | } | |
6053 | #[repr(C)] | |
04454e1e | 6054 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
6055 | pub struct PANOSE { |
6056 | pub bFamilyType: u8, | |
6057 | pub bSerifStyle: u8, | |
6058 | pub bWeight: u8, | |
6059 | pub bProportion: u8, | |
6060 | pub bContrast: u8, | |
6061 | pub bStrokeVariation: u8, | |
6062 | pub bArmStyle: u8, | |
6063 | pub bLetterform: u8, | |
6064 | pub bMidline: u8, | |
6065 | pub bXHeight: u8, | |
6066 | } | |
6067 | impl ::core::marker::Copy for PANOSE {} | |
6068 | impl ::core::clone::Clone for PANOSE { | |
6069 | fn clone(&self) -> Self { | |
6070 | *self | |
6071 | } | |
6072 | } | |
04454e1e | 6073 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6074 | pub const PANOSE_COUNT: u32 = 10u32; |
04454e1e | 6075 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6076 | pub const PAN_ANY: u32 = 0u32; |
04454e1e | 6077 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6078 | pub const PAN_ARMSTYLE_INDEX: u32 = 6u32; |
04454e1e | 6079 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6080 | pub const PAN_BENT_ARMS_DOUBLE_SERIF: u32 = 11u32; |
04454e1e | 6081 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6082 | pub const PAN_BENT_ARMS_HORZ: u32 = 7u32; |
04454e1e | 6083 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6084 | pub const PAN_BENT_ARMS_SINGLE_SERIF: u32 = 10u32; |
04454e1e | 6085 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6086 | pub const PAN_BENT_ARMS_VERT: u32 = 9u32; |
04454e1e | 6087 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6088 | pub const PAN_BENT_ARMS_WEDGE: u32 = 8u32; |
04454e1e | 6089 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6090 | pub const PAN_CONTRAST_HIGH: u32 = 8u32; |
04454e1e | 6091 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6092 | pub const PAN_CONTRAST_INDEX: u32 = 4u32; |
04454e1e | 6093 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6094 | pub const PAN_CONTRAST_LOW: u32 = 4u32; |
04454e1e | 6095 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6096 | pub const PAN_CONTRAST_MEDIUM: u32 = 6u32; |
04454e1e | 6097 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6098 | pub const PAN_CONTRAST_MEDIUM_HIGH: u32 = 7u32; |
04454e1e | 6099 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6100 | pub const PAN_CONTRAST_MEDIUM_LOW: u32 = 5u32; |
04454e1e | 6101 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6102 | pub const PAN_CONTRAST_NONE: u32 = 2u32; |
04454e1e | 6103 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6104 | pub const PAN_CONTRAST_VERY_HIGH: u32 = 9u32; |
04454e1e | 6105 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6106 | pub const PAN_CONTRAST_VERY_LOW: u32 = 3u32; |
04454e1e | 6107 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6108 | pub const PAN_CULTURE_LATIN: u32 = 0u32; |
04454e1e | 6109 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6110 | pub const PAN_FAMILYTYPE_INDEX: u32 = 0u32; |
04454e1e | 6111 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6112 | pub const PAN_FAMILY_DECORATIVE: u32 = 4u32; |
04454e1e | 6113 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6114 | pub const PAN_FAMILY_PICTORIAL: u32 = 5u32; |
04454e1e | 6115 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6116 | pub const PAN_FAMILY_SCRIPT: u32 = 3u32; |
04454e1e | 6117 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6118 | pub const PAN_FAMILY_TEXT_DISPLAY: u32 = 2u32; |
04454e1e | 6119 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6120 | pub const PAN_LETTERFORM_INDEX: u32 = 7u32; |
04454e1e | 6121 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6122 | pub const PAN_LETT_NORMAL_BOXED: u32 = 4u32; |
04454e1e | 6123 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6124 | pub const PAN_LETT_NORMAL_CONTACT: u32 = 2u32; |
04454e1e | 6125 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6126 | pub const PAN_LETT_NORMAL_FLATTENED: u32 = 5u32; |
04454e1e | 6127 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6128 | pub const PAN_LETT_NORMAL_OFF_CENTER: u32 = 7u32; |
04454e1e | 6129 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6130 | pub const PAN_LETT_NORMAL_ROUNDED: u32 = 6u32; |
04454e1e | 6131 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6132 | pub const PAN_LETT_NORMAL_SQUARE: u32 = 8u32; |
04454e1e | 6133 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6134 | pub const PAN_LETT_NORMAL_WEIGHTED: u32 = 3u32; |
04454e1e | 6135 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6136 | pub const PAN_LETT_OBLIQUE_BOXED: u32 = 11u32; |
04454e1e | 6137 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6138 | pub const PAN_LETT_OBLIQUE_CONTACT: u32 = 9u32; |
04454e1e | 6139 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6140 | pub const PAN_LETT_OBLIQUE_FLATTENED: u32 = 12u32; |
04454e1e | 6141 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6142 | pub const PAN_LETT_OBLIQUE_OFF_CENTER: u32 = 14u32; |
04454e1e | 6143 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6144 | pub const PAN_LETT_OBLIQUE_ROUNDED: u32 = 13u32; |
04454e1e | 6145 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6146 | pub const PAN_LETT_OBLIQUE_SQUARE: u32 = 15u32; |
04454e1e | 6147 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6148 | pub const PAN_LETT_OBLIQUE_WEIGHTED: u32 = 10u32; |
04454e1e | 6149 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6150 | pub const PAN_MIDLINE_CONSTANT_POINTED: u32 = 9u32; |
04454e1e | 6151 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6152 | pub const PAN_MIDLINE_CONSTANT_SERIFED: u32 = 10u32; |
04454e1e | 6153 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6154 | pub const PAN_MIDLINE_CONSTANT_TRIMMED: u32 = 8u32; |
04454e1e | 6155 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6156 | pub const PAN_MIDLINE_HIGH_POINTED: u32 = 6u32; |
04454e1e | 6157 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6158 | pub const PAN_MIDLINE_HIGH_SERIFED: u32 = 7u32; |
04454e1e | 6159 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6160 | pub const PAN_MIDLINE_HIGH_TRIMMED: u32 = 5u32; |
04454e1e | 6161 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6162 | pub const PAN_MIDLINE_INDEX: u32 = 8u32; |
04454e1e | 6163 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6164 | pub const PAN_MIDLINE_LOW_POINTED: u32 = 12u32; |
04454e1e | 6165 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6166 | pub const PAN_MIDLINE_LOW_SERIFED: u32 = 13u32; |
04454e1e | 6167 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6168 | pub const PAN_MIDLINE_LOW_TRIMMED: u32 = 11u32; |
04454e1e | 6169 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6170 | pub const PAN_MIDLINE_STANDARD_POINTED: u32 = 3u32; |
04454e1e | 6171 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6172 | pub const PAN_MIDLINE_STANDARD_SERIFED: u32 = 4u32; |
04454e1e | 6173 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6174 | pub const PAN_MIDLINE_STANDARD_TRIMMED: u32 = 2u32; |
04454e1e | 6175 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6176 | pub const PAN_NO_FIT: u32 = 1u32; |
04454e1e | 6177 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6178 | pub const PAN_PROPORTION_INDEX: u32 = 3u32; |
04454e1e | 6179 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6180 | pub const PAN_PROP_CONDENSED: u32 = 6u32; |
04454e1e | 6181 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6182 | pub const PAN_PROP_EVEN_WIDTH: u32 = 4u32; |
04454e1e | 6183 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6184 | pub const PAN_PROP_EXPANDED: u32 = 5u32; |
04454e1e | 6185 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6186 | pub const PAN_PROP_MODERN: u32 = 3u32; |
04454e1e | 6187 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6188 | pub const PAN_PROP_MONOSPACED: u32 = 9u32; |
04454e1e | 6189 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6190 | pub const PAN_PROP_OLD_STYLE: u32 = 2u32; |
04454e1e | 6191 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6192 | pub const PAN_PROP_VERY_CONDENSED: u32 = 8u32; |
04454e1e | 6193 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6194 | pub const PAN_PROP_VERY_EXPANDED: u32 = 7u32; |
04454e1e | 6195 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6196 | pub const PAN_SERIFSTYLE_INDEX: u32 = 1u32; |
04454e1e | 6197 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6198 | pub const PAN_SERIF_BONE: u32 = 8u32; |
04454e1e | 6199 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6200 | pub const PAN_SERIF_COVE: u32 = 2u32; |
04454e1e | 6201 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6202 | pub const PAN_SERIF_EXAGGERATED: u32 = 9u32; |
04454e1e | 6203 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6204 | pub const PAN_SERIF_FLARED: u32 = 14u32; |
04454e1e | 6205 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6206 | pub const PAN_SERIF_NORMAL_SANS: u32 = 11u32; |
04454e1e | 6207 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6208 | pub const PAN_SERIF_OBTUSE_COVE: u32 = 3u32; |
04454e1e | 6209 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6210 | pub const PAN_SERIF_OBTUSE_SANS: u32 = 12u32; |
04454e1e | 6211 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6212 | pub const PAN_SERIF_OBTUSE_SQUARE_COVE: u32 = 5u32; |
04454e1e | 6213 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6214 | pub const PAN_SERIF_PERP_SANS: u32 = 13u32; |
04454e1e | 6215 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6216 | pub const PAN_SERIF_ROUNDED: u32 = 15u32; |
04454e1e | 6217 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6218 | pub const PAN_SERIF_SQUARE: u32 = 6u32; |
04454e1e | 6219 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6220 | pub const PAN_SERIF_SQUARE_COVE: u32 = 4u32; |
04454e1e | 6221 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6222 | pub const PAN_SERIF_THIN: u32 = 7u32; |
04454e1e | 6223 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6224 | pub const PAN_SERIF_TRIANGLE: u32 = 10u32; |
04454e1e | 6225 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6226 | pub const PAN_STRAIGHT_ARMS_DOUBLE_SERIF: u32 = 6u32; |
04454e1e | 6227 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6228 | pub const PAN_STRAIGHT_ARMS_HORZ: u32 = 2u32; |
04454e1e | 6229 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6230 | pub const PAN_STRAIGHT_ARMS_SINGLE_SERIF: u32 = 5u32; |
04454e1e | 6231 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6232 | pub const PAN_STRAIGHT_ARMS_VERT: u32 = 4u32; |
04454e1e | 6233 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6234 | pub const PAN_STRAIGHT_ARMS_WEDGE: u32 = 3u32; |
04454e1e | 6235 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6236 | pub const PAN_STROKEVARIATION_INDEX: u32 = 5u32; |
04454e1e | 6237 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6238 | pub const PAN_STROKE_GRADUAL_DIAG: u32 = 2u32; |
04454e1e | 6239 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6240 | pub const PAN_STROKE_GRADUAL_HORZ: u32 = 5u32; |
04454e1e | 6241 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6242 | pub const PAN_STROKE_GRADUAL_TRAN: u32 = 3u32; |
04454e1e | 6243 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6244 | pub const PAN_STROKE_GRADUAL_VERT: u32 = 4u32; |
04454e1e | 6245 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6246 | pub const PAN_STROKE_INSTANT_VERT: u32 = 8u32; |
04454e1e | 6247 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6248 | pub const PAN_STROKE_RAPID_HORZ: u32 = 7u32; |
04454e1e | 6249 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6250 | pub const PAN_STROKE_RAPID_VERT: u32 = 6u32; |
04454e1e | 6251 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6252 | pub const PAN_WEIGHT_BLACK: u32 = 10u32; |
04454e1e | 6253 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6254 | pub const PAN_WEIGHT_BOLD: u32 = 8u32; |
04454e1e | 6255 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6256 | pub const PAN_WEIGHT_BOOK: u32 = 5u32; |
04454e1e | 6257 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6258 | pub const PAN_WEIGHT_DEMI: u32 = 7u32; |
04454e1e | 6259 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6260 | pub const PAN_WEIGHT_HEAVY: u32 = 9u32; |
04454e1e | 6261 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6262 | pub const PAN_WEIGHT_INDEX: u32 = 2u32; |
04454e1e | 6263 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6264 | pub const PAN_WEIGHT_LIGHT: u32 = 3u32; |
04454e1e | 6265 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6266 | pub const PAN_WEIGHT_MEDIUM: u32 = 6u32; |
04454e1e | 6267 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6268 | pub const PAN_WEIGHT_NORD: u32 = 11u32; |
04454e1e | 6269 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6270 | pub const PAN_WEIGHT_THIN: u32 = 4u32; |
04454e1e | 6271 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6272 | pub const PAN_WEIGHT_VERY_LIGHT: u32 = 2u32; |
04454e1e | 6273 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6274 | pub const PAN_XHEIGHT_CONSTANT_LARGE: u32 = 4u32; |
04454e1e | 6275 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6276 | pub const PAN_XHEIGHT_CONSTANT_SMALL: u32 = 2u32; |
04454e1e | 6277 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6278 | pub const PAN_XHEIGHT_CONSTANT_STD: u32 = 3u32; |
04454e1e | 6279 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6280 | pub const PAN_XHEIGHT_DUCKING_LARGE: u32 = 7u32; |
04454e1e | 6281 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6282 | pub const PAN_XHEIGHT_DUCKING_SMALL: u32 = 5u32; |
04454e1e | 6283 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6284 | pub const PAN_XHEIGHT_DUCKING_STD: u32 = 6u32; |
04454e1e | 6285 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6286 | pub const PAN_XHEIGHT_INDEX: u32 = 9u32; |
04454e1e | 6287 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6288 | pub const PASSTHROUGH: u32 = 19u32; |
04454e1e | 6289 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6290 | pub const PC_EXPLICIT: u32 = 2u32; |
04454e1e | 6291 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6292 | pub const PC_INTERIORS: u32 = 128u32; |
04454e1e | 6293 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6294 | pub const PC_NOCOLLAPSE: u32 = 4u32; |
04454e1e | 6295 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6296 | pub const PC_NONE: u32 = 0u32; |
04454e1e | 6297 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6298 | pub const PC_PATHS: u32 = 512u32; |
04454e1e | 6299 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6300 | pub const PC_POLYGON: u32 = 1u32; |
04454e1e | 6301 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6302 | pub const PC_POLYPOLYGON: u32 = 256u32; |
04454e1e | 6303 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6304 | pub const PC_RECTANGLE: u32 = 2u32; |
04454e1e | 6305 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6306 | pub const PC_RESERVED: u32 = 1u32; |
04454e1e | 6307 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6308 | pub const PC_SCANLINE: u32 = 8u32; |
04454e1e | 6309 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6310 | pub const PC_STYLED: u32 = 32u32; |
04454e1e | 6311 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6312 | pub const PC_TRAPEZOID: u32 = 4u32; |
04454e1e | 6313 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6314 | pub const PC_WIDE: u32 = 16u32; |
04454e1e | 6315 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6316 | pub const PC_WIDESTYLED: u32 = 64u32; |
04454e1e | 6317 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
6318 | pub const PC_WINDPOLYGON: u32 = 4u32; |
6319 | #[repr(C)] | |
04454e1e | 6320 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
6321 | pub struct PELARRAY { |
6322 | pub paXCount: i32, | |
6323 | pub paYCount: i32, | |
6324 | pub paXExt: i32, | |
6325 | pub paYExt: i32, | |
6326 | pub paRGBs: u8, | |
6327 | } | |
6328 | impl ::core::marker::Copy for PELARRAY {} | |
6329 | impl ::core::clone::Clone for PELARRAY { | |
6330 | fn clone(&self) -> Self { | |
6331 | *self | |
6332 | } | |
6333 | } | |
04454e1e | 6334 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6335 | pub type PEN_STYLE = u32; |
04454e1e | 6336 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6337 | pub const PS_GEOMETRIC: PEN_STYLE = 65536u32; |
04454e1e | 6338 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6339 | pub const PS_COSMETIC: PEN_STYLE = 0u32; |
04454e1e | 6340 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6341 | pub const PS_SOLID: PEN_STYLE = 0u32; |
04454e1e | 6342 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6343 | pub const PS_DASH: PEN_STYLE = 1u32; |
04454e1e | 6344 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6345 | pub const PS_DOT: PEN_STYLE = 2u32; |
04454e1e | 6346 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6347 | pub const PS_DASHDOT: PEN_STYLE = 3u32; |
04454e1e | 6348 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6349 | pub const PS_DASHDOTDOT: PEN_STYLE = 4u32; |
04454e1e | 6350 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6351 | pub const PS_NULL: PEN_STYLE = 5u32; |
04454e1e | 6352 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6353 | pub const PS_INSIDEFRAME: PEN_STYLE = 6u32; |
04454e1e | 6354 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6355 | pub const PS_USERSTYLE: PEN_STYLE = 7u32; |
04454e1e | 6356 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6357 | pub const PS_ALTERNATE: PEN_STYLE = 8u32; |
04454e1e | 6358 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6359 | pub const PS_STYLE_MASK: PEN_STYLE = 15u32; |
04454e1e | 6360 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6361 | pub const PS_ENDCAP_ROUND: PEN_STYLE = 0u32; |
04454e1e | 6362 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6363 | pub const PS_ENDCAP_SQUARE: PEN_STYLE = 256u32; |
04454e1e | 6364 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6365 | pub const PS_ENDCAP_FLAT: PEN_STYLE = 512u32; |
04454e1e | 6366 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6367 | pub const PS_ENDCAP_MASK: PEN_STYLE = 3840u32; |
04454e1e | 6368 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6369 | pub const PS_JOIN_ROUND: PEN_STYLE = 0u32; |
04454e1e | 6370 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6371 | pub const PS_JOIN_BEVEL: PEN_STYLE = 4096u32; |
04454e1e | 6372 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6373 | pub const PS_JOIN_MITER: PEN_STYLE = 8192u32; |
04454e1e | 6374 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6375 | pub const PS_JOIN_MASK: PEN_STYLE = 61440u32; |
04454e1e | 6376 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6377 | pub const PS_TYPE_MASK: PEN_STYLE = 983040u32; |
5e7ed085 | 6378 | #[repr(C)] |
04454e1e | 6379 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
6380 | pub struct POINTFX { |
6381 | pub x: FIXED, | |
6382 | pub y: FIXED, | |
6383 | } | |
6384 | impl ::core::marker::Copy for POINTFX {} | |
6385 | impl ::core::clone::Clone for POINTFX { | |
6386 | fn clone(&self) -> Self { | |
6387 | *self | |
6388 | } | |
6389 | } | |
04454e1e | 6390 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
6391 | pub const POLYFILL_LAST: u32 = 2u32; |
6392 | #[repr(C)] | |
04454e1e | 6393 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6394 | #[cfg(feature = "Win32_Foundation")] |
6395 | pub struct POLYTEXTA { | |
6396 | pub x: i32, | |
6397 | pub y: i32, | |
6398 | pub n: u32, | |
04454e1e | 6399 | pub lpstr: ::windows_sys::core::PCSTR, |
5e7ed085 FG |
6400 | pub uiFlags: u32, |
6401 | pub rcl: super::super::Foundation::RECT, | |
6402 | pub pdx: *mut i32, | |
6403 | } | |
6404 | #[cfg(feature = "Win32_Foundation")] | |
6405 | impl ::core::marker::Copy for POLYTEXTA {} | |
6406 | #[cfg(feature = "Win32_Foundation")] | |
6407 | impl ::core::clone::Clone for POLYTEXTA { | |
6408 | fn clone(&self) -> Self { | |
6409 | *self | |
6410 | } | |
6411 | } | |
6412 | #[repr(C)] | |
04454e1e | 6413 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6414 | #[cfg(feature = "Win32_Foundation")] |
6415 | pub struct POLYTEXTW { | |
6416 | pub x: i32, | |
6417 | pub y: i32, | |
6418 | pub n: u32, | |
04454e1e | 6419 | pub lpstr: ::windows_sys::core::PCWSTR, |
5e7ed085 FG |
6420 | pub uiFlags: u32, |
6421 | pub rcl: super::super::Foundation::RECT, | |
6422 | pub pdx: *mut i32, | |
6423 | } | |
6424 | #[cfg(feature = "Win32_Foundation")] | |
6425 | impl ::core::marker::Copy for POLYTEXTW {} | |
6426 | #[cfg(feature = "Win32_Foundation")] | |
6427 | impl ::core::clone::Clone for POLYTEXTW { | |
6428 | fn clone(&self) -> Self { | |
6429 | *self | |
6430 | } | |
6431 | } | |
04454e1e | 6432 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6433 | pub const POSTSCRIPT_DATA: u32 = 37u32; |
04454e1e | 6434 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6435 | pub const POSTSCRIPT_IDENTIFY: u32 = 4117u32; |
04454e1e | 6436 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6437 | pub const POSTSCRIPT_IGNORE: u32 = 38u32; |
04454e1e | 6438 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6439 | pub const POSTSCRIPT_INJECTION: u32 = 4118u32; |
04454e1e | 6440 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6441 | pub const POSTSCRIPT_PASSTHROUGH: u32 = 4115u32; |
04454e1e | 6442 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6443 | pub const PRINTRATEUNIT_CPS: u32 = 2u32; |
04454e1e | 6444 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6445 | pub const PRINTRATEUNIT_IPM: u32 = 4u32; |
04454e1e | 6446 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6447 | pub const PRINTRATEUNIT_LPM: u32 = 3u32; |
04454e1e | 6448 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6449 | pub const PRINTRATEUNIT_PPM: u32 = 1u32; |
04454e1e | 6450 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6451 | pub const PR_JOBSTATUS: u32 = 0u32; |
04454e1e | 6452 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6453 | pub const PSIDENT_GDICENTRIC: u32 = 0u32; |
04454e1e | 6454 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6455 | pub const PSIDENT_PSCENTRIC: u32 = 1u32; |
04454e1e | 6456 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6457 | pub const PSINJECT_DLFONT: u32 = 3722304989u32; |
04454e1e | 6458 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6459 | pub const PSPROTOCOL_ASCII: u32 = 0u32; |
04454e1e | 6460 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6461 | pub const PSPROTOCOL_BCP: u32 = 1u32; |
04454e1e | 6462 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6463 | pub const PSPROTOCOL_BINARY: u32 = 3u32; |
04454e1e | 6464 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6465 | pub const PSPROTOCOL_TBCP: u32 = 2u32; |
04454e1e | 6466 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6467 | pub const PT_BEZIERTO: u32 = 4u32; |
04454e1e | 6468 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6469 | pub const PT_CLOSEFIGURE: u32 = 1u32; |
04454e1e | 6470 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6471 | pub const PT_LINETO: u32 = 2u32; |
04454e1e | 6472 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6473 | pub const PT_MOVETO: u32 = 6u32; |
04454e1e | 6474 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6475 | pub const QDC_ALL_PATHS: u32 = 1u32; |
04454e1e | 6476 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6477 | pub const QDC_DATABASE_CURRENT: u32 = 4u32; |
04454e1e | 6478 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6479 | pub const QDC_INCLUDE_HMD: u32 = 32u32; |
04454e1e | 6480 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6481 | pub const QDC_ONLY_ACTIVE_PATHS: u32 = 2u32; |
04454e1e | 6482 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6483 | pub const QDC_VIRTUAL_MODE_AWARE: u32 = 16u32; |
04454e1e | 6484 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6485 | pub const QDC_VIRTUAL_REFRESH_RATE_AWARE: u32 = 64u32; |
04454e1e | 6486 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6487 | pub const QDI_DIBTOSCREEN: u32 = 4u32; |
04454e1e | 6488 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6489 | pub const QDI_GETDIBITS: u32 = 2u32; |
04454e1e | 6490 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6491 | pub const QDI_SETDIBITS: u32 = 1u32; |
04454e1e | 6492 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6493 | pub const QDI_STRETCHDIB: u32 = 8u32; |
04454e1e | 6494 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6495 | pub const QUERYDIBSUPPORT: u32 = 3073u32; |
04454e1e | 6496 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6497 | pub const QUERYESCSUPPORT: u32 = 8u32; |
04454e1e | 6498 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6499 | pub const QUERYROPSUPPORT: u32 = 40u32; |
04454e1e | 6500 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6501 | pub type R2_MODE = i32; |
04454e1e | 6502 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6503 | pub const R2_BLACK: R2_MODE = 1i32; |
04454e1e | 6504 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6505 | pub const R2_NOTMERGEPEN: R2_MODE = 2i32; |
04454e1e | 6506 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6507 | pub const R2_MASKNOTPEN: R2_MODE = 3i32; |
04454e1e | 6508 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6509 | pub const R2_NOTCOPYPEN: R2_MODE = 4i32; |
04454e1e | 6510 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6511 | pub const R2_MASKPENNOT: R2_MODE = 5i32; |
04454e1e | 6512 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6513 | pub const R2_NOT: R2_MODE = 6i32; |
04454e1e | 6514 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6515 | pub const R2_XORPEN: R2_MODE = 7i32; |
04454e1e | 6516 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6517 | pub const R2_NOTMASKPEN: R2_MODE = 8i32; |
04454e1e | 6518 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6519 | pub const R2_MASKPEN: R2_MODE = 9i32; |
04454e1e | 6520 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6521 | pub const R2_NOTXORPEN: R2_MODE = 10i32; |
04454e1e | 6522 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6523 | pub const R2_NOP: R2_MODE = 11i32; |
04454e1e | 6524 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6525 | pub const R2_MERGENOTPEN: R2_MODE = 12i32; |
04454e1e | 6526 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6527 | pub const R2_COPYPEN: R2_MODE = 13i32; |
04454e1e | 6528 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6529 | pub const R2_MERGEPENNOT: R2_MODE = 14i32; |
04454e1e | 6530 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6531 | pub const R2_MERGEPEN: R2_MODE = 15i32; |
04454e1e | 6532 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6533 | pub const R2_WHITE: R2_MODE = 16i32; |
04454e1e | 6534 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
6535 | pub const R2_LAST: R2_MODE = 16i32; |
6536 | #[repr(C)] | |
04454e1e | 6537 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
6538 | pub struct RASTERIZER_STATUS { |
6539 | pub nSize: i16, | |
6540 | pub wFlags: i16, | |
6541 | pub nLanguageID: i16, | |
6542 | } | |
6543 | impl ::core::marker::Copy for RASTERIZER_STATUS {} | |
6544 | impl ::core::clone::Clone for RASTERIZER_STATUS { | |
6545 | fn clone(&self) -> Self { | |
6546 | *self | |
6547 | } | |
6548 | } | |
04454e1e | 6549 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6550 | pub const RASTER_FONTTYPE: u32 = 1u32; |
04454e1e | 6551 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6552 | pub const RC_BANDING: u32 = 2u32; |
04454e1e | 6553 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6554 | pub const RC_BIGFONT: u32 = 1024u32; |
04454e1e | 6555 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6556 | pub const RC_BITBLT: u32 = 1u32; |
04454e1e | 6557 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6558 | pub const RC_BITMAP64: u32 = 8u32; |
04454e1e | 6559 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6560 | pub const RC_DEVBITS: u32 = 32768u32; |
04454e1e | 6561 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6562 | pub const RC_DIBTODEV: u32 = 512u32; |
04454e1e | 6563 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6564 | pub const RC_DI_BITMAP: u32 = 128u32; |
04454e1e | 6565 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6566 | pub const RC_FLOODFILL: u32 = 4096u32; |
04454e1e | 6567 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6568 | pub const RC_GDI20_OUTPUT: u32 = 16u32; |
04454e1e | 6569 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6570 | pub const RC_GDI20_STATE: u32 = 32u32; |
04454e1e | 6571 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6572 | pub const RC_OP_DX_OUTPUT: u32 = 16384u32; |
04454e1e | 6573 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6574 | pub const RC_PALETTE: u32 = 256u32; |
04454e1e | 6575 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6576 | pub const RC_SAVEBITMAP: u32 = 64u32; |
04454e1e | 6577 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6578 | pub const RC_SCALING: u32 = 4u32; |
04454e1e | 6579 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6580 | pub const RC_STRETCHBLT: u32 = 2048u32; |
04454e1e | 6581 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6582 | pub const RC_STRETCHDIB: u32 = 8192u32; |
04454e1e | 6583 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6584 | pub const RDH_RECTANGLES: u32 = 1u32; |
04454e1e | 6585 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6586 | pub type READEMBEDPROC = ::core::option::Option<unsafe extern "system" fn(param0: *mut ::core::ffi::c_void, param1: *mut ::core::ffi::c_void, param2: u32) -> u32>; |
04454e1e | 6587 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6588 | pub type REDRAW_WINDOW_FLAGS = u32; |
04454e1e | 6589 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6590 | pub const RDW_INVALIDATE: REDRAW_WINDOW_FLAGS = 1u32; |
04454e1e | 6591 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6592 | pub const RDW_INTERNALPAINT: REDRAW_WINDOW_FLAGS = 2u32; |
04454e1e | 6593 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6594 | pub const RDW_ERASE: REDRAW_WINDOW_FLAGS = 4u32; |
04454e1e | 6595 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6596 | pub const RDW_VALIDATE: REDRAW_WINDOW_FLAGS = 8u32; |
04454e1e | 6597 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6598 | pub const RDW_NOINTERNALPAINT: REDRAW_WINDOW_FLAGS = 16u32; |
04454e1e | 6599 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6600 | pub const RDW_NOERASE: REDRAW_WINDOW_FLAGS = 32u32; |
04454e1e | 6601 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6602 | pub const RDW_NOCHILDREN: REDRAW_WINDOW_FLAGS = 64u32; |
04454e1e | 6603 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6604 | pub const RDW_ALLCHILDREN: REDRAW_WINDOW_FLAGS = 128u32; |
04454e1e | 6605 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6606 | pub const RDW_UPDATENOW: REDRAW_WINDOW_FLAGS = 256u32; |
04454e1e | 6607 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6608 | pub const RDW_ERASENOW: REDRAW_WINDOW_FLAGS = 512u32; |
04454e1e | 6609 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6610 | pub const RDW_FRAME: REDRAW_WINDOW_FLAGS = 1024u32; |
04454e1e | 6611 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6612 | pub const RDW_NOFRAME: REDRAW_WINDOW_FLAGS = 2048u32; |
04454e1e | 6613 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6614 | pub const RELATIVE: u32 = 2u32; |
04454e1e | 6615 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
6616 | pub const RESTORE_CTM: u32 = 4100u32; |
6617 | #[repr(C)] | |
04454e1e | 6618 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
6619 | pub struct RGBQUAD { |
6620 | pub rgbBlue: u8, | |
6621 | pub rgbGreen: u8, | |
6622 | pub rgbRed: u8, | |
6623 | pub rgbReserved: u8, | |
6624 | } | |
6625 | impl ::core::marker::Copy for RGBQUAD {} | |
6626 | impl ::core::clone::Clone for RGBQUAD { | |
6627 | fn clone(&self) -> Self { | |
6628 | *self | |
6629 | } | |
6630 | } | |
6631 | #[repr(C)] | |
04454e1e | 6632 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
6633 | pub struct RGBTRIPLE { |
6634 | pub rgbtBlue: u8, | |
6635 | pub rgbtGreen: u8, | |
6636 | pub rgbtRed: u8, | |
6637 | } | |
6638 | impl ::core::marker::Copy for RGBTRIPLE {} | |
6639 | impl ::core::clone::Clone for RGBTRIPLE { | |
6640 | fn clone(&self) -> Self { | |
6641 | *self | |
6642 | } | |
6643 | } | |
6644 | #[repr(C)] | |
04454e1e | 6645 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6646 | #[cfg(feature = "Win32_Foundation")] |
6647 | pub struct RGNDATA { | |
6648 | pub rdh: RGNDATAHEADER, | |
6649 | pub Buffer: [super::super::Foundation::CHAR; 1], | |
6650 | } | |
6651 | #[cfg(feature = "Win32_Foundation")] | |
6652 | impl ::core::marker::Copy for RGNDATA {} | |
6653 | #[cfg(feature = "Win32_Foundation")] | |
6654 | impl ::core::clone::Clone for RGNDATA { | |
6655 | fn clone(&self) -> Self { | |
6656 | *self | |
6657 | } | |
6658 | } | |
6659 | #[repr(C)] | |
04454e1e | 6660 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6661 | #[cfg(feature = "Win32_Foundation")] |
6662 | pub struct RGNDATAHEADER { | |
6663 | pub dwSize: u32, | |
6664 | pub iType: u32, | |
6665 | pub nCount: u32, | |
6666 | pub nRgnSize: u32, | |
6667 | pub rcBound: super::super::Foundation::RECT, | |
6668 | } | |
6669 | #[cfg(feature = "Win32_Foundation")] | |
6670 | impl ::core::marker::Copy for RGNDATAHEADER {} | |
6671 | #[cfg(feature = "Win32_Foundation")] | |
6672 | impl ::core::clone::Clone for RGNDATAHEADER { | |
6673 | fn clone(&self) -> Self { | |
6674 | *self | |
6675 | } | |
6676 | } | |
04454e1e | 6677 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6678 | pub type RGN_COMBINE_MODE = i32; |
04454e1e | 6679 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6680 | pub const RGN_AND: RGN_COMBINE_MODE = 1i32; |
04454e1e | 6681 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6682 | pub const RGN_OR: RGN_COMBINE_MODE = 2i32; |
04454e1e | 6683 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6684 | pub const RGN_XOR: RGN_COMBINE_MODE = 3i32; |
04454e1e | 6685 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6686 | pub const RGN_DIFF: RGN_COMBINE_MODE = 4i32; |
04454e1e | 6687 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6688 | pub const RGN_COPY: RGN_COMBINE_MODE = 5i32; |
04454e1e | 6689 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6690 | pub const RGN_MIN: RGN_COMBINE_MODE = 1i32; |
04454e1e | 6691 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6692 | pub const RGN_MAX: RGN_COMBINE_MODE = 5i32; |
04454e1e | 6693 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6694 | pub const RGN_ERROR: u32 = 0u32; |
04454e1e | 6695 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6696 | pub type ROP_CODE = u32; |
04454e1e | 6697 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6698 | pub const SRCCOPY: ROP_CODE = 13369376u32; |
04454e1e | 6699 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6700 | pub const SRCPAINT: ROP_CODE = 15597702u32; |
04454e1e | 6701 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6702 | pub const SRCAND: ROP_CODE = 8913094u32; |
04454e1e | 6703 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6704 | pub const SRCINVERT: ROP_CODE = 6684742u32; |
04454e1e | 6705 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6706 | pub const SRCERASE: ROP_CODE = 4457256u32; |
04454e1e | 6707 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6708 | pub const NOTSRCCOPY: ROP_CODE = 3342344u32; |
04454e1e | 6709 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6710 | pub const NOTSRCERASE: ROP_CODE = 1114278u32; |
04454e1e | 6711 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6712 | pub const MERGECOPY: ROP_CODE = 12583114u32; |
04454e1e | 6713 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6714 | pub const MERGEPAINT: ROP_CODE = 12255782u32; |
04454e1e | 6715 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6716 | pub const PATCOPY: ROP_CODE = 15728673u32; |
04454e1e | 6717 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6718 | pub const PATPAINT: ROP_CODE = 16452105u32; |
04454e1e | 6719 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6720 | pub const PATINVERT: ROP_CODE = 5898313u32; |
04454e1e | 6721 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6722 | pub const DSTINVERT: ROP_CODE = 5570569u32; |
04454e1e | 6723 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6724 | pub const BLACKNESS: ROP_CODE = 66u32; |
04454e1e | 6725 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6726 | pub const WHITENESS: ROP_CODE = 16711778u32; |
04454e1e | 6727 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6728 | pub const NOMIRRORBITMAP: ROP_CODE = 2147483648u32; |
04454e1e | 6729 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6730 | pub const CAPTUREBLT: ROP_CODE = 1073741824u32; |
04454e1e | 6731 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6732 | pub const RUSSIAN_CHARSET: u32 = 204u32; |
04454e1e | 6733 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6734 | pub const SAVE_CTM: u32 = 4101u32; |
04454e1e | 6735 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6736 | pub const SB_CONST_ALPHA: u32 = 1u32; |
04454e1e | 6737 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6738 | pub const SB_GRAD_RECT: u32 = 16u32; |
04454e1e | 6739 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6740 | pub const SB_GRAD_TRI: u32 = 32u32; |
04454e1e | 6741 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6742 | pub const SB_NONE: u32 = 0u32; |
04454e1e | 6743 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6744 | pub const SB_PIXEL_ALPHA: u32 = 2u32; |
04454e1e | 6745 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6746 | pub const SB_PREMULT_ALPHA: u32 = 4u32; |
04454e1e | 6747 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6748 | pub const SC_SCREENSAVE: u32 = 61760u32; |
04454e1e | 6749 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6750 | pub const SDC_ALLOW_CHANGES: u32 = 1024u32; |
04454e1e | 6751 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6752 | pub const SDC_ALLOW_PATH_ORDER_CHANGES: u32 = 8192u32; |
04454e1e | 6753 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6754 | pub const SDC_APPLY: u32 = 128u32; |
04454e1e | 6755 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6756 | pub const SDC_FORCE_MODE_ENUMERATION: u32 = 4096u32; |
04454e1e | 6757 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6758 | pub const SDC_NO_OPTIMIZATION: u32 = 256u32; |
04454e1e | 6759 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6760 | pub const SDC_PATH_PERSIST_IF_REQUIRED: u32 = 2048u32; |
04454e1e | 6761 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6762 | pub const SDC_SAVE_TO_DATABASE: u32 = 512u32; |
04454e1e | 6763 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6764 | pub const SDC_TOPOLOGY_CLONE: u32 = 2u32; |
04454e1e | 6765 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6766 | pub const SDC_TOPOLOGY_EXTEND: u32 = 4u32; |
04454e1e | 6767 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6768 | pub const SDC_TOPOLOGY_EXTERNAL: u32 = 8u32; |
04454e1e | 6769 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6770 | pub const SDC_TOPOLOGY_INTERNAL: u32 = 1u32; |
04454e1e | 6771 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6772 | pub const SDC_TOPOLOGY_SUPPLIED: u32 = 16u32; |
04454e1e | 6773 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6774 | pub const SDC_USE_SUPPLIED_DISPLAY_CONFIG: u32 = 32u32; |
04454e1e | 6775 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6776 | pub const SDC_VALIDATE: u32 = 64u32; |
04454e1e | 6777 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6778 | pub const SDC_VIRTUAL_MODE_AWARE: u32 = 32768u32; |
04454e1e | 6779 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6780 | pub const SDC_VIRTUAL_REFRESH_RATE_AWARE: u32 = 131072u32; |
04454e1e | 6781 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6782 | pub const SELECTDIB: u32 = 41u32; |
04454e1e | 6783 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6784 | pub const SELECTPAPERSOURCE: u32 = 18u32; |
04454e1e | 6785 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6786 | pub const SETABORTPROC: u32 = 9u32; |
04454e1e | 6787 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6788 | pub const SETALLJUSTVALUES: u32 = 771u32; |
04454e1e | 6789 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6790 | pub const SETCHARSET: u32 = 772u32; |
04454e1e | 6791 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6792 | pub const SETCOLORTABLE: u32 = 4u32; |
04454e1e | 6793 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6794 | pub const SETCOPYCOUNT: u32 = 17u32; |
04454e1e | 6795 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6796 | pub const SETDIBSCALING: u32 = 32u32; |
04454e1e | 6797 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6798 | pub const SETICMPROFILE_EMBEDED: u32 = 1u32; |
04454e1e | 6799 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6800 | pub const SETKERNTRACK: u32 = 770u32; |
04454e1e | 6801 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6802 | pub const SETLINECAP: u32 = 21u32; |
04454e1e | 6803 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6804 | pub const SETLINEJOIN: u32 = 22u32; |
04454e1e | 6805 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6806 | pub const SETMITERLIMIT: u32 = 23u32; |
04454e1e | 6807 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6808 | pub const SET_ARC_DIRECTION: u32 = 4102u32; |
04454e1e | 6809 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6810 | pub const SET_BACKGROUND_COLOR: u32 = 4103u32; |
04454e1e | 6811 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6812 | pub const SET_BOUNDS: u32 = 4109u32; |
04454e1e | 6813 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6814 | pub type SET_BOUNDS_RECT_FLAGS = u32; |
04454e1e | 6815 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6816 | pub const DCB_ACCUMULATE: SET_BOUNDS_RECT_FLAGS = 2u32; |
04454e1e | 6817 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6818 | pub const DCB_DISABLE: SET_BOUNDS_RECT_FLAGS = 8u32; |
04454e1e | 6819 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6820 | pub const DCB_ENABLE: SET_BOUNDS_RECT_FLAGS = 4u32; |
04454e1e | 6821 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6822 | pub const DCB_RESET: SET_BOUNDS_RECT_FLAGS = 1u32; |
04454e1e | 6823 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6824 | pub const SET_CLIP_BOX: u32 = 4108u32; |
04454e1e | 6825 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6826 | pub const SET_MIRROR_MODE: u32 = 4110u32; |
04454e1e | 6827 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6828 | pub const SET_POLY_MODE: u32 = 4104u32; |
04454e1e | 6829 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6830 | pub const SET_SCREEN_ANGLE: u32 = 4105u32; |
04454e1e | 6831 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6832 | pub const SET_SPREAD: u32 = 4106u32; |
04454e1e | 6833 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6834 | pub const SHIFTJIS_CHARSET: u32 = 128u32; |
04454e1e | 6835 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6836 | pub const SIMPLEREGION: u32 = 2u32; |
04454e1e | 6837 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6838 | pub const SPCLPASSTHROUGH2: u32 = 4568u32; |
04454e1e | 6839 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6840 | pub const SP_APPABORT: i32 = -2i32; |
04454e1e | 6841 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6842 | pub const SP_ERROR: i32 = -1i32; |
04454e1e | 6843 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6844 | pub const SP_NOTREPORTED: u32 = 16384u32; |
04454e1e | 6845 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6846 | pub const SP_OUTOFDISK: i32 = -4i32; |
04454e1e | 6847 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6848 | pub const SP_OUTOFMEMORY: i32 = -5i32; |
04454e1e | 6849 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6850 | pub const SP_USERABORT: i32 = -3i32; |
04454e1e | 6851 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6852 | pub const STARTDOC: u32 = 10u32; |
04454e1e | 6853 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6854 | pub const STOCK_LAST: u32 = 19u32; |
04454e1e | 6855 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6856 | pub const STRETCHBLT: u32 = 2048u32; |
04454e1e | 6857 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6858 | pub type STRETCH_BLT_MODE = u32; |
04454e1e | 6859 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6860 | pub const BLACKONWHITE: STRETCH_BLT_MODE = 1u32; |
04454e1e | 6861 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6862 | pub const COLORONCOLOR: STRETCH_BLT_MODE = 3u32; |
04454e1e | 6863 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6864 | pub const HALFTONE: STRETCH_BLT_MODE = 4u32; |
04454e1e | 6865 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6866 | pub const STRETCH_ANDSCANS: STRETCH_BLT_MODE = 1u32; |
04454e1e | 6867 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6868 | pub const STRETCH_DELETESCANS: STRETCH_BLT_MODE = 3u32; |
04454e1e | 6869 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6870 | pub const STRETCH_HALFTONE: STRETCH_BLT_MODE = 4u32; |
04454e1e | 6871 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6872 | pub const STRETCH_ORSCANS: STRETCH_BLT_MODE = 2u32; |
04454e1e | 6873 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6874 | pub const WHITEONBLACK: STRETCH_BLT_MODE = 2u32; |
04454e1e | 6875 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6876 | pub const SYMBOL_CHARSET: u32 = 2u32; |
04454e1e | 6877 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6878 | pub const SYSPAL_ERROR: u32 = 0u32; |
04454e1e | 6879 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6880 | pub const SYSRGN: u32 = 4u32; |
04454e1e | 6881 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6882 | pub type SYSTEM_PALETTE_USE = u32; |
04454e1e | 6883 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6884 | pub const SYSPAL_NOSTATIC: SYSTEM_PALETTE_USE = 2u32; |
04454e1e | 6885 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6886 | pub const SYSPAL_NOSTATIC256: SYSTEM_PALETTE_USE = 3u32; |
04454e1e | 6887 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6888 | pub const SYSPAL_STATIC: SYSTEM_PALETTE_USE = 1u32; |
04454e1e | 6889 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6890 | pub const TC_CP_STROKE: u32 = 4u32; |
04454e1e | 6891 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6892 | pub const TC_CR_90: u32 = 8u32; |
04454e1e | 6893 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6894 | pub const TC_CR_ANY: u32 = 16u32; |
04454e1e | 6895 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6896 | pub const TC_EA_DOUBLE: u32 = 512u32; |
04454e1e | 6897 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6898 | pub const TC_IA_ABLE: u32 = 1024u32; |
04454e1e | 6899 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6900 | pub const TC_OP_CHARACTER: u32 = 1u32; |
04454e1e | 6901 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6902 | pub const TC_OP_STROKE: u32 = 2u32; |
04454e1e | 6903 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6904 | pub const TC_RA_ABLE: u32 = 8192u32; |
04454e1e | 6905 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6906 | pub const TC_RESERVED: u32 = 32768u32; |
04454e1e | 6907 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6908 | pub const TC_SA_CONTIN: u32 = 256u32; |
04454e1e | 6909 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6910 | pub const TC_SA_DOUBLE: u32 = 64u32; |
04454e1e | 6911 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6912 | pub const TC_SA_INTEGER: u32 = 128u32; |
04454e1e | 6913 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6914 | pub const TC_SCROLLBLT: u32 = 65536u32; |
04454e1e | 6915 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6916 | pub const TC_SF_X_YINDEP: u32 = 32u32; |
04454e1e | 6917 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6918 | pub const TC_SO_ABLE: u32 = 4096u32; |
04454e1e | 6919 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6920 | pub const TC_UA_ABLE: u32 = 2048u32; |
04454e1e | 6921 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
6922 | pub const TC_VA_ABLE: u32 = 16384u32; |
6923 | #[repr(C)] | |
04454e1e | 6924 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
6925 | pub struct TEXTMETRICA { |
6926 | pub tmHeight: i32, | |
6927 | pub tmAscent: i32, | |
6928 | pub tmDescent: i32, | |
6929 | pub tmInternalLeading: i32, | |
6930 | pub tmExternalLeading: i32, | |
6931 | pub tmAveCharWidth: i32, | |
6932 | pub tmMaxCharWidth: i32, | |
6933 | pub tmWeight: i32, | |
6934 | pub tmOverhang: i32, | |
6935 | pub tmDigitizedAspectX: i32, | |
6936 | pub tmDigitizedAspectY: i32, | |
6937 | pub tmFirstChar: u8, | |
6938 | pub tmLastChar: u8, | |
6939 | pub tmDefaultChar: u8, | |
6940 | pub tmBreakChar: u8, | |
6941 | pub tmItalic: u8, | |
6942 | pub tmUnderlined: u8, | |
6943 | pub tmStruckOut: u8, | |
6944 | pub tmPitchAndFamily: u8, | |
6945 | pub tmCharSet: u8, | |
6946 | } | |
6947 | impl ::core::marker::Copy for TEXTMETRICA {} | |
6948 | impl ::core::clone::Clone for TEXTMETRICA { | |
6949 | fn clone(&self) -> Self { | |
6950 | *self | |
6951 | } | |
6952 | } | |
6953 | #[repr(C)] | |
04454e1e | 6954 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
6955 | pub struct TEXTMETRICW { |
6956 | pub tmHeight: i32, | |
6957 | pub tmAscent: i32, | |
6958 | pub tmDescent: i32, | |
6959 | pub tmInternalLeading: i32, | |
6960 | pub tmExternalLeading: i32, | |
6961 | pub tmAveCharWidth: i32, | |
6962 | pub tmMaxCharWidth: i32, | |
6963 | pub tmWeight: i32, | |
6964 | pub tmOverhang: i32, | |
6965 | pub tmDigitizedAspectX: i32, | |
6966 | pub tmDigitizedAspectY: i32, | |
6967 | pub tmFirstChar: u16, | |
6968 | pub tmLastChar: u16, | |
6969 | pub tmDefaultChar: u16, | |
6970 | pub tmBreakChar: u16, | |
6971 | pub tmItalic: u8, | |
6972 | pub tmUnderlined: u8, | |
6973 | pub tmStruckOut: u8, | |
6974 | pub tmPitchAndFamily: u8, | |
6975 | pub tmCharSet: u8, | |
6976 | } | |
6977 | impl ::core::marker::Copy for TEXTMETRICW {} | |
6978 | impl ::core::clone::Clone for TEXTMETRICW { | |
6979 | fn clone(&self) -> Self { | |
6980 | *self | |
6981 | } | |
6982 | } | |
04454e1e | 6983 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6984 | pub type TEXT_ALIGN_OPTIONS = u32; |
04454e1e | 6985 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6986 | pub const TA_NOUPDATECP: TEXT_ALIGN_OPTIONS = 0u32; |
04454e1e | 6987 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6988 | pub const TA_UPDATECP: TEXT_ALIGN_OPTIONS = 1u32; |
04454e1e | 6989 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6990 | pub const TA_LEFT: TEXT_ALIGN_OPTIONS = 0u32; |
04454e1e | 6991 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6992 | pub const TA_RIGHT: TEXT_ALIGN_OPTIONS = 2u32; |
04454e1e | 6993 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6994 | pub const TA_CENTER: TEXT_ALIGN_OPTIONS = 6u32; |
04454e1e | 6995 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6996 | pub const TA_TOP: TEXT_ALIGN_OPTIONS = 0u32; |
04454e1e | 6997 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 6998 | pub const TA_BOTTOM: TEXT_ALIGN_OPTIONS = 8u32; |
04454e1e | 6999 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7000 | pub const TA_BASELINE: TEXT_ALIGN_OPTIONS = 24u32; |
04454e1e | 7001 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7002 | pub const TA_RTLREADING: TEXT_ALIGN_OPTIONS = 256u32; |
04454e1e | 7003 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7004 | pub const TA_MASK: TEXT_ALIGN_OPTIONS = 287u32; |
04454e1e | 7005 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7006 | pub const VTA_BASELINE: TEXT_ALIGN_OPTIONS = 24u32; |
04454e1e | 7007 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7008 | pub const VTA_LEFT: TEXT_ALIGN_OPTIONS = 8u32; |
04454e1e | 7009 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7010 | pub const VTA_RIGHT: TEXT_ALIGN_OPTIONS = 0u32; |
04454e1e | 7011 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7012 | pub const VTA_CENTER: TEXT_ALIGN_OPTIONS = 6u32; |
04454e1e | 7013 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7014 | pub const VTA_BOTTOM: TEXT_ALIGN_OPTIONS = 2u32; |
04454e1e | 7015 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7016 | pub const VTA_TOP: TEXT_ALIGN_OPTIONS = 0u32; |
04454e1e | 7017 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7018 | pub const THAI_CHARSET: u32 = 222u32; |
04454e1e | 7019 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7020 | pub const TMPF_DEVICE: u32 = 8u32; |
04454e1e | 7021 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7022 | pub const TMPF_FIXED_PITCH: u32 = 1u32; |
04454e1e | 7023 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7024 | pub const TMPF_TRUETYPE: u32 = 4u32; |
04454e1e | 7025 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7026 | pub const TMPF_VECTOR: u32 = 2u32; |
04454e1e | 7027 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
7028 | pub const TRANSFORM_CTM: u32 = 4107u32; |
7029 | #[repr(C)] | |
04454e1e | 7030 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
7031 | pub struct TRIVERTEX { |
7032 | pub x: i32, | |
7033 | pub y: i32, | |
7034 | pub Red: u16, | |
7035 | pub Green: u16, | |
7036 | pub Blue: u16, | |
7037 | pub Alpha: u16, | |
7038 | } | |
7039 | impl ::core::marker::Copy for TRIVERTEX {} | |
7040 | impl ::core::clone::Clone for TRIVERTEX { | |
7041 | fn clone(&self) -> Self { | |
7042 | *self | |
7043 | } | |
7044 | } | |
04454e1e | 7045 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7046 | pub const TRUETYPE_FONTTYPE: u32 = 4u32; |
04454e1e | 7047 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
7048 | pub const TTDELETE_DONTREMOVEFONT: u32 = 1u32; |
7049 | #[repr(C)] | |
04454e1e | 7050 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
7051 | pub struct TTEMBEDINFO { |
7052 | pub usStructSize: u16, | |
7053 | pub usRootStrSize: u16, | |
7054 | pub pusRootStr: *mut u16, | |
7055 | } | |
7056 | impl ::core::marker::Copy for TTEMBEDINFO {} | |
7057 | impl ::core::clone::Clone for TTEMBEDINFO { | |
7058 | fn clone(&self) -> Self { | |
7059 | *self | |
7060 | } | |
7061 | } | |
04454e1e | 7062 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7063 | pub const TTEMBED_EUDCEMBEDDED: u32 = 2u32; |
04454e1e | 7064 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7065 | pub const TTEMBED_FAILIFVARIATIONSIMULATED: u32 = 16u32; |
04454e1e | 7066 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7067 | pub type TTEMBED_FLAGS = u32; |
04454e1e | 7068 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7069 | pub const TTEMBED_EMBEDEUDC: TTEMBED_FLAGS = 32u32; |
04454e1e | 7070 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7071 | pub const TTEMBED_RAW: TTEMBED_FLAGS = 0u32; |
04454e1e | 7072 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7073 | pub const TTEMBED_SUBSET: TTEMBED_FLAGS = 1u32; |
04454e1e | 7074 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7075 | pub const TTEMBED_TTCOMPRESSED: TTEMBED_FLAGS = 4u32; |
04454e1e | 7076 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7077 | pub const TTEMBED_SUBSETCANCEL: u32 = 4u32; |
04454e1e | 7078 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7079 | pub const TTEMBED_VARIATIONSIMULATED: u32 = 1u32; |
04454e1e | 7080 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7081 | pub const TTEMBED_WEBOBJECT: u32 = 128u32; |
04454e1e | 7082 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7083 | pub const TTEMBED_XORENCRYPTDATA: u32 = 268435456u32; |
04454e1e | 7084 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7085 | pub const TTFCFP_APPLE_PLATFORMID: u32 = 1u32; |
04454e1e | 7086 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7087 | pub const TTFCFP_DELTA: u32 = 2u32; |
04454e1e | 7088 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7089 | pub const TTFCFP_DONT_CARE: u32 = 65535u32; |
04454e1e | 7090 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7091 | pub const TTFCFP_FLAGS_COMPRESS: u32 = 2u32; |
04454e1e | 7092 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7093 | pub const TTFCFP_FLAGS_GLYPHLIST: u32 = 8u32; |
04454e1e | 7094 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7095 | pub const TTFCFP_FLAGS_SUBSET: u32 = 1u32; |
04454e1e | 7096 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7097 | pub const TTFCFP_FLAGS_TTC: u32 = 4u32; |
04454e1e | 7098 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7099 | pub const TTFCFP_LANG_KEEP_ALL: u32 = 0u32; |
04454e1e | 7100 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7101 | pub const TTFCFP_MS_PLATFORMID: u32 = 3u32; |
04454e1e | 7102 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7103 | pub const TTFCFP_SUBSET: u32 = 0u32; |
04454e1e | 7104 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7105 | pub const TTFCFP_SUBSET1: u32 = 1u32; |
04454e1e | 7106 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7107 | pub const TTFMFP_DELTA: u32 = 2u32; |
04454e1e | 7108 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7109 | pub const TTFMFP_SUBSET: u32 = 0u32; |
04454e1e | 7110 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
7111 | pub const TTFMFP_SUBSET1: u32 = 1u32; |
7112 | #[repr(C)] | |
04454e1e | 7113 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
7114 | pub struct TTLOADINFO { |
7115 | pub usStructSize: u16, | |
7116 | pub usRefStrSize: u16, | |
7117 | pub pusRefStr: *mut u16, | |
7118 | } | |
7119 | impl ::core::marker::Copy for TTLOADINFO {} | |
7120 | impl ::core::clone::Clone for TTLOADINFO { | |
7121 | fn clone(&self) -> Self { | |
7122 | *self | |
7123 | } | |
7124 | } | |
04454e1e | 7125 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7126 | pub type TTLOAD_EMBEDDED_FONT_STATUS = u32; |
04454e1e | 7127 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7128 | pub const TTLOAD_FONT_SUBSETTED: TTLOAD_EMBEDDED_FONT_STATUS = 1u32; |
04454e1e | 7129 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7130 | pub const TTLOAD_FONT_IN_SYSSTARTUP: TTLOAD_EMBEDDED_FONT_STATUS = 2u32; |
04454e1e | 7131 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7132 | pub const TTLOAD_EUDC_OVERWRITE: u32 = 2u32; |
04454e1e | 7133 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7134 | pub const TTLOAD_EUDC_SET: u32 = 4u32; |
04454e1e | 7135 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
7136 | pub const TTLOAD_PRIVATE: u32 = 1u32; |
7137 | #[repr(C)] | |
04454e1e | 7138 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
7139 | pub struct TTPOLYCURVE { |
7140 | pub wType: u16, | |
7141 | pub cpfx: u16, | |
7142 | pub apfx: [POINTFX; 1], | |
7143 | } | |
7144 | impl ::core::marker::Copy for TTPOLYCURVE {} | |
7145 | impl ::core::clone::Clone for TTPOLYCURVE { | |
7146 | fn clone(&self) -> Self { | |
7147 | *self | |
7148 | } | |
7149 | } | |
7150 | #[repr(C)] | |
04454e1e | 7151 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
7152 | pub struct TTPOLYGONHEADER { |
7153 | pub cb: u32, | |
7154 | pub dwType: u32, | |
7155 | pub pfxStart: POINTFX, | |
7156 | } | |
7157 | impl ::core::marker::Copy for TTPOLYGONHEADER {} | |
7158 | impl ::core::clone::Clone for TTPOLYGONHEADER { | |
7159 | fn clone(&self) -> Self { | |
7160 | *self | |
7161 | } | |
7162 | } | |
7163 | #[repr(C)] | |
04454e1e | 7164 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
7165 | pub struct TTVALIDATIONTESTSPARAMS { |
7166 | pub ulStructSize: u32, | |
7167 | pub lTestFromSize: i32, | |
7168 | pub lTestToSize: i32, | |
7169 | pub ulCharSet: u32, | |
7170 | pub usReserved1: u16, | |
7171 | pub usCharCodeCount: u16, | |
7172 | pub pusCharCodeSet: *mut u16, | |
7173 | } | |
7174 | impl ::core::marker::Copy for TTVALIDATIONTESTSPARAMS {} | |
7175 | impl ::core::clone::Clone for TTVALIDATIONTESTSPARAMS { | |
7176 | fn clone(&self) -> Self { | |
7177 | *self | |
7178 | } | |
7179 | } | |
7180 | #[repr(C)] | |
04454e1e | 7181 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
7182 | pub struct TTVALIDATIONTESTSPARAMSEX { |
7183 | pub ulStructSize: u32, | |
7184 | pub lTestFromSize: i32, | |
7185 | pub lTestToSize: i32, | |
7186 | pub ulCharSet: u32, | |
7187 | pub usReserved1: u16, | |
7188 | pub usCharCodeCount: u16, | |
7189 | pub pulCharCodeSet: *mut u32, | |
7190 | } | |
7191 | impl ::core::marker::Copy for TTVALIDATIONTESTSPARAMSEX {} | |
7192 | impl ::core::clone::Clone for TTVALIDATIONTESTSPARAMSEX { | |
7193 | fn clone(&self) -> Self { | |
7194 | *self | |
7195 | } | |
7196 | } | |
04454e1e | 7197 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7198 | pub const TT_AVAILABLE: u32 = 1u32; |
04454e1e | 7199 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7200 | pub const TT_ENABLED: u32 = 2u32; |
04454e1e | 7201 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7202 | pub const TT_POLYGON_TYPE: u32 = 24u32; |
04454e1e | 7203 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7204 | pub const TT_PRIM_CSPLINE: u32 = 3u32; |
04454e1e | 7205 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7206 | pub const TT_PRIM_LINE: u32 = 1u32; |
04454e1e | 7207 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7208 | pub const TT_PRIM_QSPLINE: u32 = 2u32; |
04454e1e | 7209 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7210 | pub const TURKISH_CHARSET: u32 = 162u32; |
04454e1e | 7211 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7212 | pub const VARIABLE_PITCH: u32 = 2u32; |
04454e1e | 7213 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
7214 | pub const VIETNAMESE_CHARSET: u32 = 163u32; |
7215 | #[repr(C)] | |
04454e1e | 7216 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
7217 | pub struct WCRANGE { |
7218 | pub wcLow: u16, | |
7219 | pub cGlyphs: u16, | |
7220 | } | |
7221 | impl ::core::marker::Copy for WCRANGE {} | |
7222 | impl ::core::clone::Clone for WCRANGE { | |
7223 | fn clone(&self) -> Self { | |
7224 | *self | |
7225 | } | |
7226 | } | |
7227 | #[repr(C)] | |
04454e1e | 7228 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
7229 | pub struct WGLSWAP { |
7230 | pub hdc: HDC, | |
7231 | pub uiFlags: u32, | |
7232 | } | |
7233 | impl ::core::marker::Copy for WGLSWAP {} | |
7234 | impl ::core::clone::Clone for WGLSWAP { | |
7235 | fn clone(&self) -> Self { | |
7236 | *self | |
7237 | } | |
7238 | } | |
04454e1e | 7239 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7240 | pub const WGL_FONT_LINES: u32 = 0u32; |
04454e1e | 7241 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7242 | pub const WGL_FONT_POLYGONS: u32 = 1u32; |
04454e1e | 7243 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7244 | pub const WGL_SWAPMULTIPLE_MAX: u32 = 16u32; |
04454e1e | 7245 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7246 | pub const WGL_SWAP_MAIN_PLANE: u32 = 1u32; |
04454e1e | 7247 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7248 | pub const WGL_SWAP_OVERLAY1: u32 = 2u32; |
04454e1e | 7249 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7250 | pub const WGL_SWAP_OVERLAY10: u32 = 1024u32; |
04454e1e | 7251 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7252 | pub const WGL_SWAP_OVERLAY11: u32 = 2048u32; |
04454e1e | 7253 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7254 | pub const WGL_SWAP_OVERLAY12: u32 = 4096u32; |
04454e1e | 7255 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7256 | pub const WGL_SWAP_OVERLAY13: u32 = 8192u32; |
04454e1e | 7257 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7258 | pub const WGL_SWAP_OVERLAY14: u32 = 16384u32; |
04454e1e | 7259 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7260 | pub const WGL_SWAP_OVERLAY15: u32 = 32768u32; |
04454e1e | 7261 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7262 | pub const WGL_SWAP_OVERLAY2: u32 = 4u32; |
04454e1e | 7263 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7264 | pub const WGL_SWAP_OVERLAY3: u32 = 8u32; |
04454e1e | 7265 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7266 | pub const WGL_SWAP_OVERLAY4: u32 = 16u32; |
04454e1e | 7267 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7268 | pub const WGL_SWAP_OVERLAY5: u32 = 32u32; |
04454e1e | 7269 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7270 | pub const WGL_SWAP_OVERLAY6: u32 = 64u32; |
04454e1e | 7271 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7272 | pub const WGL_SWAP_OVERLAY7: u32 = 128u32; |
04454e1e | 7273 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7274 | pub const WGL_SWAP_OVERLAY8: u32 = 256u32; |
04454e1e | 7275 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7276 | pub const WGL_SWAP_OVERLAY9: u32 = 512u32; |
04454e1e | 7277 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7278 | pub const WGL_SWAP_UNDERLAY1: u32 = 65536u32; |
04454e1e | 7279 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7280 | pub const WGL_SWAP_UNDERLAY10: u32 = 33554432u32; |
04454e1e | 7281 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7282 | pub const WGL_SWAP_UNDERLAY11: u32 = 67108864u32; |
04454e1e | 7283 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7284 | pub const WGL_SWAP_UNDERLAY12: u32 = 134217728u32; |
04454e1e | 7285 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7286 | pub const WGL_SWAP_UNDERLAY13: u32 = 268435456u32; |
04454e1e | 7287 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7288 | pub const WGL_SWAP_UNDERLAY14: u32 = 536870912u32; |
04454e1e | 7289 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7290 | pub const WGL_SWAP_UNDERLAY15: u32 = 1073741824u32; |
04454e1e | 7291 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7292 | pub const WGL_SWAP_UNDERLAY2: u32 = 131072u32; |
04454e1e | 7293 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7294 | pub const WGL_SWAP_UNDERLAY3: u32 = 262144u32; |
04454e1e | 7295 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7296 | pub const WGL_SWAP_UNDERLAY4: u32 = 524288u32; |
04454e1e | 7297 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7298 | pub const WGL_SWAP_UNDERLAY5: u32 = 1048576u32; |
04454e1e | 7299 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7300 | pub const WGL_SWAP_UNDERLAY6: u32 = 2097152u32; |
04454e1e | 7301 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7302 | pub const WGL_SWAP_UNDERLAY7: u32 = 4194304u32; |
04454e1e | 7303 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7304 | pub const WGL_SWAP_UNDERLAY8: u32 = 8388608u32; |
04454e1e | 7305 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 | 7306 | pub const WGL_SWAP_UNDERLAY9: u32 = 16777216u32; |
04454e1e | 7307 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
7308 | pub type WRITEEMBEDPROC = ::core::option::Option<unsafe extern "system" fn(param0: *mut ::core::ffi::c_void, param1: *const ::core::ffi::c_void, param2: u32) -> u32>; |
7309 | #[repr(C)] | |
04454e1e | 7310 | #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
5e7ed085 FG |
7311 | pub struct XFORM { |
7312 | pub eM11: f32, | |
7313 | pub eM12: f32, | |
7314 | pub eM21: f32, | |
7315 | pub eM22: f32, | |
7316 | pub eDx: f32, | |
7317 | pub eDy: f32, | |
7318 | } | |
7319 | impl ::core::marker::Copy for XFORM {} | |
7320 | impl ::core::clone::Clone for XFORM { | |
7321 | fn clone(&self) -> Self { | |
7322 | *self | |
7323 | } | |
7324 | } |