| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn AbortPath<P0>(hdc: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn AbortPath(hdc : HDC) -> super::super::Foundation:: BOOL); |
| AbortPath(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn AddFontMemResourceEx(pfileview: *const ::core::ffi::c_void, cjsize: u32, pvresrved: ::core::option::Option<*const ::core::ffi::c_void>, pnumfonts: *const u32) -> super::super::Foundation::HANDLE { |
| ::windows_targets::link!("gdi32.dll" "system" fn AddFontMemResourceEx(pfileview : *const ::core::ffi::c_void, cjsize : u32, pvresrved : *const ::core::ffi::c_void, pnumfonts : *const u32) -> super::super::Foundation:: HANDLE); |
| AddFontMemResourceEx(pfileview, cjsize, ::core::mem::transmute(pvresrved.unwrap_or(::std::ptr::null())), pnumfonts) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn AddFontResourceA<P0>(param0: P0) -> i32 |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn AddFontResourceA(param0 : ::windows_core::PCSTR) -> i32); |
| AddFontResourceA(param0.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn AddFontResourceExA<P0>(name: P0, fl: FONT_RESOURCE_CHARACTERISTICS, res: ::core::option::Option<*const ::core::ffi::c_void>) -> i32 |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn AddFontResourceExA(name : ::windows_core::PCSTR, fl : FONT_RESOURCE_CHARACTERISTICS, res : *const ::core::ffi::c_void) -> i32); |
| AddFontResourceExA(name.into_param().abi(), fl, ::core::mem::transmute(res.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn AddFontResourceExW<P0>(name: P0, fl: FONT_RESOURCE_CHARACTERISTICS, res: ::core::option::Option<*const ::core::ffi::c_void>) -> i32 |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn AddFontResourceExW(name : ::windows_core::PCWSTR, fl : FONT_RESOURCE_CHARACTERISTICS, res : *const ::core::ffi::c_void) -> i32); |
| AddFontResourceExW(name.into_param().abi(), fl, ::core::mem::transmute(res.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn AddFontResourceW<P0>(param0: P0) -> i32 |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn AddFontResourceW(param0 : ::windows_core::PCWSTR) -> i32); |
| AddFontResourceW(param0.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn AlphaBlend<P0, P1>(hdcdest: P0, xorigindest: i32, yorigindest: i32, wdest: i32, hdest: i32, hdcsrc: P1, xoriginsrc: i32, yoriginsrc: i32, wsrc: i32, hsrc: i32, ftn: BLENDFUNCTION) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("msimg32.dll" "system" 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); |
| AlphaBlend(hdcdest.into_param().abi(), xorigindest, yorigindest, wdest, hdest, hdcsrc.into_param().abi(), xoriginsrc, yoriginsrc, wsrc, hsrc, ::core::mem::transmute(ftn)) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn AngleArc<P0>(hdc: P0, x: i32, y: i32, r: u32, startangle: f32, sweepangle: f32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn AngleArc(hdc : HDC, x : i32, y : i32, r : u32, startangle : f32, sweepangle : f32) -> super::super::Foundation:: BOOL); |
| AngleArc(hdc.into_param().abi(), x, y, r, startangle, sweepangle) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn AnimatePalette<P0>(hpal: P0, istartindex: u32, ppe: &[PALETTEENTRY]) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HPALETTE>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn AnimatePalette(hpal : HPALETTE, istartindex : u32, centries : u32, ppe : *const PALETTEENTRY) -> super::super::Foundation:: BOOL); |
| AnimatePalette(hpal.into_param().abi(), istartindex, ppe.len() as _, ::core::mem::transmute(ppe.as_ptr())) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn Arc<P0>(hdc: P0, x1: i32, y1: i32, x2: i32, y2: i32, x3: i32, y3: i32, x4: i32, y4: i32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn Arc(hdc : HDC, x1 : i32, y1 : i32, x2 : i32, y2 : i32, x3 : i32, y3 : i32, x4 : i32, y4 : i32) -> super::super::Foundation:: BOOL); |
| Arc(hdc.into_param().abi(), x1, y1, x2, y2, x3, y3, x4, y4) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ArcTo<P0>(hdc: P0, left: i32, top: i32, right: i32, bottom: i32, xr1: i32, yr1: i32, xr2: i32, yr2: i32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn ArcTo(hdc : HDC, left : i32, top : i32, right : i32, bottom : i32, xr1 : i32, yr1 : i32, xr2 : i32, yr2 : i32) -> super::super::Foundation:: BOOL); |
| ArcTo(hdc.into_param().abi(), left, top, right, bottom, xr1, yr1, xr2, yr2) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn BeginPaint<P0>(hwnd: P0, lppaint: *mut PAINTSTRUCT) -> HDC |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn BeginPaint(hwnd : super::super::Foundation:: HWND, lppaint : *mut PAINTSTRUCT) -> HDC); |
| BeginPaint(hwnd.into_param().abi(), lppaint) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn BeginPath<P0>(hdc: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn BeginPath(hdc : HDC) -> super::super::Foundation:: BOOL); |
| BeginPath(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn BitBlt<P0, P1>(hdc: P0, x: i32, y: i32, cx: i32, cy: i32, hdcsrc: P1, x1: i32, y1: i32, rop: ROP_CODE) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" 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); |
| BitBlt(hdc.into_param().abi(), x, y, cx, cy, hdcsrc.into_param().abi(), x1, y1, rop).ok() |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CancelDC<P0>(hdc: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CancelDC(hdc : HDC) -> super::super::Foundation:: BOOL); |
| CancelDC(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ChangeDisplaySettingsA(lpdevmode: ::core::option::Option<*const DEVMODEA>, dwflags: CDS_TYPE) -> DISP_CHANGE { |
| ::windows_targets::link!("user32.dll" "system" fn ChangeDisplaySettingsA(lpdevmode : *const DEVMODEA, dwflags : CDS_TYPE) -> DISP_CHANGE); |
| ChangeDisplaySettingsA(::core::mem::transmute(lpdevmode.unwrap_or(::std::ptr::null())), dwflags) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ChangeDisplaySettingsExA<P0, P1>(lpszdevicename: P0, lpdevmode: ::core::option::Option<*const DEVMODEA>, hwnd: P1, dwflags: CDS_TYPE, lparam: ::core::option::Option<*const ::core::ffi::c_void>) -> DISP_CHANGE |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn ChangeDisplaySettingsExA(lpszdevicename : ::windows_core::PCSTR, lpdevmode : *const DEVMODEA, hwnd : super::super::Foundation:: HWND, dwflags : CDS_TYPE, lparam : *const ::core::ffi::c_void) -> DISP_CHANGE); |
| ChangeDisplaySettingsExA(lpszdevicename.into_param().abi(), ::core::mem::transmute(lpdevmode.unwrap_or(::std::ptr::null())), hwnd.into_param().abi(), dwflags, ::core::mem::transmute(lparam.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ChangeDisplaySettingsExW<P0, P1>(lpszdevicename: P0, lpdevmode: ::core::option::Option<*const DEVMODEW>, hwnd: P1, dwflags: CDS_TYPE, lparam: ::core::option::Option<*const ::core::ffi::c_void>) -> DISP_CHANGE |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn ChangeDisplaySettingsExW(lpszdevicename : ::windows_core::PCWSTR, lpdevmode : *const DEVMODEW, hwnd : super::super::Foundation:: HWND, dwflags : CDS_TYPE, lparam : *const ::core::ffi::c_void) -> DISP_CHANGE); |
| ChangeDisplaySettingsExW(lpszdevicename.into_param().abi(), ::core::mem::transmute(lpdevmode.unwrap_or(::std::ptr::null())), hwnd.into_param().abi(), dwflags, ::core::mem::transmute(lparam.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ChangeDisplaySettingsW(lpdevmode: ::core::option::Option<*const DEVMODEW>, dwflags: CDS_TYPE) -> DISP_CHANGE { |
| ::windows_targets::link!("user32.dll" "system" fn ChangeDisplaySettingsW(lpdevmode : *const DEVMODEW, dwflags : CDS_TYPE) -> DISP_CHANGE); |
| ChangeDisplaySettingsW(::core::mem::transmute(lpdevmode.unwrap_or(::std::ptr::null())), dwflags) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn Chord<P0>(hdc: P0, x1: i32, y1: i32, x2: i32, y2: i32, x3: i32, y3: i32, x4: i32, y4: i32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn Chord(hdc : HDC, x1 : i32, y1 : i32, x2 : i32, y2 : i32, x3 : i32, y3 : i32, x4 : i32, y4 : i32) -> super::super::Foundation:: BOOL); |
| Chord(hdc.into_param().abi(), x1, y1, x2, y2, x3, y3, x4, y4) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ClientToScreen<P0>(hwnd: P0, lppoint: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn ClientToScreen(hwnd : super::super::Foundation:: HWND, lppoint : *mut super::super::Foundation:: POINT) -> super::super::Foundation:: BOOL); |
| ClientToScreen(hwnd.into_param().abi(), lppoint) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CloseEnhMetaFile<P0>(hdc: P0) -> HENHMETAFILE |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CloseEnhMetaFile(hdc : HDC) -> HENHMETAFILE); |
| CloseEnhMetaFile(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CloseFigure<P0>(hdc: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CloseFigure(hdc : HDC) -> super::super::Foundation:: BOOL); |
| CloseFigure(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CloseMetaFile<P0>(hdc: P0) -> HMETAFILE |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CloseMetaFile(hdc : HDC) -> HMETAFILE); |
| CloseMetaFile(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CombineRgn<P0, P1, P2>(hrgndst: P0, hrgnsrc1: P1, hrgnsrc2: P2, imode: RGN_COMBINE_MODE) -> GDI_REGION_TYPE |
| where |
| P0: ::windows_core::IntoParam<HRGN>, |
| P1: ::windows_core::IntoParam<HRGN>, |
| P2: ::windows_core::IntoParam<HRGN>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CombineRgn(hrgndst : HRGN, hrgnsrc1 : HRGN, hrgnsrc2 : HRGN, imode : RGN_COMBINE_MODE) -> GDI_REGION_TYPE); |
| CombineRgn(hrgndst.into_param().abi(), hrgnsrc1.into_param().abi(), hrgnsrc2.into_param().abi(), imode) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CombineTransform(lpxfout: *mut XFORM, lpxf1: *const XFORM, lpxf2: *const XFORM) -> super::super::Foundation::BOOL { |
| ::windows_targets::link!("gdi32.dll" "system" fn CombineTransform(lpxfout : *mut XFORM, lpxf1 : *const XFORM, lpxf2 : *const XFORM) -> super::super::Foundation:: BOOL); |
| CombineTransform(lpxfout, lpxf1, lpxf2) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CopyEnhMetaFileA<P0, P1>(henh: P0, lpfilename: P1) -> HENHMETAFILE |
| where |
| P0: ::windows_core::IntoParam<HENHMETAFILE>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CopyEnhMetaFileA(henh : HENHMETAFILE, lpfilename : ::windows_core::PCSTR) -> HENHMETAFILE); |
| CopyEnhMetaFileA(henh.into_param().abi(), lpfilename.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CopyEnhMetaFileW<P0, P1>(henh: P0, lpfilename: P1) -> HENHMETAFILE |
| where |
| P0: ::windows_core::IntoParam<HENHMETAFILE>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CopyEnhMetaFileW(henh : HENHMETAFILE, lpfilename : ::windows_core::PCWSTR) -> HENHMETAFILE); |
| CopyEnhMetaFileW(henh.into_param().abi(), lpfilename.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CopyMetaFileA<P0, P1>(param0: P0, param1: P1) -> HMETAFILE |
| where |
| P0: ::windows_core::IntoParam<HMETAFILE>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CopyMetaFileA(param0 : HMETAFILE, param1 : ::windows_core::PCSTR) -> HMETAFILE); |
| CopyMetaFileA(param0.into_param().abi(), param1.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CopyMetaFileW<P0, P1>(param0: P0, param1: P1) -> HMETAFILE |
| where |
| P0: ::windows_core::IntoParam<HMETAFILE>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CopyMetaFileW(param0 : HMETAFILE, param1 : ::windows_core::PCWSTR) -> HMETAFILE); |
| CopyMetaFileW(param0.into_param().abi(), param1.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CopyRect(lprcdst: *mut super::super::Foundation::RECT, lprcsrc: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL { |
| ::windows_targets::link!("user32.dll" "system" fn CopyRect(lprcdst : *mut super::super::Foundation:: RECT, lprcsrc : *const super::super::Foundation:: RECT) -> super::super::Foundation:: BOOL); |
| CopyRect(lprcdst, lprcsrc) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CreateBitmap(nwidth: i32, nheight: i32, nplanes: u32, nbitcount: u32, lpbits: ::core::option::Option<*const ::core::ffi::c_void>) -> HBITMAP { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateBitmap(nwidth : i32, nheight : i32, nplanes : u32, nbitcount : u32, lpbits : *const ::core::ffi::c_void) -> HBITMAP); |
| CreateBitmap(nwidth, nheight, nplanes, nbitcount, ::core::mem::transmute(lpbits.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CreateBitmapIndirect(pbm: *const BITMAP) -> HBITMAP { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateBitmapIndirect(pbm : *const BITMAP) -> HBITMAP); |
| CreateBitmapIndirect(pbm) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CreateBrushIndirect(plbrush: *const LOGBRUSH) -> HBRUSH { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateBrushIndirect(plbrush : *const LOGBRUSH) -> HBRUSH); |
| CreateBrushIndirect(plbrush) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CreateCompatibleBitmap<P0>(hdc: P0, cx: i32, cy: i32) -> HBITMAP |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateCompatibleBitmap(hdc : HDC, cx : i32, cy : i32) -> HBITMAP); |
| CreateCompatibleBitmap(hdc.into_param().abi(), cx, cy) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CreateCompatibleDC<P0>(hdc: P0) -> HDC |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateCompatibleDC(hdc : HDC) -> HDC); |
| CreateCompatibleDC(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CreateDCA<P0, P1, P2>(pwszdriver: P0, pwszdevice: P1, pszport: P2, pdm: ::core::option::Option<*const DEVMODEA>) -> HDC |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateDCA(pwszdriver : ::windows_core::PCSTR, pwszdevice : ::windows_core::PCSTR, pszport : ::windows_core::PCSTR, pdm : *const DEVMODEA) -> HDC); |
| CreateDCA(pwszdriver.into_param().abi(), pwszdevice.into_param().abi(), pszport.into_param().abi(), ::core::mem::transmute(pdm.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CreateDCW<P0, P1, P2>(pwszdriver: P0, pwszdevice: P1, pszport: P2, pdm: ::core::option::Option<*const DEVMODEW>) -> HDC |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateDCW(pwszdriver : ::windows_core::PCWSTR, pwszdevice : ::windows_core::PCWSTR, pszport : ::windows_core::PCWSTR, pdm : *const DEVMODEW) -> HDC); |
| CreateDCW(pwszdriver.into_param().abi(), pwszdevice.into_param().abi(), pszport.into_param().abi(), ::core::mem::transmute(pdm.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CreateDIBPatternBrush<P0>(h: P0, iusage: DIB_USAGE) -> HBRUSH |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HGLOBAL>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateDIBPatternBrush(h : super::super::Foundation:: HGLOBAL, iusage : DIB_USAGE) -> HBRUSH); |
| CreateDIBPatternBrush(h.into_param().abi(), iusage) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CreateDIBPatternBrushPt(lppackeddib: *const ::core::ffi::c_void, iusage: DIB_USAGE) -> HBRUSH { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateDIBPatternBrushPt(lppackeddib : *const ::core::ffi::c_void, iusage : DIB_USAGE) -> HBRUSH); |
| CreateDIBPatternBrushPt(lppackeddib, iusage) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CreateDIBSection<P0, P1>(hdc: P0, pbmi: *const BITMAPINFO, usage: DIB_USAGE, ppvbits: *mut *mut ::core::ffi::c_void, hsection: P1, offset: u32) -> ::windows_core::Result<HBITMAP> |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::HANDLE>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" 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); |
| let result__ = CreateDIBSection(hdc.into_param().abi(), pbmi, usage, ppvbits, hsection.into_param().abi(), offset); |
| (!result__.is_invalid()).then(|| result__).ok_or_else(::windows_core::Error::from_win32) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CreateDIBitmap<P0>(hdc: P0, pbmih: ::core::option::Option<*const BITMAPINFOHEADER>, flinit: u32, pjbits: ::core::option::Option<*const ::core::ffi::c_void>, pbmi: ::core::option::Option<*const BITMAPINFO>, iusage: DIB_USAGE) -> HBITMAP |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateDIBitmap(hdc : HDC, pbmih : *const BITMAPINFOHEADER, flinit : u32, pjbits : *const ::core::ffi::c_void, pbmi : *const BITMAPINFO, iusage : DIB_USAGE) -> HBITMAP); |
| CreateDIBitmap(hdc.into_param().abi(), ::core::mem::transmute(pbmih.unwrap_or(::std::ptr::null())), flinit, ::core::mem::transmute(pjbits.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pbmi.unwrap_or(::std::ptr::null())), iusage) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CreateDiscardableBitmap<P0>(hdc: P0, cx: i32, cy: i32) -> HBITMAP |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateDiscardableBitmap(hdc : HDC, cx : i32, cy : i32) -> HBITMAP); |
| CreateDiscardableBitmap(hdc.into_param().abi(), cx, cy) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CreateEllipticRgn(x1: i32, y1: i32, x2: i32, y2: i32) -> HRGN { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateEllipticRgn(x1 : i32, y1 : i32, x2 : i32, y2 : i32) -> HRGN); |
| CreateEllipticRgn(x1, y1, x2, y2) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CreateEllipticRgnIndirect(lprect: *const super::super::Foundation::RECT) -> HRGN { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateEllipticRgnIndirect(lprect : *const super::super::Foundation:: RECT) -> HRGN); |
| CreateEllipticRgnIndirect(lprect) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CreateEnhMetaFileA<P0, P1, P2>(hdc: P0, lpfilename: P1, lprc: ::core::option::Option<*const super::super::Foundation::RECT>, lpdesc: P2) -> HDC |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateEnhMetaFileA(hdc : HDC, lpfilename : ::windows_core::PCSTR, lprc : *const super::super::Foundation:: RECT, lpdesc : ::windows_core::PCSTR) -> HDC); |
| CreateEnhMetaFileA(hdc.into_param().abi(), lpfilename.into_param().abi(), ::core::mem::transmute(lprc.unwrap_or(::std::ptr::null())), lpdesc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CreateEnhMetaFileW<P0, P1, P2>(hdc: P0, lpfilename: P1, lprc: ::core::option::Option<*const super::super::Foundation::RECT>, lpdesc: P2) -> HDC |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateEnhMetaFileW(hdc : HDC, lpfilename : ::windows_core::PCWSTR, lprc : *const super::super::Foundation:: RECT, lpdesc : ::windows_core::PCWSTR) -> HDC); |
| CreateEnhMetaFileW(hdc.into_param().abi(), lpfilename.into_param().abi(), ::core::mem::transmute(lprc.unwrap_or(::std::ptr::null())), lpdesc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CreateFontA<P0>(cheight: i32, cwidth: i32, cescapement: i32, corientation: i32, cweight: i32, bitalic: u32, bunderline: u32, bstrikeout: u32, icharset: u32, ioutprecision: u32, iclipprecision: u32, iquality: u32, ipitchandfamily: u32, pszfacename: P0) -> HFONT |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateFontA(cheight : i32, cwidth : i32, cescapement : i32, corientation : i32, cweight : i32, bitalic : u32, bunderline : u32, bstrikeout : u32, icharset : u32, ioutprecision : u32, iclipprecision : u32, iquality : u32, ipitchandfamily : u32, pszfacename : ::windows_core::PCSTR) -> HFONT); |
| CreateFontA(cheight, cwidth, cescapement, corientation, cweight, bitalic, bunderline, bstrikeout, icharset, ioutprecision, iclipprecision, iquality, ipitchandfamily, pszfacename.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CreateFontIndirectA(lplf: *const LOGFONTA) -> HFONT { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateFontIndirectA(lplf : *const LOGFONTA) -> HFONT); |
| CreateFontIndirectA(lplf) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CreateFontIndirectExA(param0: *const ENUMLOGFONTEXDVA) -> HFONT { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateFontIndirectExA(param0 : *const ENUMLOGFONTEXDVA) -> HFONT); |
| CreateFontIndirectExA(param0) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CreateFontIndirectExW(param0: *const ENUMLOGFONTEXDVW) -> HFONT { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateFontIndirectExW(param0 : *const ENUMLOGFONTEXDVW) -> HFONT); |
| CreateFontIndirectExW(param0) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CreateFontIndirectW(lplf: *const LOGFONTW) -> HFONT { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateFontIndirectW(lplf : *const LOGFONTW) -> HFONT); |
| CreateFontIndirectW(lplf) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe 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 { |
| ::windows_targets::link!("fontsub.dll" "cdecl" 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); |
| CreateFontPackage(puchsrcbuffer, ulsrcbuffersize, ppuchfontpackagebuffer, pulfontpackagebuffersize, pulbyteswritten, usflag, usttcindex, ussubsetformat, ussubsetlanguage, ussubsetplatform, ussubsetencoding, pussubsetkeeplist, ussubsetlistcount, lpfnallocate, lpfnreallocate, lpfnfree, lpvreserved) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CreateFontW<P0>(cheight: i32, cwidth: i32, cescapement: i32, corientation: i32, cweight: i32, bitalic: u32, bunderline: u32, bstrikeout: u32, icharset: u32, ioutprecision: u32, iclipprecision: u32, iquality: u32, ipitchandfamily: u32, pszfacename: P0) -> HFONT |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateFontW(cheight : i32, cwidth : i32, cescapement : i32, corientation : i32, cweight : i32, bitalic : u32, bunderline : u32, bstrikeout : u32, icharset : u32, ioutprecision : u32, iclipprecision : u32, iquality : u32, ipitchandfamily : u32, pszfacename : ::windows_core::PCWSTR) -> HFONT); |
| CreateFontW(cheight, cwidth, cescapement, corientation, cweight, bitalic, bunderline, bstrikeout, icharset, ioutprecision, iclipprecision, iquality, ipitchandfamily, pszfacename.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CreateHalftonePalette<P0>(hdc: P0) -> HPALETTE |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateHalftonePalette(hdc : HDC) -> HPALETTE); |
| CreateHalftonePalette(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CreateHatchBrush<P0>(ihatch: HATCH_BRUSH_STYLE, color: P0) -> HBRUSH |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::COLORREF>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateHatchBrush(ihatch : HATCH_BRUSH_STYLE, color : super::super::Foundation:: COLORREF) -> HBRUSH); |
| CreateHatchBrush(ihatch, color.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CreateICA<P0, P1, P2>(pszdriver: P0, pszdevice: P1, pszport: P2, pdm: ::core::option::Option<*const DEVMODEA>) -> HDC |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateICA(pszdriver : ::windows_core::PCSTR, pszdevice : ::windows_core::PCSTR, pszport : ::windows_core::PCSTR, pdm : *const DEVMODEA) -> HDC); |
| CreateICA(pszdriver.into_param().abi(), pszdevice.into_param().abi(), pszport.into_param().abi(), ::core::mem::transmute(pdm.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CreateICW<P0, P1, P2>(pszdriver: P0, pszdevice: P1, pszport: P2, pdm: ::core::option::Option<*const DEVMODEW>) -> HDC |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateICW(pszdriver : ::windows_core::PCWSTR, pszdevice : ::windows_core::PCWSTR, pszport : ::windows_core::PCWSTR, pdm : *const DEVMODEW) -> HDC); |
| CreateICW(pszdriver.into_param().abi(), pszdevice.into_param().abi(), pszport.into_param().abi(), ::core::mem::transmute(pdm.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CreateMetaFileA<P0>(pszfile: P0) -> HDC |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateMetaFileA(pszfile : ::windows_core::PCSTR) -> HDC); |
| CreateMetaFileA(pszfile.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CreateMetaFileW<P0>(pszfile: P0) -> HDC |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateMetaFileW(pszfile : ::windows_core::PCWSTR) -> HDC); |
| CreateMetaFileW(pszfile.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CreatePalette(plpal: *const LOGPALETTE) -> HPALETTE { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreatePalette(plpal : *const LOGPALETTE) -> HPALETTE); |
| CreatePalette(plpal) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CreatePatternBrush<P0>(hbm: P0) -> HBRUSH |
| where |
| P0: ::windows_core::IntoParam<HBITMAP>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreatePatternBrush(hbm : HBITMAP) -> HBRUSH); |
| CreatePatternBrush(hbm.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CreatePen<P0>(istyle: PEN_STYLE, cwidth: i32, color: P0) -> HPEN |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::COLORREF>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreatePen(istyle : PEN_STYLE, cwidth : i32, color : super::super::Foundation:: COLORREF) -> HPEN); |
| CreatePen(istyle, cwidth, color.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CreatePenIndirect(plpen: *const LOGPEN) -> HPEN { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreatePenIndirect(plpen : *const LOGPEN) -> HPEN); |
| CreatePenIndirect(plpen) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CreatePolyPolygonRgn(pptl: *const super::super::Foundation::POINT, pc: &[i32], imode: CREATE_POLYGON_RGN_MODE) -> HRGN { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreatePolyPolygonRgn(pptl : *const super::super::Foundation:: POINT, pc : *const i32, cpoly : i32, imode : CREATE_POLYGON_RGN_MODE) -> HRGN); |
| CreatePolyPolygonRgn(pptl, ::core::mem::transmute(pc.as_ptr()), pc.len() as _, imode) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CreatePolygonRgn(pptl: &[super::super::Foundation::POINT], imode: CREATE_POLYGON_RGN_MODE) -> HRGN { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreatePolygonRgn(pptl : *const super::super::Foundation:: POINT, cpoint : i32, imode : CREATE_POLYGON_RGN_MODE) -> HRGN); |
| CreatePolygonRgn(::core::mem::transmute(pptl.as_ptr()), pptl.len() as _, imode) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CreateRectRgn(x1: i32, y1: i32, x2: i32, y2: i32) -> HRGN { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateRectRgn(x1 : i32, y1 : i32, x2 : i32, y2 : i32) -> HRGN); |
| CreateRectRgn(x1, y1, x2, y2) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CreateRectRgnIndirect(lprect: *const super::super::Foundation::RECT) -> HRGN { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateRectRgnIndirect(lprect : *const super::super::Foundation:: RECT) -> HRGN); |
| CreateRectRgnIndirect(lprect) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn CreateRoundRectRgn(x1: i32, y1: i32, x2: i32, y2: i32, w: i32, h: i32) -> HRGN { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateRoundRectRgn(x1 : i32, y1 : i32, x2 : i32, y2 : i32, w : i32, h : i32) -> HRGN); |
| CreateRoundRectRgn(x1, y1, x2, y2, w, h) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CreateScalableFontResourceA<P0, P1, P2>(fdwhidden: u32, lpszfont: P0, lpszfile: P1, lpszpath: P2) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateScalableFontResourceA(fdwhidden : u32, lpszfont : ::windows_core::PCSTR, lpszfile : ::windows_core::PCSTR, lpszpath : ::windows_core::PCSTR) -> super::super::Foundation:: BOOL); |
| CreateScalableFontResourceA(fdwhidden, lpszfont.into_param().abi(), lpszfile.into_param().abi(), lpszpath.into_param().abi()).ok() |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CreateScalableFontResourceW<P0, P1, P2>(fdwhidden: u32, lpszfont: P0, lpszfile: P1, lpszpath: P2) -> ::windows_core::Result<()> |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateScalableFontResourceW(fdwhidden : u32, lpszfont : ::windows_core::PCWSTR, lpszfile : ::windows_core::PCWSTR, lpszpath : ::windows_core::PCWSTR) -> super::super::Foundation:: BOOL); |
| CreateScalableFontResourceW(fdwhidden, lpszfont.into_param().abi(), lpszfile.into_param().abi(), lpszpath.into_param().abi()).ok() |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CreateSolidBrush<P0>(color: P0) -> HBRUSH |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::COLORREF>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn CreateSolidBrush(color : super::super::Foundation:: COLORREF) -> HBRUSH); |
| CreateSolidBrush(color.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DPtoLP<P0>(hdc: P0, lppt: &mut [super::super::Foundation::POINT]) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn DPtoLP(hdc : HDC, lppt : *mut super::super::Foundation:: POINT, c : i32) -> super::super::Foundation:: BOOL); |
| DPtoLP(hdc.into_param().abi(), ::core::mem::transmute(lppt.as_ptr()), lppt.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DeleteDC<P0>(hdc: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn DeleteDC(hdc : HDC) -> super::super::Foundation:: BOOL); |
| DeleteDC(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DeleteEnhMetaFile<P0>(hmf: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HENHMETAFILE>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn DeleteEnhMetaFile(hmf : HENHMETAFILE) -> super::super::Foundation:: BOOL); |
| DeleteEnhMetaFile(hmf.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DeleteMetaFile<P0>(hmf: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HMETAFILE>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn DeleteMetaFile(hmf : HMETAFILE) -> super::super::Foundation:: BOOL); |
| DeleteMetaFile(hmf.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DeleteObject<P0>(ho: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HGDIOBJ>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn DeleteObject(ho : HGDIOBJ) -> super::super::Foundation:: BOOL); |
| DeleteObject(ho.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DrawAnimatedRects<P0>(hwnd: P0, idani: i32, lprcfrom: *const super::super::Foundation::RECT, lprcto: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("user32.dll" "system" 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); |
| DrawAnimatedRects(hwnd.into_param().abi(), idani, lprcfrom, lprcto) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DrawCaption<P0, P1>(hwnd: P0, hdc: P1, lprect: *const super::super::Foundation::RECT, flags: DRAW_CAPTION_FLAGS) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn DrawCaption(hwnd : super::super::Foundation:: HWND, hdc : HDC, lprect : *const super::super::Foundation:: RECT, flags : DRAW_CAPTION_FLAGS) -> super::super::Foundation:: BOOL); |
| DrawCaption(hwnd.into_param().abi(), hdc.into_param().abi(), lprect, flags) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DrawEdge<P0>(hdc: P0, qrc: *mut super::super::Foundation::RECT, edge: DRAWEDGE_FLAGS, grfflags: DRAW_EDGE_FLAGS) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn DrawEdge(hdc : HDC, qrc : *mut super::super::Foundation:: RECT, edge : DRAWEDGE_FLAGS, grfflags : DRAW_EDGE_FLAGS) -> super::super::Foundation:: BOOL); |
| DrawEdge(hdc.into_param().abi(), qrc, edge, grfflags) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn DrawEscape<P0>(hdc: P0, iescape: i32, lpin: ::core::option::Option<&[u8]>) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn DrawEscape(hdc : HDC, iescape : i32, cjin : i32, lpin : ::windows_core::PCSTR) -> i32); |
| DrawEscape(hdc.into_param().abi(), iescape, lpin.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpin.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DrawFocusRect<P0>(hdc: P0, lprc: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn DrawFocusRect(hdc : HDC, lprc : *const super::super::Foundation:: RECT) -> super::super::Foundation:: BOOL); |
| DrawFocusRect(hdc.into_param().abi(), lprc) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DrawFrameControl<P0>(param0: P0, param1: *mut super::super::Foundation::RECT, param2: DFC_TYPE, param3: DFCS_STATE) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn DrawFrameControl(param0 : HDC, param1 : *mut super::super::Foundation:: RECT, param2 : DFC_TYPE, param3 : DFCS_STATE) -> super::super::Foundation:: BOOL); |
| DrawFrameControl(param0.into_param().abi(), param1, param2, param3) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DrawStateA<P0, P1, P2, P3>(hdc: P0, hbrfore: P1, qfncallback: DRAWSTATEPROC, ldata: P2, wdata: P3, x: i32, y: i32, cx: i32, cy: i32, uflags: DRAWSTATE_FLAGS) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HBRUSH>, |
| P2: ::windows_core::IntoParam<super::super::Foundation::LPARAM>, |
| P3: ::windows_core::IntoParam<super::super::Foundation::WPARAM>, |
| { |
| ::windows_targets::link!("user32.dll" "system" 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); |
| DrawStateA(hdc.into_param().abi(), hbrfore.into_param().abi(), qfncallback, ldata.into_param().abi(), wdata.into_param().abi(), x, y, cx, cy, uflags) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DrawStateW<P0, P1, P2, P3>(hdc: P0, hbrfore: P1, qfncallback: DRAWSTATEPROC, ldata: P2, wdata: P3, x: i32, y: i32, cx: i32, cy: i32, uflags: DRAWSTATE_FLAGS) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HBRUSH>, |
| P2: ::windows_core::IntoParam<super::super::Foundation::LPARAM>, |
| P3: ::windows_core::IntoParam<super::super::Foundation::WPARAM>, |
| { |
| ::windows_targets::link!("user32.dll" "system" 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); |
| DrawStateW(hdc.into_param().abi(), hbrfore.into_param().abi(), qfncallback, ldata.into_param().abi(), wdata.into_param().abi(), x, y, cx, cy, uflags) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DrawTextA<P0>(hdc: P0, lpchtext: &mut [u8], lprc: *mut super::super::Foundation::RECT, format: DRAW_TEXT_FORMAT) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn DrawTextA(hdc : HDC, lpchtext : ::windows_core::PCSTR, cchtext : i32, lprc : *mut super::super::Foundation:: RECT, format : DRAW_TEXT_FORMAT) -> i32); |
| DrawTextA(hdc.into_param().abi(), ::core::mem::transmute(lpchtext.as_ptr()), lpchtext.len() as _, lprc, format) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DrawTextExA<P0>(hdc: P0, lpchtext: &mut [u8], lprc: *mut super::super::Foundation::RECT, format: DRAW_TEXT_FORMAT, lpdtp: ::core::option::Option<*const DRAWTEXTPARAMS>) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn DrawTextExA(hdc : HDC, lpchtext : ::windows_core::PSTR, cchtext : i32, lprc : *mut super::super::Foundation:: RECT, format : DRAW_TEXT_FORMAT, lpdtp : *const DRAWTEXTPARAMS) -> i32); |
| DrawTextExA(hdc.into_param().abi(), ::core::mem::transmute(lpchtext.as_ptr()), lpchtext.len() as _, lprc, format, ::core::mem::transmute(lpdtp.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DrawTextExW<P0>(hdc: P0, lpchtext: &mut [u16], lprc: *mut super::super::Foundation::RECT, format: DRAW_TEXT_FORMAT, lpdtp: ::core::option::Option<*const DRAWTEXTPARAMS>) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn DrawTextExW(hdc : HDC, lpchtext : ::windows_core::PWSTR, cchtext : i32, lprc : *mut super::super::Foundation:: RECT, format : DRAW_TEXT_FORMAT, lpdtp : *const DRAWTEXTPARAMS) -> i32); |
| DrawTextExW(hdc.into_param().abi(), ::core::mem::transmute(lpchtext.as_ptr()), lpchtext.len() as _, lprc, format, ::core::mem::transmute(lpdtp.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn DrawTextW<P0>(hdc: P0, lpchtext: &mut [u16], lprc: *mut super::super::Foundation::RECT, format: DRAW_TEXT_FORMAT) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn DrawTextW(hdc : HDC, lpchtext : ::windows_core::PCWSTR, cchtext : i32, lprc : *mut super::super::Foundation:: RECT, format : DRAW_TEXT_FORMAT) -> i32); |
| DrawTextW(hdc.into_param().abi(), ::core::mem::transmute(lpchtext.as_ptr()), lpchtext.len() as _, lprc, format) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn Ellipse<P0>(hdc: P0, left: i32, top: i32, right: i32, bottom: i32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn Ellipse(hdc : HDC, left : i32, top : i32, right : i32, bottom : i32) -> super::super::Foundation:: BOOL); |
| Ellipse(hdc.into_param().abi(), left, top, right, bottom) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn EndPaint<P0>(hwnd: P0, lppaint: *const PAINTSTRUCT) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn EndPaint(hwnd : super::super::Foundation:: HWND, lppaint : *const PAINTSTRUCT) -> super::super::Foundation:: BOOL); |
| EndPaint(hwnd.into_param().abi(), lppaint) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn EndPath<P0>(hdc: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn EndPath(hdc : HDC) -> super::super::Foundation:: BOOL); |
| EndPath(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn EnumDisplayDevicesA<P0>(lpdevice: P0, idevnum: u32, lpdisplaydevice: *mut DISPLAY_DEVICEA, dwflags: u32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn EnumDisplayDevicesA(lpdevice : ::windows_core::PCSTR, idevnum : u32, lpdisplaydevice : *mut DISPLAY_DEVICEA, dwflags : u32) -> super::super::Foundation:: BOOL); |
| EnumDisplayDevicesA(lpdevice.into_param().abi(), idevnum, lpdisplaydevice, dwflags) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn EnumDisplayDevicesW<P0>(lpdevice: P0, idevnum: u32, lpdisplaydevice: *mut DISPLAY_DEVICEW, dwflags: u32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn EnumDisplayDevicesW(lpdevice : ::windows_core::PCWSTR, idevnum : u32, lpdisplaydevice : *mut DISPLAY_DEVICEW, dwflags : u32) -> super::super::Foundation:: BOOL); |
| EnumDisplayDevicesW(lpdevice.into_param().abi(), idevnum, lpdisplaydevice, dwflags) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn EnumDisplayMonitors<P0, P1>(hdc: P0, lprcclip: ::core::option::Option<*const super::super::Foundation::RECT>, lpfnenum: MONITORENUMPROC, dwdata: P1) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::LPARAM>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn EnumDisplayMonitors(hdc : HDC, lprcclip : *const super::super::Foundation:: RECT, lpfnenum : MONITORENUMPROC, dwdata : super::super::Foundation:: LPARAM) -> super::super::Foundation:: BOOL); |
| EnumDisplayMonitors(hdc.into_param().abi(), ::core::mem::transmute(lprcclip.unwrap_or(::std::ptr::null())), lpfnenum, dwdata.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn EnumDisplaySettingsA<P0>(lpszdevicename: P0, imodenum: ENUM_DISPLAY_SETTINGS_MODE, lpdevmode: *mut DEVMODEA) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn EnumDisplaySettingsA(lpszdevicename : ::windows_core::PCSTR, imodenum : ENUM_DISPLAY_SETTINGS_MODE, lpdevmode : *mut DEVMODEA) -> super::super::Foundation:: BOOL); |
| EnumDisplaySettingsA(lpszdevicename.into_param().abi(), imodenum, lpdevmode) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn EnumDisplaySettingsExA<P0>(lpszdevicename: P0, imodenum: ENUM_DISPLAY_SETTINGS_MODE, lpdevmode: *mut DEVMODEA, dwflags: ENUM_DISPLAY_SETTINGS_FLAGS) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn EnumDisplaySettingsExA(lpszdevicename : ::windows_core::PCSTR, imodenum : ENUM_DISPLAY_SETTINGS_MODE, lpdevmode : *mut DEVMODEA, dwflags : ENUM_DISPLAY_SETTINGS_FLAGS) -> super::super::Foundation:: BOOL); |
| EnumDisplaySettingsExA(lpszdevicename.into_param().abi(), imodenum, lpdevmode, dwflags) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn EnumDisplaySettingsExW<P0>(lpszdevicename: P0, imodenum: ENUM_DISPLAY_SETTINGS_MODE, lpdevmode: *mut DEVMODEW, dwflags: ENUM_DISPLAY_SETTINGS_FLAGS) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn EnumDisplaySettingsExW(lpszdevicename : ::windows_core::PCWSTR, imodenum : ENUM_DISPLAY_SETTINGS_MODE, lpdevmode : *mut DEVMODEW, dwflags : ENUM_DISPLAY_SETTINGS_FLAGS) -> super::super::Foundation:: BOOL); |
| EnumDisplaySettingsExW(lpszdevicename.into_param().abi(), imodenum, lpdevmode, dwflags) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn EnumDisplaySettingsW<P0>(lpszdevicename: P0, imodenum: ENUM_DISPLAY_SETTINGS_MODE, lpdevmode: *mut DEVMODEW) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn EnumDisplaySettingsW(lpszdevicename : ::windows_core::PCWSTR, imodenum : ENUM_DISPLAY_SETTINGS_MODE, lpdevmode : *mut DEVMODEW) -> super::super::Foundation:: BOOL); |
| EnumDisplaySettingsW(lpszdevicename.into_param().abi(), imodenum, lpdevmode) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn EnumEnhMetaFile<P0, P1>(hdc: P0, hmf: P1, proc: ENHMFENUMPROC, param3: ::core::option::Option<*const ::core::ffi::c_void>, lprect: ::core::option::Option<*const super::super::Foundation::RECT>) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HENHMETAFILE>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn EnumEnhMetaFile(hdc : HDC, hmf : HENHMETAFILE, proc : ENHMFENUMPROC, param3 : *const ::core::ffi::c_void, lprect : *const super::super::Foundation:: RECT) -> super::super::Foundation:: BOOL); |
| EnumEnhMetaFile(hdc.into_param().abi(), hmf.into_param().abi(), proc, ::core::mem::transmute(param3.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lprect.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn EnumFontFamiliesA<P0, P1, P2>(hdc: P0, lplogfont: P1, lpproc: FONTENUMPROCA, lparam: P2) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P2: ::windows_core::IntoParam<super::super::Foundation::LPARAM>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn EnumFontFamiliesA(hdc : HDC, lplogfont : ::windows_core::PCSTR, lpproc : FONTENUMPROCA, lparam : super::super::Foundation:: LPARAM) -> i32); |
| EnumFontFamiliesA(hdc.into_param().abi(), lplogfont.into_param().abi(), lpproc, lparam.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn EnumFontFamiliesExA<P0, P1>(hdc: P0, lplogfont: *const LOGFONTA, lpproc: FONTENUMPROCA, lparam: P1, dwflags: u32) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::LPARAM>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn EnumFontFamiliesExA(hdc : HDC, lplogfont : *const LOGFONTA, lpproc : FONTENUMPROCA, lparam : super::super::Foundation:: LPARAM, dwflags : u32) -> i32); |
| EnumFontFamiliesExA(hdc.into_param().abi(), lplogfont, lpproc, lparam.into_param().abi(), dwflags) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn EnumFontFamiliesExW<P0, P1>(hdc: P0, lplogfont: *const LOGFONTW, lpproc: FONTENUMPROCW, lparam: P1, dwflags: u32) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::LPARAM>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn EnumFontFamiliesExW(hdc : HDC, lplogfont : *const LOGFONTW, lpproc : FONTENUMPROCW, lparam : super::super::Foundation:: LPARAM, dwflags : u32) -> i32); |
| EnumFontFamiliesExW(hdc.into_param().abi(), lplogfont, lpproc, lparam.into_param().abi(), dwflags) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn EnumFontFamiliesW<P0, P1, P2>(hdc: P0, lplogfont: P1, lpproc: FONTENUMPROCW, lparam: P2) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<super::super::Foundation::LPARAM>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn EnumFontFamiliesW(hdc : HDC, lplogfont : ::windows_core::PCWSTR, lpproc : FONTENUMPROCW, lparam : super::super::Foundation:: LPARAM) -> i32); |
| EnumFontFamiliesW(hdc.into_param().abi(), lplogfont.into_param().abi(), lpproc, lparam.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn EnumFontsA<P0, P1, P2>(hdc: P0, lplogfont: P1, lpproc: FONTENUMPROCA, lparam: P2) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P2: ::windows_core::IntoParam<super::super::Foundation::LPARAM>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn EnumFontsA(hdc : HDC, lplogfont : ::windows_core::PCSTR, lpproc : FONTENUMPROCA, lparam : super::super::Foundation:: LPARAM) -> i32); |
| EnumFontsA(hdc.into_param().abi(), lplogfont.into_param().abi(), lpproc, lparam.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn EnumFontsW<P0, P1, P2>(hdc: P0, lplogfont: P1, lpproc: FONTENUMPROCW, lparam: P2) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P2: ::windows_core::IntoParam<super::super::Foundation::LPARAM>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn EnumFontsW(hdc : HDC, lplogfont : ::windows_core::PCWSTR, lpproc : FONTENUMPROCW, lparam : super::super::Foundation:: LPARAM) -> i32); |
| EnumFontsW(hdc.into_param().abi(), lplogfont.into_param().abi(), lpproc, lparam.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn EnumMetaFile<P0, P1, P2>(hdc: P0, hmf: P1, proc: MFENUMPROC, param3: P2) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HMETAFILE>, |
| P2: ::windows_core::IntoParam<super::super::Foundation::LPARAM>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn EnumMetaFile(hdc : HDC, hmf : HMETAFILE, proc : MFENUMPROC, param3 : super::super::Foundation:: LPARAM) -> super::super::Foundation:: BOOL); |
| EnumMetaFile(hdc.into_param().abi(), hmf.into_param().abi(), proc, param3.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn EnumObjects<P0, P1>(hdc: P0, ntype: OBJ_TYPE, lpfunc: GOBJENUMPROC, lparam: P1) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::LPARAM>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn EnumObjects(hdc : HDC, ntype : OBJ_TYPE, lpfunc : GOBJENUMPROC, lparam : super::super::Foundation:: LPARAM) -> i32); |
| EnumObjects(hdc.into_param().abi(), ntype, lpfunc, lparam.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn EqualRect(lprc1: *const super::super::Foundation::RECT, lprc2: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL { |
| ::windows_targets::link!("user32.dll" "system" fn EqualRect(lprc1 : *const super::super::Foundation:: RECT, lprc2 : *const super::super::Foundation:: RECT) -> super::super::Foundation:: BOOL); |
| EqualRect(lprc1, lprc2) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn EqualRgn<P0, P1>(hrgn1: P0, hrgn2: P1) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HRGN>, |
| P1: ::windows_core::IntoParam<HRGN>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn EqualRgn(hrgn1 : HRGN, hrgn2 : HRGN) -> super::super::Foundation:: BOOL); |
| EqualRgn(hrgn1.into_param().abi(), hrgn2.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn ExcludeClipRect<P0>(hdc: P0, left: i32, top: i32, right: i32, bottom: i32) -> GDI_REGION_TYPE |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn ExcludeClipRect(hdc : HDC, left : i32, top : i32, right : i32, bottom : i32) -> GDI_REGION_TYPE); |
| ExcludeClipRect(hdc.into_param().abi(), left, top, right, bottom) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ExcludeUpdateRgn<P0, P1>(hdc: P0, hwnd: P1) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn ExcludeUpdateRgn(hdc : HDC, hwnd : super::super::Foundation:: HWND) -> i32); |
| ExcludeUpdateRgn(hdc.into_param().abi(), hwnd.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ExtCreatePen(ipenstyle: PEN_STYLE, cwidth: u32, plbrush: *const LOGBRUSH, pstyle: ::core::option::Option<&[u32]>) -> HPEN { |
| ::windows_targets::link!("gdi32.dll" "system" fn ExtCreatePen(ipenstyle : u32, cwidth : u32, plbrush : *const LOGBRUSH, cstyle : u32, pstyle : *const u32) -> HPEN); |
| ExtCreatePen(ipenstyle.0 as _, cwidth, plbrush, pstyle.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pstyle.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ExtCreateRegion(lpx: ::core::option::Option<*const XFORM>, ncount: u32, lpdata: *const RGNDATA) -> HRGN { |
| ::windows_targets::link!("gdi32.dll" "system" fn ExtCreateRegion(lpx : *const XFORM, ncount : u32, lpdata : *const RGNDATA) -> HRGN); |
| ExtCreateRegion(::core::mem::transmute(lpx.unwrap_or(::std::ptr::null())), ncount, lpdata) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ExtFloodFill<P0, P1>(hdc: P0, x: i32, y: i32, color: P1, r#type: EXT_FLOOD_FILL_TYPE) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::COLORREF>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn ExtFloodFill(hdc : HDC, x : i32, y : i32, color : super::super::Foundation:: COLORREF, r#type : EXT_FLOOD_FILL_TYPE) -> super::super::Foundation:: BOOL); |
| ExtFloodFill(hdc.into_param().abi(), x, y, color.into_param().abi(), r#type) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn ExtSelectClipRgn<P0, P1>(hdc: P0, hrgn: P1, mode: RGN_COMBINE_MODE) -> GDI_REGION_TYPE |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HRGN>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn ExtSelectClipRgn(hdc : HDC, hrgn : HRGN, mode : RGN_COMBINE_MODE) -> GDI_REGION_TYPE); |
| ExtSelectClipRgn(hdc.into_param().abi(), hrgn.into_param().abi(), mode) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ExtTextOutA<P0, P1>(hdc: P0, x: i32, y: i32, options: ETO_OPTIONS, lprect: ::core::option::Option<*const super::super::Foundation::RECT>, lpstring: P1, c: u32, lpdx: ::core::option::Option<*const i32>) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn ExtTextOutA(hdc : HDC, x : i32, y : i32, options : ETO_OPTIONS, lprect : *const super::super::Foundation:: RECT, lpstring : ::windows_core::PCSTR, c : u32, lpdx : *const i32) -> super::super::Foundation:: BOOL); |
| ExtTextOutA(hdc.into_param().abi(), x, y, options, ::core::mem::transmute(lprect.unwrap_or(::std::ptr::null())), lpstring.into_param().abi(), c, ::core::mem::transmute(lpdx.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ExtTextOutW<P0, P1>(hdc: P0, x: i32, y: i32, options: ETO_OPTIONS, lprect: ::core::option::Option<*const super::super::Foundation::RECT>, lpstring: P1, c: u32, lpdx: ::core::option::Option<*const i32>) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn ExtTextOutW(hdc : HDC, x : i32, y : i32, options : ETO_OPTIONS, lprect : *const super::super::Foundation:: RECT, lpstring : ::windows_core::PCWSTR, c : u32, lpdx : *const i32) -> super::super::Foundation:: BOOL); |
| ExtTextOutW(hdc.into_param().abi(), x, y, options, ::core::mem::transmute(lprect.unwrap_or(::std::ptr::null())), lpstring.into_param().abi(), c, ::core::mem::transmute(lpdx.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn FillPath<P0>(hdc: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn FillPath(hdc : HDC) -> super::super::Foundation:: BOOL); |
| FillPath(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn FillRect<P0, P1>(hdc: P0, lprc: *const super::super::Foundation::RECT, hbr: P1) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HBRUSH>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn FillRect(hdc : HDC, lprc : *const super::super::Foundation:: RECT, hbr : HBRUSH) -> i32); |
| FillRect(hdc.into_param().abi(), lprc, hbr.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn FillRgn<P0, P1, P2>(hdc: P0, hrgn: P1, hbr: P2) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HRGN>, |
| P2: ::windows_core::IntoParam<HBRUSH>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn FillRgn(hdc : HDC, hrgn : HRGN, hbr : HBRUSH) -> super::super::Foundation:: BOOL); |
| FillRgn(hdc.into_param().abi(), hrgn.into_param().abi(), hbr.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn FixBrushOrgEx<P0>(hdc: P0, x: i32, y: i32, ptl: ::core::option::Option<*const super::super::Foundation::POINT>) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn FixBrushOrgEx(hdc : HDC, x : i32, y : i32, ptl : *const super::super::Foundation:: POINT) -> super::super::Foundation:: BOOL); |
| FixBrushOrgEx(hdc.into_param().abi(), x, y, ::core::mem::transmute(ptl.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn FlattenPath<P0>(hdc: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn FlattenPath(hdc : HDC) -> super::super::Foundation:: BOOL); |
| FlattenPath(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn FloodFill<P0, P1>(hdc: P0, x: i32, y: i32, color: P1) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::COLORREF>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn FloodFill(hdc : HDC, x : i32, y : i32, color : super::super::Foundation:: COLORREF) -> super::super::Foundation:: BOOL); |
| FloodFill(hdc.into_param().abi(), x, y, color.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn FrameRect<P0, P1>(hdc: P0, lprc: *const super::super::Foundation::RECT, hbr: P1) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HBRUSH>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn FrameRect(hdc : HDC, lprc : *const super::super::Foundation:: RECT, hbr : HBRUSH) -> i32); |
| FrameRect(hdc.into_param().abi(), lprc, hbr.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn FrameRgn<P0, P1, P2>(hdc: P0, hrgn: P1, hbr: P2, w: i32, h: i32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HRGN>, |
| P2: ::windows_core::IntoParam<HBRUSH>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn FrameRgn(hdc : HDC, hrgn : HRGN, hbr : HBRUSH, w : i32, h : i32) -> super::super::Foundation:: BOOL); |
| FrameRgn(hdc.into_param().abi(), hrgn.into_param().abi(), hbr.into_param().abi(), w, h) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GdiAlphaBlend<P0, P1>(hdcdest: P0, xorigindest: i32, yorigindest: i32, wdest: i32, hdest: i32, hdcsrc: P1, xoriginsrc: i32, yoriginsrc: i32, wsrc: i32, hsrc: i32, ftn: BLENDFUNCTION) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" 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); |
| GdiAlphaBlend(hdcdest.into_param().abi(), xorigindest, yorigindest, wdest, hdest, hdcsrc.into_param().abi(), xoriginsrc, yoriginsrc, wsrc, hsrc, ::core::mem::transmute(ftn)) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GdiComment<P0>(hdc: P0, lpdata: &[u8]) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GdiComment(hdc : HDC, nsize : u32, lpdata : *const u8) -> super::super::Foundation:: BOOL); |
| GdiComment(hdc.into_param().abi(), lpdata.len() as _, ::core::mem::transmute(lpdata.as_ptr())) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GdiFlush() -> super::super::Foundation::BOOL { |
| ::windows_targets::link!("gdi32.dll" "system" fn GdiFlush() -> super::super::Foundation:: BOOL); |
| GdiFlush() |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GdiGetBatchLimit() -> u32 { |
| ::windows_targets::link!("gdi32.dll" "system" fn GdiGetBatchLimit() -> u32); |
| GdiGetBatchLimit() |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GdiGradientFill<P0>(hdc: P0, pvertex: &[TRIVERTEX], pmesh: *const ::core::ffi::c_void, ncount: u32, ulmode: GRADIENT_FILL) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GdiGradientFill(hdc : HDC, pvertex : *const TRIVERTEX, nvertex : u32, pmesh : *const ::core::ffi::c_void, ncount : u32, ulmode : GRADIENT_FILL) -> super::super::Foundation:: BOOL); |
| GdiGradientFill(hdc.into_param().abi(), ::core::mem::transmute(pvertex.as_ptr()), pvertex.len() as _, pmesh, ncount, ulmode) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GdiSetBatchLimit(dw: u32) -> u32 { |
| ::windows_targets::link!("gdi32.dll" "system" fn GdiSetBatchLimit(dw : u32) -> u32); |
| GdiSetBatchLimit(dw) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GdiTransparentBlt<P0, P1>(hdcdest: P0, xorigindest: i32, yorigindest: i32, wdest: i32, hdest: i32, hdcsrc: P1, xoriginsrc: i32, yoriginsrc: i32, wsrc: i32, hsrc: i32, crtransparent: u32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" 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); |
| GdiTransparentBlt(hdcdest.into_param().abi(), xorigindest, yorigindest, wdest, hdest, hdcsrc.into_param().abi(), xoriginsrc, yoriginsrc, wsrc, hsrc, crtransparent) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetArcDirection<P0>(hdc: P0) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetArcDirection(hdc : HDC) -> i32); |
| GetArcDirection(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetAspectRatioFilterEx<P0>(hdc: P0, lpsize: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetAspectRatioFilterEx(hdc : HDC, lpsize : *mut super::super::Foundation:: SIZE) -> super::super::Foundation:: BOOL); |
| GetAspectRatioFilterEx(hdc.into_param().abi(), lpsize) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetBitmapBits<P0>(hbit: P0, cb: i32, lpvbits: *mut ::core::ffi::c_void) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HBITMAP>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetBitmapBits(hbit : HBITMAP, cb : i32, lpvbits : *mut ::core::ffi::c_void) -> i32); |
| GetBitmapBits(hbit.into_param().abi(), cb, lpvbits) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetBitmapDimensionEx<P0>(hbit: P0, lpsize: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HBITMAP>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetBitmapDimensionEx(hbit : HBITMAP, lpsize : *mut super::super::Foundation:: SIZE) -> super::super::Foundation:: BOOL); |
| GetBitmapDimensionEx(hbit.into_param().abi(), lpsize) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetBkColor<P0>(hdc: P0) -> super::super::Foundation::COLORREF |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetBkColor(hdc : HDC) -> super::super::Foundation:: COLORREF); |
| GetBkColor(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetBkMode<P0>(hdc: P0) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetBkMode(hdc : HDC) -> i32); |
| GetBkMode(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetBoundsRect<P0>(hdc: P0, lprect: *mut super::super::Foundation::RECT, flags: u32) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetBoundsRect(hdc : HDC, lprect : *mut super::super::Foundation:: RECT, flags : u32) -> u32); |
| GetBoundsRect(hdc.into_param().abi(), lprect, flags) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetBrushOrgEx<P0>(hdc: P0, lppt: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetBrushOrgEx(hdc : HDC, lppt : *mut super::super::Foundation:: POINT) -> super::super::Foundation:: BOOL); |
| GetBrushOrgEx(hdc.into_param().abi(), lppt) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetCharABCWidthsA<P0>(hdc: P0, wfirst: u32, wlast: u32, lpabc: *mut ABC) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetCharABCWidthsA(hdc : HDC, wfirst : u32, wlast : u32, lpabc : *mut ABC) -> super::super::Foundation:: BOOL); |
| GetCharABCWidthsA(hdc.into_param().abi(), wfirst, wlast, lpabc) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetCharABCWidthsFloatA<P0>(hdc: P0, ifirst: u32, ilast: u32, lpabc: *mut ABCFLOAT) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetCharABCWidthsFloatA(hdc : HDC, ifirst : u32, ilast : u32, lpabc : *mut ABCFLOAT) -> super::super::Foundation:: BOOL); |
| GetCharABCWidthsFloatA(hdc.into_param().abi(), ifirst, ilast, lpabc) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetCharABCWidthsFloatW<P0>(hdc: P0, ifirst: u32, ilast: u32, lpabc: *mut ABCFLOAT) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetCharABCWidthsFloatW(hdc : HDC, ifirst : u32, ilast : u32, lpabc : *mut ABCFLOAT) -> super::super::Foundation:: BOOL); |
| GetCharABCWidthsFloatW(hdc.into_param().abi(), ifirst, ilast, lpabc) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetCharABCWidthsI<P0>(hdc: P0, gifirst: u32, cgi: u32, pgi: ::core::option::Option<*const u16>, pabc: *mut ABC) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetCharABCWidthsI(hdc : HDC, gifirst : u32, cgi : u32, pgi : *const u16, pabc : *mut ABC) -> super::super::Foundation:: BOOL); |
| GetCharABCWidthsI(hdc.into_param().abi(), gifirst, cgi, ::core::mem::transmute(pgi.unwrap_or(::std::ptr::null())), pabc) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetCharABCWidthsW<P0>(hdc: P0, wfirst: u32, wlast: u32, lpabc: *mut ABC) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetCharABCWidthsW(hdc : HDC, wfirst : u32, wlast : u32, lpabc : *mut ABC) -> super::super::Foundation:: BOOL); |
| GetCharABCWidthsW(hdc.into_param().abi(), wfirst, wlast, lpabc) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetCharWidth32A<P0>(hdc: P0, ifirst: u32, ilast: u32, lpbuffer: *mut i32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetCharWidth32A(hdc : HDC, ifirst : u32, ilast : u32, lpbuffer : *mut i32) -> super::super::Foundation:: BOOL); |
| GetCharWidth32A(hdc.into_param().abi(), ifirst, ilast, lpbuffer) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetCharWidth32W<P0>(hdc: P0, ifirst: u32, ilast: u32, lpbuffer: *mut i32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetCharWidth32W(hdc : HDC, ifirst : u32, ilast : u32, lpbuffer : *mut i32) -> super::super::Foundation:: BOOL); |
| GetCharWidth32W(hdc.into_param().abi(), ifirst, ilast, lpbuffer) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetCharWidthA<P0>(hdc: P0, ifirst: u32, ilast: u32, lpbuffer: *mut i32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetCharWidthA(hdc : HDC, ifirst : u32, ilast : u32, lpbuffer : *mut i32) -> super::super::Foundation:: BOOL); |
| GetCharWidthA(hdc.into_param().abi(), ifirst, ilast, lpbuffer) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetCharWidthFloatA<P0>(hdc: P0, ifirst: u32, ilast: u32, lpbuffer: *mut f32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetCharWidthFloatA(hdc : HDC, ifirst : u32, ilast : u32, lpbuffer : *mut f32) -> super::super::Foundation:: BOOL); |
| GetCharWidthFloatA(hdc.into_param().abi(), ifirst, ilast, lpbuffer) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetCharWidthFloatW<P0>(hdc: P0, ifirst: u32, ilast: u32, lpbuffer: *mut f32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetCharWidthFloatW(hdc : HDC, ifirst : u32, ilast : u32, lpbuffer : *mut f32) -> super::super::Foundation:: BOOL); |
| GetCharWidthFloatW(hdc.into_param().abi(), ifirst, ilast, lpbuffer) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetCharWidthI<P0>(hdc: P0, gifirst: u32, cgi: u32, pgi: ::core::option::Option<*const u16>, piwidths: *mut i32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetCharWidthI(hdc : HDC, gifirst : u32, cgi : u32, pgi : *const u16, piwidths : *mut i32) -> super::super::Foundation:: BOOL); |
| GetCharWidthI(hdc.into_param().abi(), gifirst, cgi, ::core::mem::transmute(pgi.unwrap_or(::std::ptr::null())), piwidths) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetCharWidthW<P0>(hdc: P0, ifirst: u32, ilast: u32, lpbuffer: *mut i32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetCharWidthW(hdc : HDC, ifirst : u32, ilast : u32, lpbuffer : *mut i32) -> super::super::Foundation:: BOOL); |
| GetCharWidthW(hdc.into_param().abi(), ifirst, ilast, lpbuffer) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetCharacterPlacementA<P0>(hdc: P0, lpstring: &[u8], nmexextent: i32, lpresults: *mut GCP_RESULTSA, dwflags: GET_CHARACTER_PLACEMENT_FLAGS) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetCharacterPlacementA(hdc : HDC, lpstring : ::windows_core::PCSTR, ncount : i32, nmexextent : i32, lpresults : *mut GCP_RESULTSA, dwflags : GET_CHARACTER_PLACEMENT_FLAGS) -> u32); |
| GetCharacterPlacementA(hdc.into_param().abi(), ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _, nmexextent, lpresults, dwflags) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetCharacterPlacementW<P0>(hdc: P0, lpstring: &[u16], nmexextent: i32, lpresults: *mut GCP_RESULTSW, dwflags: GET_CHARACTER_PLACEMENT_FLAGS) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetCharacterPlacementW(hdc : HDC, lpstring : ::windows_core::PCWSTR, ncount : i32, nmexextent : i32, lpresults : *mut GCP_RESULTSW, dwflags : GET_CHARACTER_PLACEMENT_FLAGS) -> u32); |
| GetCharacterPlacementW(hdc.into_param().abi(), ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _, nmexextent, lpresults, dwflags) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetClipBox<P0>(hdc: P0, lprect: *mut super::super::Foundation::RECT) -> GDI_REGION_TYPE |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetClipBox(hdc : HDC, lprect : *mut super::super::Foundation:: RECT) -> GDI_REGION_TYPE); |
| GetClipBox(hdc.into_param().abi(), lprect) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetClipRgn<P0, P1>(hdc: P0, hrgn: P1) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HRGN>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetClipRgn(hdc : HDC, hrgn : HRGN) -> i32); |
| GetClipRgn(hdc.into_param().abi(), hrgn.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetColorAdjustment<P0>(hdc: P0, lpca: *mut COLORADJUSTMENT) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetColorAdjustment(hdc : HDC, lpca : *mut COLORADJUSTMENT) -> super::super::Foundation:: BOOL); |
| GetColorAdjustment(hdc.into_param().abi(), lpca) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetCurrentObject<P0>(hdc: P0, r#type: OBJ_TYPE) -> HGDIOBJ |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetCurrentObject(hdc : HDC, r#type : u32) -> HGDIOBJ); |
| GetCurrentObject(hdc.into_param().abi(), r#type.0 as _) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetCurrentPositionEx<P0>(hdc: P0, lppt: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetCurrentPositionEx(hdc : HDC, lppt : *mut super::super::Foundation:: POINT) -> super::super::Foundation:: BOOL); |
| GetCurrentPositionEx(hdc.into_param().abi(), lppt) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetDC<P0>(hwnd: P0) -> HDC |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn GetDC(hwnd : super::super::Foundation:: HWND) -> HDC); |
| GetDC(hwnd.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetDCBrushColor<P0>(hdc: P0) -> super::super::Foundation::COLORREF |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetDCBrushColor(hdc : HDC) -> super::super::Foundation:: COLORREF); |
| GetDCBrushColor(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetDCEx<P0, P1>(hwnd: P0, hrgnclip: P1, flags: GET_DCX_FLAGS) -> HDC |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<HRGN>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn GetDCEx(hwnd : super::super::Foundation:: HWND, hrgnclip : HRGN, flags : GET_DCX_FLAGS) -> HDC); |
| GetDCEx(hwnd.into_param().abi(), hrgnclip.into_param().abi(), flags) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetDCOrgEx<P0>(hdc: P0, lppt: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetDCOrgEx(hdc : HDC, lppt : *mut super::super::Foundation:: POINT) -> super::super::Foundation:: BOOL); |
| GetDCOrgEx(hdc.into_param().abi(), lppt) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetDCPenColor<P0>(hdc: P0) -> super::super::Foundation::COLORREF |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetDCPenColor(hdc : HDC) -> super::super::Foundation:: COLORREF); |
| GetDCPenColor(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetDIBColorTable<P0>(hdc: P0, istart: u32, prgbq: &mut [RGBQUAD]) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetDIBColorTable(hdc : HDC, istart : u32, centries : u32, prgbq : *mut RGBQUAD) -> u32); |
| GetDIBColorTable(hdc.into_param().abi(), istart, prgbq.len() as _, ::core::mem::transmute(prgbq.as_ptr())) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetDIBits<P0, P1>(hdc: P0, hbm: P1, start: u32, clines: u32, lpvbits: ::core::option::Option<*mut ::core::ffi::c_void>, lpbmi: *mut BITMAPINFO, usage: DIB_USAGE) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HBITMAP>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetDIBits(hdc : HDC, hbm : HBITMAP, start : u32, clines : u32, lpvbits : *mut ::core::ffi::c_void, lpbmi : *mut BITMAPINFO, usage : DIB_USAGE) -> i32); |
| GetDIBits(hdc.into_param().abi(), hbm.into_param().abi(), start, clines, ::core::mem::transmute(lpvbits.unwrap_or(::std::ptr::null_mut())), lpbmi, usage) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetDeviceCaps<P0>(hdc: P0, index: GET_DEVICE_CAPS_INDEX) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetDeviceCaps(hdc : HDC, index : i32) -> i32); |
| GetDeviceCaps(hdc.into_param().abi(), index.0 as _) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetEnhMetaFileA<P0>(lpname: P0) -> HENHMETAFILE |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetEnhMetaFileA(lpname : ::windows_core::PCSTR) -> HENHMETAFILE); |
| GetEnhMetaFileA(lpname.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetEnhMetaFileBits<P0>(hemf: P0, lpdata: ::core::option::Option<&mut [u8]>) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HENHMETAFILE>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetEnhMetaFileBits(hemf : HENHMETAFILE, nsize : u32, lpdata : *mut u8) -> u32); |
| GetEnhMetaFileBits(hemf.into_param().abi(), lpdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetEnhMetaFileDescriptionA<P0>(hemf: P0, lpdescription: ::core::option::Option<&mut [u8]>) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HENHMETAFILE>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetEnhMetaFileDescriptionA(hemf : HENHMETAFILE, cchbuffer : u32, lpdescription : ::windows_core::PSTR) -> u32); |
| GetEnhMetaFileDescriptionA(hemf.into_param().abi(), lpdescription.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpdescription.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetEnhMetaFileDescriptionW<P0>(hemf: P0, lpdescription: ::core::option::Option<&mut [u16]>) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HENHMETAFILE>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetEnhMetaFileDescriptionW(hemf : HENHMETAFILE, cchbuffer : u32, lpdescription : ::windows_core::PWSTR) -> u32); |
| GetEnhMetaFileDescriptionW(hemf.into_param().abi(), lpdescription.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpdescription.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetEnhMetaFileHeader<P0>(hemf: P0, nsize: u32, lpenhmetaheader: ::core::option::Option<*mut ENHMETAHEADER>) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HENHMETAFILE>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetEnhMetaFileHeader(hemf : HENHMETAFILE, nsize : u32, lpenhmetaheader : *mut ENHMETAHEADER) -> u32); |
| GetEnhMetaFileHeader(hemf.into_param().abi(), nsize, ::core::mem::transmute(lpenhmetaheader.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetEnhMetaFilePaletteEntries<P0>(hemf: P0, lppaletteentries: ::core::option::Option<&mut [PALETTEENTRY]>) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HENHMETAFILE>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetEnhMetaFilePaletteEntries(hemf : HENHMETAFILE, nnumentries : u32, lppaletteentries : *mut PALETTEENTRY) -> u32); |
| GetEnhMetaFilePaletteEntries(hemf.into_param().abi(), lppaletteentries.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lppaletteentries.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetEnhMetaFileW<P0>(lpname: P0) -> HENHMETAFILE |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetEnhMetaFileW(lpname : ::windows_core::PCWSTR) -> HENHMETAFILE); |
| GetEnhMetaFileW(lpname.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetFontData<P0>(hdc: P0, dwtable: u32, dwoffset: u32, pvbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, cjbuffer: u32) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetFontData(hdc : HDC, dwtable : u32, dwoffset : u32, pvbuffer : *mut ::core::ffi::c_void, cjbuffer : u32) -> u32); |
| GetFontData(hdc.into_param().abi(), dwtable, dwoffset, ::core::mem::transmute(pvbuffer.unwrap_or(::std::ptr::null_mut())), cjbuffer) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetFontLanguageInfo<P0>(hdc: P0) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetFontLanguageInfo(hdc : HDC) -> u32); |
| GetFontLanguageInfo(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetFontUnicodeRanges<P0>(hdc: P0, lpgs: ::core::option::Option<*mut GLYPHSET>) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetFontUnicodeRanges(hdc : HDC, lpgs : *mut GLYPHSET) -> u32); |
| GetFontUnicodeRanges(hdc.into_param().abi(), ::core::mem::transmute(lpgs.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetGlyphIndicesA<P0, P1>(hdc: P0, lpstr: P1, c: i32, pgi: *mut u16, fl: u32) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetGlyphIndicesA(hdc : HDC, lpstr : ::windows_core::PCSTR, c : i32, pgi : *mut u16, fl : u32) -> u32); |
| GetGlyphIndicesA(hdc.into_param().abi(), lpstr.into_param().abi(), c, pgi, fl) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetGlyphIndicesW<P0, P1>(hdc: P0, lpstr: P1, c: i32, pgi: *mut u16, fl: u32) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetGlyphIndicesW(hdc : HDC, lpstr : ::windows_core::PCWSTR, c : i32, pgi : *mut u16, fl : u32) -> u32); |
| GetGlyphIndicesW(hdc.into_param().abi(), lpstr.into_param().abi(), c, pgi, fl) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetGlyphOutlineA<P0>(hdc: P0, uchar: u32, fuformat: GET_GLYPH_OUTLINE_FORMAT, lpgm: *mut GLYPHMETRICS, cjbuffer: u32, pvbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, lpmat2: *const MAT2) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" 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); |
| GetGlyphOutlineA(hdc.into_param().abi(), uchar, fuformat, lpgm, cjbuffer, ::core::mem::transmute(pvbuffer.unwrap_or(::std::ptr::null_mut())), lpmat2) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetGlyphOutlineW<P0>(hdc: P0, uchar: u32, fuformat: GET_GLYPH_OUTLINE_FORMAT, lpgm: *mut GLYPHMETRICS, cjbuffer: u32, pvbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, lpmat2: *const MAT2) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" 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); |
| GetGlyphOutlineW(hdc.into_param().abi(), uchar, fuformat, lpgm, cjbuffer, ::core::mem::transmute(pvbuffer.unwrap_or(::std::ptr::null_mut())), lpmat2) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetGraphicsMode<P0>(hdc: P0) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetGraphicsMode(hdc : HDC) -> i32); |
| GetGraphicsMode(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetKerningPairsA<P0>(hdc: P0, lpkernpair: ::core::option::Option<&mut [KERNINGPAIR]>) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetKerningPairsA(hdc : HDC, npairs : u32, lpkernpair : *mut KERNINGPAIR) -> u32); |
| GetKerningPairsA(hdc.into_param().abi(), lpkernpair.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpkernpair.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetKerningPairsW<P0>(hdc: P0, lpkernpair: ::core::option::Option<&mut [KERNINGPAIR]>) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetKerningPairsW(hdc : HDC, npairs : u32, lpkernpair : *mut KERNINGPAIR) -> u32); |
| GetKerningPairsW(hdc.into_param().abi(), lpkernpair.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpkernpair.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetLayout<P0>(hdc: P0) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetLayout(hdc : HDC) -> u32); |
| GetLayout(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetMapMode<P0>(hdc: P0) -> HDC_MAP_MODE |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetMapMode(hdc : HDC) -> HDC_MAP_MODE); |
| GetMapMode(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetMetaFileA<P0>(lpname: P0) -> HMETAFILE |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetMetaFileA(lpname : ::windows_core::PCSTR) -> HMETAFILE); |
| GetMetaFileA(lpname.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetMetaFileBitsEx<P0>(hmf: P0, cbbuffer: u32, lpdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HMETAFILE>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetMetaFileBitsEx(hmf : HMETAFILE, cbbuffer : u32, lpdata : *mut ::core::ffi::c_void) -> u32); |
| GetMetaFileBitsEx(hmf.into_param().abi(), cbbuffer, ::core::mem::transmute(lpdata.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetMetaFileW<P0>(lpname: P0) -> HMETAFILE |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetMetaFileW(lpname : ::windows_core::PCWSTR) -> HMETAFILE); |
| GetMetaFileW(lpname.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetMetaRgn<P0, P1>(hdc: P0, hrgn: P1) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HRGN>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetMetaRgn(hdc : HDC, hrgn : HRGN) -> i32); |
| GetMetaRgn(hdc.into_param().abi(), hrgn.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetMiterLimit<P0>(hdc: P0, plimit: *mut f32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetMiterLimit(hdc : HDC, plimit : *mut f32) -> super::super::Foundation:: BOOL); |
| GetMiterLimit(hdc.into_param().abi(), plimit) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetMonitorInfoA<P0>(hmonitor: P0, lpmi: *mut MONITORINFO) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HMONITOR>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn GetMonitorInfoA(hmonitor : HMONITOR, lpmi : *mut MONITORINFO) -> super::super::Foundation:: BOOL); |
| GetMonitorInfoA(hmonitor.into_param().abi(), lpmi) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetMonitorInfoW<P0>(hmonitor: P0, lpmi: *mut MONITORINFO) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HMONITOR>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn GetMonitorInfoW(hmonitor : HMONITOR, lpmi : *mut MONITORINFO) -> super::super::Foundation:: BOOL); |
| GetMonitorInfoW(hmonitor.into_param().abi(), lpmi) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetNearestColor<P0, P1>(hdc: P0, color: P1) -> super::super::Foundation::COLORREF |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::COLORREF>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetNearestColor(hdc : HDC, color : super::super::Foundation:: COLORREF) -> super::super::Foundation:: COLORREF); |
| GetNearestColor(hdc.into_param().abi(), color.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetNearestPaletteIndex<P0, P1>(h: P0, color: P1) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HPALETTE>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::COLORREF>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetNearestPaletteIndex(h : HPALETTE, color : super::super::Foundation:: COLORREF) -> u32); |
| GetNearestPaletteIndex(h.into_param().abi(), color.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetObjectA<P0>(h: P0, c: i32, pv: ::core::option::Option<*mut ::core::ffi::c_void>) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HGDIOBJ>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetObjectA(h : HGDIOBJ, c : i32, pv : *mut ::core::ffi::c_void) -> i32); |
| GetObjectA(h.into_param().abi(), c, ::core::mem::transmute(pv.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetObjectType<P0>(h: P0) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HGDIOBJ>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetObjectType(h : HGDIOBJ) -> u32); |
| GetObjectType(h.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetObjectW<P0>(h: P0, c: i32, pv: ::core::option::Option<*mut ::core::ffi::c_void>) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HGDIOBJ>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetObjectW(h : HGDIOBJ, c : i32, pv : *mut ::core::ffi::c_void) -> i32); |
| GetObjectW(h.into_param().abi(), c, ::core::mem::transmute(pv.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetOutlineTextMetricsA<P0>(hdc: P0, cjcopy: u32, potm: ::core::option::Option<*mut OUTLINETEXTMETRICA>) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetOutlineTextMetricsA(hdc : HDC, cjcopy : u32, potm : *mut OUTLINETEXTMETRICA) -> u32); |
| GetOutlineTextMetricsA(hdc.into_param().abi(), cjcopy, ::core::mem::transmute(potm.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetOutlineTextMetricsW<P0>(hdc: P0, cjcopy: u32, potm: ::core::option::Option<*mut OUTLINETEXTMETRICW>) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetOutlineTextMetricsW(hdc : HDC, cjcopy : u32, potm : *mut OUTLINETEXTMETRICW) -> u32); |
| GetOutlineTextMetricsW(hdc.into_param().abi(), cjcopy, ::core::mem::transmute(potm.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetPaletteEntries<P0>(hpal: P0, istart: u32, ppalentries: ::core::option::Option<&mut [PALETTEENTRY]>) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HPALETTE>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetPaletteEntries(hpal : HPALETTE, istart : u32, centries : u32, ppalentries : *mut PALETTEENTRY) -> u32); |
| GetPaletteEntries(hpal.into_param().abi(), istart, ppalentries.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppalentries.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetPath<P0>(hdc: P0, apt: ::core::option::Option<*mut super::super::Foundation::POINT>, aj: ::core::option::Option<*mut u8>, cpt: i32) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetPath(hdc : HDC, apt : *mut super::super::Foundation:: POINT, aj : *mut u8, cpt : i32) -> i32); |
| GetPath(hdc.into_param().abi(), ::core::mem::transmute(apt.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(aj.unwrap_or(::std::ptr::null_mut())), cpt) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetPixel<P0>(hdc: P0, x: i32, y: i32) -> super::super::Foundation::COLORREF |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetPixel(hdc : HDC, x : i32, y : i32) -> super::super::Foundation:: COLORREF); |
| GetPixel(hdc.into_param().abi(), x, y) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetPolyFillMode<P0>(hdc: P0) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetPolyFillMode(hdc : HDC) -> i32); |
| GetPolyFillMode(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetROP2<P0>(hdc: P0) -> R2_MODE |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetROP2(hdc : HDC) -> R2_MODE); |
| GetROP2(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetRandomRgn<P0, P1>(hdc: P0, hrgn: P1, i: i32) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HRGN>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetRandomRgn(hdc : HDC, hrgn : HRGN, i : i32) -> i32); |
| GetRandomRgn(hdc.into_param().abi(), hrgn.into_param().abi(), i) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetRasterizerCaps(lpraststat: *mut RASTERIZER_STATUS, cjbytes: u32) -> super::super::Foundation::BOOL { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetRasterizerCaps(lpraststat : *mut RASTERIZER_STATUS, cjbytes : u32) -> super::super::Foundation:: BOOL); |
| GetRasterizerCaps(lpraststat, cjbytes) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetRegionData<P0>(hrgn: P0, ncount: u32, lprgndata: ::core::option::Option<*mut RGNDATA>) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HRGN>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetRegionData(hrgn : HRGN, ncount : u32, lprgndata : *mut RGNDATA) -> u32); |
| GetRegionData(hrgn.into_param().abi(), ncount, ::core::mem::transmute(lprgndata.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetRgnBox<P0>(hrgn: P0, lprc: *mut super::super::Foundation::RECT) -> GDI_REGION_TYPE |
| where |
| P0: ::windows_core::IntoParam<HRGN>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetRgnBox(hrgn : HRGN, lprc : *mut super::super::Foundation:: RECT) -> GDI_REGION_TYPE); |
| GetRgnBox(hrgn.into_param().abi(), lprc) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetStockObject(i: GET_STOCK_OBJECT_FLAGS) -> HGDIOBJ { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetStockObject(i : GET_STOCK_OBJECT_FLAGS) -> HGDIOBJ); |
| GetStockObject(i) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetStretchBltMode<P0>(hdc: P0) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetStretchBltMode(hdc : HDC) -> i32); |
| GetStretchBltMode(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetSysColor(nindex: SYS_COLOR_INDEX) -> u32 { |
| ::windows_targets::link!("user32.dll" "system" fn GetSysColor(nindex : SYS_COLOR_INDEX) -> u32); |
| GetSysColor(nindex) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetSysColorBrush(nindex: SYS_COLOR_INDEX) -> HBRUSH { |
| ::windows_targets::link!("user32.dll" "system" fn GetSysColorBrush(nindex : SYS_COLOR_INDEX) -> HBRUSH); |
| GetSysColorBrush(nindex) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetSystemPaletteEntries<P0>(hdc: P0, istart: u32, ppalentries: ::core::option::Option<&mut [PALETTEENTRY]>) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetSystemPaletteEntries(hdc : HDC, istart : u32, centries : u32, ppalentries : *mut PALETTEENTRY) -> u32); |
| GetSystemPaletteEntries(hdc.into_param().abi(), istart, ppalentries.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppalentries.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetSystemPaletteUse<P0>(hdc: P0) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetSystemPaletteUse(hdc : HDC) -> u32); |
| GetSystemPaletteUse(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetTabbedTextExtentA<P0>(hdc: P0, lpstring: &[u8], lpntabstoppositions: ::core::option::Option<&[i32]>) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn GetTabbedTextExtentA(hdc : HDC, lpstring : ::windows_core::PCSTR, chcount : i32, ntabpositions : i32, lpntabstoppositions : *const i32) -> u32); |
| GetTabbedTextExtentA(hdc.into_param().abi(), ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _, lpntabstoppositions.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpntabstoppositions.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetTabbedTextExtentW<P0>(hdc: P0, lpstring: &[u16], lpntabstoppositions: ::core::option::Option<&[i32]>) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn GetTabbedTextExtentW(hdc : HDC, lpstring : ::windows_core::PCWSTR, chcount : i32, ntabpositions : i32, lpntabstoppositions : *const i32) -> u32); |
| GetTabbedTextExtentW(hdc.into_param().abi(), ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _, lpntabstoppositions.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpntabstoppositions.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetTextAlign<P0>(hdc: P0) -> TEXT_ALIGN_OPTIONS |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetTextAlign(hdc : HDC) -> TEXT_ALIGN_OPTIONS); |
| GetTextAlign(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetTextCharacterExtra<P0>(hdc: P0) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetTextCharacterExtra(hdc : HDC) -> i32); |
| GetTextCharacterExtra(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetTextColor<P0>(hdc: P0) -> super::super::Foundation::COLORREF |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetTextColor(hdc : HDC) -> super::super::Foundation:: COLORREF); |
| GetTextColor(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetTextExtentExPointA<P0, P1>(hdc: P0, lpszstring: P1, cchstring: i32, nmaxextent: i32, lpnfit: ::core::option::Option<*mut i32>, lpndx: ::core::option::Option<*mut i32>, lpsize: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetTextExtentExPointA(hdc : HDC, lpszstring : ::windows_core::PCSTR, cchstring : i32, nmaxextent : i32, lpnfit : *mut i32, lpndx : *mut i32, lpsize : *mut super::super::Foundation:: SIZE) -> super::super::Foundation:: BOOL); |
| GetTextExtentExPointA(hdc.into_param().abi(), lpszstring.into_param().abi(), cchstring, nmaxextent, ::core::mem::transmute(lpnfit.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpndx.unwrap_or(::std::ptr::null_mut())), lpsize) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetTextExtentExPointI<P0>(hdc: P0, lpwszstring: *const u16, cwchstring: i32, nmaxextent: i32, lpnfit: ::core::option::Option<*mut i32>, lpndx: ::core::option::Option<*mut i32>, lpsize: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" 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); |
| GetTextExtentExPointI(hdc.into_param().abi(), lpwszstring, cwchstring, nmaxextent, ::core::mem::transmute(lpnfit.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpndx.unwrap_or(::std::ptr::null_mut())), lpsize) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetTextExtentExPointW<P0, P1>(hdc: P0, lpszstring: P1, cchstring: i32, nmaxextent: i32, lpnfit: ::core::option::Option<*mut i32>, lpndx: ::core::option::Option<*mut i32>, lpsize: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetTextExtentExPointW(hdc : HDC, lpszstring : ::windows_core::PCWSTR, cchstring : i32, nmaxextent : i32, lpnfit : *mut i32, lpndx : *mut i32, lpsize : *mut super::super::Foundation:: SIZE) -> super::super::Foundation:: BOOL); |
| GetTextExtentExPointW(hdc.into_param().abi(), lpszstring.into_param().abi(), cchstring, nmaxextent, ::core::mem::transmute(lpnfit.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpndx.unwrap_or(::std::ptr::null_mut())), lpsize) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetTextExtentPoint32A<P0>(hdc: P0, lpstring: &[u8], psizl: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetTextExtentPoint32A(hdc : HDC, lpstring : ::windows_core::PCSTR, c : i32, psizl : *mut super::super::Foundation:: SIZE) -> super::super::Foundation:: BOOL); |
| GetTextExtentPoint32A(hdc.into_param().abi(), ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _, psizl) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetTextExtentPoint32W<P0>(hdc: P0, lpstring: &[u16], psizl: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetTextExtentPoint32W(hdc : HDC, lpstring : ::windows_core::PCWSTR, c : i32, psizl : *mut super::super::Foundation:: SIZE) -> super::super::Foundation:: BOOL); |
| GetTextExtentPoint32W(hdc.into_param().abi(), ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _, psizl) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetTextExtentPointA<P0>(hdc: P0, lpstring: &[u8], lpsz: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetTextExtentPointA(hdc : HDC, lpstring : ::windows_core::PCSTR, c : i32, lpsz : *mut super::super::Foundation:: SIZE) -> super::super::Foundation:: BOOL); |
| GetTextExtentPointA(hdc.into_param().abi(), ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _, lpsz) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetTextExtentPointI<P0>(hdc: P0, pgiin: &[u16], psize: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetTextExtentPointI(hdc : HDC, pgiin : *const u16, cgi : i32, psize : *mut super::super::Foundation:: SIZE) -> super::super::Foundation:: BOOL); |
| GetTextExtentPointI(hdc.into_param().abi(), ::core::mem::transmute(pgiin.as_ptr()), pgiin.len() as _, psize) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetTextExtentPointW<P0>(hdc: P0, lpstring: &[u16], lpsz: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetTextExtentPointW(hdc : HDC, lpstring : ::windows_core::PCWSTR, c : i32, lpsz : *mut super::super::Foundation:: SIZE) -> super::super::Foundation:: BOOL); |
| GetTextExtentPointW(hdc.into_param().abi(), ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _, lpsz) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetTextFaceA<P0>(hdc: P0, lpname: ::core::option::Option<&mut [u8]>) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetTextFaceA(hdc : HDC, c : i32, lpname : ::windows_core::PSTR) -> i32); |
| GetTextFaceA(hdc.into_param().abi(), lpname.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetTextFaceW<P0>(hdc: P0, lpname: ::core::option::Option<&mut [u16]>) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetTextFaceW(hdc : HDC, c : i32, lpname : ::windows_core::PWSTR) -> i32); |
| GetTextFaceW(hdc.into_param().abi(), lpname.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpname.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetTextMetricsA<P0>(hdc: P0, lptm: *mut TEXTMETRICA) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetTextMetricsA(hdc : HDC, lptm : *mut TEXTMETRICA) -> super::super::Foundation:: BOOL); |
| GetTextMetricsA(hdc.into_param().abi(), lptm) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetTextMetricsW<P0>(hdc: P0, lptm: *mut TEXTMETRICW) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetTextMetricsW(hdc : HDC, lptm : *mut TEXTMETRICW) -> super::super::Foundation:: BOOL); |
| GetTextMetricsW(hdc.into_param().abi(), lptm) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetUpdateRect<P0, P1>(hwnd: P0, lprect: ::core::option::Option<*mut super::super::Foundation::RECT>, berase: P1) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn GetUpdateRect(hwnd : super::super::Foundation:: HWND, lprect : *mut super::super::Foundation:: RECT, berase : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); |
| GetUpdateRect(hwnd.into_param().abi(), ::core::mem::transmute(lprect.unwrap_or(::std::ptr::null_mut())), berase.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetUpdateRgn<P0, P1, P2>(hwnd: P0, hrgn: P1, berase: P2) -> GDI_REGION_TYPE |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<HRGN>, |
| P2: ::windows_core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn GetUpdateRgn(hwnd : super::super::Foundation:: HWND, hrgn : HRGN, berase : super::super::Foundation:: BOOL) -> GDI_REGION_TYPE); |
| GetUpdateRgn(hwnd.into_param().abi(), hrgn.into_param().abi(), berase.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetViewportExtEx<P0>(hdc: P0, lpsize: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetViewportExtEx(hdc : HDC, lpsize : *mut super::super::Foundation:: SIZE) -> super::super::Foundation:: BOOL); |
| GetViewportExtEx(hdc.into_param().abi(), lpsize) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetViewportOrgEx<P0>(hdc: P0, lppoint: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetViewportOrgEx(hdc : HDC, lppoint : *mut super::super::Foundation:: POINT) -> super::super::Foundation:: BOOL); |
| GetViewportOrgEx(hdc.into_param().abi(), lppoint) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn GetWinMetaFileBits<P0, P1>(hemf: P0, pdata16: ::core::option::Option<&mut [u8]>, imapmode: i32, hdcref: P1) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HENHMETAFILE>, |
| P1: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetWinMetaFileBits(hemf : HENHMETAFILE, cbdata16 : u32, pdata16 : *mut u8, imapmode : i32, hdcref : HDC) -> u32); |
| GetWinMetaFileBits(hemf.into_param().abi(), pdata16.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pdata16.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), imapmode, hdcref.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetWindowDC<P0>(hwnd: P0) -> HDC |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn GetWindowDC(hwnd : super::super::Foundation:: HWND) -> HDC); |
| GetWindowDC(hwnd.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetWindowExtEx<P0>(hdc: P0, lpsize: *mut super::super::Foundation::SIZE) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetWindowExtEx(hdc : HDC, lpsize : *mut super::super::Foundation:: SIZE) -> super::super::Foundation:: BOOL); |
| GetWindowExtEx(hdc.into_param().abi(), lpsize) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetWindowOrgEx<P0>(hdc: P0, lppoint: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetWindowOrgEx(hdc : HDC, lppoint : *mut super::super::Foundation:: POINT) -> super::super::Foundation:: BOOL); |
| GetWindowOrgEx(hdc.into_param().abi(), lppoint) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetWindowRgn<P0, P1>(hwnd: P0, hrgn: P1) -> GDI_REGION_TYPE |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<HRGN>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn GetWindowRgn(hwnd : super::super::Foundation:: HWND, hrgn : HRGN) -> GDI_REGION_TYPE); |
| GetWindowRgn(hwnd.into_param().abi(), hrgn.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetWindowRgnBox<P0>(hwnd: P0, lprc: *mut super::super::Foundation::RECT) -> GDI_REGION_TYPE |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn GetWindowRgnBox(hwnd : super::super::Foundation:: HWND, lprc : *mut super::super::Foundation:: RECT) -> GDI_REGION_TYPE); |
| GetWindowRgnBox(hwnd.into_param().abi(), lprc) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetWorldTransform<P0>(hdc: P0, lpxf: *mut XFORM) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn GetWorldTransform(hdc : HDC, lpxf : *mut XFORM) -> super::super::Foundation:: BOOL); |
| GetWorldTransform(hdc.into_param().abi(), lpxf) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GradientFill<P0>(hdc: P0, pvertex: &[TRIVERTEX], pmesh: *const ::core::ffi::c_void, nmesh: u32, ulmode: GRADIENT_FILL) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("msimg32.dll" "system" fn GradientFill(hdc : HDC, pvertex : *const TRIVERTEX, nvertex : u32, pmesh : *const ::core::ffi::c_void, nmesh : u32, ulmode : GRADIENT_FILL) -> super::super::Foundation:: BOOL); |
| GradientFill(hdc.into_param().abi(), ::core::mem::transmute(pvertex.as_ptr()), pvertex.len() as _, pmesh, nmesh, ulmode) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GrayStringA<P0, P1, P2>(hdc: P0, hbrush: P1, lpoutputfunc: GRAYSTRINGPROC, lpdata: P2, ncount: i32, x: i32, y: i32, nwidth: i32, nheight: i32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HBRUSH>, |
| P2: ::windows_core::IntoParam<super::super::Foundation::LPARAM>, |
| { |
| ::windows_targets::link!("user32.dll" "system" 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); |
| GrayStringA(hdc.into_param().abi(), hbrush.into_param().abi(), lpoutputfunc, lpdata.into_param().abi(), ncount, x, y, nwidth, nheight) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GrayStringW<P0, P1, P2>(hdc: P0, hbrush: P1, lpoutputfunc: GRAYSTRINGPROC, lpdata: P2, ncount: i32, x: i32, y: i32, nwidth: i32, nheight: i32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HBRUSH>, |
| P2: ::windows_core::IntoParam<super::super::Foundation::LPARAM>, |
| { |
| ::windows_targets::link!("user32.dll" "system" 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); |
| GrayStringW(hdc.into_param().abi(), hbrush.into_param().abi(), lpoutputfunc, lpdata.into_param().abi(), ncount, x, y, nwidth, nheight) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn InflateRect(lprc: *mut super::super::Foundation::RECT, dx: i32, dy: i32) -> super::super::Foundation::BOOL { |
| ::windows_targets::link!("user32.dll" "system" fn InflateRect(lprc : *mut super::super::Foundation:: RECT, dx : i32, dy : i32) -> super::super::Foundation:: BOOL); |
| InflateRect(lprc, dx, dy) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn IntersectClipRect<P0>(hdc: P0, left: i32, top: i32, right: i32, bottom: i32) -> GDI_REGION_TYPE |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn IntersectClipRect(hdc : HDC, left : i32, top : i32, right : i32, bottom : i32) -> GDI_REGION_TYPE); |
| IntersectClipRect(hdc.into_param().abi(), left, top, right, bottom) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn IntersectRect(lprcdst: *mut super::super::Foundation::RECT, lprcsrc1: *const super::super::Foundation::RECT, lprcsrc2: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL { |
| ::windows_targets::link!("user32.dll" "system" fn IntersectRect(lprcdst : *mut super::super::Foundation:: RECT, lprcsrc1 : *const super::super::Foundation:: RECT, lprcsrc2 : *const super::super::Foundation:: RECT) -> super::super::Foundation:: BOOL); |
| IntersectRect(lprcdst, lprcsrc1, lprcsrc2) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn InvalidateRect<P0, P1>(hwnd: P0, lprect: ::core::option::Option<*const super::super::Foundation::RECT>, berase: P1) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn InvalidateRect(hwnd : super::super::Foundation:: HWND, lprect : *const super::super::Foundation:: RECT, berase : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); |
| InvalidateRect(hwnd.into_param().abi(), ::core::mem::transmute(lprect.unwrap_or(::std::ptr::null())), berase.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn InvalidateRgn<P0, P1, P2>(hwnd: P0, hrgn: P1, berase: P2) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<HRGN>, |
| P2: ::windows_core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn InvalidateRgn(hwnd : super::super::Foundation:: HWND, hrgn : HRGN, berase : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); |
| InvalidateRgn(hwnd.into_param().abi(), hrgn.into_param().abi(), berase.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn InvertRect<P0>(hdc: P0, lprc: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn InvertRect(hdc : HDC, lprc : *const super::super::Foundation:: RECT) -> super::super::Foundation:: BOOL); |
| InvertRect(hdc.into_param().abi(), lprc) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn InvertRgn<P0, P1>(hdc: P0, hrgn: P1) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HRGN>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn InvertRgn(hdc : HDC, hrgn : HRGN) -> super::super::Foundation:: BOOL); |
| InvertRgn(hdc.into_param().abi(), hrgn.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn IsRectEmpty(lprc: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL { |
| ::windows_targets::link!("user32.dll" "system" fn IsRectEmpty(lprc : *const super::super::Foundation:: RECT) -> super::super::Foundation:: BOOL); |
| IsRectEmpty(lprc) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn LPtoDP<P0>(hdc: P0, lppt: &mut [super::super::Foundation::POINT]) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn LPtoDP(hdc : HDC, lppt : *mut super::super::Foundation:: POINT, c : i32) -> super::super::Foundation:: BOOL); |
| LPtoDP(hdc.into_param().abi(), ::core::mem::transmute(lppt.as_ptr()), lppt.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn LineDDA<P0>(xstart: i32, ystart: i32, xend: i32, yend: i32, lpproc: LINEDDAPROC, data: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::LPARAM>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn LineDDA(xstart : i32, ystart : i32, xend : i32, yend : i32, lpproc : LINEDDAPROC, data : super::super::Foundation:: LPARAM) -> super::super::Foundation:: BOOL); |
| LineDDA(xstart, ystart, xend, yend, lpproc, data.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn LineTo<P0>(hdc: P0, x: i32, y: i32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn LineTo(hdc : HDC, x : i32, y : i32) -> super::super::Foundation:: BOOL); |
| LineTo(hdc.into_param().abi(), x, y) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn LoadBitmapA<P0, P1>(hinstance: P0, lpbitmapname: P1) -> HBITMAP |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HINSTANCE>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn LoadBitmapA(hinstance : super::super::Foundation:: HINSTANCE, lpbitmapname : ::windows_core::PCSTR) -> HBITMAP); |
| LoadBitmapA(hinstance.into_param().abi(), lpbitmapname.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn LoadBitmapW<P0, P1>(hinstance: P0, lpbitmapname: P1) -> HBITMAP |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HINSTANCE>, |
| P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn LoadBitmapW(hinstance : super::super::Foundation:: HINSTANCE, lpbitmapname : ::windows_core::PCWSTR) -> HBITMAP); |
| LoadBitmapW(hinstance.into_param().abi(), lpbitmapname.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn LockWindowUpdate<P0>(hwndlock: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn LockWindowUpdate(hwndlock : super::super::Foundation:: HWND) -> super::super::Foundation:: BOOL); |
| LockWindowUpdate(hwndlock.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn MapWindowPoints<P0, P1>(hwndfrom: P0, hwndto: P1, lppoints: &mut [super::super::Foundation::POINT]) -> i32 |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn MapWindowPoints(hwndfrom : super::super::Foundation:: HWND, hwndto : super::super::Foundation:: HWND, lppoints : *mut super::super::Foundation:: POINT, cpoints : u32) -> i32); |
| MapWindowPoints(hwndfrom.into_param().abi(), hwndto.into_param().abi(), ::core::mem::transmute(lppoints.as_ptr()), lppoints.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn MaskBlt<P0, P1, P2>(hdcdest: P0, xdest: i32, ydest: i32, width: i32, height: i32, hdcsrc: P1, xsrc: i32, ysrc: i32, hbmmask: P2, xmask: i32, ymask: i32, rop: u32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HDC>, |
| P2: ::windows_core::IntoParam<HBITMAP>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" 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); |
| MaskBlt(hdcdest.into_param().abi(), xdest, ydest, width, height, hdcsrc.into_param().abi(), xsrc, ysrc, hbmmask.into_param().abi(), xmask, ymask, rop) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe 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 { |
| ::windows_targets::link!("fontsub.dll" "cdecl" 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); |
| MergeFontPackage(puchmergefontbuffer, ulmergefontbuffersize, puchfontpackagebuffer, ulfontpackagebuffersize, ppuchdestbuffer, puldestbuffersize, pulbyteswritten, usmode, lpfnallocate, lpfnreallocate, lpfnfree, lpvreserved) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ModifyWorldTransform<P0>(hdc: P0, lpxf: ::core::option::Option<*const XFORM>, mode: MODIFY_WORLD_TRANSFORM_MODE) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn ModifyWorldTransform(hdc : HDC, lpxf : *const XFORM, mode : MODIFY_WORLD_TRANSFORM_MODE) -> super::super::Foundation:: BOOL); |
| ModifyWorldTransform(hdc.into_param().abi(), ::core::mem::transmute(lpxf.unwrap_or(::std::ptr::null())), mode) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn MonitorFromPoint(pt: super::super::Foundation::POINT, dwflags: MONITOR_FROM_FLAGS) -> HMONITOR { |
| ::windows_targets::link!("user32.dll" "system" fn MonitorFromPoint(pt : super::super::Foundation:: POINT, dwflags : MONITOR_FROM_FLAGS) -> HMONITOR); |
| MonitorFromPoint(::core::mem::transmute(pt), dwflags) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn MonitorFromRect(lprc: *const super::super::Foundation::RECT, dwflags: MONITOR_FROM_FLAGS) -> HMONITOR { |
| ::windows_targets::link!("user32.dll" "system" fn MonitorFromRect(lprc : *const super::super::Foundation:: RECT, dwflags : MONITOR_FROM_FLAGS) -> HMONITOR); |
| MonitorFromRect(lprc, dwflags) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn MonitorFromWindow<P0>(hwnd: P0, dwflags: MONITOR_FROM_FLAGS) -> HMONITOR |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn MonitorFromWindow(hwnd : super::super::Foundation:: HWND, dwflags : MONITOR_FROM_FLAGS) -> HMONITOR); |
| MonitorFromWindow(hwnd.into_param().abi(), dwflags) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn MoveToEx<P0>(hdc: P0, x: i32, y: i32, lppt: ::core::option::Option<*mut super::super::Foundation::POINT>) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn MoveToEx(hdc : HDC, x : i32, y : i32, lppt : *mut super::super::Foundation:: POINT) -> super::super::Foundation:: BOOL); |
| MoveToEx(hdc.into_param().abi(), x, y, ::core::mem::transmute(lppt.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn OffsetClipRgn<P0>(hdc: P0, x: i32, y: i32) -> GDI_REGION_TYPE |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn OffsetClipRgn(hdc : HDC, x : i32, y : i32) -> GDI_REGION_TYPE); |
| OffsetClipRgn(hdc.into_param().abi(), x, y) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn OffsetRect(lprc: *mut super::super::Foundation::RECT, dx: i32, dy: i32) -> super::super::Foundation::BOOL { |
| ::windows_targets::link!("user32.dll" "system" fn OffsetRect(lprc : *mut super::super::Foundation:: RECT, dx : i32, dy : i32) -> super::super::Foundation:: BOOL); |
| OffsetRect(lprc, dx, dy) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn OffsetRgn<P0>(hrgn: P0, x: i32, y: i32) -> GDI_REGION_TYPE |
| where |
| P0: ::windows_core::IntoParam<HRGN>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn OffsetRgn(hrgn : HRGN, x : i32, y : i32) -> GDI_REGION_TYPE); |
| OffsetRgn(hrgn.into_param().abi(), x, y) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn OffsetViewportOrgEx<P0>(hdc: P0, x: i32, y: i32, lppt: ::core::option::Option<*mut super::super::Foundation::POINT>) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn OffsetViewportOrgEx(hdc : HDC, x : i32, y : i32, lppt : *mut super::super::Foundation:: POINT) -> super::super::Foundation:: BOOL); |
| OffsetViewportOrgEx(hdc.into_param().abi(), x, y, ::core::mem::transmute(lppt.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn OffsetWindowOrgEx<P0>(hdc: P0, x: i32, y: i32, lppt: ::core::option::Option<*mut super::super::Foundation::POINT>) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn OffsetWindowOrgEx(hdc : HDC, x : i32, y : i32, lppt : *mut super::super::Foundation:: POINT) -> super::super::Foundation:: BOOL); |
| OffsetWindowOrgEx(hdc.into_param().abi(), x, y, ::core::mem::transmute(lppt.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn PaintDesktop<P0>(hdc: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn PaintDesktop(hdc : HDC) -> super::super::Foundation:: BOOL); |
| PaintDesktop(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn PaintRgn<P0, P1>(hdc: P0, hrgn: P1) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HRGN>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn PaintRgn(hdc : HDC, hrgn : HRGN) -> super::super::Foundation:: BOOL); |
| PaintRgn(hdc.into_param().abi(), hrgn.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn PatBlt<P0>(hdc: P0, x: i32, y: i32, w: i32, h: i32, rop: ROP_CODE) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn PatBlt(hdc : HDC, x : i32, y : i32, w : i32, h : i32, rop : ROP_CODE) -> super::super::Foundation:: BOOL); |
| PatBlt(hdc.into_param().abi(), x, y, w, h, rop) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn PathToRegion<P0>(hdc: P0) -> HRGN |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn PathToRegion(hdc : HDC) -> HRGN); |
| PathToRegion(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn Pie<P0>(hdc: P0, left: i32, top: i32, right: i32, bottom: i32, xr1: i32, yr1: i32, xr2: i32, yr2: i32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn Pie(hdc : HDC, left : i32, top : i32, right : i32, bottom : i32, xr1 : i32, yr1 : i32, xr2 : i32, yr2 : i32) -> super::super::Foundation:: BOOL); |
| Pie(hdc.into_param().abi(), left, top, right, bottom, xr1, yr1, xr2, yr2) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn PlayEnhMetaFile<P0, P1>(hdc: P0, hmf: P1, lprect: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HENHMETAFILE>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn PlayEnhMetaFile(hdc : HDC, hmf : HENHMETAFILE, lprect : *const super::super::Foundation:: RECT) -> super::super::Foundation:: BOOL); |
| PlayEnhMetaFile(hdc.into_param().abi(), hmf.into_param().abi(), lprect) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn PlayEnhMetaFileRecord<P0>(hdc: P0, pht: &[HANDLETABLE], pmr: *const ENHMETARECORD) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn PlayEnhMetaFileRecord(hdc : HDC, pht : *const HANDLETABLE, pmr : *const ENHMETARECORD, cht : u32) -> super::super::Foundation:: BOOL); |
| PlayEnhMetaFileRecord(hdc.into_param().abi(), ::core::mem::transmute(pht.as_ptr()), pmr, pht.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn PlayMetaFile<P0, P1>(hdc: P0, hmf: P1) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HMETAFILE>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn PlayMetaFile(hdc : HDC, hmf : HMETAFILE) -> super::super::Foundation:: BOOL); |
| PlayMetaFile(hdc.into_param().abi(), hmf.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn PlayMetaFileRecord<P0>(hdc: P0, lphandletable: &[HANDLETABLE], lpmr: *const METARECORD) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn PlayMetaFileRecord(hdc : HDC, lphandletable : *const HANDLETABLE, lpmr : *const METARECORD, noobjs : u32) -> super::super::Foundation:: BOOL); |
| PlayMetaFileRecord(hdc.into_param().abi(), ::core::mem::transmute(lphandletable.as_ptr()), lpmr, lphandletable.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn PlgBlt<P0, P1, P2>(hdcdest: P0, lppoint: &[super::super::Foundation::POINT; 3], hdcsrc: P1, xsrc: i32, ysrc: i32, width: i32, height: i32, hbmmask: P2, xmask: i32, ymask: i32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HDC>, |
| P2: ::windows_core::IntoParam<HBITMAP>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" 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); |
| PlgBlt(hdcdest.into_param().abi(), ::core::mem::transmute(lppoint.as_ptr()), hdcsrc.into_param().abi(), xsrc, ysrc, width, height, hbmmask.into_param().abi(), xmask, ymask) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn PolyBezier<P0>(hdc: P0, apt: &[super::super::Foundation::POINT]) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn PolyBezier(hdc : HDC, apt : *const super::super::Foundation:: POINT, cpt : u32) -> super::super::Foundation:: BOOL); |
| PolyBezier(hdc.into_param().abi(), ::core::mem::transmute(apt.as_ptr()), apt.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn PolyBezierTo<P0>(hdc: P0, apt: &[super::super::Foundation::POINT]) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn PolyBezierTo(hdc : HDC, apt : *const super::super::Foundation:: POINT, cpt : u32) -> super::super::Foundation:: BOOL); |
| PolyBezierTo(hdc.into_param().abi(), ::core::mem::transmute(apt.as_ptr()), apt.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn PolyDraw<P0>(hdc: P0, apt: *const super::super::Foundation::POINT, aj: *const u8, cpt: i32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn PolyDraw(hdc : HDC, apt : *const super::super::Foundation:: POINT, aj : *const u8, cpt : i32) -> super::super::Foundation:: BOOL); |
| PolyDraw(hdc.into_param().abi(), apt, aj, cpt) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn PolyPolygon<P0>(hdc: P0, apt: *const super::super::Foundation::POINT, asz: &[i32]) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn PolyPolygon(hdc : HDC, apt : *const super::super::Foundation:: POINT, asz : *const i32, csz : i32) -> super::super::Foundation:: BOOL); |
| PolyPolygon(hdc.into_param().abi(), apt, ::core::mem::transmute(asz.as_ptr()), asz.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn PolyPolyline<P0>(hdc: P0, apt: *const super::super::Foundation::POINT, asz: &[u32]) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn PolyPolyline(hdc : HDC, apt : *const super::super::Foundation:: POINT, asz : *const u32, csz : u32) -> super::super::Foundation:: BOOL); |
| PolyPolyline(hdc.into_param().abi(), apt, ::core::mem::transmute(asz.as_ptr()), asz.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn PolyTextOutA<P0>(hdc: P0, ppt: &[POLYTEXTA]) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn PolyTextOutA(hdc : HDC, ppt : *const POLYTEXTA, nstrings : i32) -> super::super::Foundation:: BOOL); |
| PolyTextOutA(hdc.into_param().abi(), ::core::mem::transmute(ppt.as_ptr()), ppt.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn PolyTextOutW<P0>(hdc: P0, ppt: &[POLYTEXTW]) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn PolyTextOutW(hdc : HDC, ppt : *const POLYTEXTW, nstrings : i32) -> super::super::Foundation:: BOOL); |
| PolyTextOutW(hdc.into_param().abi(), ::core::mem::transmute(ppt.as_ptr()), ppt.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn Polygon<P0>(hdc: P0, apt: &[super::super::Foundation::POINT]) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn Polygon(hdc : HDC, apt : *const super::super::Foundation:: POINT, cpt : i32) -> super::super::Foundation:: BOOL); |
| Polygon(hdc.into_param().abi(), ::core::mem::transmute(apt.as_ptr()), apt.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn Polyline<P0>(hdc: P0, apt: &[super::super::Foundation::POINT]) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn Polyline(hdc : HDC, apt : *const super::super::Foundation:: POINT, cpt : i32) -> super::super::Foundation:: BOOL); |
| Polyline(hdc.into_param().abi(), ::core::mem::transmute(apt.as_ptr()), apt.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn PolylineTo<P0>(hdc: P0, apt: &[super::super::Foundation::POINT]) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn PolylineTo(hdc : HDC, apt : *const super::super::Foundation:: POINT, cpt : u32) -> super::super::Foundation:: BOOL); |
| PolylineTo(hdc.into_param().abi(), ::core::mem::transmute(apt.as_ptr()), apt.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn PtInRect(lprc: *const super::super::Foundation::RECT, pt: super::super::Foundation::POINT) -> super::super::Foundation::BOOL { |
| ::windows_targets::link!("user32.dll" "system" fn PtInRect(lprc : *const super::super::Foundation:: RECT, pt : super::super::Foundation:: POINT) -> super::super::Foundation:: BOOL); |
| PtInRect(lprc, ::core::mem::transmute(pt)) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn PtInRegion<P0>(hrgn: P0, x: i32, y: i32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HRGN>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn PtInRegion(hrgn : HRGN, x : i32, y : i32) -> super::super::Foundation:: BOOL); |
| PtInRegion(hrgn.into_param().abi(), x, y) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn PtVisible<P0>(hdc: P0, x: i32, y: i32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn PtVisible(hdc : HDC, x : i32, y : i32) -> super::super::Foundation:: BOOL); |
| PtVisible(hdc.into_param().abi(), x, y) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn RealizePalette<P0>(hdc: P0) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn RealizePalette(hdc : HDC) -> u32); |
| RealizePalette(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn RectInRegion<P0>(hrgn: P0, lprect: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HRGN>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn RectInRegion(hrgn : HRGN, lprect : *const super::super::Foundation:: RECT) -> super::super::Foundation:: BOOL); |
| RectInRegion(hrgn.into_param().abi(), lprect) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn RectVisible<P0>(hdc: P0, lprect: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn RectVisible(hdc : HDC, lprect : *const super::super::Foundation:: RECT) -> super::super::Foundation:: BOOL); |
| RectVisible(hdc.into_param().abi(), lprect) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn Rectangle<P0>(hdc: P0, left: i32, top: i32, right: i32, bottom: i32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn Rectangle(hdc : HDC, left : i32, top : i32, right : i32, bottom : i32) -> super::super::Foundation:: BOOL); |
| Rectangle(hdc.into_param().abi(), left, top, right, bottom) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn RedrawWindow<P0, P1>(hwnd: P0, lprcupdate: ::core::option::Option<*const super::super::Foundation::RECT>, hrgnupdate: P1, flags: REDRAW_WINDOW_FLAGS) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<HRGN>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn RedrawWindow(hwnd : super::super::Foundation:: HWND, lprcupdate : *const super::super::Foundation:: RECT, hrgnupdate : HRGN, flags : REDRAW_WINDOW_FLAGS) -> super::super::Foundation:: BOOL); |
| RedrawWindow(hwnd.into_param().abi(), ::core::mem::transmute(lprcupdate.unwrap_or(::std::ptr::null())), hrgnupdate.into_param().abi(), flags) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ReleaseDC<P0, P1>(hwnd: P0, hdc: P1) -> i32 |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn ReleaseDC(hwnd : super::super::Foundation:: HWND, hdc : HDC) -> i32); |
| ReleaseDC(hwnd.into_param().abi(), hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn RemoveFontMemResourceEx<P0>(h: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HANDLE>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn RemoveFontMemResourceEx(h : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); |
| RemoveFontMemResourceEx(h.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn RemoveFontResourceA<P0>(lpfilename: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn RemoveFontResourceA(lpfilename : ::windows_core::PCSTR) -> super::super::Foundation:: BOOL); |
| RemoveFontResourceA(lpfilename.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn RemoveFontResourceExA<P0>(name: P0, fl: u32, pdv: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn RemoveFontResourceExA(name : ::windows_core::PCSTR, fl : u32, pdv : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| RemoveFontResourceExA(name.into_param().abi(), fl, ::core::mem::transmute(pdv.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn RemoveFontResourceExW<P0>(name: P0, fl: u32, pdv: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn RemoveFontResourceExW(name : ::windows_core::PCWSTR, fl : u32, pdv : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); |
| RemoveFontResourceExW(name.into_param().abi(), fl, ::core::mem::transmute(pdv.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn RemoveFontResourceW<P0>(lpfilename: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn RemoveFontResourceW(lpfilename : ::windows_core::PCWSTR) -> super::super::Foundation:: BOOL); |
| RemoveFontResourceW(lpfilename.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ResetDCA<P0>(hdc: P0, lpdm: *const DEVMODEA) -> HDC |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn ResetDCA(hdc : HDC, lpdm : *const DEVMODEA) -> HDC); |
| ResetDCA(hdc.into_param().abi(), lpdm) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ResetDCW<P0>(hdc: P0, lpdm: *const DEVMODEW) -> HDC |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn ResetDCW(hdc : HDC, lpdm : *const DEVMODEW) -> HDC); |
| ResetDCW(hdc.into_param().abi(), lpdm) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ResizePalette<P0>(hpal: P0, n: u32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HPALETTE>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn ResizePalette(hpal : HPALETTE, n : u32) -> super::super::Foundation:: BOOL); |
| ResizePalette(hpal.into_param().abi(), n) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn RestoreDC<P0>(hdc: P0, nsaveddc: i32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn RestoreDC(hdc : HDC, nsaveddc : i32) -> super::super::Foundation:: BOOL); |
| RestoreDC(hdc.into_param().abi(), nsaveddc) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn RoundRect<P0>(hdc: P0, left: i32, top: i32, right: i32, bottom: i32, width: i32, height: i32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn RoundRect(hdc : HDC, left : i32, top : i32, right : i32, bottom : i32, width : i32, height : i32) -> super::super::Foundation:: BOOL); |
| RoundRect(hdc.into_param().abi(), left, top, right, bottom, width, height) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn SaveDC<P0>(hdc: P0) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SaveDC(hdc : HDC) -> i32); |
| SaveDC(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ScaleViewportExtEx<P0>(hdc: P0, xn: i32, dx: i32, yn: i32, yd: i32, lpsz: ::core::option::Option<*mut super::super::Foundation::SIZE>) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn ScaleViewportExtEx(hdc : HDC, xn : i32, dx : i32, yn : i32, yd : i32, lpsz : *mut super::super::Foundation:: SIZE) -> super::super::Foundation:: BOOL); |
| ScaleViewportExtEx(hdc.into_param().abi(), xn, dx, yn, yd, ::core::mem::transmute(lpsz.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ScaleWindowExtEx<P0>(hdc: P0, xn: i32, xd: i32, yn: i32, yd: i32, lpsz: ::core::option::Option<*mut super::super::Foundation::SIZE>) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn ScaleWindowExtEx(hdc : HDC, xn : i32, xd : i32, yn : i32, yd : i32, lpsz : *mut super::super::Foundation:: SIZE) -> super::super::Foundation:: BOOL); |
| ScaleWindowExtEx(hdc.into_param().abi(), xn, xd, yn, yd, ::core::mem::transmute(lpsz.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ScreenToClient<P0>(hwnd: P0, lppoint: *mut super::super::Foundation::POINT) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn ScreenToClient(hwnd : super::super::Foundation:: HWND, lppoint : *mut super::super::Foundation:: POINT) -> super::super::Foundation:: BOOL); |
| ScreenToClient(hwnd.into_param().abi(), lppoint) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SelectClipPath<P0>(hdc: P0, mode: RGN_COMBINE_MODE) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SelectClipPath(hdc : HDC, mode : RGN_COMBINE_MODE) -> super::super::Foundation:: BOOL); |
| SelectClipPath(hdc.into_param().abi(), mode) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn SelectClipRgn<P0, P1>(hdc: P0, hrgn: P1) -> GDI_REGION_TYPE |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HRGN>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SelectClipRgn(hdc : HDC, hrgn : HRGN) -> GDI_REGION_TYPE); |
| SelectClipRgn(hdc.into_param().abi(), hrgn.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn SelectObject<P0, P1>(hdc: P0, h: P1) -> HGDIOBJ |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HGDIOBJ>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SelectObject(hdc : HDC, h : HGDIOBJ) -> HGDIOBJ); |
| SelectObject(hdc.into_param().abi(), h.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SelectPalette<P0, P1, P2>(hdc: P0, hpal: P1, bforcebkgd: P2) -> HPALETTE |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HPALETTE>, |
| P2: ::windows_core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SelectPalette(hdc : HDC, hpal : HPALETTE, bforcebkgd : super::super::Foundation:: BOOL) -> HPALETTE); |
| SelectPalette(hdc.into_param().abi(), hpal.into_param().abi(), bforcebkgd.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn SetArcDirection<P0>(hdc: P0, dir: ARC_DIRECTION) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetArcDirection(hdc : HDC, dir : ARC_DIRECTION) -> i32); |
| SetArcDirection(hdc.into_param().abi(), dir) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn SetBitmapBits<P0>(hbm: P0, cb: u32, pvbits: *const ::core::ffi::c_void) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HBITMAP>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetBitmapBits(hbm : HBITMAP, cb : u32, pvbits : *const ::core::ffi::c_void) -> i32); |
| SetBitmapBits(hbm.into_param().abi(), cb, pvbits) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetBitmapDimensionEx<P0>(hbm: P0, w: i32, h: i32, lpsz: ::core::option::Option<*mut super::super::Foundation::SIZE>) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HBITMAP>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetBitmapDimensionEx(hbm : HBITMAP, w : i32, h : i32, lpsz : *mut super::super::Foundation:: SIZE) -> super::super::Foundation:: BOOL); |
| SetBitmapDimensionEx(hbm.into_param().abi(), w, h, ::core::mem::transmute(lpsz.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetBkColor<P0, P1>(hdc: P0, color: P1) -> super::super::Foundation::COLORREF |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::COLORREF>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetBkColor(hdc : HDC, color : super::super::Foundation:: COLORREF) -> super::super::Foundation:: COLORREF); |
| SetBkColor(hdc.into_param().abi(), color.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn SetBkMode<P0>(hdc: P0, mode: BACKGROUND_MODE) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetBkMode(hdc : HDC, mode : i32) -> i32); |
| SetBkMode(hdc.into_param().abi(), mode.0 as _) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetBoundsRect<P0>(hdc: P0, lprect: ::core::option::Option<*const super::super::Foundation::RECT>, flags: SET_BOUNDS_RECT_FLAGS) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetBoundsRect(hdc : HDC, lprect : *const super::super::Foundation:: RECT, flags : SET_BOUNDS_RECT_FLAGS) -> u32); |
| SetBoundsRect(hdc.into_param().abi(), ::core::mem::transmute(lprect.unwrap_or(::std::ptr::null())), flags) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetBrushOrgEx<P0>(hdc: P0, x: i32, y: i32, lppt: ::core::option::Option<*mut super::super::Foundation::POINT>) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetBrushOrgEx(hdc : HDC, x : i32, y : i32, lppt : *mut super::super::Foundation:: POINT) -> super::super::Foundation:: BOOL); |
| SetBrushOrgEx(hdc.into_param().abi(), x, y, ::core::mem::transmute(lppt.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetColorAdjustment<P0>(hdc: P0, lpca: *const COLORADJUSTMENT) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetColorAdjustment(hdc : HDC, lpca : *const COLORADJUSTMENT) -> super::super::Foundation:: BOOL); |
| SetColorAdjustment(hdc.into_param().abi(), lpca) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetDCBrushColor<P0, P1>(hdc: P0, color: P1) -> super::super::Foundation::COLORREF |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::COLORREF>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetDCBrushColor(hdc : HDC, color : super::super::Foundation:: COLORREF) -> super::super::Foundation:: COLORREF); |
| SetDCBrushColor(hdc.into_param().abi(), color.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetDCPenColor<P0, P1>(hdc: P0, color: P1) -> super::super::Foundation::COLORREF |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::COLORREF>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetDCPenColor(hdc : HDC, color : super::super::Foundation:: COLORREF) -> super::super::Foundation:: COLORREF); |
| SetDCPenColor(hdc.into_param().abi(), color.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn SetDIBColorTable<P0>(hdc: P0, istart: u32, prgbq: &[RGBQUAD]) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetDIBColorTable(hdc : HDC, istart : u32, centries : u32, prgbq : *const RGBQUAD) -> u32); |
| SetDIBColorTable(hdc.into_param().abi(), istart, prgbq.len() as _, ::core::mem::transmute(prgbq.as_ptr())) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn SetDIBits<P0, P1>(hdc: P0, hbm: P1, start: u32, clines: u32, lpbits: *const ::core::ffi::c_void, lpbmi: *const BITMAPINFO, coloruse: DIB_USAGE) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HBITMAP>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetDIBits(hdc : HDC, hbm : HBITMAP, start : u32, clines : u32, lpbits : *const ::core::ffi::c_void, lpbmi : *const BITMAPINFO, coloruse : DIB_USAGE) -> i32); |
| SetDIBits(hdc.into_param().abi(), hbm.into_param().abi(), start, clines, lpbits, lpbmi, coloruse) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn SetDIBitsToDevice<P0>(hdc: P0, 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 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" 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); |
| SetDIBitsToDevice(hdc.into_param().abi(), xdest, ydest, w, h, xsrc, ysrc, startscan, clines, lpvbits, lpbmi, coloruse) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn SetEnhMetaFileBits(pb: &[u8]) -> HENHMETAFILE { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetEnhMetaFileBits(nsize : u32, pb : *const u8) -> HENHMETAFILE); |
| SetEnhMetaFileBits(pb.len() as _, ::core::mem::transmute(pb.as_ptr())) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn SetGraphicsMode<P0>(hdc: P0, imode: GRAPHICS_MODE) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetGraphicsMode(hdc : HDC, imode : GRAPHICS_MODE) -> i32); |
| SetGraphicsMode(hdc.into_param().abi(), imode) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn SetLayout<P0>(hdc: P0, l: DC_LAYOUT) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetLayout(hdc : HDC, l : DC_LAYOUT) -> u32); |
| SetLayout(hdc.into_param().abi(), l) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn SetMapMode<P0>(hdc: P0, imode: HDC_MAP_MODE) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetMapMode(hdc : HDC, imode : HDC_MAP_MODE) -> i32); |
| SetMapMode(hdc.into_param().abi(), imode) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn SetMapperFlags<P0>(hdc: P0, flags: u32) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetMapperFlags(hdc : HDC, flags : u32) -> u32); |
| SetMapperFlags(hdc.into_param().abi(), flags) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn SetMetaFileBitsEx(lpdata: &[u8]) -> HMETAFILE { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetMetaFileBitsEx(cbbuffer : u32, lpdata : *const u8) -> HMETAFILE); |
| SetMetaFileBitsEx(lpdata.len() as _, ::core::mem::transmute(lpdata.as_ptr())) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn SetMetaRgn<P0>(hdc: P0) -> GDI_REGION_TYPE |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetMetaRgn(hdc : HDC) -> GDI_REGION_TYPE); |
| SetMetaRgn(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetMiterLimit<P0>(hdc: P0, limit: f32, old: ::core::option::Option<*mut f32>) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetMiterLimit(hdc : HDC, limit : f32, old : *mut f32) -> super::super::Foundation:: BOOL); |
| SetMiterLimit(hdc.into_param().abi(), limit, ::core::mem::transmute(old.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn SetPaletteEntries<P0>(hpal: P0, istart: u32, ppalentries: &[PALETTEENTRY]) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HPALETTE>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetPaletteEntries(hpal : HPALETTE, istart : u32, centries : u32, ppalentries : *const PALETTEENTRY) -> u32); |
| SetPaletteEntries(hpal.into_param().abi(), istart, ppalentries.len() as _, ::core::mem::transmute(ppalentries.as_ptr())) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetPixel<P0, P1>(hdc: P0, x: i32, y: i32, color: P1) -> super::super::Foundation::COLORREF |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::COLORREF>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetPixel(hdc : HDC, x : i32, y : i32, color : super::super::Foundation:: COLORREF) -> super::super::Foundation:: COLORREF); |
| SetPixel(hdc.into_param().abi(), x, y, color.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetPixelV<P0, P1>(hdc: P0, x: i32, y: i32, color: P1) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::COLORREF>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetPixelV(hdc : HDC, x : i32, y : i32, color : super::super::Foundation:: COLORREF) -> super::super::Foundation:: BOOL); |
| SetPixelV(hdc.into_param().abi(), x, y, color.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn SetPolyFillMode<P0>(hdc: P0, mode: CREATE_POLYGON_RGN_MODE) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetPolyFillMode(hdc : HDC, mode : CREATE_POLYGON_RGN_MODE) -> i32); |
| SetPolyFillMode(hdc.into_param().abi(), mode) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn SetROP2<P0>(hdc: P0, rop2: R2_MODE) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetROP2(hdc : HDC, rop2 : R2_MODE) -> i32); |
| SetROP2(hdc.into_param().abi(), rop2) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetRect(lprc: *mut super::super::Foundation::RECT, xleft: i32, ytop: i32, xright: i32, ybottom: i32) -> super::super::Foundation::BOOL { |
| ::windows_targets::link!("user32.dll" "system" fn SetRect(lprc : *mut super::super::Foundation:: RECT, xleft : i32, ytop : i32, xright : i32, ybottom : i32) -> super::super::Foundation:: BOOL); |
| SetRect(lprc, xleft, ytop, xright, ybottom) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetRectEmpty(lprc: *mut super::super::Foundation::RECT) -> super::super::Foundation::BOOL { |
| ::windows_targets::link!("user32.dll" "system" fn SetRectEmpty(lprc : *mut super::super::Foundation:: RECT) -> super::super::Foundation:: BOOL); |
| SetRectEmpty(lprc) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetRectRgn<P0>(hrgn: P0, left: i32, top: i32, right: i32, bottom: i32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HRGN>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetRectRgn(hrgn : HRGN, left : i32, top : i32, right : i32, bottom : i32) -> super::super::Foundation:: BOOL); |
| SetRectRgn(hrgn.into_param().abi(), left, top, right, bottom) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn SetStretchBltMode<P0>(hdc: P0, mode: STRETCH_BLT_MODE) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetStretchBltMode(hdc : HDC, mode : STRETCH_BLT_MODE) -> i32); |
| SetStretchBltMode(hdc.into_param().abi(), mode) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetSysColors(celements: i32, lpaelements: *const i32, lpargbvalues: *const super::super::Foundation::COLORREF) -> ::windows_core::Result<()> { |
| ::windows_targets::link!("user32.dll" "system" fn SetSysColors(celements : i32, lpaelements : *const i32, lpargbvalues : *const super::super::Foundation:: COLORREF) -> super::super::Foundation:: BOOL); |
| SetSysColors(celements, lpaelements, lpargbvalues).ok() |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn SetSystemPaletteUse<P0>(hdc: P0, r#use: SYSTEM_PALETTE_USE) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetSystemPaletteUse(hdc : HDC, r#use : SYSTEM_PALETTE_USE) -> u32); |
| SetSystemPaletteUse(hdc.into_param().abi(), r#use) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn SetTextAlign<P0>(hdc: P0, align: TEXT_ALIGN_OPTIONS) -> u32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetTextAlign(hdc : HDC, align : TEXT_ALIGN_OPTIONS) -> u32); |
| SetTextAlign(hdc.into_param().abi(), align) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn SetTextCharacterExtra<P0>(hdc: P0, extra: i32) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetTextCharacterExtra(hdc : HDC, extra : i32) -> i32); |
| SetTextCharacterExtra(hdc.into_param().abi(), extra) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetTextColor<P0, P1>(hdc: P0, color: P1) -> super::super::Foundation::COLORREF |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::COLORREF>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetTextColor(hdc : HDC, color : super::super::Foundation:: COLORREF) -> super::super::Foundation:: COLORREF); |
| SetTextColor(hdc.into_param().abi(), color.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetTextJustification<P0>(hdc: P0, extra: i32, count: i32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetTextJustification(hdc : HDC, extra : i32, count : i32) -> super::super::Foundation:: BOOL); |
| SetTextJustification(hdc.into_param().abi(), extra, count) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetViewportExtEx<P0>(hdc: P0, x: i32, y: i32, lpsz: ::core::option::Option<*mut super::super::Foundation::SIZE>) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetViewportExtEx(hdc : HDC, x : i32, y : i32, lpsz : *mut super::super::Foundation:: SIZE) -> super::super::Foundation:: BOOL); |
| SetViewportExtEx(hdc.into_param().abi(), x, y, ::core::mem::transmute(lpsz.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetViewportOrgEx<P0>(hdc: P0, x: i32, y: i32, lppt: ::core::option::Option<*mut super::super::Foundation::POINT>) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetViewportOrgEx(hdc : HDC, x : i32, y : i32, lppt : *mut super::super::Foundation:: POINT) -> super::super::Foundation:: BOOL); |
| SetViewportOrgEx(hdc.into_param().abi(), x, y, ::core::mem::transmute(lppt.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetWindowExtEx<P0>(hdc: P0, x: i32, y: i32, lpsz: ::core::option::Option<*mut super::super::Foundation::SIZE>) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetWindowExtEx(hdc : HDC, x : i32, y : i32, lpsz : *mut super::super::Foundation:: SIZE) -> super::super::Foundation:: BOOL); |
| SetWindowExtEx(hdc.into_param().abi(), x, y, ::core::mem::transmute(lpsz.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetWindowOrgEx<P0>(hdc: P0, x: i32, y: i32, lppt: ::core::option::Option<*mut super::super::Foundation::POINT>) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetWindowOrgEx(hdc : HDC, x : i32, y : i32, lppt : *mut super::super::Foundation:: POINT) -> super::super::Foundation:: BOOL); |
| SetWindowOrgEx(hdc.into_param().abi(), x, y, ::core::mem::transmute(lppt.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetWindowRgn<P0, P1, P2>(hwnd: P0, hrgn: P1, bredraw: P2) -> i32 |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<HRGN>, |
| P2: ::windows_core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn SetWindowRgn(hwnd : super::super::Foundation:: HWND, hrgn : HRGN, bredraw : super::super::Foundation:: BOOL) -> i32); |
| SetWindowRgn(hwnd.into_param().abi(), hrgn.into_param().abi(), bredraw.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetWorldTransform<P0>(hdc: P0, lpxf: *const XFORM) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn SetWorldTransform(hdc : HDC, lpxf : *const XFORM) -> super::super::Foundation:: BOOL); |
| SetWorldTransform(hdc.into_param().abi(), lpxf) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn StretchBlt<P0, P1>(hdcdest: P0, xdest: i32, ydest: i32, wdest: i32, hdest: i32, hdcsrc: P1, xsrc: i32, ysrc: i32, wsrc: i32, hsrc: i32, rop: ROP_CODE) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" 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); |
| StretchBlt(hdcdest.into_param().abi(), xdest, ydest, wdest, hdest, hdcsrc.into_param().abi(), xsrc, ysrc, wsrc, hsrc, rop) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn StretchDIBits<P0>(hdc: P0, xdest: i32, ydest: i32, destwidth: i32, destheight: i32, xsrc: i32, ysrc: i32, srcwidth: i32, srcheight: i32, lpbits: ::core::option::Option<*const ::core::ffi::c_void>, lpbmi: *const BITMAPINFO, iusage: DIB_USAGE, rop: ROP_CODE) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" 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); |
| StretchDIBits(hdc.into_param().abi(), xdest, ydest, destwidth, destheight, xsrc, ysrc, srcwidth, srcheight, ::core::mem::transmute(lpbits.unwrap_or(::std::ptr::null())), lpbmi, iusage, rop) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn StrokeAndFillPath<P0>(hdc: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn StrokeAndFillPath(hdc : HDC) -> super::super::Foundation:: BOOL); |
| StrokeAndFillPath(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn StrokePath<P0>(hdc: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn StrokePath(hdc : HDC) -> super::super::Foundation:: BOOL); |
| StrokePath(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SubtractRect(lprcdst: *mut super::super::Foundation::RECT, lprcsrc1: *const super::super::Foundation::RECT, lprcsrc2: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL { |
| ::windows_targets::link!("user32.dll" "system" fn SubtractRect(lprcdst : *mut super::super::Foundation:: RECT, lprcsrc1 : *const super::super::Foundation:: RECT, lprcsrc2 : *const super::super::Foundation:: RECT) -> super::super::Foundation:: BOOL); |
| SubtractRect(lprcdst, lprcsrc1, lprcsrc2) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn TTCharToUnicode<P0>(hdc: P0, puccharcodes: &[u8], pusshortcodes: &mut [u16], ulflags: u32) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("t2embed.dll" "system" fn TTCharToUnicode(hdc : HDC, puccharcodes : *const u8, ulcharcodesize : u32, pusshortcodes : *mut u16, ulshortcodesize : u32, ulflags : u32) -> i32); |
| TTCharToUnicode(hdc.into_param().abi(), ::core::mem::transmute(puccharcodes.as_ptr()), puccharcodes.len() as _, ::core::mem::transmute(pusshortcodes.as_ptr()), pusshortcodes.len() as _, ulflags) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn TTDeleteEmbeddedFont<P0>(hfontreference: P0, ulflags: u32, pulstatus: *mut u32) -> i32 |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HANDLE>, |
| { |
| ::windows_targets::link!("t2embed.dll" "system" fn TTDeleteEmbeddedFont(hfontreference : super::super::Foundation:: HANDLE, ulflags : u32, pulstatus : *mut u32) -> i32); |
| TTDeleteEmbeddedFont(hfontreference.into_param().abi(), ulflags, pulstatus) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn TTEmbedFont<P0>(hdc: P0, 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: &[u16], uslanguage: u16, pttembedinfo: ::core::option::Option<*const TTEMBEDINFO>) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("t2embed.dll" "system" 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); |
| TTEmbedFont(hdc.into_param().abi(), ulflags, ulcharset, pulprivstatus, pulstatus, lpfnwritetostream, lpvwritestream, ::core::mem::transmute(puscharcodeset.as_ptr()), puscharcodeset.len() as _, uslanguage, ::core::mem::transmute(pttembedinfo.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn TTEmbedFontEx<P0>(hdc: P0, 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: &[u32], uslanguage: u16, pttembedinfo: ::core::option::Option<*const TTEMBEDINFO>) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("t2embed.dll" "system" 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); |
| TTEmbedFontEx(hdc.into_param().abi(), ulflags, ulcharset, pulprivstatus, pulstatus, lpfnwritetostream, lpvwritestream, ::core::mem::transmute(pulcharcodeset.as_ptr()), pulcharcodeset.len() as _, uslanguage, ::core::mem::transmute(pttembedinfo.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn TTEmbedFontFromFileA<P0, P1>(hdc: P0, szfontfilename: P1, 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: &[u16], uslanguage: u16, pttembedinfo: ::core::option::Option<*const TTEMBEDINFO>) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("t2embed.dll" "system" fn TTEmbedFontFromFileA(hdc : HDC, szfontfilename : ::windows_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); |
| TTEmbedFontFromFileA(hdc.into_param().abi(), szfontfilename.into_param().abi(), usttcindex, ulflags, ulcharset, pulprivstatus, pulstatus, lpfnwritetostream, lpvwritestream, ::core::mem::transmute(puscharcodeset.as_ptr()), puscharcodeset.len() as _, uslanguage, ::core::mem::transmute(pttembedinfo.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn TTEnableEmbeddingForFacename<P0, P1>(lpszfacename: P0, benable: P1) -> i32 |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| P1: ::windows_core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows_targets::link!("t2embed.dll" "system" fn TTEnableEmbeddingForFacename(lpszfacename : ::windows_core::PCSTR, benable : super::super::Foundation:: BOOL) -> i32); |
| TTEnableEmbeddingForFacename(lpszfacename.into_param().abi(), benable.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn TTGetEmbeddedFontInfo(ulflags: TTEMBED_FLAGS, pulprivstatus: *mut u32, ulprivs: FONT_LICENSE_PRIVS, pulstatus: *mut u32, lpfnreadfromstream: READEMBEDPROC, lpvreadstream: *const ::core::ffi::c_void, pttloadinfo: ::core::option::Option<*const TTLOADINFO>) -> i32 { |
| ::windows_targets::link!("t2embed.dll" "system" 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); |
| TTGetEmbeddedFontInfo(ulflags, pulprivstatus, ulprivs, pulstatus, lpfnreadfromstream, lpvreadstream, ::core::mem::transmute(pttloadinfo.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn TTGetEmbeddingType<P0>(hdc: P0, pulembedtype: *mut EMBEDDED_FONT_PRIV_STATUS) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("t2embed.dll" "system" fn TTGetEmbeddingType(hdc : HDC, pulembedtype : *mut EMBEDDED_FONT_PRIV_STATUS) -> i32); |
| TTGetEmbeddingType(hdc.into_param().abi(), pulembedtype) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn TTGetNewFontName(phfontreference: *const super::super::Foundation::HANDLE, wzwinfamilyname: &mut [u16], szmacfamilyname: &mut [u8]) -> i32 { |
| ::windows_targets::link!("t2embed.dll" "system" fn TTGetNewFontName(phfontreference : *const super::super::Foundation:: HANDLE, wzwinfamilyname : ::windows_core::PWSTR, cchmaxwinname : i32, szmacfamilyname : ::windows_core::PSTR, cchmaxmacname : i32) -> i32); |
| TTGetNewFontName(phfontreference, ::core::mem::transmute(wzwinfamilyname.as_ptr()), wzwinfamilyname.len() as _, ::core::mem::transmute(szmacfamilyname.as_ptr()), szmacfamilyname.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn TTIsEmbeddingEnabled<P0>(hdc: P0, pbenabled: *mut super::super::Foundation::BOOL) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("t2embed.dll" "system" fn TTIsEmbeddingEnabled(hdc : HDC, pbenabled : *mut super::super::Foundation:: BOOL) -> i32); |
| TTIsEmbeddingEnabled(hdc.into_param().abi(), pbenabled) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn TTIsEmbeddingEnabledForFacename<P0>(lpszfacename: P0, pbenabled: *mut super::super::Foundation::BOOL) -> i32 |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("t2embed.dll" "system" fn TTIsEmbeddingEnabledForFacename(lpszfacename : ::windows_core::PCSTR, pbenabled : *mut super::super::Foundation:: BOOL) -> i32); |
| TTIsEmbeddingEnabledForFacename(lpszfacename.into_param().abi(), pbenabled) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn TTLoadEmbeddedFont<P0, P1>(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: P0, szmacfamilyname: P1, pttloadinfo: ::core::option::Option<*const TTLOADINFO>) -> i32 |
| where |
| P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, |
| P1: ::windows_core::IntoParam<::windows_core::PCSTR>, |
| { |
| ::windows_targets::link!("t2embed.dll" "system" 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_core::PCWSTR, szmacfamilyname : ::windows_core::PCSTR, pttloadinfo : *const TTLOADINFO) -> i32); |
| TTLoadEmbeddedFont(phfontreference, ulflags, pulprivstatus, ulprivs, pulstatus, lpfnreadfromstream, lpvreadstream, szwinfamilyname.into_param().abi(), szmacfamilyname.into_param().abi(), ::core::mem::transmute(pttloadinfo.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn TTRunValidationTests<P0>(hdc: P0, ptestparam: *const TTVALIDATIONTESTSPARAMS) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("t2embed.dll" "system" fn TTRunValidationTests(hdc : HDC, ptestparam : *const TTVALIDATIONTESTSPARAMS) -> i32); |
| TTRunValidationTests(hdc.into_param().abi(), ptestparam) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn TTRunValidationTestsEx<P0>(hdc: P0, ptestparam: *const TTVALIDATIONTESTSPARAMSEX) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("t2embed.dll" "system" fn TTRunValidationTestsEx(hdc : HDC, ptestparam : *const TTVALIDATIONTESTSPARAMSEX) -> i32); |
| TTRunValidationTestsEx(hdc.into_param().abi(), ptestparam) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn TabbedTextOutA<P0>(hdc: P0, x: i32, y: i32, lpstring: &[u8], lpntabstoppositions: ::core::option::Option<&[i32]>, ntaborigin: i32) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn TabbedTextOutA(hdc : HDC, x : i32, y : i32, lpstring : ::windows_core::PCSTR, chcount : i32, ntabpositions : i32, lpntabstoppositions : *const i32, ntaborigin : i32) -> i32); |
| TabbedTextOutA(hdc.into_param().abi(), x, y, ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _, lpntabstoppositions.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpntabstoppositions.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ntaborigin) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn TabbedTextOutW<P0>(hdc: P0, x: i32, y: i32, lpstring: &[u16], lpntabstoppositions: ::core::option::Option<&[i32]>, ntaborigin: i32) -> i32 |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn TabbedTextOutW(hdc : HDC, x : i32, y : i32, lpstring : ::windows_core::PCWSTR, chcount : i32, ntabpositions : i32, lpntabstoppositions : *const i32, ntaborigin : i32) -> i32); |
| TabbedTextOutW(hdc.into_param().abi(), x, y, ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _, lpntabstoppositions.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(lpntabstoppositions.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ntaborigin) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn TextOutA<P0>(hdc: P0, x: i32, y: i32, lpstring: &[u8]) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn TextOutA(hdc : HDC, x : i32, y : i32, lpstring : ::windows_core::PCSTR, c : i32) -> super::super::Foundation:: BOOL); |
| TextOutA(hdc.into_param().abi(), x, y, ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn TextOutW<P0>(hdc: P0, x: i32, y: i32, lpstring: &[u16]) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn TextOutW(hdc : HDC, x : i32, y : i32, lpstring : ::windows_core::PCWSTR, c : i32) -> super::super::Foundation:: BOOL); |
| TextOutW(hdc.into_param().abi(), x, y, ::core::mem::transmute(lpstring.as_ptr()), lpstring.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn TransparentBlt<P0, P1>(hdcdest: P0, xorigindest: i32, yorigindest: i32, wdest: i32, hdest: i32, hdcsrc: P1, xoriginsrc: i32, yoriginsrc: i32, wsrc: i32, hsrc: i32, crtransparent: u32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| P1: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("msimg32.dll" "system" 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); |
| TransparentBlt(hdcdest.into_param().abi(), xorigindest, yorigindest, wdest, hdest, hdcsrc.into_param().abi(), xoriginsrc, yoriginsrc, wsrc, hsrc, crtransparent) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn UnionRect(lprcdst: *mut super::super::Foundation::RECT, lprcsrc1: *const super::super::Foundation::RECT, lprcsrc2: *const super::super::Foundation::RECT) -> super::super::Foundation::BOOL { |
| ::windows_targets::link!("user32.dll" "system" fn UnionRect(lprcdst : *mut super::super::Foundation:: RECT, lprcsrc1 : *const super::super::Foundation:: RECT, lprcsrc2 : *const super::super::Foundation:: RECT) -> super::super::Foundation:: BOOL); |
| UnionRect(lprcdst, lprcsrc1, lprcsrc2) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn UnrealizeObject<P0>(h: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HGDIOBJ>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn UnrealizeObject(h : HGDIOBJ) -> super::super::Foundation:: BOOL); |
| UnrealizeObject(h.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn UpdateColors<P0>(hdc: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn UpdateColors(hdc : HDC) -> super::super::Foundation:: BOOL); |
| UpdateColors(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn UpdateWindow<P0>(hwnd: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn UpdateWindow(hwnd : super::super::Foundation:: HWND) -> super::super::Foundation:: BOOL); |
| UpdateWindow(hwnd.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ValidateRect<P0>(hwnd: P0, lprect: ::core::option::Option<*const super::super::Foundation::RECT>) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn ValidateRect(hwnd : super::super::Foundation:: HWND, lprect : *const super::super::Foundation:: RECT) -> super::super::Foundation:: BOOL); |
| ValidateRect(hwnd.into_param().abi(), ::core::mem::transmute(lprect.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ValidateRgn<P0, P1>(hwnd: P0, hrgn: P1) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows_core::IntoParam<HRGN>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn ValidateRgn(hwnd : super::super::Foundation:: HWND, hrgn : HRGN) -> super::super::Foundation:: BOOL); |
| ValidateRgn(hwnd.into_param().abi(), hrgn.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WidenPath<P0>(hdc: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("gdi32.dll" "system" fn WidenPath(hdc : HDC) -> super::super::Foundation:: BOOL); |
| WidenPath(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WindowFromDC<P0>(hdc: P0) -> super::super::Foundation::HWND |
| where |
| P0: ::windows_core::IntoParam<HDC>, |
| { |
| ::windows_targets::link!("user32.dll" "system" fn WindowFromDC(hdc : HDC) -> super::super::Foundation:: HWND); |
| WindowFromDC(hdc.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[inline] |
| pub unsafe fn wglSwapMultipleBuffers(param0: u32, param1: *const WGLSWAP) -> u32 { |
| ::windows_targets::link!("opengl32.dll" "system" fn wglSwapMultipleBuffers(param0 : u32, param1 : *const WGLSWAP) -> u32); |
| wglSwapMultipleBuffers(param0, param1) |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ABORTDOC: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ABSOLUTE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const AC_SRC_ALPHA: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const AC_SRC_OVER: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const AD_CLOCKWISE: ARC_DIRECTION = ARC_DIRECTION(2i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const AD_COUNTERCLOCKWISE: ARC_DIRECTION = ARC_DIRECTION(1i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ALTERNATE: CREATE_POLYGON_RGN_MODE = CREATE_POLYGON_RGN_MODE(1i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ANSI_CHARSET: FONT_CHARSET = FONT_CHARSET(0u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ANSI_FIXED_FONT: GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS(11i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ANSI_VAR_FONT: GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS(12i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ANTIALIASED_QUALITY: FONT_QUALITY = FONT_QUALITY(4u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ARABIC_CHARSET: FONT_CHARSET = FONT_CHARSET(178u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ASPECTX: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(40u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ASPECTXY: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(44u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ASPECTY: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(42u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ASPECT_FILTERING: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BALTIC_CHARSET: FONT_CHARSET = FONT_CHARSET(186u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BANDINFO: u32 = 24u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BDR_INNER: DRAWEDGE_FLAGS = DRAWEDGE_FLAGS(12u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BDR_OUTER: DRAWEDGE_FLAGS = DRAWEDGE_FLAGS(3u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BDR_RAISED: DRAWEDGE_FLAGS = DRAWEDGE_FLAGS(5u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BDR_RAISEDINNER: DRAWEDGE_FLAGS = DRAWEDGE_FLAGS(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BDR_RAISEDOUTER: DRAWEDGE_FLAGS = DRAWEDGE_FLAGS(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BDR_SUNKEN: DRAWEDGE_FLAGS = DRAWEDGE_FLAGS(10u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BDR_SUNKENINNER: DRAWEDGE_FLAGS = DRAWEDGE_FLAGS(8u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BDR_SUNKENOUTER: DRAWEDGE_FLAGS = DRAWEDGE_FLAGS(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BEGIN_PATH: u32 = 4096u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BF_ADJUST: DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS(8192u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BF_BOTTOM: DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS(8u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BF_BOTTOMLEFT: DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS(9u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BF_BOTTOMRIGHT: DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS(12u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BF_DIAGONAL: DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS(16u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BF_DIAGONAL_ENDBOTTOMLEFT: DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS(25u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BF_DIAGONAL_ENDBOTTOMRIGHT: DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS(28u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BF_DIAGONAL_ENDTOPLEFT: DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS(19u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BF_DIAGONAL_ENDTOPRIGHT: DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS(22u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BF_FLAT: DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS(16384u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BF_LEFT: DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BF_MIDDLE: DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS(2048u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BF_MONO: DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS(32768u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BF_RECT: DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS(15u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BF_RIGHT: DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BF_SOFT: DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS(4096u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BF_TOP: DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BF_TOPLEFT: DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS(3u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BF_TOPRIGHT: DRAW_EDGE_FLAGS = DRAW_EDGE_FLAGS(6u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BITSPIXEL: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(12u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BI_BITFIELDS: BI_COMPRESSION = BI_COMPRESSION(3u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BI_JPEG: BI_COMPRESSION = BI_COMPRESSION(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BI_PNG: BI_COMPRESSION = BI_COMPRESSION(5u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BI_RGB: BI_COMPRESSION = BI_COMPRESSION(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BI_RLE4: BI_COMPRESSION = BI_COMPRESSION(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BI_RLE8: BI_COMPRESSION = BI_COMPRESSION(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BKMODE_LAST: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BLACKNESS: ROP_CODE = ROP_CODE(66u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BLACKONWHITE: STRETCH_BLT_MODE = STRETCH_BLT_MODE(1i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BLACK_BRUSH: GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS(4i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BLACK_PEN: GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS(7i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BLTALIGNMENT: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(119u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BS_DIBPATTERN: BRUSH_STYLE = BRUSH_STYLE(5u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BS_DIBPATTERN8X8: BRUSH_STYLE = BRUSH_STYLE(8u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BS_DIBPATTERNPT: BRUSH_STYLE = BRUSH_STYLE(6u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BS_HATCHED: BRUSH_STYLE = BRUSH_STYLE(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BS_HOLLOW: BRUSH_STYLE = BRUSH_STYLE(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BS_INDEXED: BRUSH_STYLE = BRUSH_STYLE(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BS_MONOPATTERN: BRUSH_STYLE = BRUSH_STYLE(9u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BS_NULL: BRUSH_STYLE = BRUSH_STYLE(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BS_PATTERN: BRUSH_STYLE = BRUSH_STYLE(3u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BS_PATTERN8X8: BRUSH_STYLE = BRUSH_STYLE(7u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const BS_SOLID: BRUSH_STYLE = BRUSH_STYLE(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CAPTUREBLT: ROP_CODE = ROP_CODE(1073741824u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CA_LOG_FILTER: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CA_NEGATIVE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CBM_INIT: i32 = 4i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CCHFORMNAME: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CC_CHORD: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CC_CIRCLES: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CC_ELLIPSES: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CC_INTERIORS: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CC_NONE: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CC_PIE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CC_ROUNDRECT: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CC_STYLED: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CC_WIDE: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CC_WIDESTYLED: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CDS_DISABLE_UNSAFE_MODES: CDS_TYPE = CDS_TYPE(512u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CDS_ENABLE_UNSAFE_MODES: CDS_TYPE = CDS_TYPE(256u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CDS_FULLSCREEN: CDS_TYPE = CDS_TYPE(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CDS_GLOBAL: CDS_TYPE = CDS_TYPE(8u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CDS_NORESET: CDS_TYPE = CDS_TYPE(268435456u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CDS_RESET: CDS_TYPE = CDS_TYPE(1073741824u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CDS_RESET_EX: CDS_TYPE = CDS_TYPE(536870912u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CDS_SET_PRIMARY: CDS_TYPE = CDS_TYPE(16u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CDS_TEST: CDS_TYPE = CDS_TYPE(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CDS_UPDATEREGISTRY: CDS_TYPE = CDS_TYPE(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CDS_VIDEOPARAMETERS: CDS_TYPE = CDS_TYPE(32u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CHARSET_DEFAULT: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CHARSET_GLYPHIDX: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CHARSET_SYMBOL: EMBED_FONT_CHARSET = EMBED_FONT_CHARSET(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CHARSET_UNICODE: EMBED_FONT_CHARSET = EMBED_FONT_CHARSET(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CHECKJPEGFORMAT: u32 = 4119u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CHECKPNGFORMAT: u32 = 4120u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CHINESEBIG5_CHARSET: FONT_CHARSET = FONT_CHARSET(136u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CLEARTYPE_NATURAL_QUALITY: u32 = 6u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CLEARTYPE_QUALITY: FONT_QUALITY = FONT_QUALITY(5u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CLIPCAPS: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(36u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CLIP_CHARACTER_PRECIS: FONT_CLIP_PRECISION = FONT_CLIP_PRECISION(1u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CLIP_DEFAULT_PRECIS: FONT_CLIP_PRECISION = FONT_CLIP_PRECISION(0u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CLIP_DFA_DISABLE: FONT_CLIP_PRECISION = FONT_CLIP_PRECISION(64u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CLIP_DFA_OVERRIDE: FONT_CLIP_PRECISION = FONT_CLIP_PRECISION(64u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CLIP_EMBEDDED: FONT_CLIP_PRECISION = FONT_CLIP_PRECISION(128u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CLIP_LH_ANGLES: FONT_CLIP_PRECISION = FONT_CLIP_PRECISION(16u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CLIP_MASK: FONT_CLIP_PRECISION = FONT_CLIP_PRECISION(15u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CLIP_STROKE_PRECIS: FONT_CLIP_PRECISION = FONT_CLIP_PRECISION(2u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CLIP_TO_PATH: u32 = 4097u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CLIP_TT_ALWAYS: FONT_CLIP_PRECISION = FONT_CLIP_PRECISION(32u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CLOSECHANNEL: u32 = 4112u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CLR_INVALID: u32 = 4294967295u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CM_CMYK_COLOR: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CM_DEVICE_ICM: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CM_GAMMA_RAMP: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CM_IN_GAMUT: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CM_NONE: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CM_OUT_OF_GAMUT: u32 = 255u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLORMATCHTOTARGET_EMBEDED: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLORMGMTCAPS: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(121u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLORONCOLOR: STRETCH_BLT_MODE = STRETCH_BLT_MODE(3i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLORRES: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(108u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_3DDKSHADOW: SYS_COLOR_INDEX = SYS_COLOR_INDEX(21i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_3DFACE: SYS_COLOR_INDEX = SYS_COLOR_INDEX(15i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_3DHIGHLIGHT: SYS_COLOR_INDEX = SYS_COLOR_INDEX(20i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_3DHILIGHT: SYS_COLOR_INDEX = SYS_COLOR_INDEX(20i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_3DLIGHT: SYS_COLOR_INDEX = SYS_COLOR_INDEX(22i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_3DSHADOW: SYS_COLOR_INDEX = SYS_COLOR_INDEX(16i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_ACTIVEBORDER: SYS_COLOR_INDEX = SYS_COLOR_INDEX(10i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_ACTIVECAPTION: SYS_COLOR_INDEX = SYS_COLOR_INDEX(2i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_APPWORKSPACE: SYS_COLOR_INDEX = SYS_COLOR_INDEX(12i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_BACKGROUND: SYS_COLOR_INDEX = SYS_COLOR_INDEX(1i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_BTNFACE: SYS_COLOR_INDEX = SYS_COLOR_INDEX(15i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_BTNHIGHLIGHT: SYS_COLOR_INDEX = SYS_COLOR_INDEX(20i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_BTNHILIGHT: SYS_COLOR_INDEX = SYS_COLOR_INDEX(20i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_BTNSHADOW: SYS_COLOR_INDEX = SYS_COLOR_INDEX(16i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_BTNTEXT: SYS_COLOR_INDEX = SYS_COLOR_INDEX(18i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_CAPTIONTEXT: SYS_COLOR_INDEX = SYS_COLOR_INDEX(9i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_DESKTOP: SYS_COLOR_INDEX = SYS_COLOR_INDEX(1i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_GRADIENTACTIVECAPTION: SYS_COLOR_INDEX = SYS_COLOR_INDEX(27i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_GRADIENTINACTIVECAPTION: SYS_COLOR_INDEX = SYS_COLOR_INDEX(28i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_GRAYTEXT: SYS_COLOR_INDEX = SYS_COLOR_INDEX(17i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_HIGHLIGHT: SYS_COLOR_INDEX = SYS_COLOR_INDEX(13i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_HIGHLIGHTTEXT: SYS_COLOR_INDEX = SYS_COLOR_INDEX(14i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_HOTLIGHT: SYS_COLOR_INDEX = SYS_COLOR_INDEX(26i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_INACTIVEBORDER: SYS_COLOR_INDEX = SYS_COLOR_INDEX(11i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_INACTIVECAPTION: SYS_COLOR_INDEX = SYS_COLOR_INDEX(3i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_INACTIVECAPTIONTEXT: SYS_COLOR_INDEX = SYS_COLOR_INDEX(19i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_INFOBK: SYS_COLOR_INDEX = SYS_COLOR_INDEX(24i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_INFOTEXT: SYS_COLOR_INDEX = SYS_COLOR_INDEX(23i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_MENU: SYS_COLOR_INDEX = SYS_COLOR_INDEX(4i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_MENUBAR: SYS_COLOR_INDEX = SYS_COLOR_INDEX(30i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_MENUHILIGHT: SYS_COLOR_INDEX = SYS_COLOR_INDEX(29i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_MENUTEXT: SYS_COLOR_INDEX = SYS_COLOR_INDEX(7i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_SCROLLBAR: SYS_COLOR_INDEX = SYS_COLOR_INDEX(0i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_WINDOW: SYS_COLOR_INDEX = SYS_COLOR_INDEX(5i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_WINDOWFRAME: SYS_COLOR_INDEX = SYS_COLOR_INDEX(6i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COLOR_WINDOWTEXT: SYS_COLOR_INDEX = SYS_COLOR_INDEX(8i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const COMPLEXREGION: GDI_REGION_TYPE = GDI_REGION_TYPE(3i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CP_NONE: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CP_RECTANGLE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CP_REGION: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CREATECOLORSPACE_EMBEDED: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const CURVECAPS: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(28u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCBA_FACEDOWNCENTER: u32 = 257u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCBA_FACEDOWNLEFT: u32 = 258u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCBA_FACEDOWNNONE: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCBA_FACEDOWNRIGHT: u32 = 259u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCBA_FACEUPCENTER: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCBA_FACEUPLEFT: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCBA_FACEUPNONE: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCBA_FACEUPRIGHT: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCB_ACCUMULATE: SET_BOUNDS_RECT_FLAGS = SET_BOUNDS_RECT_FLAGS(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCB_DISABLE: SET_BOUNDS_RECT_FLAGS = SET_BOUNDS_RECT_FLAGS(8u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCB_ENABLE: SET_BOUNDS_RECT_FLAGS = SET_BOUNDS_RECT_FLAGS(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCB_RESET: SET_BOUNDS_RECT_FLAGS = SET_BOUNDS_RECT_FLAGS(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCTT_BITMAP: i32 = 1i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCTT_DOWNLOAD: i32 = 2i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCTT_DOWNLOAD_OUTLINE: i32 = 8i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCTT_SUBDEV: i32 = 4i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCX_CACHE: GET_DCX_FLAGS = GET_DCX_FLAGS(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCX_CLIPCHILDREN: GET_DCX_FLAGS = GET_DCX_FLAGS(8u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCX_CLIPSIBLINGS: GET_DCX_FLAGS = GET_DCX_FLAGS(16u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCX_EXCLUDERGN: GET_DCX_FLAGS = GET_DCX_FLAGS(64u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCX_INTERSECTRGN: GET_DCX_FLAGS = GET_DCX_FLAGS(128u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCX_INTERSECTUPDATE: GET_DCX_FLAGS = GET_DCX_FLAGS(512u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCX_LOCKWINDOWUPDATE: GET_DCX_FLAGS = GET_DCX_FLAGS(1024u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCX_NORESETATTRS: GET_DCX_FLAGS = GET_DCX_FLAGS(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCX_PARENTCLIP: GET_DCX_FLAGS = GET_DCX_FLAGS(32u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCX_VALIDATE: GET_DCX_FLAGS = GET_DCX_FLAGS(2097152u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DCX_WINDOW: GET_DCX_FLAGS = GET_DCX_FLAGS(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DC_ACTIVE: DRAW_CAPTION_FLAGS = DRAW_CAPTION_FLAGS(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DC_BINADJUST: u32 = 19u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DC_BRUSH: GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS(18i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DC_BUTTONS: DRAW_CAPTION_FLAGS = DRAW_CAPTION_FLAGS(4096u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DC_DATATYPE_PRODUCED: u32 = 21u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DC_EMF_COMPLIANT: u32 = 20u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DC_GRADIENT: DRAW_CAPTION_FLAGS = DRAW_CAPTION_FLAGS(32u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DC_ICON: DRAW_CAPTION_FLAGS = DRAW_CAPTION_FLAGS(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DC_INBUTTON: DRAW_CAPTION_FLAGS = DRAW_CAPTION_FLAGS(16u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DC_MANUFACTURER: u32 = 23u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DC_MODEL: u32 = 24u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DC_PEN: GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS(19i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DC_SMALLCAP: DRAW_CAPTION_FLAGS = DRAW_CAPTION_FLAGS(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DC_TEXT: DRAW_CAPTION_FLAGS = DRAW_CAPTION_FLAGS(8u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DEFAULT_CHARSET: FONT_CHARSET = FONT_CHARSET(1u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DEFAULT_GUI_FONT: GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS(17i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DEFAULT_PALETTE: GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS(15i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DEFAULT_PITCH: FONT_PITCH = FONT_PITCH(0u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DEFAULT_QUALITY: FONT_QUALITY = FONT_QUALITY(0u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DESKTOPHORZRES: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(118u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DESKTOPVERTRES: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(117u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DEVICEDATA: u32 = 19u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DEVICE_DEFAULT_FONT: GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS(14i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DEVICE_FONTTYPE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_ADJUSTRECT: DFCS_STATE = DFCS_STATE(8192u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_BUTTON3STATE: DFCS_STATE = DFCS_STATE(8u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_BUTTONCHECK: DFCS_STATE = DFCS_STATE(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_BUTTONPUSH: DFCS_STATE = DFCS_STATE(16u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_BUTTONRADIO: DFCS_STATE = DFCS_STATE(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_BUTTONRADIOIMAGE: DFCS_STATE = DFCS_STATE(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_BUTTONRADIOMASK: DFCS_STATE = DFCS_STATE(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_CAPTIONCLOSE: DFCS_STATE = DFCS_STATE(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_CAPTIONHELP: DFCS_STATE = DFCS_STATE(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_CAPTIONMAX: DFCS_STATE = DFCS_STATE(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_CAPTIONMIN: DFCS_STATE = DFCS_STATE(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_CAPTIONRESTORE: DFCS_STATE = DFCS_STATE(3u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_CHECKED: DFCS_STATE = DFCS_STATE(1024u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_FLAT: DFCS_STATE = DFCS_STATE(16384u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_HOT: DFCS_STATE = DFCS_STATE(4096u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_INACTIVE: DFCS_STATE = DFCS_STATE(256u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_MENUARROW: DFCS_STATE = DFCS_STATE(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_MENUARROWRIGHT: DFCS_STATE = DFCS_STATE(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_MENUBULLET: DFCS_STATE = DFCS_STATE(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_MENUCHECK: DFCS_STATE = DFCS_STATE(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_MONO: DFCS_STATE = DFCS_STATE(32768u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_PUSHED: DFCS_STATE = DFCS_STATE(512u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_SCROLLCOMBOBOX: DFCS_STATE = DFCS_STATE(5u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_SCROLLDOWN: DFCS_STATE = DFCS_STATE(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_SCROLLLEFT: DFCS_STATE = DFCS_STATE(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_SCROLLRIGHT: DFCS_STATE = DFCS_STATE(3u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_SCROLLSIZEGRIP: DFCS_STATE = DFCS_STATE(8u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_SCROLLSIZEGRIPRIGHT: DFCS_STATE = DFCS_STATE(16u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_SCROLLUP: DFCS_STATE = DFCS_STATE(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFCS_TRANSPARENT: DFCS_STATE = DFCS_STATE(2048u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFC_BUTTON: DFC_TYPE = DFC_TYPE(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFC_CAPTION: DFC_TYPE = DFC_TYPE(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFC_MENU: DFC_TYPE = DFC_TYPE(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFC_POPUPMENU: DFC_TYPE = DFC_TYPE(5u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DFC_SCROLL: DFC_TYPE = DFC_TYPE(3u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DIB_PAL_COLORS: DIB_USAGE = DIB_USAGE(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DIB_RGB_COLORS: DIB_USAGE = DIB_USAGE(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAYCONFIG_COLOR_ENCODING_INTENSITY: DISPLAYCONFIG_COLOR_ENCODING = DISPLAYCONFIG_COLOR_ENCODING(4i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAYCONFIG_COLOR_ENCODING_RGB: DISPLAYCONFIG_COLOR_ENCODING = DISPLAYCONFIG_COLOR_ENCODING(0i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAYCONFIG_COLOR_ENCODING_YCBCR420: DISPLAYCONFIG_COLOR_ENCODING = DISPLAYCONFIG_COLOR_ENCODING(3i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAYCONFIG_COLOR_ENCODING_YCBCR422: DISPLAYCONFIG_COLOR_ENCODING = DISPLAYCONFIG_COLOR_ENCODING(2i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAYCONFIG_COLOR_ENCODING_YCBCR444: DISPLAYCONFIG_COLOR_ENCODING = DISPLAYCONFIG_COLOR_ENCODING(1i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAYCONFIG_MAXPATH: u32 = 1024u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAYCONFIG_PATH_ACTIVE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAYCONFIG_PATH_CLONE_GROUP_INVALID: u32 = 65535u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAYCONFIG_PATH_DESKTOP_IMAGE_IDX_INVALID: u32 = 65535u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAYCONFIG_PATH_MODE_IDX_INVALID: u32 = 4294967295u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAYCONFIG_PATH_PREFERRED_UNSCALED: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAYCONFIG_PATH_SOURCE_MODE_IDX_INVALID: u32 = 65535u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAYCONFIG_PATH_SUPPORT_VIRTUAL_MODE: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAYCONFIG_PATH_TARGET_MODE_IDX_INVALID: u32 = 65535u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAYCONFIG_PATH_VALID_FLAGS: u32 = 29u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAYCONFIG_SOURCE_IN_USE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAYCONFIG_TARGET_FORCED_AVAILABILITY_BOOT: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAYCONFIG_TARGET_FORCED_AVAILABILITY_PATH: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAYCONFIG_TARGET_FORCED_AVAILABILITY_SYSTEM: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAYCONFIG_TARGET_FORCIBLE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAYCONFIG_TARGET_IN_USE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAYCONFIG_TARGET_IS_HMD: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAY_DEVICE_ACC_DRIVER: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAY_DEVICE_ACTIVE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAY_DEVICE_ATTACHED: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAY_DEVICE_ATTACHED_TO_DESKTOP: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAY_DEVICE_DISCONNECT: u32 = 33554432u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAY_DEVICE_MIRRORING_DRIVER: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAY_DEVICE_MODESPRUNED: u32 = 134217728u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAY_DEVICE_MULTI_DRIVER: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAY_DEVICE_PRIMARY_DEVICE: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAY_DEVICE_RDPUDD: u32 = 16777216u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAY_DEVICE_REMOTE: u32 = 67108864u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAY_DEVICE_REMOVABLE: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAY_DEVICE_TS_COMPATIBLE: u32 = 2097152u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAY_DEVICE_UNSAFE_MODES_ON: u32 = 524288u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISPLAY_DEVICE_VGA_COMPATIBLE: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISP_CHANGE_BADDUALVIEW: DISP_CHANGE = DISP_CHANGE(-6i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISP_CHANGE_BADFLAGS: DISP_CHANGE = DISP_CHANGE(-4i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISP_CHANGE_BADMODE: DISP_CHANGE = DISP_CHANGE(-2i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISP_CHANGE_BADPARAM: DISP_CHANGE = DISP_CHANGE(-5i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISP_CHANGE_FAILED: DISP_CHANGE = DISP_CHANGE(-1i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISP_CHANGE_NOTUPDATED: DISP_CHANGE = DISP_CHANGE(-3i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISP_CHANGE_RESTART: DISP_CHANGE = DISP_CHANGE(1i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DISP_CHANGE_SUCCESSFUL: DISP_CHANGE = DISP_CHANGE(0i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DI_APPBANDING: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DI_ROPS_READ_DESTINATION: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DKGRAY_BRUSH: GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS(3i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMBIN_AUTO: u32 = 7u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMBIN_CASSETTE: u32 = 14u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMBIN_ENVELOPE: u32 = 5u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMBIN_ENVMANUAL: u32 = 6u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMBIN_FORMSOURCE: u32 = 15u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMBIN_LARGECAPACITY: u32 = 11u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMBIN_LARGEFMT: u32 = 10u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMBIN_LAST: u32 = 15u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMBIN_LOWER: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMBIN_MANUAL: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMBIN_MIDDLE: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMBIN_ONLYONE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMBIN_SMALLFMT: u32 = 9u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMBIN_TRACTOR: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMBIN_UPPER: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMBIN_USER: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMCOLLATE_FALSE: DEVMODE_COLLATE = DEVMODE_COLLATE(0i16); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMCOLLATE_TRUE: DEVMODE_COLLATE = DEVMODE_COLLATE(1i16); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMCOLOR_COLOR: DEVMODE_COLOR = DEVMODE_COLOR(2i16); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMCOLOR_MONOCHROME: DEVMODE_COLOR = DEVMODE_COLOR(1i16); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMDFO_CENTER: DEVMODE_DISPLAY_FIXED_OUTPUT = DEVMODE_DISPLAY_FIXED_OUTPUT(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMDFO_DEFAULT: DEVMODE_DISPLAY_FIXED_OUTPUT = DEVMODE_DISPLAY_FIXED_OUTPUT(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMDFO_STRETCH: DEVMODE_DISPLAY_FIXED_OUTPUT = DEVMODE_DISPLAY_FIXED_OUTPUT(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMDISPLAYFLAGS_TEXTMODE: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMDITHER_COARSE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMDITHER_ERRORDIFFUSION: u32 = 5u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMDITHER_FINE: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMDITHER_GRAYSCALE: u32 = 10u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMDITHER_LINEART: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMDITHER_NONE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMDITHER_RESERVED6: u32 = 6u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMDITHER_RESERVED7: u32 = 7u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMDITHER_RESERVED8: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMDITHER_RESERVED9: u32 = 9u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMDITHER_USER: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMDO_180: DEVMODE_DISPLAY_ORIENTATION = DEVMODE_DISPLAY_ORIENTATION(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMDO_270: DEVMODE_DISPLAY_ORIENTATION = DEVMODE_DISPLAY_ORIENTATION(3u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMDO_90: DEVMODE_DISPLAY_ORIENTATION = DEVMODE_DISPLAY_ORIENTATION(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMDO_DEFAULT: DEVMODE_DISPLAY_ORIENTATION = DEVMODE_DISPLAY_ORIENTATION(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMDUP_HORIZONTAL: DEVMODE_DUPLEX = DEVMODE_DUPLEX(3i16); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMDUP_SIMPLEX: DEVMODE_DUPLEX = DEVMODE_DUPLEX(1i16); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMDUP_VERTICAL: DEVMODE_DUPLEX = DEVMODE_DUPLEX(2i16); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMICMMETHOD_DEVICE: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMICMMETHOD_DRIVER: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMICMMETHOD_NONE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMICMMETHOD_SYSTEM: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMICMMETHOD_USER: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMICM_ABS_COLORIMETRIC: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMICM_COLORIMETRIC: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMICM_CONTRAST: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMICM_SATURATE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMICM_USER: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMMEDIA_GLOSSY: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMMEDIA_STANDARD: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMMEDIA_TRANSPARENCY: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMMEDIA_USER: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMNUP_ONEUP: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMNUP_SYSTEM: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMORIENT_LANDSCAPE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMORIENT_PORTRAIT: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_10X11: u32 = 45u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_10X14: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_11X17: u32 = 17u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_12X11: u32 = 90u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_15X11: u32 = 46u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_9X11: u32 = 44u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_A2: u32 = 66u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_A3: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_A3_EXTRA: u32 = 63u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_A3_EXTRA_TRANSVERSE: u32 = 68u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_A3_ROTATED: u32 = 76u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_A3_TRANSVERSE: u32 = 67u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_A4: u32 = 9u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_A4SMALL: u32 = 10u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_A4_EXTRA: u32 = 53u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_A4_PLUS: u32 = 60u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_A4_ROTATED: u32 = 77u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_A4_TRANSVERSE: u32 = 55u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_A5: u32 = 11u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_A5_EXTRA: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_A5_ROTATED: u32 = 78u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_A5_TRANSVERSE: u32 = 61u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_A6: u32 = 70u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_A6_ROTATED: u32 = 83u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_A_PLUS: u32 = 57u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_B4: u32 = 12u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_B4_JIS_ROTATED: u32 = 79u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_B5: u32 = 13u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_B5_EXTRA: u32 = 65u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_B5_JIS_ROTATED: u32 = 80u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_B5_TRANSVERSE: u32 = 62u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_B6_JIS: u32 = 88u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_B6_JIS_ROTATED: u32 = 89u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_B_PLUS: u32 = 58u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_CSHEET: u32 = 24u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_DBL_JAPANESE_POSTCARD: u32 = 69u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_DBL_JAPANESE_POSTCARD_ROTATED: u32 = 82u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_DSHEET: u32 = 25u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_ENV_10: u32 = 20u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_ENV_11: u32 = 21u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_ENV_12: u32 = 22u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_ENV_14: u32 = 23u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_ENV_9: u32 = 19u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_ENV_B4: u32 = 33u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_ENV_B5: u32 = 34u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_ENV_B6: u32 = 35u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_ENV_C3: u32 = 29u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_ENV_C4: u32 = 30u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_ENV_C5: u32 = 28u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_ENV_C6: u32 = 31u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_ENV_C65: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_ENV_DL: u32 = 27u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_ENV_INVITE: u32 = 47u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_ENV_ITALY: u32 = 36u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_ENV_MONARCH: u32 = 37u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_ENV_PERSONAL: u32 = 38u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_ESHEET: u32 = 26u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_EXECUTIVE: u32 = 7u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_FANFOLD_LGL_GERMAN: u32 = 41u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_FANFOLD_STD_GERMAN: u32 = 40u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_FANFOLD_US: u32 = 39u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_FOLIO: u32 = 14u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_ISO_B4: u32 = 42u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_JAPANESE_POSTCARD: u32 = 43u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_JAPANESE_POSTCARD_ROTATED: u32 = 81u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_JENV_CHOU3: u32 = 73u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_JENV_CHOU3_ROTATED: u32 = 86u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_JENV_CHOU4: u32 = 74u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_JENV_CHOU4_ROTATED: u32 = 87u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_JENV_KAKU2: u32 = 71u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_JENV_KAKU2_ROTATED: u32 = 84u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_JENV_KAKU3: u32 = 72u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_JENV_KAKU3_ROTATED: u32 = 85u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_JENV_YOU4: u32 = 91u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_JENV_YOU4_ROTATED: u32 = 92u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_LAST: u32 = 118u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_LEDGER: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_LEGAL: u32 = 5u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_LEGAL_EXTRA: u32 = 51u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_LETTER: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_LETTERSMALL: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_LETTER_EXTRA: u32 = 50u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_LETTER_EXTRA_TRANSVERSE: u32 = 56u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_LETTER_PLUS: u32 = 59u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_LETTER_ROTATED: u32 = 75u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_LETTER_TRANSVERSE: u32 = 54u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_NOTE: u32 = 18u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_P16K: u32 = 93u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_P16K_ROTATED: u32 = 106u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_P32K: u32 = 94u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_P32KBIG: u32 = 95u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_P32KBIG_ROTATED: u32 = 108u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_P32K_ROTATED: u32 = 107u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_PENV_1: u32 = 96u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_PENV_10: u32 = 105u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_PENV_10_ROTATED: u32 = 118u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_PENV_1_ROTATED: u32 = 109u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_PENV_2: u32 = 97u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_PENV_2_ROTATED: u32 = 110u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_PENV_3: u32 = 98u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_PENV_3_ROTATED: u32 = 111u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_PENV_4: u32 = 99u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_PENV_4_ROTATED: u32 = 112u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_PENV_5: u32 = 100u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_PENV_5_ROTATED: u32 = 113u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_PENV_6: u32 = 101u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_PENV_6_ROTATED: u32 = 114u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_PENV_7: u32 = 102u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_PENV_7_ROTATED: u32 = 115u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_PENV_8: u32 = 103u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_PENV_8_ROTATED: u32 = 116u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_PENV_9: u32 = 104u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_PENV_9_ROTATED: u32 = 117u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_QUARTO: u32 = 15u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_RESERVED_48: u32 = 48u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_RESERVED_49: u32 = 49u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_STATEMENT: u32 = 6u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_TABLOID: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_TABLOID_EXTRA: u32 = 52u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMPAPER_USER: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMRES_DRAFT: i32 = -1i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMRES_HIGH: i32 = -4i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMRES_LOW: i32 = -2i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMRES_MEDIUM: i32 = -3i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMTT_BITMAP: DEVMODE_TRUETYPE_OPTION = DEVMODE_TRUETYPE_OPTION(1i16); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMTT_DOWNLOAD: DEVMODE_TRUETYPE_OPTION = DEVMODE_TRUETYPE_OPTION(2i16); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMTT_DOWNLOAD_OUTLINE: DEVMODE_TRUETYPE_OPTION = DEVMODE_TRUETYPE_OPTION(4i16); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DMTT_SUBDEV: DEVMODE_TRUETYPE_OPTION = DEVMODE_TRUETYPE_OPTION(3i16); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_BITSPERPEL: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(262144u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_COLLATE: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(32768u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_COLOR: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(2048u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_COPIES: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(256u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_COPY: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_DEFAULTSOURCE: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(512u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_DISPLAYFIXEDOUTPUT: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(536870912u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_DISPLAYFLAGS: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(2097152u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_DISPLAYFREQUENCY: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(4194304u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_DISPLAYORIENTATION: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(128u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_DITHERTYPE: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(67108864u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_DUPLEX: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(4096u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_FORMNAME: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(65536u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_ICMINTENT: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(16777216u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_ICMMETHOD: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(8388608u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_INTERLACED: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_IN_BUFFER: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(8u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_IN_PROMPT: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_LOGPIXELS: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(131072u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_MEDIATYPE: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(33554432u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_MODIFY: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(8u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_NUP: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(64u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_ORIENTATION: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_OUT_BUFFER: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_OUT_DEFAULT: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_PANNINGHEIGHT: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(268435456u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_PANNINGWIDTH: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(134217728u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_PAPERLENGTH: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_PAPERSIZE: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_PAPERWIDTH: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(8u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_PELSHEIGHT: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(1048576u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_PELSWIDTH: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(524288u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_POSITION: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(32u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_PRINTQUALITY: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(1024u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_PROMPT: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_SCALE: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(16u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_SPECVERSION: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(1025u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_TTOPTION: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(16384u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_UPDATE: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DM_YRESOLUTION: DEVMODE_FIELD_FLAGS = DEVMODE_FIELD_FLAGS(8192u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DOWNLOADFACE: u32 = 514u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DOWNLOADHEADER: u32 = 4111u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DRAFTMODE: u32 = 7u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DRAFT_QUALITY: FONT_QUALITY = FONT_QUALITY(1u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DRAWPATTERNRECT: u32 = 25u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DRIVERVERSION: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DSS_DISABLED: DRAWSTATE_FLAGS = DRAWSTATE_FLAGS(32u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DSS_HIDEPREFIX: DRAWSTATE_FLAGS = DRAWSTATE_FLAGS(512u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DSS_MONO: DRAWSTATE_FLAGS = DRAWSTATE_FLAGS(128u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DSS_NORMAL: DRAWSTATE_FLAGS = DRAWSTATE_FLAGS(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DSS_PREFIXONLY: DRAWSTATE_FLAGS = DRAWSTATE_FLAGS(1024u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DSS_RIGHT: DRAWSTATE_FLAGS = DRAWSTATE_FLAGS(32768u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DSS_UNION: DRAWSTATE_FLAGS = DRAWSTATE_FLAGS(16u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DSTINVERT: ROP_CODE = ROP_CODE(5570569u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DST_BITMAP: DRAWSTATE_FLAGS = DRAWSTATE_FLAGS(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DST_COMPLEX: DRAWSTATE_FLAGS = DRAWSTATE_FLAGS(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DST_ICON: DRAWSTATE_FLAGS = DRAWSTATE_FLAGS(3u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DST_PREFIXTEXT: DRAWSTATE_FLAGS = DRAWSTATE_FLAGS(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DST_TEXT: DRAWSTATE_FLAGS = DRAWSTATE_FLAGS(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_BOTTOM: DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT(8u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_CALCRECT: DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT(1024u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_CENTER: DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_CHARSTREAM: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_DISPFILE: u32 = 6u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_EDITCONTROL: DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT(8192u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_END_ELLIPSIS: DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT(32768u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_EXPANDTABS: DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT(64u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_EXTERNALLEADING: DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT(512u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_HIDEPREFIX: DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT(1048576u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_INTERNAL: DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT(4096u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_LEFT: DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_METAFILE: u32 = 5u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_MODIFYSTRING: DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT(65536u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_NOCLIP: DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT(256u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_NOFULLWIDTHCHARBREAK: DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT(524288u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_NOPREFIX: DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT(2048u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_PATH_ELLIPSIS: DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT(16384u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_PLOTTER: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_PREFIXONLY: DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT(2097152u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_RASCAMERA: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_RASDISPLAY: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_RASPRINTER: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_RIGHT: DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_RTLREADING: DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT(131072u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_SINGLELINE: DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT(32u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_TABSTOP: DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT(128u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_TOP: DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_VCENTER: DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_WORDBREAK: DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT(16u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const DT_WORD_ELLIPSIS: DRAW_TEXT_FORMAT = DRAW_TEXT_FORMAT(262144u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EASTEUROPE_CHARSET: FONT_CHARSET = FONT_CHARSET(238u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EDGE_BUMP: DRAWEDGE_FLAGS = DRAWEDGE_FLAGS(9u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EDGE_ETCHED: DRAWEDGE_FLAGS = DRAWEDGE_FLAGS(6u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EDGE_RAISED: DRAWEDGE_FLAGS = DRAWEDGE_FLAGS(5u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EDGE_SUNKEN: DRAWEDGE_FLAGS = DRAWEDGE_FLAGS(10u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EDS_RAWMODE: ENUM_DISPLAY_SETTINGS_FLAGS = ENUM_DISPLAY_SETTINGS_FLAGS(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EDS_ROTATEDMODE: ENUM_DISPLAY_SETTINGS_FLAGS = ENUM_DISPLAY_SETTINGS_FLAGS(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ELF_CULTURE_LATIN: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ELF_VENDOR_SIZE: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ELF_VERSION: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMBED_EDITABLE: EMBEDDED_FONT_PRIV_STATUS = EMBEDDED_FONT_PRIV_STATUS(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMBED_INSTALLABLE: EMBEDDED_FONT_PRIV_STATUS = EMBEDDED_FONT_PRIV_STATUS(3u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMBED_NOEMBEDDING: EMBEDDED_FONT_PRIV_STATUS = EMBEDDED_FONT_PRIV_STATUS(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMBED_PREVIEWPRINT: EMBEDDED_FONT_PRIV_STATUS = EMBEDDED_FONT_PRIV_STATUS(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_ABORTPATH: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(68u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_ALPHABLEND: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(114u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_ANGLEARC: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(41u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_ARC: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(45u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_ARCTO: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(55u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_BEGINPATH: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(59u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_BITBLT: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(76u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_CHORD: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(46u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_CLOSEFIGURE: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(61u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_COLORCORRECTPALETTE: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(111u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_COLORMATCHTOTARGETW: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(121u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_CREATEBRUSHINDIRECT: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(39u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_CREATECOLORSPACE: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(99u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_CREATECOLORSPACEW: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(122u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_CREATEDIBPATTERNBRUSHPT: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(94u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_CREATEMONOBRUSH: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(93u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_CREATEPALETTE: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(49u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_CREATEPEN: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(38u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_DELETECOLORSPACE: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(101u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_DELETEOBJECT: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(40u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_ELLIPSE: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(42u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_ENDPATH: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(60u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_EOF: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(14u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_EXCLUDECLIPRECT: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(29u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_EXTCREATEFONTINDIRECTW: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(82u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_EXTCREATEPEN: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(95u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_EXTFLOODFILL: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(53u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_EXTSELECTCLIPRGN: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(75u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_EXTTEXTOUTA: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(83u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_EXTTEXTOUTW: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(84u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_FILLPATH: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(62u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_FILLRGN: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(71u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_FLATTENPATH: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(65u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_FRAMERGN: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(72u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_GDICOMMENT: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(70u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_GLSBOUNDEDRECORD: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(103u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_GLSRECORD: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(102u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_GRADIENTFILL: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(118u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_HEADER: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_INTERSECTCLIPRECT: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(30u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_INVERTRGN: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(73u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_LINETO: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(54u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_MASKBLT: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(78u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_MAX: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(122u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_MIN: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_MODIFYWORLDTRANSFORM: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(36u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_MOVETOEX: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(27u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_OFFSETCLIPRGN: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(26u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_PAINTRGN: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(74u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_PIE: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(47u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_PIXELFORMAT: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(104u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_PLGBLT: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(79u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_POLYBEZIER: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_POLYBEZIER16: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(85u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_POLYBEZIERTO: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(5u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_POLYBEZIERTO16: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(88u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_POLYDRAW: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(56u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_POLYDRAW16: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(92u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_POLYGON: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(3u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_POLYGON16: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(86u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_POLYLINE: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_POLYLINE16: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(87u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_POLYLINETO: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(6u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_POLYLINETO16: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(89u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_POLYPOLYGON: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(8u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_POLYPOLYGON16: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(91u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_POLYPOLYLINE: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(7u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_POLYPOLYLINE16: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(90u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_POLYTEXTOUTA: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(96u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_POLYTEXTOUTW: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(97u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_REALIZEPALETTE: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(52u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_RECTANGLE: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(43u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_RESERVED_105: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(105u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_RESERVED_106: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(106u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_RESERVED_107: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(107u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_RESERVED_108: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(108u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_RESERVED_109: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(109u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_RESERVED_110: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(110u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_RESERVED_117: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(117u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_RESERVED_119: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(119u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_RESERVED_120: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(120u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_RESIZEPALETTE: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(51u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_RESTOREDC: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(34u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_ROUNDRECT: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(44u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SAVEDC: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(33u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SCALEVIEWPORTEXTEX: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(31u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SCALEWINDOWEXTEX: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(32u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SELECTCLIPPATH: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(67u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SELECTOBJECT: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(37u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SELECTPALETTE: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(48u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETARCDIRECTION: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(57u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETBKCOLOR: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(25u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETBKMODE: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(18u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETBRUSHORGEX: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(13u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETCOLORADJUSTMENT: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(23u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETCOLORSPACE: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(100u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETDIBITSTODEVICE: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(80u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETICMMODE: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(98u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETICMPROFILEA: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(112u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETICMPROFILEW: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(113u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETLAYOUT: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(115u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETMAPMODE: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(17u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETMAPPERFLAGS: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(16u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETMETARGN: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(28u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETMITERLIMIT: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(58u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETPALETTEENTRIES: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(50u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETPIXELV: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(15u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETPOLYFILLMODE: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(19u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETROP2: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(20u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETSTRETCHBLTMODE: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(21u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETTEXTALIGN: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(22u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETTEXTCOLOR: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(24u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETVIEWPORTEXTEX: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(11u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETVIEWPORTORGEX: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(12u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETWINDOWEXTEX: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(9u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETWINDOWORGEX: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(10u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_SETWORLDTRANSFORM: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(35u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_STRETCHBLT: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(77u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_STRETCHDIBITS: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(81u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_STROKEANDFILLPATH: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(63u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_STROKEPATH: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(64u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_TRANSPARENTBLT: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(116u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EMR_WIDENPATH: ENHANCED_METAFILE_RECORD_TYPE = ENHANCED_METAFILE_RECORD_TYPE(66u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ENABLEDUPLEX: u32 = 28u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ENABLEPAIRKERNING: u32 = 769u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ENABLERELATIVEWIDTHS: u32 = 768u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ENCAPSULATED_POSTSCRIPT: u32 = 4116u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ENDDOC: u32 = 11u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const END_PATH: u32 = 4098u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ENHMETA_SIGNATURE: u32 = 1179469088u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ENHMETA_STOCK_OBJECT: u32 = 2147483648u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ENUMPAPERBINS: u32 = 31u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ENUMPAPERMETRICS: u32 = 34u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ENUM_CURRENT_SETTINGS: ENUM_DISPLAY_SETTINGS_MODE = ENUM_DISPLAY_SETTINGS_MODE(4294967295u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ENUM_REGISTRY_SETTINGS: ENUM_DISPLAY_SETTINGS_MODE = ENUM_DISPLAY_SETTINGS_MODE(4294967294u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EPSPRINTING: u32 = 33u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EPS_SIGNATURE: u32 = 1179865157u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERROR: i32 = 0i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_FORMAT: u32 = 1006u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_GENERIC: u32 = 1000u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_BASE: u32 = 1085u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_CMAP: u32 = 1060u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_DELTA_FORMAT: u32 = 1013u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_EBLC: u32 = 1086u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_GDEF: u32 = 1083u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_GLYF: u32 = 1061u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_GPOS: u32 = 1082u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_GSUB: u32 = 1081u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_HDMX: u32 = 1089u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_HEAD: u32 = 1062u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_HHEA: u32 = 1063u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_HHEA_OR_VHEA: u32 = 1072u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_HMTX: u32 = 1064u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_HMTX_OR_VMTX: u32 = 1073u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_JSTF: u32 = 1084u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_LOCA: u32 = 1065u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_LTSH: u32 = 1087u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_MAXP: u32 = 1066u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_MERGE_CHECKSUMS: u32 = 1011u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_MERGE_FORMATS: u32 = 1010u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_MERGE_NUMGLYPHS: u32 = 1012u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_NAME: u32 = 1067u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_OS2: u32 = 1069u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_POST: u32 = 1068u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_TTC_INDEX: u32 = 1015u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_TTO: u32 = 1080u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_VDMX: u32 = 1088u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_VHEA: u32 = 1070u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_INVALID_VMTX: u32 = 1071u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_MEM: u32 = 1005u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_MISSING_CMAP: u32 = 1030u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_MISSING_EBDT: u32 = 1044u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_MISSING_GLYF: u32 = 1031u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_MISSING_HEAD: u32 = 1032u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_MISSING_HHEA: u32 = 1033u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_MISSING_HHEA_OR_VHEA: u32 = 1042u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_MISSING_HMTX: u32 = 1034u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_MISSING_HMTX_OR_VMTX: u32 = 1043u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_MISSING_LOCA: u32 = 1035u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_MISSING_MAXP: u32 = 1036u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_MISSING_NAME: u32 = 1037u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_MISSING_OS2: u32 = 1039u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_MISSING_POST: u32 = 1038u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_MISSING_VHEA: u32 = 1040u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_MISSING_VMTX: u32 = 1041u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_NOT_TTC: u32 = 1014u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_NO_GLYPHS: u32 = 1009u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_PARAMETER0: u32 = 1100u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_PARAMETER1: u32 = 1101u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_PARAMETER10: u32 = 1110u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_PARAMETER11: u32 = 1111u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_PARAMETER12: u32 = 1112u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_PARAMETER13: u32 = 1113u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_PARAMETER14: u32 = 1114u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_PARAMETER15: u32 = 1115u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_PARAMETER16: u32 = 1116u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_PARAMETER2: u32 = 1102u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_PARAMETER3: u32 = 1103u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_PARAMETER4: u32 = 1104u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_PARAMETER5: u32 = 1105u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_PARAMETER6: u32 = 1106u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_PARAMETER7: u32 = 1107u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_PARAMETER8: u32 = 1108u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_PARAMETER9: u32 = 1109u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_READCONTROL: u32 = 1003u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_READOUTOFBOUNDS: u32 = 1001u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_VERSION: u32 = 1008u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_WOULD_GROW: u32 = 1007u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_WRITECONTROL: u32 = 1004u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ERR_WRITEOUTOFBOUNDS: u32 = 1002u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ETO_CLIPPED: ETO_OPTIONS = ETO_OPTIONS(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ETO_GLYPH_INDEX: ETO_OPTIONS = ETO_OPTIONS(16u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ETO_IGNORELANGUAGE: ETO_OPTIONS = ETO_OPTIONS(4096u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ETO_NUMERICSLATIN: ETO_OPTIONS = ETO_OPTIONS(2048u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ETO_NUMERICSLOCAL: ETO_OPTIONS = ETO_OPTIONS(1024u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ETO_OPAQUE: ETO_OPTIONS = ETO_OPTIONS(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ETO_PDY: ETO_OPTIONS = ETO_OPTIONS(8192u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ETO_REVERSE_INDEX_MAP: ETO_OPTIONS = ETO_OPTIONS(65536u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ETO_RTLREADING: ETO_OPTIONS = ETO_OPTIONS(128u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EXTTEXTOUT: u32 = 512u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const EXT_DEVICE_CAPS: u32 = 4099u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_ADDFONTFAILED: i32 = 512i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_API_NOTIMPL: i32 = 1i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_CHARCODECOUNTINVALID: i32 = 2i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_CHARCODESETINVALID: i32 = 3i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_CHARSETINVALID: i32 = 21i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_COULDNTCREATETEMPFILE: i32 = 513i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_DEVICETRUETYPEFONT: i32 = 4i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_ERRORACCESSINGEXCLUDELIST: i32 = 274i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_ERRORACCESSINGFACENAME: i32 = 13i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_ERRORACCESSINGFONTDATA: i32 = 12i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_ERRORCOMPRESSINGFONTDATA: i32 = 256i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_ERRORCONVERTINGCHARS: i32 = 18i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_ERRORCREATINGFONTFILE: i32 = 269i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_ERRORDECOMPRESSINGFONTDATA: i32 = 273i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_ERROREXPANDINGFONTDATA: i32 = 519i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_ERRORGETTINGDC: i32 = 520i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_ERRORREADINGFONTDATA: i32 = 267i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_ERRORUNICODECONVERSION: i32 = 17i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_EXCEPTION: i32 = 19i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_EXCEPTIONINCOMPRESSION: i32 = 522i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_EXCEPTIONINDECOMPRESSION: i32 = 521i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_FACENAMEINVALID: i32 = 275i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_FILE_NOT_FOUND: i32 = 23i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_FLAGSINVALID: i32 = 268i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_FONTALREADYEXISTS: i32 = 270i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_FONTDATAINVALID: i32 = 258i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_FONTFAMILYNAMENOTINFULL: i32 = 285i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_FONTFILECREATEFAILED: i32 = 515i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_FONTFILENOTFOUND: i32 = 517i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_FONTINSTALLFAILED: i32 = 272i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_FONTNAMEALREADYEXISTS: i32 = 271i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_FONTNOTEMBEDDABLE: i32 = 260i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_FONTREFERENCEINVALID: i32 = 8i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_FONTVARIATIONSIMULATED: i32 = 283i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_HDCINVALID: i32 = 6i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_INPUTPARAMINVALID: i32 = 25i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_NAMECHANGEFAILED: i32 = 259i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_NOFREEMEMORY: i32 = 7i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_NONE: i32 = 0i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_NOOS2: i32 = 265i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_NOTATRUETYPEFONT: i32 = 10i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_PBENABLEDINVALID: i32 = 280i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_PERMISSIONSINVALID: i32 = 279i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_PRIVSINVALID: i32 = 261i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_PRIVSTATUSINVALID: i32 = 278i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_READFROMSTREAMFAILED: i32 = 263i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_RESERVEDPARAMNOTNULL: i32 = 20i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_RESOURCEFILECREATEFAILED: i32 = 518i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_SAVETOSTREAMFAILED: i32 = 264i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_STATUSINVALID: i32 = 277i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_STREAMINVALID: i32 = 276i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_SUBSETTINGEXCEPTION: i32 = 281i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_SUBSETTINGFAILED: i32 = 262i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_SUBSTRING_TEST_FAIL: i32 = 282i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_T2NOFREEMEMORY: i32 = 266i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_TTC_INDEX_OUT_OF_RANGE: i32 = 24i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const E_WINDOWSAPI: i32 = 516i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FEATURESETTING_CUSTPAPER: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FEATURESETTING_MIRROR: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FEATURESETTING_NEGATIVE: u32 = 5u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FEATURESETTING_NUP: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FEATURESETTING_OUTPUT: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FEATURESETTING_PRIVATE_BEGIN: u32 = 4096u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FEATURESETTING_PRIVATE_END: u32 = 8191u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FEATURESETTING_PROTOCOL: u32 = 6u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FEATURESETTING_PSLEVEL: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FF_DECORATIVE: FONT_FAMILY = FONT_FAMILY(80u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FF_DONTCARE: FONT_FAMILY = FONT_FAMILY(0u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FF_MODERN: FONT_FAMILY = FONT_FAMILY(48u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FF_ROMAN: FONT_FAMILY = FONT_FAMILY(16u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FF_SCRIPT: FONT_FAMILY = FONT_FAMILY(64u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FF_SWISS: FONT_FAMILY = FONT_FAMILY(32u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FIXED_PITCH: FONT_PITCH = FONT_PITCH(1u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FLI_GLYPHS: i32 = 262144i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FLI_MASK: u32 = 4155u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FLOODFILLBORDER: EXT_FLOOD_FILL_TYPE = EXT_FLOOD_FILL_TYPE(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FLOODFILLSURFACE: EXT_FLOOD_FILL_TYPE = EXT_FLOOD_FILL_TYPE(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FLUSHOUTPUT: u32 = 6u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FONTMAPPER_MAX: u32 = 10u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FR_NOT_ENUM: FONT_RESOURCE_CHARACTERISTICS = FONT_RESOURCE_CHARACTERISTICS(32u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FR_PRIVATE: FONT_RESOURCE_CHARACTERISTICS = FONT_RESOURCE_CHARACTERISTICS(16u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FS_ARABIC: i32 = 64i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FS_BALTIC: i32 = 128i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FS_CHINESESIMP: i32 = 262144i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FS_CHINESETRAD: i32 = 1048576i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FS_CYRILLIC: i32 = 4i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FS_GREEK: i32 = 8i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FS_HEBREW: i32 = 32i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FS_JISJAPAN: i32 = 131072i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FS_JOHAB: i32 = 2097152i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FS_LATIN1: i32 = 1i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FS_LATIN2: i32 = 2i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FS_SYMBOL: i32 = -2147483648i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FS_THAI: i32 = 65536i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FS_TURKISH: i32 = 16i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FS_VIETNAMESE: i32 = 256i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FS_WANSUNG: i32 = 524288i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FW_BLACK: FONT_WEIGHT = FONT_WEIGHT(900u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FW_BOLD: FONT_WEIGHT = FONT_WEIGHT(700u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FW_DEMIBOLD: FONT_WEIGHT = FONT_WEIGHT(600u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FW_DONTCARE: FONT_WEIGHT = FONT_WEIGHT(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FW_EXTRABOLD: FONT_WEIGHT = FONT_WEIGHT(800u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FW_EXTRALIGHT: FONT_WEIGHT = FONT_WEIGHT(200u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FW_HEAVY: FONT_WEIGHT = FONT_WEIGHT(900u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FW_LIGHT: FONT_WEIGHT = FONT_WEIGHT(300u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FW_MEDIUM: FONT_WEIGHT = FONT_WEIGHT(500u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FW_NORMAL: FONT_WEIGHT = FONT_WEIGHT(400u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FW_REGULAR: FONT_WEIGHT = FONT_WEIGHT(400u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FW_SEMIBOLD: FONT_WEIGHT = FONT_WEIGHT(600u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FW_THIN: FONT_WEIGHT = FONT_WEIGHT(100u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FW_ULTRABOLD: FONT_WEIGHT = FONT_WEIGHT(800u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const FW_ULTRALIGHT: FONT_WEIGHT = FONT_WEIGHT(200u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GB2312_CHARSET: FONT_CHARSET = FONT_CHARSET(134u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCPCLASS_ARABIC: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCPCLASS_HEBREW: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCPCLASS_LATIN: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCPCLASS_LATINNUMBER: u32 = 5u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCPCLASS_LATINNUMERICSEPARATOR: u32 = 7u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCPCLASS_LATINNUMERICTERMINATOR: u32 = 6u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCPCLASS_LOCALNUMBER: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCPCLASS_NEUTRAL: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCPCLASS_NUMERICSEPARATOR: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCPCLASS_POSTBOUNDLTR: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCPCLASS_POSTBOUNDRTL: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCPCLASS_PREBOUNDLTR: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCPCLASS_PREBOUNDRTL: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCPGLYPH_LINKAFTER: u32 = 16384u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCPGLYPH_LINKBEFORE: u32 = 32768u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCP_CLASSIN: GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS(524288u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCP_DBCS: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCP_DIACRITIC: GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS(256u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCP_DISPLAYZWG: GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS(4194304u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCP_ERROR: u32 = 32768u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCP_GLYPHSHAPE: GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS(16u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCP_JUSTIFY: GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS(65536u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCP_JUSTIFYIN: i32 = 2097152i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCP_KASHIDA: GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS(1024u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCP_LIGATE: GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS(32u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCP_MAXEXTENT: GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS(1048576u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCP_NEUTRALOVERRIDE: GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS(33554432u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCP_NUMERICOVERRIDE: GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS(16777216u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCP_NUMERICSLATIN: GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS(67108864u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCP_NUMERICSLOCAL: GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS(134217728u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCP_REORDER: GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCP_SYMSWAPOFF: GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS(8388608u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GCP_USEKERNING: GET_CHARACTER_PLACEMENT_FLAGS = GET_CHARACTER_PLACEMENT_FLAGS(8u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GDICOMMENT_BEGINGROUP: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GDICOMMENT_ENDGROUP: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GDICOMMENT_IDENTIFIER: u32 = 1128875079u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GDICOMMENT_MULTIFORMATS: u32 = 1073741828u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GDICOMMENT_UNICODE_END: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GDICOMMENT_UNICODE_STRING: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GDICOMMENT_WINDOWS_METAFILE: u32 = 2147483649u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GDIPLUS_TS_QUERYVER: u32 = 4122u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GDIPLUS_TS_RECORD: u32 = 4123u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GDIREGISTERDDRAWPACKETVERSION: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GDI_ERROR: i32 = -1i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GETCOLORTABLE: u32 = 5u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GETDEVICEUNITS: u32 = 42u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GETEXTENDEDTEXTMETRICS: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GETEXTENTTABLE: u32 = 257u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GETFACENAME: u32 = 513u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GETPAIRKERNTABLE: u32 = 258u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GETPENWIDTH: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GETPHYSPAGESIZE: u32 = 12u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GETPRINTINGOFFSET: u32 = 13u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GETSCALINGFACTOR: u32 = 14u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GETSETPAPERBINS: u32 = 29u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GETSETPAPERMETRICS: u32 = 35u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GETSETPRINTORIENT: u32 = 30u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GETSETSCREENPARAMS: u32 = 3072u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GETTECHNOLGY: u32 = 20u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GETTECHNOLOGY: u32 = 20u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GETTRACKKERNTABLE: u32 = 259u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GETVECTORBRUSHSIZE: u32 = 27u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GETVECTORPENSIZE: u32 = 26u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GET_PS_FEATURESETTING: u32 = 4121u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GGI_MARK_NONEXISTING_GLYPHS: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GGO_BEZIER: GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT(3u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GGO_BITMAP: GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GGO_GLYPH_INDEX: GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT(128u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GGO_GRAY2_BITMAP: GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GGO_GRAY4_BITMAP: GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT(5u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GGO_GRAY8_BITMAP: GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT(6u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GGO_METRICS: GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GGO_NATIVE: GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GGO_UNHINTED: GET_GLYPH_OUTLINE_FORMAT = GET_GLYPH_OUTLINE_FORMAT(256u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GM_ADVANCED: GRAPHICS_MODE = GRAPHICS_MODE(2i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GM_COMPATIBLE: GRAPHICS_MODE = GRAPHICS_MODE(1i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GM_LAST: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GRADIENT_FILL_OP_FLAG: u32 = 255u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GRADIENT_FILL_RECT_H: GRADIENT_FILL = GRADIENT_FILL(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GRADIENT_FILL_RECT_V: GRADIENT_FILL = GRADIENT_FILL(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GRADIENT_FILL_TRIANGLE: GRADIENT_FILL = GRADIENT_FILL(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GRAY_BRUSH: GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS(2i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GREEK_CHARSET: FONT_CHARSET = FONT_CHARSET(161u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const GS_8BIT_INDICES: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const HALFTONE: STRETCH_BLT_MODE = STRETCH_BLT_MODE(4i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const HANGEUL_CHARSET: FONT_CHARSET = FONT_CHARSET(129u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const HANGUL_CHARSET: FONT_CHARSET = FONT_CHARSET(129u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const HEBREW_CHARSET: FONT_CHARSET = FONT_CHARSET(177u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const HOLLOW_BRUSH: GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS(5i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const HORZRES: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(8u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const HORZSIZE: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const HS_API_MAX: u32 = 12u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const HS_BDIAGONAL: HATCH_BRUSH_STYLE = HATCH_BRUSH_STYLE(3i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const HS_CROSS: HATCH_BRUSH_STYLE = HATCH_BRUSH_STYLE(4i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const HS_DIAGCROSS: HATCH_BRUSH_STYLE = HATCH_BRUSH_STYLE(5i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const HS_FDIAGONAL: HATCH_BRUSH_STYLE = HATCH_BRUSH_STYLE(2i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const HS_HORIZONTAL: HATCH_BRUSH_STYLE = HATCH_BRUSH_STYLE(0i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const HS_VERTICAL: HATCH_BRUSH_STYLE = HATCH_BRUSH_STYLE(1i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ILLUMINANT_A: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ILLUMINANT_B: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ILLUMINANT_C: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ILLUMINANT_D50: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ILLUMINANT_D55: u32 = 5u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ILLUMINANT_D65: u32 = 6u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ILLUMINANT_D75: u32 = 7u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ILLUMINANT_DAYLIGHT: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ILLUMINANT_DEVICE_DEFAULT: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ILLUMINANT_F2: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ILLUMINANT_FLUORESCENT: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ILLUMINANT_MAX_INDEX: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ILLUMINANT_NTSC: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const ILLUMINANT_TUNGSTEN: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const JOHAB_CHARSET: FONT_CHARSET = FONT_CHARSET(130u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LAYOUT_BITMAPORIENTATIONPRESERVED: DC_LAYOUT = DC_LAYOUT(8u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LAYOUT_BTT: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LAYOUT_RTL: DC_LAYOUT = DC_LAYOUT(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LAYOUT_VBH: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LCS_CALIBRATED_RGB: i32 = 0i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LCS_GM_ABS_COLORIMETRIC: i32 = 8i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LCS_GM_BUSINESS: i32 = 1i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LCS_GM_GRAPHICS: i32 = 2i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LCS_GM_IMAGES: i32 = 4i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LC_INTERIORS: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LC_MARKER: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LC_NONE: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LC_POLYLINE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LC_POLYMARKER: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LC_STYLED: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LC_WIDE: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LC_WIDESTYLED: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LF_FACESIZE: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LF_FULLFACESIZE: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LICENSE_DEFAULT: FONT_LICENSE_PRIVS = FONT_LICENSE_PRIVS(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LICENSE_EDITABLE: FONT_LICENSE_PRIVS = FONT_LICENSE_PRIVS(8u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LICENSE_INSTALLABLE: FONT_LICENSE_PRIVS = FONT_LICENSE_PRIVS(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LICENSE_NOEMBEDDING: FONT_LICENSE_PRIVS = FONT_LICENSE_PRIVS(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LICENSE_PREVIEWPRINT: FONT_LICENSE_PRIVS = FONT_LICENSE_PRIVS(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LINECAPS: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(30u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LOGPIXELSX: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(88u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LOGPIXELSY: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(90u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LPD_DOUBLEBUFFER: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LPD_SHARE_ACCUM: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LPD_SHARE_DEPTH: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LPD_SHARE_STENCIL: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LPD_STEREO: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LPD_SUPPORT_GDI: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LPD_SUPPORT_OPENGL: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LPD_SWAP_COPY: u32 = 1024u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LPD_SWAP_EXCHANGE: u32 = 512u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LPD_TRANSPARENT: u32 = 4096u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LPD_TYPE_COLORINDEX: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LPD_TYPE_RGBA: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const LTGRAY_BRUSH: GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS(1i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const MAC_CHARSET: FONT_CHARSET = FONT_CHARSET(77u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const MAXSTRETCHBLTMODE: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const MERGECOPY: ROP_CODE = ROP_CODE(12583114u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const MERGEPAINT: ROP_CODE = ROP_CODE(12255782u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const METAFILE_DRIVER: u32 = 2049u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_ANIMATEPALETTE: u32 = 1078u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_ARC: u32 = 2071u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_BITBLT: u32 = 2338u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_CHORD: u32 = 2096u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_CREATEBRUSHINDIRECT: u32 = 764u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_CREATEFONTINDIRECT: u32 = 763u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_CREATEPALETTE: u32 = 247u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_CREATEPATTERNBRUSH: u32 = 505u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_CREATEPENINDIRECT: u32 = 762u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_CREATEREGION: u32 = 1791u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_DELETEOBJECT: u32 = 496u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_DIBBITBLT: u32 = 2368u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_DIBCREATEPATTERNBRUSH: u32 = 322u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_DIBSTRETCHBLT: u32 = 2881u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_ELLIPSE: u32 = 1048u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_ESCAPE: u32 = 1574u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_EXCLUDECLIPRECT: u32 = 1045u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_EXTFLOODFILL: u32 = 1352u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_EXTTEXTOUT: u32 = 2610u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_FILLREGION: u32 = 552u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_FLOODFILL: u32 = 1049u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_FRAMEREGION: u32 = 1065u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_INTERSECTCLIPRECT: u32 = 1046u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_INVERTREGION: u32 = 298u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_LINETO: u32 = 531u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_MOVETO: u32 = 532u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_OFFSETCLIPRGN: u32 = 544u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_OFFSETVIEWPORTORG: u32 = 529u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_OFFSETWINDOWORG: u32 = 527u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_PAINTREGION: u32 = 299u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_PATBLT: u32 = 1565u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_PIE: u32 = 2074u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_POLYGON: u32 = 804u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_POLYLINE: u32 = 805u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_POLYPOLYGON: u32 = 1336u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_REALIZEPALETTE: u32 = 53u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_RECTANGLE: u32 = 1051u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_RESIZEPALETTE: u32 = 313u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_RESTOREDC: u32 = 295u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_ROUNDRECT: u32 = 1564u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SAVEDC: u32 = 30u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SCALEVIEWPORTEXT: u32 = 1042u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SCALEWINDOWEXT: u32 = 1040u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SELECTCLIPREGION: u32 = 300u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SELECTOBJECT: u32 = 301u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SELECTPALETTE: u32 = 564u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SETBKCOLOR: u32 = 513u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SETBKMODE: u32 = 258u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SETDIBTODEV: u32 = 3379u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SETLAYOUT: u32 = 329u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SETMAPMODE: u32 = 259u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SETMAPPERFLAGS: u32 = 561u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SETPALENTRIES: u32 = 55u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SETPIXEL: u32 = 1055u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SETPOLYFILLMODE: u32 = 262u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SETRELABS: u32 = 261u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SETROP2: u32 = 260u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SETSTRETCHBLTMODE: u32 = 263u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SETTEXTALIGN: u32 = 302u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SETTEXTCHAREXTRA: u32 = 264u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SETTEXTCOLOR: u32 = 521u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SETTEXTJUSTIFICATION: u32 = 522u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SETVIEWPORTEXT: u32 = 526u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SETVIEWPORTORG: u32 = 525u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SETWINDOWEXT: u32 = 524u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_SETWINDOWORG: u32 = 523u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_STRETCHBLT: u32 = 2851u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_STRETCHDIB: u32 = 3907u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const META_TEXTOUT: u32 = 1313u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const MFCOMMENT: u32 = 15u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const MILCORE_TS_QUERYVER_RESULT_FALSE: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const MILCORE_TS_QUERYVER_RESULT_TRUE: u32 = 2147483647u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const MM_ANISOTROPIC: HDC_MAP_MODE = HDC_MAP_MODE(8i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const MM_HIENGLISH: HDC_MAP_MODE = HDC_MAP_MODE(5i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const MM_HIMETRIC: HDC_MAP_MODE = HDC_MAP_MODE(3i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const MM_ISOTROPIC: HDC_MAP_MODE = HDC_MAP_MODE(7i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const MM_LOENGLISH: HDC_MAP_MODE = HDC_MAP_MODE(4i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const MM_LOMETRIC: HDC_MAP_MODE = HDC_MAP_MODE(2i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const MM_MAX_AXES_NAMELEN: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const MM_MAX_NUMAXES: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const MM_TEXT: HDC_MAP_MODE = HDC_MAP_MODE(1i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const MM_TWIPS: HDC_MAP_MODE = HDC_MAP_MODE(6i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const MONITOR_DEFAULTTONEAREST: MONITOR_FROM_FLAGS = MONITOR_FROM_FLAGS(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const MONITOR_DEFAULTTONULL: MONITOR_FROM_FLAGS = MONITOR_FROM_FLAGS(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const MONITOR_DEFAULTTOPRIMARY: MONITOR_FROM_FLAGS = MONITOR_FROM_FLAGS(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const MONO_FONT: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const MOUSETRAILS: u32 = 39u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const MWT_IDENTITY: MODIFY_WORLD_TRANSFORM_MODE = MODIFY_WORLD_TRANSFORM_MODE(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const MWT_LEFTMULTIPLY: MODIFY_WORLD_TRANSFORM_MODE = MODIFY_WORLD_TRANSFORM_MODE(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const MWT_RIGHTMULTIPLY: MODIFY_WORLD_TRANSFORM_MODE = MODIFY_WORLD_TRANSFORM_MODE(3u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const NEWFRAME: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const NEWTRANSPARENT: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const NEXTBAND: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const NOMIRRORBITMAP: ROP_CODE = ROP_CODE(2147483648u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const NONANTIALIASED_QUALITY: FONT_QUALITY = FONT_QUALITY(3u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const NOTSRCCOPY: ROP_CODE = ROP_CODE(3342344u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const NOTSRCERASE: ROP_CODE = ROP_CODE(1114278u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const NTM_BOLD: i32 = 32i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const NTM_DSIG: u32 = 2097152u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const NTM_ITALIC: i32 = 1i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const NTM_MULTIPLEMASTER: u32 = 524288u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const NTM_NONNEGATIVE_AC: u32 = 65536u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const NTM_PS_OPENTYPE: u32 = 131072u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const NTM_REGULAR: i32 = 64i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const NTM_TT_OPENTYPE: u32 = 262144u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const NTM_TYPE1: u32 = 1048576u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const NULLREGION: GDI_REGION_TYPE = GDI_REGION_TYPE(1i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const NULL_BRUSH: GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS(5i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const NULL_PEN: GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS(8i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const NUMBRUSHES: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(16u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const NUMCOLORS: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(24u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const NUMFONTS: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(22u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const NUMMARKERS: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(20u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const NUMPENS: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(18u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const NUMRESERVED: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(106u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OBJ_BITMAP: OBJ_TYPE = OBJ_TYPE(7i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OBJ_BRUSH: OBJ_TYPE = OBJ_TYPE(2i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OBJ_COLORSPACE: OBJ_TYPE = OBJ_TYPE(14i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OBJ_DC: OBJ_TYPE = OBJ_TYPE(3i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OBJ_ENHMETADC: OBJ_TYPE = OBJ_TYPE(12i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OBJ_ENHMETAFILE: OBJ_TYPE = OBJ_TYPE(13i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OBJ_EXTPEN: OBJ_TYPE = OBJ_TYPE(11i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OBJ_FONT: OBJ_TYPE = OBJ_TYPE(6i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OBJ_MEMDC: OBJ_TYPE = OBJ_TYPE(10i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OBJ_METADC: OBJ_TYPE = OBJ_TYPE(4i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OBJ_METAFILE: OBJ_TYPE = OBJ_TYPE(9i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OBJ_PAL: OBJ_TYPE = OBJ_TYPE(5i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OBJ_PEN: OBJ_TYPE = OBJ_TYPE(1i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OBJ_REGION: OBJ_TYPE = OBJ_TYPE(8i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OEM_CHARSET: FONT_CHARSET = FONT_CHARSET(255u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OEM_FIXED_FONT: GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS(10i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OPAQUE: BACKGROUND_MODE = BACKGROUND_MODE(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OPENCHANNEL: u32 = 4110u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OUT_CHARACTER_PRECIS: FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION(2u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OUT_DEFAULT_PRECIS: FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION(0u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OUT_DEVICE_PRECIS: FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION(5u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OUT_OUTLINE_PRECIS: FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION(8u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OUT_PS_ONLY_PRECIS: FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION(10u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OUT_RASTER_PRECIS: FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION(6u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OUT_SCREEN_OUTLINE_PRECIS: FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION(9u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OUT_STRING_PRECIS: FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION(1u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OUT_STROKE_PRECIS: FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION(3u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OUT_TT_ONLY_PRECIS: FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION(7u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const OUT_TT_PRECIS: FONT_OUTPUT_PRECISION = FONT_OUTPUT_PRECISION(4u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PANOSE_COUNT: u32 = 10u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_ANY: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_ARMSTYLE_INDEX: u32 = 6u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_ARM_ANY: PAN_ARM_STYLE = PAN_ARM_STYLE(0u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_ARM_NO_FIT: PAN_ARM_STYLE = PAN_ARM_STYLE(1u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_BENT_ARMS_DOUBLE_SERIF: PAN_ARM_STYLE = PAN_ARM_STYLE(11u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_BENT_ARMS_HORZ: PAN_ARM_STYLE = PAN_ARM_STYLE(7u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_BENT_ARMS_SINGLE_SERIF: PAN_ARM_STYLE = PAN_ARM_STYLE(10u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_BENT_ARMS_VERT: PAN_ARM_STYLE = PAN_ARM_STYLE(9u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_BENT_ARMS_WEDGE: PAN_ARM_STYLE = PAN_ARM_STYLE(8u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_CONTRAST_ANY: PAN_CONTRAST = PAN_CONTRAST(0u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_CONTRAST_HIGH: PAN_CONTRAST = PAN_CONTRAST(8u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_CONTRAST_INDEX: PAN_CONTRAST = PAN_CONTRAST(4u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_CONTRAST_LOW: PAN_CONTRAST = PAN_CONTRAST(4u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_CONTRAST_MEDIUM: PAN_CONTRAST = PAN_CONTRAST(6u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_CONTRAST_MEDIUM_HIGH: PAN_CONTRAST = PAN_CONTRAST(7u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_CONTRAST_MEDIUM_LOW: PAN_CONTRAST = PAN_CONTRAST(5u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_CONTRAST_NONE: PAN_CONTRAST = PAN_CONTRAST(2u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_CONTRAST_NO_FIT: PAN_CONTRAST = PAN_CONTRAST(1u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_CONTRAST_VERY_HIGH: PAN_CONTRAST = PAN_CONTRAST(9u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_CONTRAST_VERY_LOW: PAN_CONTRAST = PAN_CONTRAST(3u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_CULTURE_LATIN: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_FAMILYTYPE_INDEX: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_FAMILY_ANY: PAN_FAMILY_TYPE = PAN_FAMILY_TYPE(0u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_FAMILY_DECORATIVE: PAN_FAMILY_TYPE = PAN_FAMILY_TYPE(4u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_FAMILY_NO_FIT: PAN_FAMILY_TYPE = PAN_FAMILY_TYPE(1u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_FAMILY_PICTORIAL: PAN_FAMILY_TYPE = PAN_FAMILY_TYPE(5u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_FAMILY_SCRIPT: PAN_FAMILY_TYPE = PAN_FAMILY_TYPE(3u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_FAMILY_TEXT_DISPLAY: PAN_FAMILY_TYPE = PAN_FAMILY_TYPE(2u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_LETTERFORM_INDEX: u32 = 7u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_LETT_FORM_ANY: PAN_LETT_FORM = PAN_LETT_FORM(0u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_LETT_FORM_NO_FIT: PAN_LETT_FORM = PAN_LETT_FORM(1u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_LETT_NORMAL_BOXED: PAN_LETT_FORM = PAN_LETT_FORM(4u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_LETT_NORMAL_CONTACT: PAN_LETT_FORM = PAN_LETT_FORM(2u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_LETT_NORMAL_FLATTENED: PAN_LETT_FORM = PAN_LETT_FORM(5u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_LETT_NORMAL_OFF_CENTER: PAN_LETT_FORM = PAN_LETT_FORM(7u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_LETT_NORMAL_ROUNDED: PAN_LETT_FORM = PAN_LETT_FORM(6u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_LETT_NORMAL_SQUARE: PAN_LETT_FORM = PAN_LETT_FORM(8u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_LETT_NORMAL_WEIGHTED: PAN_LETT_FORM = PAN_LETT_FORM(3u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_LETT_OBLIQUE_BOXED: PAN_LETT_FORM = PAN_LETT_FORM(11u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_LETT_OBLIQUE_CONTACT: PAN_LETT_FORM = PAN_LETT_FORM(9u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_LETT_OBLIQUE_FLATTENED: PAN_LETT_FORM = PAN_LETT_FORM(12u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_LETT_OBLIQUE_OFF_CENTER: PAN_LETT_FORM = PAN_LETT_FORM(14u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_LETT_OBLIQUE_ROUNDED: PAN_LETT_FORM = PAN_LETT_FORM(13u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_LETT_OBLIQUE_SQUARE: PAN_LETT_FORM = PAN_LETT_FORM(15u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_LETT_OBLIQUE_WEIGHTED: PAN_LETT_FORM = PAN_LETT_FORM(10u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_MIDLINE_ANY: PAN_MIDLINE = PAN_MIDLINE(0u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_MIDLINE_CONSTANT_POINTED: PAN_MIDLINE = PAN_MIDLINE(9u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_MIDLINE_CONSTANT_SERIFED: PAN_MIDLINE = PAN_MIDLINE(10u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_MIDLINE_CONSTANT_TRIMMED: PAN_MIDLINE = PAN_MIDLINE(8u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_MIDLINE_HIGH_POINTED: PAN_MIDLINE = PAN_MIDLINE(6u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_MIDLINE_HIGH_SERIFED: PAN_MIDLINE = PAN_MIDLINE(7u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_MIDLINE_HIGH_TRIMMED: PAN_MIDLINE = PAN_MIDLINE(5u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_MIDLINE_INDEX: PAN_MIDLINE = PAN_MIDLINE(8u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_MIDLINE_LOW_POINTED: PAN_MIDLINE = PAN_MIDLINE(12u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_MIDLINE_LOW_SERIFED: PAN_MIDLINE = PAN_MIDLINE(13u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_MIDLINE_LOW_TRIMMED: PAN_MIDLINE = PAN_MIDLINE(11u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_MIDLINE_NO_FIT: PAN_MIDLINE = PAN_MIDLINE(1u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_MIDLINE_STANDARD_POINTED: PAN_MIDLINE = PAN_MIDLINE(3u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_MIDLINE_STANDARD_SERIFED: PAN_MIDLINE = PAN_MIDLINE(4u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_MIDLINE_STANDARD_TRIMMED: PAN_MIDLINE = PAN_MIDLINE(2u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_NO_FIT: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_PROPORTION_INDEX: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_PROP_ANY: PAN_PROPORTION = PAN_PROPORTION(0u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_PROP_CONDENSED: PAN_PROPORTION = PAN_PROPORTION(6u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_PROP_EVEN_WIDTH: PAN_PROPORTION = PAN_PROPORTION(4u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_PROP_EXPANDED: PAN_PROPORTION = PAN_PROPORTION(5u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_PROP_MODERN: PAN_PROPORTION = PAN_PROPORTION(3u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_PROP_MONOSPACED: PAN_PROPORTION = PAN_PROPORTION(9u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_PROP_NO_FIT: PAN_PROPORTION = PAN_PROPORTION(1u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_PROP_OLD_STYLE: PAN_PROPORTION = PAN_PROPORTION(2u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_PROP_VERY_CONDENSED: PAN_PROPORTION = PAN_PROPORTION(8u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_PROP_VERY_EXPANDED: PAN_PROPORTION = PAN_PROPORTION(7u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_SERIFSTYLE_INDEX: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_SERIF_ANY: PAN_SERIF_STYLE = PAN_SERIF_STYLE(0u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_SERIF_BONE: PAN_SERIF_STYLE = PAN_SERIF_STYLE(8u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_SERIF_COVE: PAN_SERIF_STYLE = PAN_SERIF_STYLE(2u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_SERIF_EXAGGERATED: PAN_SERIF_STYLE = PAN_SERIF_STYLE(9u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_SERIF_FLARED: PAN_SERIF_STYLE = PAN_SERIF_STYLE(14u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_SERIF_NORMAL_SANS: PAN_SERIF_STYLE = PAN_SERIF_STYLE(11u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_SERIF_NO_FIT: PAN_SERIF_STYLE = PAN_SERIF_STYLE(1u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_SERIF_OBTUSE_COVE: PAN_SERIF_STYLE = PAN_SERIF_STYLE(3u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_SERIF_OBTUSE_SANS: PAN_SERIF_STYLE = PAN_SERIF_STYLE(12u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_SERIF_OBTUSE_SQUARE_COVE: PAN_SERIF_STYLE = PAN_SERIF_STYLE(5u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_SERIF_PERP_SANS: PAN_SERIF_STYLE = PAN_SERIF_STYLE(13u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_SERIF_ROUNDED: PAN_SERIF_STYLE = PAN_SERIF_STYLE(15u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_SERIF_SQUARE: PAN_SERIF_STYLE = PAN_SERIF_STYLE(6u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_SERIF_SQUARE_COVE: PAN_SERIF_STYLE = PAN_SERIF_STYLE(4u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_SERIF_THIN: PAN_SERIF_STYLE = PAN_SERIF_STYLE(7u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_SERIF_TRIANGLE: PAN_SERIF_STYLE = PAN_SERIF_STYLE(10u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_STRAIGHT_ARMS_DOUBLE_SERIF: PAN_ARM_STYLE = PAN_ARM_STYLE(6u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_STRAIGHT_ARMS_HORZ: PAN_ARM_STYLE = PAN_ARM_STYLE(2u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_STRAIGHT_ARMS_SINGLE_SERIF: PAN_ARM_STYLE = PAN_ARM_STYLE(5u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_STRAIGHT_ARMS_VERT: PAN_ARM_STYLE = PAN_ARM_STYLE(4u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_STRAIGHT_ARMS_WEDGE: PAN_ARM_STYLE = PAN_ARM_STYLE(3u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_STROKEVARIATION_INDEX: u32 = 5u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_STROKE_ANY: PAN_STROKE_VARIATION = PAN_STROKE_VARIATION(0u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_STROKE_GRADUAL_DIAG: PAN_STROKE_VARIATION = PAN_STROKE_VARIATION(2u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_STROKE_GRADUAL_HORZ: PAN_STROKE_VARIATION = PAN_STROKE_VARIATION(5u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_STROKE_GRADUAL_TRAN: PAN_STROKE_VARIATION = PAN_STROKE_VARIATION(3u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_STROKE_GRADUAL_VERT: PAN_STROKE_VARIATION = PAN_STROKE_VARIATION(4u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_STROKE_INSTANT_VERT: PAN_STROKE_VARIATION = PAN_STROKE_VARIATION(8u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_STROKE_NO_FIT: PAN_STROKE_VARIATION = PAN_STROKE_VARIATION(1u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_STROKE_RAPID_HORZ: PAN_STROKE_VARIATION = PAN_STROKE_VARIATION(7u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_STROKE_RAPID_VERT: PAN_STROKE_VARIATION = PAN_STROKE_VARIATION(6u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_WEIGHT_ANY: PAN_WEIGHT = PAN_WEIGHT(0u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_WEIGHT_BLACK: PAN_WEIGHT = PAN_WEIGHT(10u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_WEIGHT_BOLD: PAN_WEIGHT = PAN_WEIGHT(8u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_WEIGHT_BOOK: PAN_WEIGHT = PAN_WEIGHT(5u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_WEIGHT_DEMI: PAN_WEIGHT = PAN_WEIGHT(7u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_WEIGHT_HEAVY: PAN_WEIGHT = PAN_WEIGHT(9u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_WEIGHT_INDEX: PAN_WEIGHT = PAN_WEIGHT(2u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_WEIGHT_LIGHT: PAN_WEIGHT = PAN_WEIGHT(3u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_WEIGHT_MEDIUM: PAN_WEIGHT = PAN_WEIGHT(6u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_WEIGHT_NORD: PAN_WEIGHT = PAN_WEIGHT(11u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_WEIGHT_NO_FIT: PAN_WEIGHT = PAN_WEIGHT(1u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_WEIGHT_THIN: PAN_WEIGHT = PAN_WEIGHT(4u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_WEIGHT_VERY_LIGHT: PAN_WEIGHT = PAN_WEIGHT(2u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_XHEIGHT_ANY: PAN_XHEIGHT = PAN_XHEIGHT(0u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_XHEIGHT_CONSTANT_LARGE: PAN_XHEIGHT = PAN_XHEIGHT(4u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_XHEIGHT_CONSTANT_SMALL: PAN_XHEIGHT = PAN_XHEIGHT(2u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_XHEIGHT_CONSTANT_STD: PAN_XHEIGHT = PAN_XHEIGHT(3u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_XHEIGHT_DUCKING_LARGE: PAN_XHEIGHT = PAN_XHEIGHT(7u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_XHEIGHT_DUCKING_SMALL: PAN_XHEIGHT = PAN_XHEIGHT(5u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_XHEIGHT_DUCKING_STD: PAN_XHEIGHT = PAN_XHEIGHT(6u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_XHEIGHT_INDEX: PAN_XHEIGHT = PAN_XHEIGHT(9u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PAN_XHEIGHT_NO_FIT: PAN_XHEIGHT = PAN_XHEIGHT(1u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PASSTHROUGH: u32 = 19u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PATCOPY: ROP_CODE = ROP_CODE(15728673u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PATINVERT: ROP_CODE = ROP_CODE(5898313u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PATPAINT: ROP_CODE = ROP_CODE(16452105u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PC_EXPLICIT: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PC_INTERIORS: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PC_NOCOLLAPSE: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PC_NONE: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PC_PATHS: u32 = 512u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PC_POLYGON: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PC_POLYPOLYGON: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PC_RECTANGLE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PC_RESERVED: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PC_SCANLINE: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PC_STYLED: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PC_TRAPEZOID: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PC_WIDE: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PC_WIDESTYLED: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PC_WINDPOLYGON: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PDEVICESIZE: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(26u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PHYSICALHEIGHT: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(111u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PHYSICALOFFSETX: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(112u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PHYSICALOFFSETY: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(113u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PHYSICALWIDTH: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(110u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PLANES: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(14u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const POLYFILL_LAST: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const POLYGONALCAPS: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(32u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const POSTSCRIPT_DATA: u32 = 37u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const POSTSCRIPT_IDENTIFY: u32 = 4117u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const POSTSCRIPT_IGNORE: u32 = 38u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const POSTSCRIPT_INJECTION: u32 = 4118u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const POSTSCRIPT_PASSTHROUGH: u32 = 4115u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PRINTRATEUNIT_CPS: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PRINTRATEUNIT_IPM: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PRINTRATEUNIT_LPM: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PRINTRATEUNIT_PPM: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PROOF_QUALITY: FONT_QUALITY = FONT_QUALITY(2u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PR_JOBSTATUS: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PSIDENT_GDICENTRIC: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PSIDENT_PSCENTRIC: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PSINJECT_DLFONT: u32 = 3722304989u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PSPROTOCOL_ASCII: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PSPROTOCOL_BCP: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PSPROTOCOL_BINARY: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PSPROTOCOL_TBCP: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PS_ALTERNATE: PEN_STYLE = PEN_STYLE(8i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PS_COSMETIC: PEN_STYLE = PEN_STYLE(0i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PS_DASH: PEN_STYLE = PEN_STYLE(1i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PS_DASHDOT: PEN_STYLE = PEN_STYLE(3i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PS_DASHDOTDOT: PEN_STYLE = PEN_STYLE(4i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PS_DOT: PEN_STYLE = PEN_STYLE(2i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PS_ENDCAP_FLAT: PEN_STYLE = PEN_STYLE(512i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PS_ENDCAP_MASK: PEN_STYLE = PEN_STYLE(3840i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PS_ENDCAP_ROUND: PEN_STYLE = PEN_STYLE(0i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PS_ENDCAP_SQUARE: PEN_STYLE = PEN_STYLE(256i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PS_GEOMETRIC: PEN_STYLE = PEN_STYLE(65536i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PS_INSIDEFRAME: PEN_STYLE = PEN_STYLE(6i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PS_JOIN_BEVEL: PEN_STYLE = PEN_STYLE(4096i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PS_JOIN_MASK: PEN_STYLE = PEN_STYLE(61440i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PS_JOIN_MITER: PEN_STYLE = PEN_STYLE(8192i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PS_JOIN_ROUND: PEN_STYLE = PEN_STYLE(0i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PS_NULL: PEN_STYLE = PEN_STYLE(5i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PS_SOLID: PEN_STYLE = PEN_STYLE(0i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PS_STYLE_MASK: PEN_STYLE = PEN_STYLE(15i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PS_TYPE_MASK: PEN_STYLE = PEN_STYLE(983040i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PS_USERSTYLE: PEN_STYLE = PEN_STYLE(7i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PT_BEZIERTO: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PT_CLOSEFIGURE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PT_LINETO: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const PT_MOVETO: u32 = 6u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const QDI_DIBTOSCREEN: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const QDI_GETDIBITS: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const QDI_SETDIBITS: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const QDI_STRETCHDIB: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const QUERYDIBSUPPORT: u32 = 3073u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const QUERYESCSUPPORT: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const QUERYROPSUPPORT: u32 = 40u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const R2_BLACK: R2_MODE = R2_MODE(1i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const R2_COPYPEN: R2_MODE = R2_MODE(13i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const R2_LAST: R2_MODE = R2_MODE(16i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const R2_MASKNOTPEN: R2_MODE = R2_MODE(3i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const R2_MASKPEN: R2_MODE = R2_MODE(9i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const R2_MASKPENNOT: R2_MODE = R2_MODE(5i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const R2_MERGENOTPEN: R2_MODE = R2_MODE(12i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const R2_MERGEPEN: R2_MODE = R2_MODE(15i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const R2_MERGEPENNOT: R2_MODE = R2_MODE(14i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const R2_NOP: R2_MODE = R2_MODE(11i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const R2_NOT: R2_MODE = R2_MODE(6i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const R2_NOTCOPYPEN: R2_MODE = R2_MODE(4i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const R2_NOTMASKPEN: R2_MODE = R2_MODE(8i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const R2_NOTMERGEPEN: R2_MODE = R2_MODE(2i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const R2_NOTXORPEN: R2_MODE = R2_MODE(10i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const R2_WHITE: R2_MODE = R2_MODE(16i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const R2_XORPEN: R2_MODE = R2_MODE(7i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RASTERCAPS: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(38u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RASTER_FONTTYPE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RC_BANDING: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RC_BIGFONT: u32 = 1024u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RC_BITBLT: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RC_BITMAP64: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RC_DEVBITS: u32 = 32768u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RC_DIBTODEV: u32 = 512u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RC_DI_BITMAP: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RC_FLOODFILL: u32 = 4096u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RC_GDI20_OUTPUT: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RC_GDI20_STATE: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RC_OP_DX_OUTPUT: u32 = 16384u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RC_PALETTE: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RC_SAVEBITMAP: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RC_SCALING: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RC_STRETCHBLT: u32 = 2048u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RC_STRETCHDIB: u32 = 8192u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RDH_RECTANGLES: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RDW_ALLCHILDREN: REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS(128u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RDW_ERASE: REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RDW_ERASENOW: REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS(512u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RDW_FRAME: REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS(1024u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RDW_INTERNALPAINT: REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RDW_INVALIDATE: REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RDW_NOCHILDREN: REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS(64u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RDW_NOERASE: REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS(32u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RDW_NOFRAME: REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS(2048u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RDW_NOINTERNALPAINT: REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS(16u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RDW_UPDATENOW: REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS(256u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RDW_VALIDATE: REDRAW_WINDOW_FLAGS = REDRAW_WINDOW_FLAGS(8u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RELATIVE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RESTORE_CTM: u32 = 4100u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RGN_AND: RGN_COMBINE_MODE = RGN_COMBINE_MODE(1i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RGN_COPY: RGN_COMBINE_MODE = RGN_COMBINE_MODE(5i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RGN_DIFF: RGN_COMBINE_MODE = RGN_COMBINE_MODE(4i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RGN_ERROR: GDI_REGION_TYPE = GDI_REGION_TYPE(0i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RGN_MAX: RGN_COMBINE_MODE = RGN_COMBINE_MODE(5i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RGN_MIN: RGN_COMBINE_MODE = RGN_COMBINE_MODE(1i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RGN_OR: RGN_COMBINE_MODE = RGN_COMBINE_MODE(2i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RGN_XOR: RGN_COMBINE_MODE = RGN_COMBINE_MODE(3i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const RUSSIAN_CHARSET: FONT_CHARSET = FONT_CHARSET(204u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SAVE_CTM: u32 = 4101u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SB_CONST_ALPHA: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SB_GRAD_RECT: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SB_GRAD_TRI: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SB_NONE: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SB_PIXEL_ALPHA: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SB_PREMULT_ALPHA: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SCALINGFACTORX: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(114u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SCALINGFACTORY: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(115u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SC_SCREENSAVE: u32 = 61760u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SELECTDIB: u32 = 41u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SELECTPAPERSOURCE: u32 = 18u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SETABORTPROC: u32 = 9u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SETALLJUSTVALUES: u32 = 771u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SETCHARSET: u32 = 772u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SETCOLORTABLE: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SETCOPYCOUNT: u32 = 17u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SETDIBSCALING: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SETICMPROFILE_EMBEDED: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SETKERNTRACK: u32 = 770u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SETLINECAP: u32 = 21u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SETLINEJOIN: u32 = 22u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SETMITERLIMIT: u32 = 23u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SET_ARC_DIRECTION: u32 = 4102u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SET_BACKGROUND_COLOR: u32 = 4103u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SET_BOUNDS: u32 = 4109u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SET_CLIP_BOX: u32 = 4108u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SET_MIRROR_MODE: u32 = 4110u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SET_POLY_MODE: u32 = 4104u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SET_SCREEN_ANGLE: u32 = 4105u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SET_SPREAD: u32 = 4106u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SHADEBLENDCAPS: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(120u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SHIFTJIS_CHARSET: FONT_CHARSET = FONT_CHARSET(128u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SIMPLEREGION: GDI_REGION_TYPE = GDI_REGION_TYPE(2i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SIZEPALETTE: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(104u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SPCLPASSTHROUGH2: u32 = 4568u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SP_APPABORT: i32 = -2i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SP_ERROR: i32 = -1i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SP_NOTREPORTED: u32 = 16384u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SP_OUTOFDISK: i32 = -4i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SP_OUTOFMEMORY: i32 = -5i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SP_USERABORT: i32 = -3i32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SRCAND: ROP_CODE = ROP_CODE(8913094u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SRCCOPY: ROP_CODE = ROP_CODE(13369376u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SRCERASE: ROP_CODE = ROP_CODE(4457256u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SRCINVERT: ROP_CODE = ROP_CODE(6684742u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SRCPAINT: ROP_CODE = ROP_CODE(15597702u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const STARTDOC: u32 = 10u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const STOCK_LAST: u32 = 19u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const STRETCHBLT: u32 = 2048u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const STRETCH_ANDSCANS: STRETCH_BLT_MODE = STRETCH_BLT_MODE(1i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const STRETCH_DELETESCANS: STRETCH_BLT_MODE = STRETCH_BLT_MODE(3i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const STRETCH_HALFTONE: STRETCH_BLT_MODE = STRETCH_BLT_MODE(4i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const STRETCH_ORSCANS: STRETCH_BLT_MODE = STRETCH_BLT_MODE(2i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SYMBOL_CHARSET: FONT_CHARSET = FONT_CHARSET(2u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SYSPAL_ERROR: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SYSPAL_NOSTATIC: SYSTEM_PALETTE_USE = SYSTEM_PALETTE_USE(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SYSPAL_NOSTATIC256: SYSTEM_PALETTE_USE = SYSTEM_PALETTE_USE(3u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SYSPAL_STATIC: SYSTEM_PALETTE_USE = SYSTEM_PALETTE_USE(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SYSRGN: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SYSTEM_FIXED_FONT: GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS(16i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const SYSTEM_FONT: GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS(13i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TA_BASELINE: TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS(24u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TA_BOTTOM: TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS(8u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TA_CENTER: TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS(6u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TA_LEFT: TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TA_MASK: TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS(287u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TA_NOUPDATECP: TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TA_RIGHT: TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TA_RTLREADING: TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS(256u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TA_TOP: TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TA_UPDATECP: TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TC_CP_STROKE: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TC_CR_90: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TC_CR_ANY: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TC_EA_DOUBLE: u32 = 512u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TC_IA_ABLE: u32 = 1024u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TC_OP_CHARACTER: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TC_OP_STROKE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TC_RA_ABLE: u32 = 8192u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TC_RESERVED: u32 = 32768u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TC_SA_CONTIN: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TC_SA_DOUBLE: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TC_SA_INTEGER: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TC_SCROLLBLT: u32 = 65536u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TC_SF_X_YINDEP: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TC_SO_ABLE: u32 = 4096u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TC_UA_ABLE: u32 = 2048u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TC_VA_ABLE: u32 = 16384u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TECHNOLOGY: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TEXTCAPS: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(34u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const THAI_CHARSET: FONT_CHARSET = FONT_CHARSET(222u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TMPF_DEVICE: TMPF_FLAGS = TMPF_FLAGS(8u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TMPF_FIXED_PITCH: TMPF_FLAGS = TMPF_FLAGS(1u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TMPF_TRUETYPE: TMPF_FLAGS = TMPF_FLAGS(4u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TMPF_VECTOR: TMPF_FLAGS = TMPF_FLAGS(2u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TRANSFORM_CTM: u32 = 4107u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TRANSPARENT: BACKGROUND_MODE = BACKGROUND_MODE(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TRUETYPE_FONTTYPE: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTDELETE_DONTREMOVEFONT: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTEMBED_EMBEDEUDC: TTEMBED_FLAGS = TTEMBED_FLAGS(32u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTEMBED_EUDCEMBEDDED: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTEMBED_FAILIFVARIATIONSIMULATED: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTEMBED_RAW: TTEMBED_FLAGS = TTEMBED_FLAGS(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTEMBED_SUBSET: TTEMBED_FLAGS = TTEMBED_FLAGS(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTEMBED_SUBSETCANCEL: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTEMBED_TTCOMPRESSED: TTEMBED_FLAGS = TTEMBED_FLAGS(4u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTEMBED_VARIATIONSIMULATED: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTEMBED_WEBOBJECT: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTEMBED_XORENCRYPTDATA: u32 = 268435456u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTFCFP_APPLE_PLATFORMID: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTFCFP_DELTA: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTFCFP_DONT_CARE: u32 = 65535u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTFCFP_FLAGS_COMPRESS: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTFCFP_FLAGS_GLYPHLIST: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTFCFP_FLAGS_SUBSET: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTFCFP_FLAGS_TTC: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTFCFP_ISO_PLATFORMID: CREATE_FONT_PACKAGE_SUBSET_PLATFORM = CREATE_FONT_PACKAGE_SUBSET_PLATFORM(2i16); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTFCFP_LANG_KEEP_ALL: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTFCFP_MS_PLATFORMID: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTFCFP_STD_MAC_CHAR_SET: CREATE_FONT_PACKAGE_SUBSET_ENCODING = CREATE_FONT_PACKAGE_SUBSET_ENCODING(0i16); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTFCFP_SUBSET: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTFCFP_SUBSET1: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTFCFP_SYMBOL_CHAR_SET: CREATE_FONT_PACKAGE_SUBSET_ENCODING = CREATE_FONT_PACKAGE_SUBSET_ENCODING(0i16); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTFCFP_UNICODE_CHAR_SET: CREATE_FONT_PACKAGE_SUBSET_ENCODING = CREATE_FONT_PACKAGE_SUBSET_ENCODING(1i16); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTFCFP_UNICODE_PLATFORMID: CREATE_FONT_PACKAGE_SUBSET_PLATFORM = CREATE_FONT_PACKAGE_SUBSET_PLATFORM(0i16); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTFMFP_DELTA: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTFMFP_SUBSET: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTFMFP_SUBSET1: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTLOAD_EUDC_OVERWRITE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTLOAD_EUDC_SET: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTLOAD_FONT_IN_SYSSTARTUP: TTLOAD_EMBEDDED_FONT_STATUS = TTLOAD_EMBEDDED_FONT_STATUS(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTLOAD_FONT_SUBSETTED: TTLOAD_EMBEDDED_FONT_STATUS = TTLOAD_EMBEDDED_FONT_STATUS(1u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TTLOAD_PRIVATE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TT_AVAILABLE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TT_ENABLED: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TT_POLYGON_TYPE: u32 = 24u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TT_PRIM_CSPLINE: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TT_PRIM_LINE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TT_PRIM_QSPLINE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const TURKISH_CHARSET: FONT_CHARSET = FONT_CHARSET(162u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const VARIABLE_PITCH: FONT_PITCH = FONT_PITCH(2u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const VERTRES: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(10u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const VERTSIZE: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(6u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const VIETNAMESE_CHARSET: FONT_CHARSET = FONT_CHARSET(163u8); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const VREFRESH: GET_DEVICE_CAPS_INDEX = GET_DEVICE_CAPS_INDEX(116u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const VTA_BASELINE: TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS(24u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const VTA_BOTTOM: TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS(2u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const VTA_CENTER: TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS(6u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const VTA_LEFT: TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS(8u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const VTA_RIGHT: TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const VTA_TOP: TEXT_ALIGN_OPTIONS = TEXT_ALIGN_OPTIONS(0u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_FONT_LINES: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_FONT_POLYGONS: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAPMULTIPLE_MAX: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_MAIN_PLANE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_OVERLAY1: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_OVERLAY10: u32 = 1024u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_OVERLAY11: u32 = 2048u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_OVERLAY12: u32 = 4096u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_OVERLAY13: u32 = 8192u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_OVERLAY14: u32 = 16384u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_OVERLAY15: u32 = 32768u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_OVERLAY2: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_OVERLAY3: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_OVERLAY4: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_OVERLAY5: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_OVERLAY6: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_OVERLAY7: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_OVERLAY8: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_OVERLAY9: u32 = 512u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_UNDERLAY1: u32 = 65536u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_UNDERLAY10: u32 = 33554432u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_UNDERLAY11: u32 = 67108864u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_UNDERLAY12: u32 = 134217728u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_UNDERLAY13: u32 = 268435456u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_UNDERLAY14: u32 = 536870912u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_UNDERLAY15: u32 = 1073741824u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_UNDERLAY2: u32 = 131072u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_UNDERLAY3: u32 = 262144u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_UNDERLAY4: u32 = 524288u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_UNDERLAY5: u32 = 1048576u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_UNDERLAY6: u32 = 2097152u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_UNDERLAY7: u32 = 4194304u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_UNDERLAY8: u32 = 8388608u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WGL_SWAP_UNDERLAY9: u32 = 16777216u32; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WHITENESS: ROP_CODE = ROP_CODE(16711778u32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WHITEONBLACK: STRETCH_BLT_MODE = STRETCH_BLT_MODE(2i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WHITE_BRUSH: GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS(0i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WHITE_PEN: GET_STOCK_OBJECT_FLAGS = GET_STOCK_OBJECT_FLAGS(6i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub const WINDING: CREATE_POLYGON_RGN_MODE = CREATE_POLYGON_RGN_MODE(2i32); |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct ARC_DIRECTION(pub i32); |
| impl ::core::marker::Copy for ARC_DIRECTION {} |
| impl ::core::clone::Clone for ARC_DIRECTION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for ARC_DIRECTION { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for ARC_DIRECTION { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for ARC_DIRECTION { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ARC_DIRECTION").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct BACKGROUND_MODE(pub u32); |
| impl ::core::marker::Copy for BACKGROUND_MODE {} |
| impl ::core::clone::Clone for BACKGROUND_MODE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for BACKGROUND_MODE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for BACKGROUND_MODE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for BACKGROUND_MODE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("BACKGROUND_MODE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct BI_COMPRESSION(pub u32); |
| impl ::core::marker::Copy for BI_COMPRESSION {} |
| impl ::core::clone::Clone for BI_COMPRESSION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for BI_COMPRESSION { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for BI_COMPRESSION { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for BI_COMPRESSION { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("BI_COMPRESSION").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct BRUSH_STYLE(pub u32); |
| impl ::core::marker::Copy for BRUSH_STYLE {} |
| impl ::core::clone::Clone for BRUSH_STYLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for BRUSH_STYLE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for BRUSH_STYLE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for BRUSH_STYLE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("BRUSH_STYLE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct CDS_TYPE(pub u32); |
| impl ::core::marker::Copy for CDS_TYPE {} |
| impl ::core::clone::Clone for CDS_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for CDS_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for CDS_TYPE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for CDS_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("CDS_TYPE").field(&self.0).finish() |
| } |
| } |
| impl CDS_TYPE { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for CDS_TYPE { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for CDS_TYPE { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for CDS_TYPE { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for CDS_TYPE { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for CDS_TYPE { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct CREATE_FONT_PACKAGE_SUBSET_ENCODING(pub i16); |
| impl ::core::marker::Copy for CREATE_FONT_PACKAGE_SUBSET_ENCODING {} |
| impl ::core::clone::Clone for CREATE_FONT_PACKAGE_SUBSET_ENCODING { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for CREATE_FONT_PACKAGE_SUBSET_ENCODING { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for CREATE_FONT_PACKAGE_SUBSET_ENCODING { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for CREATE_FONT_PACKAGE_SUBSET_ENCODING { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("CREATE_FONT_PACKAGE_SUBSET_ENCODING").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct CREATE_FONT_PACKAGE_SUBSET_PLATFORM(pub i16); |
| impl ::core::marker::Copy for CREATE_FONT_PACKAGE_SUBSET_PLATFORM {} |
| impl ::core::clone::Clone for CREATE_FONT_PACKAGE_SUBSET_PLATFORM { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for CREATE_FONT_PACKAGE_SUBSET_PLATFORM { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for CREATE_FONT_PACKAGE_SUBSET_PLATFORM { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for CREATE_FONT_PACKAGE_SUBSET_PLATFORM { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("CREATE_FONT_PACKAGE_SUBSET_PLATFORM").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct CREATE_POLYGON_RGN_MODE(pub i32); |
| impl ::core::marker::Copy for CREATE_POLYGON_RGN_MODE {} |
| impl ::core::clone::Clone for CREATE_POLYGON_RGN_MODE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for CREATE_POLYGON_RGN_MODE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for CREATE_POLYGON_RGN_MODE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for CREATE_POLYGON_RGN_MODE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("CREATE_POLYGON_RGN_MODE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct DC_LAYOUT(pub u32); |
| impl ::core::marker::Copy for DC_LAYOUT {} |
| impl ::core::clone::Clone for DC_LAYOUT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for DC_LAYOUT { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for DC_LAYOUT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for DC_LAYOUT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("DC_LAYOUT").field(&self.0).finish() |
| } |
| } |
| impl DC_LAYOUT { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for DC_LAYOUT { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for DC_LAYOUT { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for DC_LAYOUT { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for DC_LAYOUT { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for DC_LAYOUT { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct DEVMODE_COLLATE(pub i16); |
| impl ::core::marker::Copy for DEVMODE_COLLATE {} |
| impl ::core::clone::Clone for DEVMODE_COLLATE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for DEVMODE_COLLATE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for DEVMODE_COLLATE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for DEVMODE_COLLATE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("DEVMODE_COLLATE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct DEVMODE_COLOR(pub i16); |
| impl ::core::marker::Copy for DEVMODE_COLOR {} |
| impl ::core::clone::Clone for DEVMODE_COLOR { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for DEVMODE_COLOR { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for DEVMODE_COLOR { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for DEVMODE_COLOR { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("DEVMODE_COLOR").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct DEVMODE_DISPLAY_FIXED_OUTPUT(pub u32); |
| impl ::core::marker::Copy for DEVMODE_DISPLAY_FIXED_OUTPUT {} |
| impl ::core::clone::Clone for DEVMODE_DISPLAY_FIXED_OUTPUT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for DEVMODE_DISPLAY_FIXED_OUTPUT { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for DEVMODE_DISPLAY_FIXED_OUTPUT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for DEVMODE_DISPLAY_FIXED_OUTPUT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("DEVMODE_DISPLAY_FIXED_OUTPUT").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct DEVMODE_DISPLAY_ORIENTATION(pub u32); |
| impl ::core::marker::Copy for DEVMODE_DISPLAY_ORIENTATION {} |
| impl ::core::clone::Clone for DEVMODE_DISPLAY_ORIENTATION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for DEVMODE_DISPLAY_ORIENTATION { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for DEVMODE_DISPLAY_ORIENTATION { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for DEVMODE_DISPLAY_ORIENTATION { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("DEVMODE_DISPLAY_ORIENTATION").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct DEVMODE_DUPLEX(pub i16); |
| impl ::core::marker::Copy for DEVMODE_DUPLEX {} |
| impl ::core::clone::Clone for DEVMODE_DUPLEX { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for DEVMODE_DUPLEX { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for DEVMODE_DUPLEX { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for DEVMODE_DUPLEX { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("DEVMODE_DUPLEX").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct DEVMODE_FIELD_FLAGS(pub u32); |
| impl ::core::marker::Copy for DEVMODE_FIELD_FLAGS {} |
| impl ::core::clone::Clone for DEVMODE_FIELD_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for DEVMODE_FIELD_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for DEVMODE_FIELD_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for DEVMODE_FIELD_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("DEVMODE_FIELD_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl DEVMODE_FIELD_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for DEVMODE_FIELD_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for DEVMODE_FIELD_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for DEVMODE_FIELD_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for DEVMODE_FIELD_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for DEVMODE_FIELD_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct DEVMODE_TRUETYPE_OPTION(pub i16); |
| impl ::core::marker::Copy for DEVMODE_TRUETYPE_OPTION {} |
| impl ::core::clone::Clone for DEVMODE_TRUETYPE_OPTION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for DEVMODE_TRUETYPE_OPTION { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for DEVMODE_TRUETYPE_OPTION { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for DEVMODE_TRUETYPE_OPTION { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("DEVMODE_TRUETYPE_OPTION").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct DFCS_STATE(pub u32); |
| impl ::core::marker::Copy for DFCS_STATE {} |
| impl ::core::clone::Clone for DFCS_STATE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for DFCS_STATE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for DFCS_STATE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for DFCS_STATE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("DFCS_STATE").field(&self.0).finish() |
| } |
| } |
| impl DFCS_STATE { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for DFCS_STATE { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for DFCS_STATE { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for DFCS_STATE { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for DFCS_STATE { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for DFCS_STATE { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct DFC_TYPE(pub u32); |
| impl ::core::marker::Copy for DFC_TYPE {} |
| impl ::core::clone::Clone for DFC_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for DFC_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for DFC_TYPE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for DFC_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("DFC_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct DIB_USAGE(pub u32); |
| impl ::core::marker::Copy for DIB_USAGE {} |
| impl ::core::clone::Clone for DIB_USAGE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for DIB_USAGE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for DIB_USAGE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for DIB_USAGE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("DIB_USAGE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct DISPLAYCONFIG_COLOR_ENCODING(pub i32); |
| impl ::core::marker::Copy for DISPLAYCONFIG_COLOR_ENCODING {} |
| impl ::core::clone::Clone for DISPLAYCONFIG_COLOR_ENCODING { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for DISPLAYCONFIG_COLOR_ENCODING { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for DISPLAYCONFIG_COLOR_ENCODING { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for DISPLAYCONFIG_COLOR_ENCODING { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("DISPLAYCONFIG_COLOR_ENCODING").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct DISP_CHANGE(pub i32); |
| impl ::core::marker::Copy for DISP_CHANGE {} |
| impl ::core::clone::Clone for DISP_CHANGE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for DISP_CHANGE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for DISP_CHANGE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for DISP_CHANGE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("DISP_CHANGE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct DRAWEDGE_FLAGS(pub u32); |
| impl ::core::marker::Copy for DRAWEDGE_FLAGS {} |
| impl ::core::clone::Clone for DRAWEDGE_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for DRAWEDGE_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for DRAWEDGE_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for DRAWEDGE_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("DRAWEDGE_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl DRAWEDGE_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for DRAWEDGE_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for DRAWEDGE_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for DRAWEDGE_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for DRAWEDGE_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for DRAWEDGE_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct DRAWSTATE_FLAGS(pub u32); |
| impl ::core::marker::Copy for DRAWSTATE_FLAGS {} |
| impl ::core::clone::Clone for DRAWSTATE_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for DRAWSTATE_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for DRAWSTATE_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for DRAWSTATE_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("DRAWSTATE_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl DRAWSTATE_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for DRAWSTATE_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for DRAWSTATE_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for DRAWSTATE_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for DRAWSTATE_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for DRAWSTATE_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct DRAW_CAPTION_FLAGS(pub u32); |
| impl ::core::marker::Copy for DRAW_CAPTION_FLAGS {} |
| impl ::core::clone::Clone for DRAW_CAPTION_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for DRAW_CAPTION_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for DRAW_CAPTION_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for DRAW_CAPTION_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("DRAW_CAPTION_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl DRAW_CAPTION_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for DRAW_CAPTION_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for DRAW_CAPTION_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for DRAW_CAPTION_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for DRAW_CAPTION_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for DRAW_CAPTION_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct DRAW_EDGE_FLAGS(pub u32); |
| impl ::core::marker::Copy for DRAW_EDGE_FLAGS {} |
| impl ::core::clone::Clone for DRAW_EDGE_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for DRAW_EDGE_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for DRAW_EDGE_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for DRAW_EDGE_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("DRAW_EDGE_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl DRAW_EDGE_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for DRAW_EDGE_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for DRAW_EDGE_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for DRAW_EDGE_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for DRAW_EDGE_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for DRAW_EDGE_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct DRAW_TEXT_FORMAT(pub u32); |
| impl ::core::marker::Copy for DRAW_TEXT_FORMAT {} |
| impl ::core::clone::Clone for DRAW_TEXT_FORMAT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for DRAW_TEXT_FORMAT { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for DRAW_TEXT_FORMAT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for DRAW_TEXT_FORMAT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("DRAW_TEXT_FORMAT").field(&self.0).finish() |
| } |
| } |
| impl DRAW_TEXT_FORMAT { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for DRAW_TEXT_FORMAT { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for DRAW_TEXT_FORMAT { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for DRAW_TEXT_FORMAT { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for DRAW_TEXT_FORMAT { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for DRAW_TEXT_FORMAT { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct EMBEDDED_FONT_PRIV_STATUS(pub u32); |
| impl ::core::marker::Copy for EMBEDDED_FONT_PRIV_STATUS {} |
| impl ::core::clone::Clone for EMBEDDED_FONT_PRIV_STATUS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for EMBEDDED_FONT_PRIV_STATUS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for EMBEDDED_FONT_PRIV_STATUS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for EMBEDDED_FONT_PRIV_STATUS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("EMBEDDED_FONT_PRIV_STATUS").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct EMBED_FONT_CHARSET(pub u32); |
| impl ::core::marker::Copy for EMBED_FONT_CHARSET {} |
| impl ::core::clone::Clone for EMBED_FONT_CHARSET { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for EMBED_FONT_CHARSET { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for EMBED_FONT_CHARSET { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for EMBED_FONT_CHARSET { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("EMBED_FONT_CHARSET").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct ENHANCED_METAFILE_RECORD_TYPE(pub u32); |
| impl ::core::marker::Copy for ENHANCED_METAFILE_RECORD_TYPE {} |
| impl ::core::clone::Clone for ENHANCED_METAFILE_RECORD_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for ENHANCED_METAFILE_RECORD_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for ENHANCED_METAFILE_RECORD_TYPE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for ENHANCED_METAFILE_RECORD_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ENHANCED_METAFILE_RECORD_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct ENUM_DISPLAY_SETTINGS_FLAGS(pub u32); |
| impl ::core::marker::Copy for ENUM_DISPLAY_SETTINGS_FLAGS {} |
| impl ::core::clone::Clone for ENUM_DISPLAY_SETTINGS_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for ENUM_DISPLAY_SETTINGS_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for ENUM_DISPLAY_SETTINGS_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for ENUM_DISPLAY_SETTINGS_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ENUM_DISPLAY_SETTINGS_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl ENUM_DISPLAY_SETTINGS_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for ENUM_DISPLAY_SETTINGS_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for ENUM_DISPLAY_SETTINGS_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for ENUM_DISPLAY_SETTINGS_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for ENUM_DISPLAY_SETTINGS_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for ENUM_DISPLAY_SETTINGS_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct ENUM_DISPLAY_SETTINGS_MODE(pub u32); |
| impl ::core::marker::Copy for ENUM_DISPLAY_SETTINGS_MODE {} |
| impl ::core::clone::Clone for ENUM_DISPLAY_SETTINGS_MODE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for ENUM_DISPLAY_SETTINGS_MODE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for ENUM_DISPLAY_SETTINGS_MODE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for ENUM_DISPLAY_SETTINGS_MODE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ENUM_DISPLAY_SETTINGS_MODE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct ETO_OPTIONS(pub u32); |
| impl ::core::marker::Copy for ETO_OPTIONS {} |
| impl ::core::clone::Clone for ETO_OPTIONS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for ETO_OPTIONS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for ETO_OPTIONS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for ETO_OPTIONS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ETO_OPTIONS").field(&self.0).finish() |
| } |
| } |
| impl ETO_OPTIONS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for ETO_OPTIONS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for ETO_OPTIONS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for ETO_OPTIONS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for ETO_OPTIONS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for ETO_OPTIONS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct EXT_FLOOD_FILL_TYPE(pub u32); |
| impl ::core::marker::Copy for EXT_FLOOD_FILL_TYPE {} |
| impl ::core::clone::Clone for EXT_FLOOD_FILL_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for EXT_FLOOD_FILL_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for EXT_FLOOD_FILL_TYPE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for EXT_FLOOD_FILL_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("EXT_FLOOD_FILL_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct FONT_CHARSET(pub u8); |
| impl ::core::marker::Copy for FONT_CHARSET {} |
| impl ::core::clone::Clone for FONT_CHARSET { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for FONT_CHARSET { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for FONT_CHARSET { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for FONT_CHARSET { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("FONT_CHARSET").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct FONT_CLIP_PRECISION(pub u8); |
| impl ::core::marker::Copy for FONT_CLIP_PRECISION {} |
| impl ::core::clone::Clone for FONT_CLIP_PRECISION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for FONT_CLIP_PRECISION { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for FONT_CLIP_PRECISION { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for FONT_CLIP_PRECISION { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("FONT_CLIP_PRECISION").field(&self.0).finish() |
| } |
| } |
| impl FONT_CLIP_PRECISION { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for FONT_CLIP_PRECISION { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for FONT_CLIP_PRECISION { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for FONT_CLIP_PRECISION { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for FONT_CLIP_PRECISION { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for FONT_CLIP_PRECISION { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct FONT_FAMILY(pub u8); |
| impl ::core::marker::Copy for FONT_FAMILY {} |
| impl ::core::clone::Clone for FONT_FAMILY { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for FONT_FAMILY { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for FONT_FAMILY { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for FONT_FAMILY { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("FONT_FAMILY").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct FONT_LICENSE_PRIVS(pub u32); |
| impl ::core::marker::Copy for FONT_LICENSE_PRIVS {} |
| impl ::core::clone::Clone for FONT_LICENSE_PRIVS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for FONT_LICENSE_PRIVS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for FONT_LICENSE_PRIVS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for FONT_LICENSE_PRIVS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("FONT_LICENSE_PRIVS").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct FONT_OUTPUT_PRECISION(pub u8); |
| impl ::core::marker::Copy for FONT_OUTPUT_PRECISION {} |
| impl ::core::clone::Clone for FONT_OUTPUT_PRECISION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for FONT_OUTPUT_PRECISION { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for FONT_OUTPUT_PRECISION { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for FONT_OUTPUT_PRECISION { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("FONT_OUTPUT_PRECISION").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct FONT_PITCH(pub u8); |
| impl ::core::marker::Copy for FONT_PITCH {} |
| impl ::core::clone::Clone for FONT_PITCH { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for FONT_PITCH { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for FONT_PITCH { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for FONT_PITCH { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("FONT_PITCH").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct FONT_QUALITY(pub u8); |
| impl ::core::marker::Copy for FONT_QUALITY {} |
| impl ::core::clone::Clone for FONT_QUALITY { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for FONT_QUALITY { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for FONT_QUALITY { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for FONT_QUALITY { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("FONT_QUALITY").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct FONT_RESOURCE_CHARACTERISTICS(pub u32); |
| impl ::core::marker::Copy for FONT_RESOURCE_CHARACTERISTICS {} |
| impl ::core::clone::Clone for FONT_RESOURCE_CHARACTERISTICS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for FONT_RESOURCE_CHARACTERISTICS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for FONT_RESOURCE_CHARACTERISTICS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for FONT_RESOURCE_CHARACTERISTICS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("FONT_RESOURCE_CHARACTERISTICS").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct FONT_WEIGHT(pub u32); |
| impl ::core::marker::Copy for FONT_WEIGHT {} |
| impl ::core::clone::Clone for FONT_WEIGHT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for FONT_WEIGHT { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for FONT_WEIGHT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for FONT_WEIGHT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("FONT_WEIGHT").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct GDI_REGION_TYPE(pub i32); |
| impl ::core::marker::Copy for GDI_REGION_TYPE {} |
| impl ::core::clone::Clone for GDI_REGION_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for GDI_REGION_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for GDI_REGION_TYPE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for GDI_REGION_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("GDI_REGION_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct GET_CHARACTER_PLACEMENT_FLAGS(pub u32); |
| impl ::core::marker::Copy for GET_CHARACTER_PLACEMENT_FLAGS {} |
| impl ::core::clone::Clone for GET_CHARACTER_PLACEMENT_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for GET_CHARACTER_PLACEMENT_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for GET_CHARACTER_PLACEMENT_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for GET_CHARACTER_PLACEMENT_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("GET_CHARACTER_PLACEMENT_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl GET_CHARACTER_PLACEMENT_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for GET_CHARACTER_PLACEMENT_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for GET_CHARACTER_PLACEMENT_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for GET_CHARACTER_PLACEMENT_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for GET_CHARACTER_PLACEMENT_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for GET_CHARACTER_PLACEMENT_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct GET_DCX_FLAGS(pub u32); |
| impl ::core::marker::Copy for GET_DCX_FLAGS {} |
| impl ::core::clone::Clone for GET_DCX_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for GET_DCX_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for GET_DCX_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for GET_DCX_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("GET_DCX_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl GET_DCX_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for GET_DCX_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for GET_DCX_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for GET_DCX_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for GET_DCX_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for GET_DCX_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct GET_DEVICE_CAPS_INDEX(pub u32); |
| impl ::core::marker::Copy for GET_DEVICE_CAPS_INDEX {} |
| impl ::core::clone::Clone for GET_DEVICE_CAPS_INDEX { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for GET_DEVICE_CAPS_INDEX { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for GET_DEVICE_CAPS_INDEX { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for GET_DEVICE_CAPS_INDEX { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("GET_DEVICE_CAPS_INDEX").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct GET_GLYPH_OUTLINE_FORMAT(pub u32); |
| impl ::core::marker::Copy for GET_GLYPH_OUTLINE_FORMAT {} |
| impl ::core::clone::Clone for GET_GLYPH_OUTLINE_FORMAT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for GET_GLYPH_OUTLINE_FORMAT { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for GET_GLYPH_OUTLINE_FORMAT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for GET_GLYPH_OUTLINE_FORMAT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("GET_GLYPH_OUTLINE_FORMAT").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct GET_STOCK_OBJECT_FLAGS(pub i32); |
| impl ::core::marker::Copy for GET_STOCK_OBJECT_FLAGS {} |
| impl ::core::clone::Clone for GET_STOCK_OBJECT_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for GET_STOCK_OBJECT_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for GET_STOCK_OBJECT_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for GET_STOCK_OBJECT_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("GET_STOCK_OBJECT_FLAGS").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct GRADIENT_FILL(pub u32); |
| impl ::core::marker::Copy for GRADIENT_FILL {} |
| impl ::core::clone::Clone for GRADIENT_FILL { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for GRADIENT_FILL { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for GRADIENT_FILL { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for GRADIENT_FILL { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("GRADIENT_FILL").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct GRAPHICS_MODE(pub i32); |
| impl ::core::marker::Copy for GRAPHICS_MODE {} |
| impl ::core::clone::Clone for GRAPHICS_MODE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for GRAPHICS_MODE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for GRAPHICS_MODE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for GRAPHICS_MODE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("GRAPHICS_MODE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct HATCH_BRUSH_STYLE(pub i32); |
| impl ::core::marker::Copy for HATCH_BRUSH_STYLE {} |
| impl ::core::clone::Clone for HATCH_BRUSH_STYLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for HATCH_BRUSH_STYLE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for HATCH_BRUSH_STYLE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for HATCH_BRUSH_STYLE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("HATCH_BRUSH_STYLE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct HDC_MAP_MODE(pub i32); |
| impl ::core::marker::Copy for HDC_MAP_MODE {} |
| impl ::core::clone::Clone for HDC_MAP_MODE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for HDC_MAP_MODE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for HDC_MAP_MODE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for HDC_MAP_MODE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("HDC_MAP_MODE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct MODIFY_WORLD_TRANSFORM_MODE(pub u32); |
| impl ::core::marker::Copy for MODIFY_WORLD_TRANSFORM_MODE {} |
| impl ::core::clone::Clone for MODIFY_WORLD_TRANSFORM_MODE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for MODIFY_WORLD_TRANSFORM_MODE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for MODIFY_WORLD_TRANSFORM_MODE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for MODIFY_WORLD_TRANSFORM_MODE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("MODIFY_WORLD_TRANSFORM_MODE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct MONITOR_FROM_FLAGS(pub u32); |
| impl ::core::marker::Copy for MONITOR_FROM_FLAGS {} |
| impl ::core::clone::Clone for MONITOR_FROM_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for MONITOR_FROM_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for MONITOR_FROM_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for MONITOR_FROM_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("MONITOR_FROM_FLAGS").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct OBJ_TYPE(pub i32); |
| impl ::core::marker::Copy for OBJ_TYPE {} |
| impl ::core::clone::Clone for OBJ_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for OBJ_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for OBJ_TYPE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for OBJ_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("OBJ_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct PAN_ARM_STYLE(pub u8); |
| impl ::core::marker::Copy for PAN_ARM_STYLE {} |
| impl ::core::clone::Clone for PAN_ARM_STYLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for PAN_ARM_STYLE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for PAN_ARM_STYLE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for PAN_ARM_STYLE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("PAN_ARM_STYLE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct PAN_CONTRAST(pub u8); |
| impl ::core::marker::Copy for PAN_CONTRAST {} |
| impl ::core::clone::Clone for PAN_CONTRAST { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for PAN_CONTRAST { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for PAN_CONTRAST { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for PAN_CONTRAST { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("PAN_CONTRAST").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct PAN_FAMILY_TYPE(pub u8); |
| impl ::core::marker::Copy for PAN_FAMILY_TYPE {} |
| impl ::core::clone::Clone for PAN_FAMILY_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for PAN_FAMILY_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for PAN_FAMILY_TYPE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for PAN_FAMILY_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("PAN_FAMILY_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct PAN_LETT_FORM(pub u8); |
| impl ::core::marker::Copy for PAN_LETT_FORM {} |
| impl ::core::clone::Clone for PAN_LETT_FORM { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for PAN_LETT_FORM { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for PAN_LETT_FORM { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for PAN_LETT_FORM { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("PAN_LETT_FORM").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct PAN_MIDLINE(pub u8); |
| impl ::core::marker::Copy for PAN_MIDLINE {} |
| impl ::core::clone::Clone for PAN_MIDLINE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for PAN_MIDLINE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for PAN_MIDLINE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for PAN_MIDLINE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("PAN_MIDLINE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct PAN_PROPORTION(pub u8); |
| impl ::core::marker::Copy for PAN_PROPORTION {} |
| impl ::core::clone::Clone for PAN_PROPORTION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for PAN_PROPORTION { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for PAN_PROPORTION { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for PAN_PROPORTION { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("PAN_PROPORTION").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct PAN_SERIF_STYLE(pub u8); |
| impl ::core::marker::Copy for PAN_SERIF_STYLE {} |
| impl ::core::clone::Clone for PAN_SERIF_STYLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for PAN_SERIF_STYLE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for PAN_SERIF_STYLE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for PAN_SERIF_STYLE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("PAN_SERIF_STYLE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct PAN_STROKE_VARIATION(pub u8); |
| impl ::core::marker::Copy for PAN_STROKE_VARIATION {} |
| impl ::core::clone::Clone for PAN_STROKE_VARIATION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for PAN_STROKE_VARIATION { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for PAN_STROKE_VARIATION { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for PAN_STROKE_VARIATION { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("PAN_STROKE_VARIATION").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct PAN_WEIGHT(pub u8); |
| impl ::core::marker::Copy for PAN_WEIGHT {} |
| impl ::core::clone::Clone for PAN_WEIGHT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for PAN_WEIGHT { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for PAN_WEIGHT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for PAN_WEIGHT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("PAN_WEIGHT").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct PAN_XHEIGHT(pub u8); |
| impl ::core::marker::Copy for PAN_XHEIGHT {} |
| impl ::core::clone::Clone for PAN_XHEIGHT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for PAN_XHEIGHT { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for PAN_XHEIGHT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for PAN_XHEIGHT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("PAN_XHEIGHT").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct PEN_STYLE(pub i32); |
| impl ::core::marker::Copy for PEN_STYLE {} |
| impl ::core::clone::Clone for PEN_STYLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for PEN_STYLE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for PEN_STYLE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for PEN_STYLE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("PEN_STYLE").field(&self.0).finish() |
| } |
| } |
| impl PEN_STYLE { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for PEN_STYLE { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for PEN_STYLE { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for PEN_STYLE { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for PEN_STYLE { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for PEN_STYLE { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct R2_MODE(pub i32); |
| impl ::core::marker::Copy for R2_MODE {} |
| impl ::core::clone::Clone for R2_MODE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for R2_MODE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for R2_MODE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for R2_MODE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("R2_MODE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct REDRAW_WINDOW_FLAGS(pub u32); |
| impl ::core::marker::Copy for REDRAW_WINDOW_FLAGS {} |
| impl ::core::clone::Clone for REDRAW_WINDOW_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for REDRAW_WINDOW_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for REDRAW_WINDOW_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for REDRAW_WINDOW_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("REDRAW_WINDOW_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl REDRAW_WINDOW_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for REDRAW_WINDOW_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for REDRAW_WINDOW_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for REDRAW_WINDOW_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for REDRAW_WINDOW_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for REDRAW_WINDOW_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct RGN_COMBINE_MODE(pub i32); |
| impl ::core::marker::Copy for RGN_COMBINE_MODE {} |
| impl ::core::clone::Clone for RGN_COMBINE_MODE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for RGN_COMBINE_MODE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for RGN_COMBINE_MODE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for RGN_COMBINE_MODE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("RGN_COMBINE_MODE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct ROP_CODE(pub u32); |
| impl ::core::marker::Copy for ROP_CODE {} |
| impl ::core::clone::Clone for ROP_CODE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for ROP_CODE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for ROP_CODE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for ROP_CODE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ROP_CODE").field(&self.0).finish() |
| } |
| } |
| impl ROP_CODE { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for ROP_CODE { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for ROP_CODE { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for ROP_CODE { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for ROP_CODE { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for ROP_CODE { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct SET_BOUNDS_RECT_FLAGS(pub u32); |
| impl ::core::marker::Copy for SET_BOUNDS_RECT_FLAGS {} |
| impl ::core::clone::Clone for SET_BOUNDS_RECT_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for SET_BOUNDS_RECT_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for SET_BOUNDS_RECT_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for SET_BOUNDS_RECT_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("SET_BOUNDS_RECT_FLAGS").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct STRETCH_BLT_MODE(pub i32); |
| impl ::core::marker::Copy for STRETCH_BLT_MODE {} |
| impl ::core::clone::Clone for STRETCH_BLT_MODE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for STRETCH_BLT_MODE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for STRETCH_BLT_MODE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for STRETCH_BLT_MODE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("STRETCH_BLT_MODE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct SYSTEM_PALETTE_USE(pub u32); |
| impl ::core::marker::Copy for SYSTEM_PALETTE_USE {} |
| impl ::core::clone::Clone for SYSTEM_PALETTE_USE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for SYSTEM_PALETTE_USE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for SYSTEM_PALETTE_USE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for SYSTEM_PALETTE_USE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("SYSTEM_PALETTE_USE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct SYS_COLOR_INDEX(pub i32); |
| impl ::core::marker::Copy for SYS_COLOR_INDEX {} |
| impl ::core::clone::Clone for SYS_COLOR_INDEX { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for SYS_COLOR_INDEX { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for SYS_COLOR_INDEX { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for SYS_COLOR_INDEX { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("SYS_COLOR_INDEX").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct TEXT_ALIGN_OPTIONS(pub u32); |
| impl ::core::marker::Copy for TEXT_ALIGN_OPTIONS {} |
| impl ::core::clone::Clone for TEXT_ALIGN_OPTIONS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for TEXT_ALIGN_OPTIONS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for TEXT_ALIGN_OPTIONS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for TEXT_ALIGN_OPTIONS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("TEXT_ALIGN_OPTIONS").field(&self.0).finish() |
| } |
| } |
| impl TEXT_ALIGN_OPTIONS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for TEXT_ALIGN_OPTIONS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for TEXT_ALIGN_OPTIONS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for TEXT_ALIGN_OPTIONS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for TEXT_ALIGN_OPTIONS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for TEXT_ALIGN_OPTIONS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct TMPF_FLAGS(pub u8); |
| impl ::core::marker::Copy for TMPF_FLAGS {} |
| impl ::core::clone::Clone for TMPF_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for TMPF_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for TMPF_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for TMPF_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("TMPF_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl TMPF_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for TMPF_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for TMPF_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for TMPF_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for TMPF_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for TMPF_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct TTEMBED_FLAGS(pub u32); |
| impl ::core::marker::Copy for TTEMBED_FLAGS {} |
| impl ::core::clone::Clone for TTEMBED_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for TTEMBED_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for TTEMBED_FLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for TTEMBED_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("TTEMBED_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl TTEMBED_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for TTEMBED_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for TTEMBED_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for TTEMBED_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for TTEMBED_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for TTEMBED_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct TTLOAD_EMBEDDED_FONT_STATUS(pub u32); |
| impl ::core::marker::Copy for TTLOAD_EMBEDDED_FONT_STATUS {} |
| impl ::core::clone::Clone for TTLOAD_EMBEDDED_FONT_STATUS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for TTLOAD_EMBEDDED_FONT_STATUS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows_core::TypeKind for TTLOAD_EMBEDDED_FONT_STATUS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::fmt::Debug for TTLOAD_EMBEDDED_FONT_STATUS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("TTLOAD_EMBEDDED_FONT_STATUS").field(&self.0).finish() |
| } |
| } |
| impl TTLOAD_EMBEDDED_FONT_STATUS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for TTLOAD_EMBEDDED_FONT_STATUS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for TTLOAD_EMBEDDED_FONT_STATUS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for TTLOAD_EMBEDDED_FONT_STATUS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for TTLOAD_EMBEDDED_FONT_STATUS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for TTLOAD_EMBEDDED_FONT_STATUS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct ABC { |
| pub abcA: i32, |
| pub abcB: u32, |
| pub abcC: i32, |
| } |
| impl ::core::marker::Copy for ABC {} |
| impl ::core::clone::Clone for ABC { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ABC { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ABC").field("abcA", &self.abcA).field("abcB", &self.abcB).field("abcC", &self.abcC).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for ABC { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ABC { |
| fn eq(&self, other: &Self) -> bool { |
| self.abcA == other.abcA && self.abcB == other.abcB && self.abcC == other.abcC |
| } |
| } |
| impl ::core::cmp::Eq for ABC {} |
| impl ::core::default::Default for ABC { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct ABCFLOAT { |
| pub abcfA: f32, |
| pub abcfB: f32, |
| pub abcfC: f32, |
| } |
| impl ::core::marker::Copy for ABCFLOAT {} |
| impl ::core::clone::Clone for ABCFLOAT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ABCFLOAT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ABCFLOAT").field("abcfA", &self.abcfA).field("abcfB", &self.abcfB).field("abcfC", &self.abcfC).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for ABCFLOAT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ABCFLOAT { |
| fn eq(&self, other: &Self) -> bool { |
| self.abcfA == other.abcfA && self.abcfB == other.abcfB && self.abcfC == other.abcfC |
| } |
| } |
| impl ::core::cmp::Eq for ABCFLOAT {} |
| impl ::core::default::Default for ABCFLOAT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct ABORTPATH { |
| pub emr: EMR, |
| } |
| impl ::core::marker::Copy for ABORTPATH {} |
| impl ::core::clone::Clone for ABORTPATH { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ABORTPATH { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ABORTPATH").field("emr", &self.emr).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for ABORTPATH { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ABORTPATH { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr |
| } |
| } |
| impl ::core::cmp::Eq for ABORTPATH {} |
| impl ::core::default::Default for ABORTPATH { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct AXESLISTA { |
| pub axlReserved: u32, |
| pub axlNumAxes: u32, |
| pub axlAxisInfo: [AXISINFOA; 16], |
| } |
| impl ::core::marker::Copy for AXESLISTA {} |
| impl ::core::clone::Clone for AXESLISTA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for AXESLISTA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("AXESLISTA").field("axlReserved", &self.axlReserved).field("axlNumAxes", &self.axlNumAxes).field("axlAxisInfo", &self.axlAxisInfo).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for AXESLISTA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for AXESLISTA { |
| fn eq(&self, other: &Self) -> bool { |
| self.axlReserved == other.axlReserved && self.axlNumAxes == other.axlNumAxes && self.axlAxisInfo == other.axlAxisInfo |
| } |
| } |
| impl ::core::cmp::Eq for AXESLISTA {} |
| impl ::core::default::Default for AXESLISTA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct AXESLISTW { |
| pub axlReserved: u32, |
| pub axlNumAxes: u32, |
| pub axlAxisInfo: [AXISINFOW; 16], |
| } |
| impl ::core::marker::Copy for AXESLISTW {} |
| impl ::core::clone::Clone for AXESLISTW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for AXESLISTW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("AXESLISTW").field("axlReserved", &self.axlReserved).field("axlNumAxes", &self.axlNumAxes).field("axlAxisInfo", &self.axlAxisInfo).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for AXESLISTW { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for AXESLISTW { |
| fn eq(&self, other: &Self) -> bool { |
| self.axlReserved == other.axlReserved && self.axlNumAxes == other.axlNumAxes && self.axlAxisInfo == other.axlAxisInfo |
| } |
| } |
| impl ::core::cmp::Eq for AXESLISTW {} |
| impl ::core::default::Default for AXESLISTW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct AXISINFOA { |
| pub axMinValue: i32, |
| pub axMaxValue: i32, |
| pub axAxisName: [u8; 16], |
| } |
| impl ::core::marker::Copy for AXISINFOA {} |
| impl ::core::clone::Clone for AXISINFOA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for AXISINFOA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("AXISINFOA").field("axMinValue", &self.axMinValue).field("axMaxValue", &self.axMaxValue).field("axAxisName", &self.axAxisName).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for AXISINFOA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for AXISINFOA { |
| fn eq(&self, other: &Self) -> bool { |
| self.axMinValue == other.axMinValue && self.axMaxValue == other.axMaxValue && self.axAxisName == other.axAxisName |
| } |
| } |
| impl ::core::cmp::Eq for AXISINFOA {} |
| impl ::core::default::Default for AXISINFOA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct AXISINFOW { |
| pub axMinValue: i32, |
| pub axMaxValue: i32, |
| pub axAxisName: [u16; 16], |
| } |
| impl ::core::marker::Copy for AXISINFOW {} |
| impl ::core::clone::Clone for AXISINFOW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for AXISINFOW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("AXISINFOW").field("axMinValue", &self.axMinValue).field("axMaxValue", &self.axMaxValue).field("axAxisName", &self.axAxisName).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for AXISINFOW { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for AXISINFOW { |
| fn eq(&self, other: &Self) -> bool { |
| self.axMinValue == other.axMinValue && self.axMaxValue == other.axMaxValue && self.axAxisName == other.axAxisName |
| } |
| } |
| impl ::core::cmp::Eq for AXISINFOW {} |
| impl ::core::default::Default for AXISINFOW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct BITMAP { |
| pub bmType: i32, |
| pub bmWidth: i32, |
| pub bmHeight: i32, |
| pub bmWidthBytes: i32, |
| pub bmPlanes: u16, |
| pub bmBitsPixel: u16, |
| pub bmBits: *mut ::core::ffi::c_void, |
| } |
| impl ::core::marker::Copy for BITMAP {} |
| impl ::core::clone::Clone for BITMAP { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for BITMAP { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("BITMAP").field("bmType", &self.bmType).field("bmWidth", &self.bmWidth).field("bmHeight", &self.bmHeight).field("bmWidthBytes", &self.bmWidthBytes).field("bmPlanes", &self.bmPlanes).field("bmBitsPixel", &self.bmBitsPixel).field("bmBits", &self.bmBits).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for BITMAP { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for BITMAP { |
| fn eq(&self, other: &Self) -> bool { |
| self.bmType == other.bmType && self.bmWidth == other.bmWidth && self.bmHeight == other.bmHeight && self.bmWidthBytes == other.bmWidthBytes && self.bmPlanes == other.bmPlanes && self.bmBitsPixel == other.bmBitsPixel && self.bmBits == other.bmBits |
| } |
| } |
| impl ::core::cmp::Eq for BITMAP {} |
| impl ::core::default::Default for BITMAP { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct BITMAPCOREHEADER { |
| pub bcSize: u32, |
| pub bcWidth: u16, |
| pub bcHeight: u16, |
| pub bcPlanes: u16, |
| pub bcBitCount: u16, |
| } |
| impl ::core::marker::Copy for BITMAPCOREHEADER {} |
| impl ::core::clone::Clone for BITMAPCOREHEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for BITMAPCOREHEADER { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("BITMAPCOREHEADER").field("bcSize", &self.bcSize).field("bcWidth", &self.bcWidth).field("bcHeight", &self.bcHeight).field("bcPlanes", &self.bcPlanes).field("bcBitCount", &self.bcBitCount).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for BITMAPCOREHEADER { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for BITMAPCOREHEADER { |
| fn eq(&self, other: &Self) -> bool { |
| self.bcSize == other.bcSize && self.bcWidth == other.bcWidth && self.bcHeight == other.bcHeight && self.bcPlanes == other.bcPlanes && self.bcBitCount == other.bcBitCount |
| } |
| } |
| impl ::core::cmp::Eq for BITMAPCOREHEADER {} |
| impl ::core::default::Default for BITMAPCOREHEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct BITMAPCOREINFO { |
| pub bmciHeader: BITMAPCOREHEADER, |
| pub bmciColors: [RGBTRIPLE; 1], |
| } |
| impl ::core::marker::Copy for BITMAPCOREINFO {} |
| impl ::core::clone::Clone for BITMAPCOREINFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for BITMAPCOREINFO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("BITMAPCOREINFO").field("bmciHeader", &self.bmciHeader).field("bmciColors", &self.bmciColors).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for BITMAPCOREINFO { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for BITMAPCOREINFO { |
| fn eq(&self, other: &Self) -> bool { |
| self.bmciHeader == other.bmciHeader && self.bmciColors == other.bmciColors |
| } |
| } |
| impl ::core::cmp::Eq for BITMAPCOREINFO {} |
| impl ::core::default::Default for BITMAPCOREINFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(2))] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct BITMAPFILEHEADER { |
| pub bfType: u16, |
| pub bfSize: u32, |
| pub bfReserved1: u16, |
| pub bfReserved2: u16, |
| pub bfOffBits: u32, |
| } |
| impl ::core::marker::Copy for BITMAPFILEHEADER {} |
| impl ::core::clone::Clone for BITMAPFILEHEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for BITMAPFILEHEADER { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for BITMAPFILEHEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct BITMAPINFO { |
| pub bmiHeader: BITMAPINFOHEADER, |
| pub bmiColors: [RGBQUAD; 1], |
| } |
| impl ::core::marker::Copy for BITMAPINFO {} |
| impl ::core::clone::Clone for BITMAPINFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for BITMAPINFO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("BITMAPINFO").field("bmiHeader", &self.bmiHeader).field("bmiColors", &self.bmiColors).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for BITMAPINFO { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for BITMAPINFO { |
| fn eq(&self, other: &Self) -> bool { |
| self.bmiHeader == other.bmiHeader && self.bmiColors == other.bmiColors |
| } |
| } |
| impl ::core::cmp::Eq for BITMAPINFO {} |
| impl ::core::default::Default for BITMAPINFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct BITMAPINFOHEADER { |
| pub biSize: u32, |
| pub biWidth: i32, |
| pub biHeight: i32, |
| pub biPlanes: u16, |
| pub biBitCount: u16, |
| pub biCompression: u32, |
| pub biSizeImage: u32, |
| pub biXPelsPerMeter: i32, |
| pub biYPelsPerMeter: i32, |
| pub biClrUsed: u32, |
| pub biClrImportant: u32, |
| } |
| impl ::core::marker::Copy for BITMAPINFOHEADER {} |
| impl ::core::clone::Clone for BITMAPINFOHEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for BITMAPINFOHEADER { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("BITMAPINFOHEADER").field("biSize", &self.biSize).field("biWidth", &self.biWidth).field("biHeight", &self.biHeight).field("biPlanes", &self.biPlanes).field("biBitCount", &self.biBitCount).field("biCompression", &self.biCompression).field("biSizeImage", &self.biSizeImage).field("biXPelsPerMeter", &self.biXPelsPerMeter).field("biYPelsPerMeter", &self.biYPelsPerMeter).field("biClrUsed", &self.biClrUsed).field("biClrImportant", &self.biClrImportant).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for BITMAPINFOHEADER { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for BITMAPINFOHEADER { |
| fn eq(&self, other: &Self) -> bool { |
| self.biSize == other.biSize && self.biWidth == other.biWidth && self.biHeight == other.biHeight && self.biPlanes == other.biPlanes && self.biBitCount == other.biBitCount && self.biCompression == other.biCompression && self.biSizeImage == other.biSizeImage && self.biXPelsPerMeter == other.biXPelsPerMeter && self.biYPelsPerMeter == other.biYPelsPerMeter && self.biClrUsed == other.biClrUsed && self.biClrImportant == other.biClrImportant |
| } |
| } |
| impl ::core::cmp::Eq for BITMAPINFOHEADER {} |
| impl ::core::default::Default for BITMAPINFOHEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct BITMAPV4HEADER { |
| pub bV4Size: u32, |
| pub bV4Width: i32, |
| pub bV4Height: i32, |
| pub bV4Planes: u16, |
| pub bV4BitCount: u16, |
| pub bV4V4Compression: BI_COMPRESSION, |
| pub bV4SizeImage: u32, |
| pub bV4XPelsPerMeter: i32, |
| pub bV4YPelsPerMeter: i32, |
| pub bV4ClrUsed: u32, |
| pub bV4ClrImportant: u32, |
| pub bV4RedMask: u32, |
| pub bV4GreenMask: u32, |
| pub bV4BlueMask: u32, |
| pub bV4AlphaMask: u32, |
| pub bV4CSType: u32, |
| pub bV4Endpoints: CIEXYZTRIPLE, |
| pub bV4GammaRed: u32, |
| pub bV4GammaGreen: u32, |
| pub bV4GammaBlue: u32, |
| } |
| impl ::core::marker::Copy for BITMAPV4HEADER {} |
| impl ::core::clone::Clone for BITMAPV4HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for BITMAPV4HEADER { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("BITMAPV4HEADER") |
| .field("bV4Size", &self.bV4Size) |
| .field("bV4Width", &self.bV4Width) |
| .field("bV4Height", &self.bV4Height) |
| .field("bV4Planes", &self.bV4Planes) |
| .field("bV4BitCount", &self.bV4BitCount) |
| .field("bV4V4Compression", &self.bV4V4Compression) |
| .field("bV4SizeImage", &self.bV4SizeImage) |
| .field("bV4XPelsPerMeter", &self.bV4XPelsPerMeter) |
| .field("bV4YPelsPerMeter", &self.bV4YPelsPerMeter) |
| .field("bV4ClrUsed", &self.bV4ClrUsed) |
| .field("bV4ClrImportant", &self.bV4ClrImportant) |
| .field("bV4RedMask", &self.bV4RedMask) |
| .field("bV4GreenMask", &self.bV4GreenMask) |
| .field("bV4BlueMask", &self.bV4BlueMask) |
| .field("bV4AlphaMask", &self.bV4AlphaMask) |
| .field("bV4CSType", &self.bV4CSType) |
| .field("bV4Endpoints", &self.bV4Endpoints) |
| .field("bV4GammaRed", &self.bV4GammaRed) |
| .field("bV4GammaGreen", &self.bV4GammaGreen) |
| .field("bV4GammaBlue", &self.bV4GammaBlue) |
| .finish() |
| } |
| } |
| impl ::windows_core::TypeKind for BITMAPV4HEADER { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for BITMAPV4HEADER { |
| fn eq(&self, other: &Self) -> bool { |
| self.bV4Size == other.bV4Size |
| && self.bV4Width == other.bV4Width |
| && self.bV4Height == other.bV4Height |
| && self.bV4Planes == other.bV4Planes |
| && self.bV4BitCount == other.bV4BitCount |
| && self.bV4V4Compression == other.bV4V4Compression |
| && self.bV4SizeImage == other.bV4SizeImage |
| && self.bV4XPelsPerMeter == other.bV4XPelsPerMeter |
| && self.bV4YPelsPerMeter == other.bV4YPelsPerMeter |
| && self.bV4ClrUsed == other.bV4ClrUsed |
| && self.bV4ClrImportant == other.bV4ClrImportant |
| && self.bV4RedMask == other.bV4RedMask |
| && self.bV4GreenMask == other.bV4GreenMask |
| && self.bV4BlueMask == other.bV4BlueMask |
| && self.bV4AlphaMask == other.bV4AlphaMask |
| && self.bV4CSType == other.bV4CSType |
| && self.bV4Endpoints == other.bV4Endpoints |
| && self.bV4GammaRed == other.bV4GammaRed |
| && self.bV4GammaGreen == other.bV4GammaGreen |
| && self.bV4GammaBlue == other.bV4GammaBlue |
| } |
| } |
| impl ::core::cmp::Eq for BITMAPV4HEADER {} |
| impl ::core::default::Default for BITMAPV4HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct BITMAPV5HEADER { |
| pub bV5Size: u32, |
| pub bV5Width: i32, |
| pub bV5Height: i32, |
| pub bV5Planes: u16, |
| pub bV5BitCount: u16, |
| pub bV5Compression: BI_COMPRESSION, |
| pub bV5SizeImage: u32, |
| pub bV5XPelsPerMeter: i32, |
| pub bV5YPelsPerMeter: i32, |
| pub bV5ClrUsed: u32, |
| pub bV5ClrImportant: u32, |
| pub bV5RedMask: u32, |
| pub bV5GreenMask: u32, |
| pub bV5BlueMask: u32, |
| pub bV5AlphaMask: u32, |
| pub bV5CSType: u32, |
| pub bV5Endpoints: CIEXYZTRIPLE, |
| pub bV5GammaRed: u32, |
| pub bV5GammaGreen: u32, |
| pub bV5GammaBlue: u32, |
| pub bV5Intent: u32, |
| pub bV5ProfileData: u32, |
| pub bV5ProfileSize: u32, |
| pub bV5Reserved: u32, |
| } |
| impl ::core::marker::Copy for BITMAPV5HEADER {} |
| impl ::core::clone::Clone for BITMAPV5HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for BITMAPV5HEADER { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("BITMAPV5HEADER") |
| .field("bV5Size", &self.bV5Size) |
| .field("bV5Width", &self.bV5Width) |
| .field("bV5Height", &self.bV5Height) |
| .field("bV5Planes", &self.bV5Planes) |
| .field("bV5BitCount", &self.bV5BitCount) |
| .field("bV5Compression", &self.bV5Compression) |
| .field("bV5SizeImage", &self.bV5SizeImage) |
| .field("bV5XPelsPerMeter", &self.bV5XPelsPerMeter) |
| .field("bV5YPelsPerMeter", &self.bV5YPelsPerMeter) |
| .field("bV5ClrUsed", &self.bV5ClrUsed) |
| .field("bV5ClrImportant", &self.bV5ClrImportant) |
| .field("bV5RedMask", &self.bV5RedMask) |
| .field("bV5GreenMask", &self.bV5GreenMask) |
| .field("bV5BlueMask", &self.bV5BlueMask) |
| .field("bV5AlphaMask", &self.bV5AlphaMask) |
| .field("bV5CSType", &self.bV5CSType) |
| .field("bV5Endpoints", &self.bV5Endpoints) |
| .field("bV5GammaRed", &self.bV5GammaRed) |
| .field("bV5GammaGreen", &self.bV5GammaGreen) |
| .field("bV5GammaBlue", &self.bV5GammaBlue) |
| .field("bV5Intent", &self.bV5Intent) |
| .field("bV5ProfileData", &self.bV5ProfileData) |
| .field("bV5ProfileSize", &self.bV5ProfileSize) |
| .field("bV5Reserved", &self.bV5Reserved) |
| .finish() |
| } |
| } |
| impl ::windows_core::TypeKind for BITMAPV5HEADER { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for BITMAPV5HEADER { |
| fn eq(&self, other: &Self) -> bool { |
| self.bV5Size == other.bV5Size |
| && self.bV5Width == other.bV5Width |
| && self.bV5Height == other.bV5Height |
| && self.bV5Planes == other.bV5Planes |
| && self.bV5BitCount == other.bV5BitCount |
| && self.bV5Compression == other.bV5Compression |
| && self.bV5SizeImage == other.bV5SizeImage |
| && self.bV5XPelsPerMeter == other.bV5XPelsPerMeter |
| && self.bV5YPelsPerMeter == other.bV5YPelsPerMeter |
| && self.bV5ClrUsed == other.bV5ClrUsed |
| && self.bV5ClrImportant == other.bV5ClrImportant |
| && self.bV5RedMask == other.bV5RedMask |
| && self.bV5GreenMask == other.bV5GreenMask |
| && self.bV5BlueMask == other.bV5BlueMask |
| && self.bV5AlphaMask == other.bV5AlphaMask |
| && self.bV5CSType == other.bV5CSType |
| && self.bV5Endpoints == other.bV5Endpoints |
| && self.bV5GammaRed == other.bV5GammaRed |
| && self.bV5GammaGreen == other.bV5GammaGreen |
| && self.bV5GammaBlue == other.bV5GammaBlue |
| && self.bV5Intent == other.bV5Intent |
| && self.bV5ProfileData == other.bV5ProfileData |
| && self.bV5ProfileSize == other.bV5ProfileSize |
| && self.bV5Reserved == other.bV5Reserved |
| } |
| } |
| impl ::core::cmp::Eq for BITMAPV5HEADER {} |
| impl ::core::default::Default for BITMAPV5HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct BLENDFUNCTION { |
| pub BlendOp: u8, |
| pub BlendFlags: u8, |
| pub SourceConstantAlpha: u8, |
| pub AlphaFormat: u8, |
| } |
| impl ::core::marker::Copy for BLENDFUNCTION {} |
| impl ::core::clone::Clone for BLENDFUNCTION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for BLENDFUNCTION { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("BLENDFUNCTION").field("BlendOp", &self.BlendOp).field("BlendFlags", &self.BlendFlags).field("SourceConstantAlpha", &self.SourceConstantAlpha).field("AlphaFormat", &self.AlphaFormat).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for BLENDFUNCTION { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for BLENDFUNCTION { |
| fn eq(&self, other: &Self) -> bool { |
| self.BlendOp == other.BlendOp && self.BlendFlags == other.BlendFlags && self.SourceConstantAlpha == other.SourceConstantAlpha && self.AlphaFormat == other.AlphaFormat |
| } |
| } |
| impl ::core::cmp::Eq for BLENDFUNCTION {} |
| impl ::core::default::Default for BLENDFUNCTION { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct CIEXYZ { |
| pub ciexyzX: i32, |
| pub ciexyzY: i32, |
| pub ciexyzZ: i32, |
| } |
| impl ::core::marker::Copy for CIEXYZ {} |
| impl ::core::clone::Clone for CIEXYZ { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for CIEXYZ { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("CIEXYZ").field("ciexyzX", &self.ciexyzX).field("ciexyzY", &self.ciexyzY).field("ciexyzZ", &self.ciexyzZ).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for CIEXYZ { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for CIEXYZ { |
| fn eq(&self, other: &Self) -> bool { |
| self.ciexyzX == other.ciexyzX && self.ciexyzY == other.ciexyzY && self.ciexyzZ == other.ciexyzZ |
| } |
| } |
| impl ::core::cmp::Eq for CIEXYZ {} |
| impl ::core::default::Default for CIEXYZ { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct CIEXYZTRIPLE { |
| pub ciexyzRed: CIEXYZ, |
| pub ciexyzGreen: CIEXYZ, |
| pub ciexyzBlue: CIEXYZ, |
| } |
| impl ::core::marker::Copy for CIEXYZTRIPLE {} |
| impl ::core::clone::Clone for CIEXYZTRIPLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for CIEXYZTRIPLE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("CIEXYZTRIPLE").field("ciexyzRed", &self.ciexyzRed).field("ciexyzGreen", &self.ciexyzGreen).field("ciexyzBlue", &self.ciexyzBlue).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for CIEXYZTRIPLE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for CIEXYZTRIPLE { |
| fn eq(&self, other: &Self) -> bool { |
| self.ciexyzRed == other.ciexyzRed && self.ciexyzGreen == other.ciexyzGreen && self.ciexyzBlue == other.ciexyzBlue |
| } |
| } |
| impl ::core::cmp::Eq for CIEXYZTRIPLE {} |
| impl ::core::default::Default for CIEXYZTRIPLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct COLORADJUSTMENT { |
| pub caSize: u16, |
| pub caFlags: u16, |
| pub caIlluminantIndex: u16, |
| pub caRedGamma: u16, |
| pub caGreenGamma: u16, |
| pub caBlueGamma: u16, |
| pub caReferenceBlack: u16, |
| pub caReferenceWhite: u16, |
| pub caContrast: i16, |
| pub caBrightness: i16, |
| pub caColorfulness: i16, |
| pub caRedGreenTint: i16, |
| } |
| impl ::core::marker::Copy for COLORADJUSTMENT {} |
| impl ::core::clone::Clone for COLORADJUSTMENT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for COLORADJUSTMENT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("COLORADJUSTMENT") |
| .field("caSize", &self.caSize) |
| .field("caFlags", &self.caFlags) |
| .field("caIlluminantIndex", &self.caIlluminantIndex) |
| .field("caRedGamma", &self.caRedGamma) |
| .field("caGreenGamma", &self.caGreenGamma) |
| .field("caBlueGamma", &self.caBlueGamma) |
| .field("caReferenceBlack", &self.caReferenceBlack) |
| .field("caReferenceWhite", &self.caReferenceWhite) |
| .field("caContrast", &self.caContrast) |
| .field("caBrightness", &self.caBrightness) |
| .field("caColorfulness", &self.caColorfulness) |
| .field("caRedGreenTint", &self.caRedGreenTint) |
| .finish() |
| } |
| } |
| impl ::windows_core::TypeKind for COLORADJUSTMENT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for COLORADJUSTMENT { |
| fn eq(&self, other: &Self) -> bool { |
| self.caSize == other.caSize && self.caFlags == other.caFlags && self.caIlluminantIndex == other.caIlluminantIndex && self.caRedGamma == other.caRedGamma && self.caGreenGamma == other.caGreenGamma && self.caBlueGamma == other.caBlueGamma && self.caReferenceBlack == other.caReferenceBlack && self.caReferenceWhite == other.caReferenceWhite && self.caContrast == other.caContrast && self.caBrightness == other.caBrightness && self.caColorfulness == other.caColorfulness && self.caRedGreenTint == other.caRedGreenTint |
| } |
| } |
| impl ::core::cmp::Eq for COLORADJUSTMENT {} |
| impl ::core::default::Default for COLORADJUSTMENT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct DESIGNVECTOR { |
| pub dvReserved: u32, |
| pub dvNumAxes: u32, |
| pub dvValues: [i32; 16], |
| } |
| impl ::core::marker::Copy for DESIGNVECTOR {} |
| impl ::core::clone::Clone for DESIGNVECTOR { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for DESIGNVECTOR { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("DESIGNVECTOR").field("dvReserved", &self.dvReserved).field("dvNumAxes", &self.dvNumAxes).field("dvValues", &self.dvValues).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for DESIGNVECTOR { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for DESIGNVECTOR { |
| fn eq(&self, other: &Self) -> bool { |
| self.dvReserved == other.dvReserved && self.dvNumAxes == other.dvNumAxes && self.dvValues == other.dvValues |
| } |
| } |
| impl ::core::cmp::Eq for DESIGNVECTOR {} |
| impl ::core::default::Default for DESIGNVECTOR { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct DEVMODEA { |
| pub dmDeviceName: [u8; 32], |
| pub dmSpecVersion: u16, |
| pub dmDriverVersion: u16, |
| pub dmSize: u16, |
| pub dmDriverExtra: u16, |
| pub dmFields: DEVMODE_FIELD_FLAGS, |
| pub Anonymous1: DEVMODEA_0, |
| pub dmColor: DEVMODE_COLOR, |
| pub dmDuplex: DEVMODE_DUPLEX, |
| pub dmYResolution: i16, |
| pub dmTTOption: DEVMODE_TRUETYPE_OPTION, |
| pub dmCollate: DEVMODE_COLLATE, |
| pub dmFormName: [u8; 32], |
| pub dmLogPixels: u16, |
| pub dmBitsPerPel: u32, |
| pub dmPelsWidth: u32, |
| pub dmPelsHeight: u32, |
| pub Anonymous2: DEVMODEA_1, |
| pub dmDisplayFrequency: u32, |
| pub dmICMMethod: u32, |
| pub dmICMIntent: u32, |
| pub dmMediaType: u32, |
| pub dmDitherType: u32, |
| pub dmReserved1: u32, |
| pub dmReserved2: u32, |
| pub dmPanningWidth: u32, |
| pub dmPanningHeight: u32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for DEVMODEA {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for DEVMODEA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for DEVMODEA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for DEVMODEA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub union DEVMODEA_0 { |
| pub Anonymous1: DEVMODEA_0_0, |
| pub Anonymous2: DEVMODEA_0_1, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for DEVMODEA_0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for DEVMODEA_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for DEVMODEA_0 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for DEVMODEA_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct DEVMODEA_0_0 { |
| pub dmOrientation: i16, |
| pub dmPaperSize: i16, |
| pub dmPaperLength: i16, |
| pub dmPaperWidth: i16, |
| pub dmScale: i16, |
| pub dmCopies: i16, |
| pub dmDefaultSource: i16, |
| pub dmPrintQuality: i16, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for DEVMODEA_0_0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for DEVMODEA_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for DEVMODEA_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("DEVMODEA_0_0").field("dmOrientation", &self.dmOrientation).field("dmPaperSize", &self.dmPaperSize).field("dmPaperLength", &self.dmPaperLength).field("dmPaperWidth", &self.dmPaperWidth).field("dmScale", &self.dmScale).field("dmCopies", &self.dmCopies).field("dmDefaultSource", &self.dmDefaultSource).field("dmPrintQuality", &self.dmPrintQuality).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for DEVMODEA_0_0 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for DEVMODEA_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.dmOrientation == other.dmOrientation && self.dmPaperSize == other.dmPaperSize && self.dmPaperLength == other.dmPaperLength && self.dmPaperWidth == other.dmPaperWidth && self.dmScale == other.dmScale && self.dmCopies == other.dmCopies && self.dmDefaultSource == other.dmDefaultSource && self.dmPrintQuality == other.dmPrintQuality |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for DEVMODEA_0_0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for DEVMODEA_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct DEVMODEA_0_1 { |
| pub dmPosition: super::super::Foundation::POINTL, |
| pub dmDisplayOrientation: DEVMODE_DISPLAY_ORIENTATION, |
| pub dmDisplayFixedOutput: DEVMODE_DISPLAY_FIXED_OUTPUT, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for DEVMODEA_0_1 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for DEVMODEA_0_1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for DEVMODEA_0_1 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("DEVMODEA_0_1").field("dmPosition", &self.dmPosition).field("dmDisplayOrientation", &self.dmDisplayOrientation).field("dmDisplayFixedOutput", &self.dmDisplayFixedOutput).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for DEVMODEA_0_1 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for DEVMODEA_0_1 { |
| fn eq(&self, other: &Self) -> bool { |
| self.dmPosition == other.dmPosition && self.dmDisplayOrientation == other.dmDisplayOrientation && self.dmDisplayFixedOutput == other.dmDisplayFixedOutput |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for DEVMODEA_0_1 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for DEVMODEA_0_1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub union DEVMODEA_1 { |
| pub dmDisplayFlags: u32, |
| pub dmNup: u32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for DEVMODEA_1 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for DEVMODEA_1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for DEVMODEA_1 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for DEVMODEA_1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct DEVMODEW { |
| pub dmDeviceName: [u16; 32], |
| pub dmSpecVersion: u16, |
| pub dmDriverVersion: u16, |
| pub dmSize: u16, |
| pub dmDriverExtra: u16, |
| pub dmFields: DEVMODE_FIELD_FLAGS, |
| pub Anonymous1: DEVMODEW_0, |
| pub dmColor: DEVMODE_COLOR, |
| pub dmDuplex: DEVMODE_DUPLEX, |
| pub dmYResolution: i16, |
| pub dmTTOption: DEVMODE_TRUETYPE_OPTION, |
| pub dmCollate: DEVMODE_COLLATE, |
| pub dmFormName: [u16; 32], |
| pub dmLogPixels: u16, |
| pub dmBitsPerPel: u32, |
| pub dmPelsWidth: u32, |
| pub dmPelsHeight: u32, |
| pub Anonymous2: DEVMODEW_1, |
| pub dmDisplayFrequency: u32, |
| pub dmICMMethod: u32, |
| pub dmICMIntent: u32, |
| pub dmMediaType: u32, |
| pub dmDitherType: u32, |
| pub dmReserved1: u32, |
| pub dmReserved2: u32, |
| pub dmPanningWidth: u32, |
| pub dmPanningHeight: u32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for DEVMODEW {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for DEVMODEW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for DEVMODEW { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for DEVMODEW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub union DEVMODEW_0 { |
| pub Anonymous1: DEVMODEW_0_0, |
| pub Anonymous2: DEVMODEW_0_1, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for DEVMODEW_0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for DEVMODEW_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for DEVMODEW_0 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for DEVMODEW_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct DEVMODEW_0_0 { |
| pub dmOrientation: i16, |
| pub dmPaperSize: i16, |
| pub dmPaperLength: i16, |
| pub dmPaperWidth: i16, |
| pub dmScale: i16, |
| pub dmCopies: i16, |
| pub dmDefaultSource: i16, |
| pub dmPrintQuality: i16, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for DEVMODEW_0_0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for DEVMODEW_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for DEVMODEW_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("DEVMODEW_0_0").field("dmOrientation", &self.dmOrientation).field("dmPaperSize", &self.dmPaperSize).field("dmPaperLength", &self.dmPaperLength).field("dmPaperWidth", &self.dmPaperWidth).field("dmScale", &self.dmScale).field("dmCopies", &self.dmCopies).field("dmDefaultSource", &self.dmDefaultSource).field("dmPrintQuality", &self.dmPrintQuality).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for DEVMODEW_0_0 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for DEVMODEW_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.dmOrientation == other.dmOrientation && self.dmPaperSize == other.dmPaperSize && self.dmPaperLength == other.dmPaperLength && self.dmPaperWidth == other.dmPaperWidth && self.dmScale == other.dmScale && self.dmCopies == other.dmCopies && self.dmDefaultSource == other.dmDefaultSource && self.dmPrintQuality == other.dmPrintQuality |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for DEVMODEW_0_0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for DEVMODEW_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct DEVMODEW_0_1 { |
| pub dmPosition: super::super::Foundation::POINTL, |
| pub dmDisplayOrientation: DEVMODE_DISPLAY_ORIENTATION, |
| pub dmDisplayFixedOutput: DEVMODE_DISPLAY_FIXED_OUTPUT, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for DEVMODEW_0_1 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for DEVMODEW_0_1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for DEVMODEW_0_1 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("DEVMODEW_0_1").field("dmPosition", &self.dmPosition).field("dmDisplayOrientation", &self.dmDisplayOrientation).field("dmDisplayFixedOutput", &self.dmDisplayFixedOutput).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for DEVMODEW_0_1 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for DEVMODEW_0_1 { |
| fn eq(&self, other: &Self) -> bool { |
| self.dmPosition == other.dmPosition && self.dmDisplayOrientation == other.dmDisplayOrientation && self.dmDisplayFixedOutput == other.dmDisplayFixedOutput |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for DEVMODEW_0_1 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for DEVMODEW_0_1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub union DEVMODEW_1 { |
| pub dmDisplayFlags: u32, |
| pub dmNup: u32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for DEVMODEW_1 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for DEVMODEW_1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for DEVMODEW_1 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for DEVMODEW_1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct DIBSECTION { |
| pub dsBm: BITMAP, |
| pub dsBmih: BITMAPINFOHEADER, |
| pub dsBitfields: [u32; 3], |
| pub dshSection: super::super::Foundation::HANDLE, |
| pub dsOffset: u32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for DIBSECTION {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for DIBSECTION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for DIBSECTION { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("DIBSECTION").field("dsBm", &self.dsBm).field("dsBmih", &self.dsBmih).field("dsBitfields", &self.dsBitfields).field("dshSection", &self.dshSection).field("dsOffset", &self.dsOffset).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for DIBSECTION { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for DIBSECTION { |
| fn eq(&self, other: &Self) -> bool { |
| self.dsBm == other.dsBm && self.dsBmih == other.dsBmih && self.dsBitfields == other.dsBitfields && self.dshSection == other.dshSection && self.dsOffset == other.dsOffset |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for DIBSECTION {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for DIBSECTION { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct DISPLAY_DEVICEA { |
| pub cb: u32, |
| pub DeviceName: [u8; 32], |
| pub DeviceString: [u8; 128], |
| pub StateFlags: u32, |
| pub DeviceID: [u8; 128], |
| pub DeviceKey: [u8; 128], |
| } |
| impl ::core::marker::Copy for DISPLAY_DEVICEA {} |
| impl ::core::clone::Clone for DISPLAY_DEVICEA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for DISPLAY_DEVICEA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("DISPLAY_DEVICEA").field("cb", &self.cb).field("DeviceName", &self.DeviceName).field("DeviceString", &self.DeviceString).field("StateFlags", &self.StateFlags).field("DeviceID", &self.DeviceID).field("DeviceKey", &self.DeviceKey).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for DISPLAY_DEVICEA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for DISPLAY_DEVICEA { |
| fn eq(&self, other: &Self) -> bool { |
| self.cb == other.cb && self.DeviceName == other.DeviceName && self.DeviceString == other.DeviceString && self.StateFlags == other.StateFlags && self.DeviceID == other.DeviceID && self.DeviceKey == other.DeviceKey |
| } |
| } |
| impl ::core::cmp::Eq for DISPLAY_DEVICEA {} |
| impl ::core::default::Default for DISPLAY_DEVICEA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct DISPLAY_DEVICEW { |
| pub cb: u32, |
| pub DeviceName: [u16; 32], |
| pub DeviceString: [u16; 128], |
| pub StateFlags: u32, |
| pub DeviceID: [u16; 128], |
| pub DeviceKey: [u16; 128], |
| } |
| impl ::core::marker::Copy for DISPLAY_DEVICEW {} |
| impl ::core::clone::Clone for DISPLAY_DEVICEW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for DISPLAY_DEVICEW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("DISPLAY_DEVICEW").field("cb", &self.cb).field("DeviceName", &self.DeviceName).field("DeviceString", &self.DeviceString).field("StateFlags", &self.StateFlags).field("DeviceID", &self.DeviceID).field("DeviceKey", &self.DeviceKey).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for DISPLAY_DEVICEW { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for DISPLAY_DEVICEW { |
| fn eq(&self, other: &Self) -> bool { |
| self.cb == other.cb && self.DeviceName == other.DeviceName && self.DeviceString == other.DeviceString && self.StateFlags == other.StateFlags && self.DeviceID == other.DeviceID && self.DeviceKey == other.DeviceKey |
| } |
| } |
| impl ::core::cmp::Eq for DISPLAY_DEVICEW {} |
| impl ::core::default::Default for DISPLAY_DEVICEW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct DRAWTEXTPARAMS { |
| pub cbSize: u32, |
| pub iTabLength: i32, |
| pub iLeftMargin: i32, |
| pub iRightMargin: i32, |
| pub uiLengthDrawn: u32, |
| } |
| impl ::core::marker::Copy for DRAWTEXTPARAMS {} |
| impl ::core::clone::Clone for DRAWTEXTPARAMS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for DRAWTEXTPARAMS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("DRAWTEXTPARAMS").field("cbSize", &self.cbSize).field("iTabLength", &self.iTabLength).field("iLeftMargin", &self.iLeftMargin).field("iRightMargin", &self.iRightMargin).field("uiLengthDrawn", &self.uiLengthDrawn).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for DRAWTEXTPARAMS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for DRAWTEXTPARAMS { |
| fn eq(&self, other: &Self) -> bool { |
| self.cbSize == other.cbSize && self.iTabLength == other.iTabLength && self.iLeftMargin == other.iLeftMargin && self.iRightMargin == other.iRightMargin && self.uiLengthDrawn == other.uiLengthDrawn |
| } |
| } |
| impl ::core::cmp::Eq for DRAWTEXTPARAMS {} |
| impl ::core::default::Default for DRAWTEXTPARAMS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMR { |
| pub iType: ENHANCED_METAFILE_RECORD_TYPE, |
| pub nSize: u32, |
| } |
| impl ::core::marker::Copy for EMR {} |
| impl ::core::clone::Clone for EMR { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMR { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMR").field("iType", &self.iType).field("nSize", &self.nSize).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMR { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMR { |
| fn eq(&self, other: &Self) -> bool { |
| self.iType == other.iType && self.nSize == other.nSize |
| } |
| } |
| impl ::core::cmp::Eq for EMR {} |
| impl ::core::default::Default for EMR { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRALPHABLEND { |
| pub emr: EMR, |
| pub rclBounds: super::super::Foundation::RECTL, |
| pub xDest: i32, |
| pub yDest: i32, |
| pub cxDest: i32, |
| pub cyDest: i32, |
| pub dwRop: u32, |
| pub xSrc: i32, |
| pub ySrc: i32, |
| pub xformSrc: XFORM, |
| pub crBkColorSrc: super::super::Foundation::COLORREF, |
| pub iUsageSrc: u32, |
| pub offBmiSrc: u32, |
| pub cbBmiSrc: u32, |
| pub offBitsSrc: u32, |
| pub cbBitsSrc: u32, |
| pub cxSrc: i32, |
| pub cySrc: i32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRALPHABLEND {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRALPHABLEND { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRALPHABLEND { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRALPHABLEND") |
| .field("emr", &self.emr) |
| .field("rclBounds", &self.rclBounds) |
| .field("xDest", &self.xDest) |
| .field("yDest", &self.yDest) |
| .field("cxDest", &self.cxDest) |
| .field("cyDest", &self.cyDest) |
| .field("dwRop", &self.dwRop) |
| .field("xSrc", &self.xSrc) |
| .field("ySrc", &self.ySrc) |
| .field("xformSrc", &self.xformSrc) |
| .field("crBkColorSrc", &self.crBkColorSrc) |
| .field("iUsageSrc", &self.iUsageSrc) |
| .field("offBmiSrc", &self.offBmiSrc) |
| .field("cbBmiSrc", &self.cbBmiSrc) |
| .field("offBitsSrc", &self.offBitsSrc) |
| .field("cbBitsSrc", &self.cbBitsSrc) |
| .field("cxSrc", &self.cxSrc) |
| .field("cySrc", &self.cySrc) |
| .finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRALPHABLEND { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRALPHABLEND { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclBounds == other.rclBounds && self.xDest == other.xDest && self.yDest == other.yDest && self.cxDest == other.cxDest && self.cyDest == other.cyDest && self.dwRop == other.dwRop && self.xSrc == other.xSrc && self.ySrc == other.ySrc && self.xformSrc == other.xformSrc && self.crBkColorSrc == other.crBkColorSrc && self.iUsageSrc == other.iUsageSrc && self.offBmiSrc == other.offBmiSrc && self.cbBmiSrc == other.cbBmiSrc && self.offBitsSrc == other.offBitsSrc && self.cbBitsSrc == other.cbBitsSrc && self.cxSrc == other.cxSrc && self.cySrc == other.cySrc |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRALPHABLEND {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRALPHABLEND { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRANGLEARC { |
| pub emr: EMR, |
| pub ptlCenter: super::super::Foundation::POINTL, |
| pub nRadius: u32, |
| pub eStartAngle: f32, |
| pub eSweepAngle: f32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRANGLEARC {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRANGLEARC { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRANGLEARC { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRANGLEARC").field("emr", &self.emr).field("ptlCenter", &self.ptlCenter).field("nRadius", &self.nRadius).field("eStartAngle", &self.eStartAngle).field("eSweepAngle", &self.eSweepAngle).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRANGLEARC { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRANGLEARC { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.ptlCenter == other.ptlCenter && self.nRadius == other.nRadius && self.eStartAngle == other.eStartAngle && self.eSweepAngle == other.eSweepAngle |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRANGLEARC {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRANGLEARC { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRARC { |
| pub emr: EMR, |
| pub rclBox: super::super::Foundation::RECTL, |
| pub ptlStart: super::super::Foundation::POINTL, |
| pub ptlEnd: super::super::Foundation::POINTL, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRARC {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRARC { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRARC { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRARC").field("emr", &self.emr).field("rclBox", &self.rclBox).field("ptlStart", &self.ptlStart).field("ptlEnd", &self.ptlEnd).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRARC { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRARC { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclBox == other.rclBox && self.ptlStart == other.ptlStart && self.ptlEnd == other.ptlEnd |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRARC {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRARC { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRBITBLT { |
| pub emr: EMR, |
| pub rclBounds: super::super::Foundation::RECTL, |
| pub xDest: i32, |
| pub yDest: i32, |
| pub cxDest: i32, |
| pub cyDest: i32, |
| pub dwRop: u32, |
| pub xSrc: i32, |
| pub ySrc: i32, |
| pub xformSrc: XFORM, |
| pub crBkColorSrc: super::super::Foundation::COLORREF, |
| pub iUsageSrc: u32, |
| pub offBmiSrc: u32, |
| pub cbBmiSrc: u32, |
| pub offBitsSrc: u32, |
| pub cbBitsSrc: u32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRBITBLT {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRBITBLT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRBITBLT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRBITBLT") |
| .field("emr", &self.emr) |
| .field("rclBounds", &self.rclBounds) |
| .field("xDest", &self.xDest) |
| .field("yDest", &self.yDest) |
| .field("cxDest", &self.cxDest) |
| .field("cyDest", &self.cyDest) |
| .field("dwRop", &self.dwRop) |
| .field("xSrc", &self.xSrc) |
| .field("ySrc", &self.ySrc) |
| .field("xformSrc", &self.xformSrc) |
| .field("crBkColorSrc", &self.crBkColorSrc) |
| .field("iUsageSrc", &self.iUsageSrc) |
| .field("offBmiSrc", &self.offBmiSrc) |
| .field("cbBmiSrc", &self.cbBmiSrc) |
| .field("offBitsSrc", &self.offBitsSrc) |
| .field("cbBitsSrc", &self.cbBitsSrc) |
| .finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRBITBLT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRBITBLT { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclBounds == other.rclBounds && self.xDest == other.xDest && self.yDest == other.yDest && self.cxDest == other.cxDest && self.cyDest == other.cyDest && self.dwRop == other.dwRop && self.xSrc == other.xSrc && self.ySrc == other.ySrc && self.xformSrc == other.xformSrc && self.crBkColorSrc == other.crBkColorSrc && self.iUsageSrc == other.iUsageSrc && self.offBmiSrc == other.offBmiSrc && self.cbBmiSrc == other.cbBmiSrc && self.offBitsSrc == other.offBitsSrc && self.cbBitsSrc == other.cbBitsSrc |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRBITBLT {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRBITBLT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMRCOLORCORRECTPALETTE { |
| pub emr: EMR, |
| pub ihPalette: u32, |
| pub nFirstEntry: u32, |
| pub nPalEntries: u32, |
| pub nReserved: u32, |
| } |
| impl ::core::marker::Copy for EMRCOLORCORRECTPALETTE {} |
| impl ::core::clone::Clone for EMRCOLORCORRECTPALETTE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMRCOLORCORRECTPALETTE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRCOLORCORRECTPALETTE").field("emr", &self.emr).field("ihPalette", &self.ihPalette).field("nFirstEntry", &self.nFirstEntry).field("nPalEntries", &self.nPalEntries).field("nReserved", &self.nReserved).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMRCOLORCORRECTPALETTE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMRCOLORCORRECTPALETTE { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.ihPalette == other.ihPalette && self.nFirstEntry == other.nFirstEntry && self.nPalEntries == other.nPalEntries && self.nReserved == other.nReserved |
| } |
| } |
| impl ::core::cmp::Eq for EMRCOLORCORRECTPALETTE {} |
| impl ::core::default::Default for EMRCOLORCORRECTPALETTE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMRCOLORMATCHTOTARGET { |
| pub emr: EMR, |
| pub dwAction: u32, |
| pub dwFlags: u32, |
| pub cbName: u32, |
| pub cbData: u32, |
| pub Data: [u8; 1], |
| } |
| impl ::core::marker::Copy for EMRCOLORMATCHTOTARGET {} |
| impl ::core::clone::Clone for EMRCOLORMATCHTOTARGET { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMRCOLORMATCHTOTARGET { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRCOLORMATCHTOTARGET").field("emr", &self.emr).field("dwAction", &self.dwAction).field("dwFlags", &self.dwFlags).field("cbName", &self.cbName).field("cbData", &self.cbData).field("Data", &self.Data).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMRCOLORMATCHTOTARGET { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMRCOLORMATCHTOTARGET { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.dwAction == other.dwAction && self.dwFlags == other.dwFlags && self.cbName == other.cbName && self.cbData == other.cbData && self.Data == other.Data |
| } |
| } |
| impl ::core::cmp::Eq for EMRCOLORMATCHTOTARGET {} |
| impl ::core::default::Default for EMRCOLORMATCHTOTARGET { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRCREATEBRUSHINDIRECT { |
| pub emr: EMR, |
| pub ihBrush: u32, |
| pub lb: LOGBRUSH32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRCREATEBRUSHINDIRECT {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRCREATEBRUSHINDIRECT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRCREATEBRUSHINDIRECT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRCREATEBRUSHINDIRECT").field("emr", &self.emr).field("ihBrush", &self.ihBrush).field("lb", &self.lb).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRCREATEBRUSHINDIRECT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRCREATEBRUSHINDIRECT { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.ihBrush == other.ihBrush && self.lb == other.lb |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRCREATEBRUSHINDIRECT {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRCREATEBRUSHINDIRECT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMRCREATEDIBPATTERNBRUSHPT { |
| pub emr: EMR, |
| pub ihBrush: u32, |
| pub iUsage: u32, |
| pub offBmi: u32, |
| pub cbBmi: u32, |
| pub offBits: u32, |
| pub cbBits: u32, |
| } |
| impl ::core::marker::Copy for EMRCREATEDIBPATTERNBRUSHPT {} |
| impl ::core::clone::Clone for EMRCREATEDIBPATTERNBRUSHPT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMRCREATEDIBPATTERNBRUSHPT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRCREATEDIBPATTERNBRUSHPT").field("emr", &self.emr).field("ihBrush", &self.ihBrush).field("iUsage", &self.iUsage).field("offBmi", &self.offBmi).field("cbBmi", &self.cbBmi).field("offBits", &self.offBits).field("cbBits", &self.cbBits).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMRCREATEDIBPATTERNBRUSHPT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMRCREATEDIBPATTERNBRUSHPT { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.ihBrush == other.ihBrush && self.iUsage == other.iUsage && self.offBmi == other.offBmi && self.cbBmi == other.cbBmi && self.offBits == other.offBits && self.cbBits == other.cbBits |
| } |
| } |
| impl ::core::cmp::Eq for EMRCREATEDIBPATTERNBRUSHPT {} |
| impl ::core::default::Default for EMRCREATEDIBPATTERNBRUSHPT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMRCREATEMONOBRUSH { |
| pub emr: EMR, |
| pub ihBrush: u32, |
| pub iUsage: u32, |
| pub offBmi: u32, |
| pub cbBmi: u32, |
| pub offBits: u32, |
| pub cbBits: u32, |
| } |
| impl ::core::marker::Copy for EMRCREATEMONOBRUSH {} |
| impl ::core::clone::Clone for EMRCREATEMONOBRUSH { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMRCREATEMONOBRUSH { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRCREATEMONOBRUSH").field("emr", &self.emr).field("ihBrush", &self.ihBrush).field("iUsage", &self.iUsage).field("offBmi", &self.offBmi).field("cbBmi", &self.cbBmi).field("offBits", &self.offBits).field("cbBits", &self.cbBits).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMRCREATEMONOBRUSH { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMRCREATEMONOBRUSH { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.ihBrush == other.ihBrush && self.iUsage == other.iUsage && self.offBmi == other.offBmi && self.cbBmi == other.cbBmi && self.offBits == other.offBits && self.cbBits == other.cbBits |
| } |
| } |
| impl ::core::cmp::Eq for EMRCREATEMONOBRUSH {} |
| impl ::core::default::Default for EMRCREATEMONOBRUSH { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMRCREATEPALETTE { |
| pub emr: EMR, |
| pub ihPal: u32, |
| pub lgpl: LOGPALETTE, |
| } |
| impl ::core::marker::Copy for EMRCREATEPALETTE {} |
| impl ::core::clone::Clone for EMRCREATEPALETTE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMRCREATEPALETTE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRCREATEPALETTE").field("emr", &self.emr).field("ihPal", &self.ihPal).field("lgpl", &self.lgpl).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMRCREATEPALETTE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMRCREATEPALETTE { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.ihPal == other.ihPal && self.lgpl == other.lgpl |
| } |
| } |
| impl ::core::cmp::Eq for EMRCREATEPALETTE {} |
| impl ::core::default::Default for EMRCREATEPALETTE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRCREATEPEN { |
| pub emr: EMR, |
| pub ihPen: u32, |
| pub lopn: LOGPEN, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRCREATEPEN {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRCREATEPEN { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRCREATEPEN { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRCREATEPEN").field("emr", &self.emr).field("ihPen", &self.ihPen).field("lopn", &self.lopn).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRCREATEPEN { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRCREATEPEN { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.ihPen == other.ihPen && self.lopn == other.lopn |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRCREATEPEN {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRCREATEPEN { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRELLIPSE { |
| pub emr: EMR, |
| pub rclBox: super::super::Foundation::RECTL, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRELLIPSE {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRELLIPSE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRELLIPSE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRELLIPSE").field("emr", &self.emr).field("rclBox", &self.rclBox).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRELLIPSE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRELLIPSE { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclBox == other.rclBox |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRELLIPSE {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRELLIPSE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMREOF { |
| pub emr: EMR, |
| pub nPalEntries: u32, |
| pub offPalEntries: u32, |
| pub nSizeLast: u32, |
| } |
| impl ::core::marker::Copy for EMREOF {} |
| impl ::core::clone::Clone for EMREOF { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMREOF { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMREOF").field("emr", &self.emr).field("nPalEntries", &self.nPalEntries).field("offPalEntries", &self.offPalEntries).field("nSizeLast", &self.nSizeLast).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMREOF { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMREOF { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.nPalEntries == other.nPalEntries && self.offPalEntries == other.offPalEntries && self.nSizeLast == other.nSizeLast |
| } |
| } |
| impl ::core::cmp::Eq for EMREOF {} |
| impl ::core::default::Default for EMREOF { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMREXCLUDECLIPRECT { |
| pub emr: EMR, |
| pub rclClip: super::super::Foundation::RECTL, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMREXCLUDECLIPRECT {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMREXCLUDECLIPRECT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMREXCLUDECLIPRECT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMREXCLUDECLIPRECT").field("emr", &self.emr).field("rclClip", &self.rclClip).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMREXCLUDECLIPRECT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMREXCLUDECLIPRECT { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclClip == other.rclClip |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMREXCLUDECLIPRECT {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMREXCLUDECLIPRECT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMREXTCREATEFONTINDIRECTW { |
| pub emr: EMR, |
| pub ihFont: u32, |
| pub elfw: EXTLOGFONTW, |
| } |
| impl ::core::marker::Copy for EMREXTCREATEFONTINDIRECTW {} |
| impl ::core::clone::Clone for EMREXTCREATEFONTINDIRECTW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMREXTCREATEFONTINDIRECTW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMREXTCREATEFONTINDIRECTW").field("emr", &self.emr).field("ihFont", &self.ihFont).field("elfw", &self.elfw).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMREXTCREATEFONTINDIRECTW { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMREXTCREATEFONTINDIRECTW { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.ihFont == other.ihFont && self.elfw == other.elfw |
| } |
| } |
| impl ::core::cmp::Eq for EMREXTCREATEFONTINDIRECTW {} |
| impl ::core::default::Default for EMREXTCREATEFONTINDIRECTW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMREXTCREATEPEN { |
| pub emr: EMR, |
| pub ihPen: u32, |
| pub offBmi: u32, |
| pub cbBmi: u32, |
| pub offBits: u32, |
| pub cbBits: u32, |
| pub elp: EXTLOGPEN32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMREXTCREATEPEN {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMREXTCREATEPEN { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMREXTCREATEPEN { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMREXTCREATEPEN").field("emr", &self.emr).field("ihPen", &self.ihPen).field("offBmi", &self.offBmi).field("cbBmi", &self.cbBmi).field("offBits", &self.offBits).field("cbBits", &self.cbBits).field("elp", &self.elp).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMREXTCREATEPEN { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMREXTCREATEPEN { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.ihPen == other.ihPen && self.offBmi == other.offBmi && self.cbBmi == other.cbBmi && self.offBits == other.offBits && self.cbBits == other.cbBits && self.elp == other.elp |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMREXTCREATEPEN {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMREXTCREATEPEN { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMREXTESCAPE { |
| pub emr: EMR, |
| pub iEscape: i32, |
| pub cbEscData: i32, |
| pub EscData: [u8; 1], |
| } |
| impl ::core::marker::Copy for EMREXTESCAPE {} |
| impl ::core::clone::Clone for EMREXTESCAPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMREXTESCAPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMREXTESCAPE").field("emr", &self.emr).field("iEscape", &self.iEscape).field("cbEscData", &self.cbEscData).field("EscData", &self.EscData).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMREXTESCAPE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMREXTESCAPE { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.iEscape == other.iEscape && self.cbEscData == other.cbEscData && self.EscData == other.EscData |
| } |
| } |
| impl ::core::cmp::Eq for EMREXTESCAPE {} |
| impl ::core::default::Default for EMREXTESCAPE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMREXTFLOODFILL { |
| pub emr: EMR, |
| pub ptlStart: super::super::Foundation::POINTL, |
| pub crColor: super::super::Foundation::COLORREF, |
| pub iMode: u32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMREXTFLOODFILL {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMREXTFLOODFILL { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMREXTFLOODFILL { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMREXTFLOODFILL").field("emr", &self.emr).field("ptlStart", &self.ptlStart).field("crColor", &self.crColor).field("iMode", &self.iMode).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMREXTFLOODFILL { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMREXTFLOODFILL { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.ptlStart == other.ptlStart && self.crColor == other.crColor && self.iMode == other.iMode |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMREXTFLOODFILL {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMREXTFLOODFILL { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMREXTSELECTCLIPRGN { |
| pub emr: EMR, |
| pub cbRgnData: u32, |
| pub iMode: u32, |
| pub RgnData: [u8; 1], |
| } |
| impl ::core::marker::Copy for EMREXTSELECTCLIPRGN {} |
| impl ::core::clone::Clone for EMREXTSELECTCLIPRGN { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMREXTSELECTCLIPRGN { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMREXTSELECTCLIPRGN").field("emr", &self.emr).field("cbRgnData", &self.cbRgnData).field("iMode", &self.iMode).field("RgnData", &self.RgnData).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMREXTSELECTCLIPRGN { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMREXTSELECTCLIPRGN { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.cbRgnData == other.cbRgnData && self.iMode == other.iMode && self.RgnData == other.RgnData |
| } |
| } |
| impl ::core::cmp::Eq for EMREXTSELECTCLIPRGN {} |
| impl ::core::default::Default for EMREXTSELECTCLIPRGN { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMREXTTEXTOUTA { |
| pub emr: EMR, |
| pub rclBounds: super::super::Foundation::RECTL, |
| pub iGraphicsMode: u32, |
| pub exScale: f32, |
| pub eyScale: f32, |
| pub emrtext: EMRTEXT, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMREXTTEXTOUTA {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMREXTTEXTOUTA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMREXTTEXTOUTA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMREXTTEXTOUTA").field("emr", &self.emr).field("rclBounds", &self.rclBounds).field("iGraphicsMode", &self.iGraphicsMode).field("exScale", &self.exScale).field("eyScale", &self.eyScale).field("emrtext", &self.emrtext).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMREXTTEXTOUTA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMREXTTEXTOUTA { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclBounds == other.rclBounds && self.iGraphicsMode == other.iGraphicsMode && self.exScale == other.exScale && self.eyScale == other.eyScale && self.emrtext == other.emrtext |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMREXTTEXTOUTA {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMREXTTEXTOUTA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRFILLPATH { |
| pub emr: EMR, |
| pub rclBounds: super::super::Foundation::RECTL, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRFILLPATH {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRFILLPATH { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRFILLPATH { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRFILLPATH").field("emr", &self.emr).field("rclBounds", &self.rclBounds).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRFILLPATH { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRFILLPATH { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclBounds == other.rclBounds |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRFILLPATH {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRFILLPATH { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRFILLRGN { |
| pub emr: EMR, |
| pub rclBounds: super::super::Foundation::RECTL, |
| pub cbRgnData: u32, |
| pub ihBrush: u32, |
| pub RgnData: [u8; 1], |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRFILLRGN {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRFILLRGN { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRFILLRGN { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRFILLRGN").field("emr", &self.emr).field("rclBounds", &self.rclBounds).field("cbRgnData", &self.cbRgnData).field("ihBrush", &self.ihBrush).field("RgnData", &self.RgnData).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRFILLRGN { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRFILLRGN { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclBounds == other.rclBounds && self.cbRgnData == other.cbRgnData && self.ihBrush == other.ihBrush && self.RgnData == other.RgnData |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRFILLRGN {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRFILLRGN { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMRFORMAT { |
| pub dSignature: u32, |
| pub nVersion: u32, |
| pub cbData: u32, |
| pub offData: u32, |
| } |
| impl ::core::marker::Copy for EMRFORMAT {} |
| impl ::core::clone::Clone for EMRFORMAT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMRFORMAT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRFORMAT").field("dSignature", &self.dSignature).field("nVersion", &self.nVersion).field("cbData", &self.cbData).field("offData", &self.offData).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMRFORMAT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMRFORMAT { |
| fn eq(&self, other: &Self) -> bool { |
| self.dSignature == other.dSignature && self.nVersion == other.nVersion && self.cbData == other.cbData && self.offData == other.offData |
| } |
| } |
| impl ::core::cmp::Eq for EMRFORMAT {} |
| impl ::core::default::Default for EMRFORMAT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRFRAMERGN { |
| pub emr: EMR, |
| pub rclBounds: super::super::Foundation::RECTL, |
| pub cbRgnData: u32, |
| pub ihBrush: u32, |
| pub szlStroke: super::super::Foundation::SIZE, |
| pub RgnData: [u8; 1], |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRFRAMERGN {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRFRAMERGN { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRFRAMERGN { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRFRAMERGN").field("emr", &self.emr).field("rclBounds", &self.rclBounds).field("cbRgnData", &self.cbRgnData).field("ihBrush", &self.ihBrush).field("szlStroke", &self.szlStroke).field("RgnData", &self.RgnData).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRFRAMERGN { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRFRAMERGN { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclBounds == other.rclBounds && self.cbRgnData == other.cbRgnData && self.ihBrush == other.ihBrush && self.szlStroke == other.szlStroke && self.RgnData == other.RgnData |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRFRAMERGN {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRFRAMERGN { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMRGDICOMMENT { |
| pub emr: EMR, |
| pub cbData: u32, |
| pub Data: [u8; 1], |
| } |
| impl ::core::marker::Copy for EMRGDICOMMENT {} |
| impl ::core::clone::Clone for EMRGDICOMMENT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMRGDICOMMENT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRGDICOMMENT").field("emr", &self.emr).field("cbData", &self.cbData).field("Data", &self.Data).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMRGDICOMMENT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMRGDICOMMENT { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.cbData == other.cbData && self.Data == other.Data |
| } |
| } |
| impl ::core::cmp::Eq for EMRGDICOMMENT {} |
| impl ::core::default::Default for EMRGDICOMMENT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRGLSBOUNDEDRECORD { |
| pub emr: EMR, |
| pub rclBounds: super::super::Foundation::RECTL, |
| pub cbData: u32, |
| pub Data: [u8; 1], |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRGLSBOUNDEDRECORD {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRGLSBOUNDEDRECORD { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRGLSBOUNDEDRECORD { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRGLSBOUNDEDRECORD").field("emr", &self.emr).field("rclBounds", &self.rclBounds).field("cbData", &self.cbData).field("Data", &self.Data).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRGLSBOUNDEDRECORD { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRGLSBOUNDEDRECORD { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclBounds == other.rclBounds && self.cbData == other.cbData && self.Data == other.Data |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRGLSBOUNDEDRECORD {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRGLSBOUNDEDRECORD { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMRGLSRECORD { |
| pub emr: EMR, |
| pub cbData: u32, |
| pub Data: [u8; 1], |
| } |
| impl ::core::marker::Copy for EMRGLSRECORD {} |
| impl ::core::clone::Clone for EMRGLSRECORD { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMRGLSRECORD { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRGLSRECORD").field("emr", &self.emr).field("cbData", &self.cbData).field("Data", &self.Data).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMRGLSRECORD { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMRGLSRECORD { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.cbData == other.cbData && self.Data == other.Data |
| } |
| } |
| impl ::core::cmp::Eq for EMRGLSRECORD {} |
| impl ::core::default::Default for EMRGLSRECORD { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRGRADIENTFILL { |
| pub emr: EMR, |
| pub rclBounds: super::super::Foundation::RECTL, |
| pub nVer: u32, |
| pub nTri: u32, |
| pub ulMode: GRADIENT_FILL, |
| pub Ver: [TRIVERTEX; 1], |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRGRADIENTFILL {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRGRADIENTFILL { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRGRADIENTFILL { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRGRADIENTFILL").field("emr", &self.emr).field("rclBounds", &self.rclBounds).field("nVer", &self.nVer).field("nTri", &self.nTri).field("ulMode", &self.ulMode).field("Ver", &self.Ver).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRGRADIENTFILL { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRGRADIENTFILL { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclBounds == other.rclBounds && self.nVer == other.nVer && self.nTri == other.nTri && self.ulMode == other.ulMode && self.Ver == other.Ver |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRGRADIENTFILL {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRGRADIENTFILL { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRINVERTRGN { |
| pub emr: EMR, |
| pub rclBounds: super::super::Foundation::RECTL, |
| pub cbRgnData: u32, |
| pub RgnData: [u8; 1], |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRINVERTRGN {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRINVERTRGN { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRINVERTRGN { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRINVERTRGN").field("emr", &self.emr).field("rclBounds", &self.rclBounds).field("cbRgnData", &self.cbRgnData).field("RgnData", &self.RgnData).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRINVERTRGN { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRINVERTRGN { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclBounds == other.rclBounds && self.cbRgnData == other.cbRgnData && self.RgnData == other.RgnData |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRINVERTRGN {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRINVERTRGN { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRLINETO { |
| pub emr: EMR, |
| pub ptl: super::super::Foundation::POINTL, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRLINETO {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRLINETO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRLINETO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRLINETO").field("emr", &self.emr).field("ptl", &self.ptl).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRLINETO { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRLINETO { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.ptl == other.ptl |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRLINETO {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRLINETO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRMASKBLT { |
| pub emr: EMR, |
| pub rclBounds: super::super::Foundation::RECTL, |
| pub xDest: i32, |
| pub yDest: i32, |
| pub cxDest: i32, |
| pub cyDest: i32, |
| pub dwRop: u32, |
| pub xSrc: i32, |
| pub ySrc: i32, |
| pub xformSrc: XFORM, |
| pub crBkColorSrc: super::super::Foundation::COLORREF, |
| pub iUsageSrc: u32, |
| pub offBmiSrc: u32, |
| pub cbBmiSrc: u32, |
| pub offBitsSrc: u32, |
| pub cbBitsSrc: u32, |
| pub xMask: i32, |
| pub yMask: i32, |
| pub iUsageMask: u32, |
| pub offBmiMask: u32, |
| pub cbBmiMask: u32, |
| pub offBitsMask: u32, |
| pub cbBitsMask: u32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRMASKBLT {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRMASKBLT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRMASKBLT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRMASKBLT") |
| .field("emr", &self.emr) |
| .field("rclBounds", &self.rclBounds) |
| .field("xDest", &self.xDest) |
| .field("yDest", &self.yDest) |
| .field("cxDest", &self.cxDest) |
| .field("cyDest", &self.cyDest) |
| .field("dwRop", &self.dwRop) |
| .field("xSrc", &self.xSrc) |
| .field("ySrc", &self.ySrc) |
| .field("xformSrc", &self.xformSrc) |
| .field("crBkColorSrc", &self.crBkColorSrc) |
| .field("iUsageSrc", &self.iUsageSrc) |
| .field("offBmiSrc", &self.offBmiSrc) |
| .field("cbBmiSrc", &self.cbBmiSrc) |
| .field("offBitsSrc", &self.offBitsSrc) |
| .field("cbBitsSrc", &self.cbBitsSrc) |
| .field("xMask", &self.xMask) |
| .field("yMask", &self.yMask) |
| .field("iUsageMask", &self.iUsageMask) |
| .field("offBmiMask", &self.offBmiMask) |
| .field("cbBmiMask", &self.cbBmiMask) |
| .field("offBitsMask", &self.offBitsMask) |
| .field("cbBitsMask", &self.cbBitsMask) |
| .finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRMASKBLT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRMASKBLT { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclBounds == other.rclBounds && self.xDest == other.xDest && self.yDest == other.yDest && self.cxDest == other.cxDest && self.cyDest == other.cyDest && self.dwRop == other.dwRop && self.xSrc == other.xSrc && self.ySrc == other.ySrc && self.xformSrc == other.xformSrc && self.crBkColorSrc == other.crBkColorSrc && self.iUsageSrc == other.iUsageSrc && self.offBmiSrc == other.offBmiSrc && self.cbBmiSrc == other.cbBmiSrc && self.offBitsSrc == other.offBitsSrc && self.cbBitsSrc == other.cbBitsSrc && self.xMask == other.xMask && self.yMask == other.yMask && self.iUsageMask == other.iUsageMask && self.offBmiMask == other.offBmiMask && self.cbBmiMask == other.cbBmiMask && self.offBitsMask == other.offBitsMask && self.cbBitsMask == other.cbBitsMask |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRMASKBLT {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRMASKBLT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMRMODIFYWORLDTRANSFORM { |
| pub emr: EMR, |
| pub xform: XFORM, |
| pub iMode: MODIFY_WORLD_TRANSFORM_MODE, |
| } |
| impl ::core::marker::Copy for EMRMODIFYWORLDTRANSFORM {} |
| impl ::core::clone::Clone for EMRMODIFYWORLDTRANSFORM { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMRMODIFYWORLDTRANSFORM { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRMODIFYWORLDTRANSFORM").field("emr", &self.emr).field("xform", &self.xform).field("iMode", &self.iMode).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMRMODIFYWORLDTRANSFORM { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMRMODIFYWORLDTRANSFORM { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.xform == other.xform && self.iMode == other.iMode |
| } |
| } |
| impl ::core::cmp::Eq for EMRMODIFYWORLDTRANSFORM {} |
| impl ::core::default::Default for EMRMODIFYWORLDTRANSFORM { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMRNAMEDESCAPE { |
| pub emr: EMR, |
| pub iEscape: i32, |
| pub cbDriver: i32, |
| pub cbEscData: i32, |
| pub EscData: [u8; 1], |
| } |
| impl ::core::marker::Copy for EMRNAMEDESCAPE {} |
| impl ::core::clone::Clone for EMRNAMEDESCAPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMRNAMEDESCAPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRNAMEDESCAPE").field("emr", &self.emr).field("iEscape", &self.iEscape).field("cbDriver", &self.cbDriver).field("cbEscData", &self.cbEscData).field("EscData", &self.EscData).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMRNAMEDESCAPE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMRNAMEDESCAPE { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.iEscape == other.iEscape && self.cbDriver == other.cbDriver && self.cbEscData == other.cbEscData && self.EscData == other.EscData |
| } |
| } |
| impl ::core::cmp::Eq for EMRNAMEDESCAPE {} |
| impl ::core::default::Default for EMRNAMEDESCAPE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMROFFSETCLIPRGN { |
| pub emr: EMR, |
| pub ptlOffset: super::super::Foundation::POINTL, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMROFFSETCLIPRGN {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMROFFSETCLIPRGN { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMROFFSETCLIPRGN { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMROFFSETCLIPRGN").field("emr", &self.emr).field("ptlOffset", &self.ptlOffset).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMROFFSETCLIPRGN { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMROFFSETCLIPRGN { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.ptlOffset == other.ptlOffset |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMROFFSETCLIPRGN {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMROFFSETCLIPRGN { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRPLGBLT { |
| pub emr: EMR, |
| pub rclBounds: super::super::Foundation::RECTL, |
| pub aptlDest: [super::super::Foundation::POINTL; 3], |
| pub xSrc: i32, |
| pub ySrc: i32, |
| pub cxSrc: i32, |
| pub cySrc: i32, |
| pub xformSrc: XFORM, |
| pub crBkColorSrc: super::super::Foundation::COLORREF, |
| pub iUsageSrc: u32, |
| pub offBmiSrc: u32, |
| pub cbBmiSrc: u32, |
| pub offBitsSrc: u32, |
| pub cbBitsSrc: u32, |
| pub xMask: i32, |
| pub yMask: i32, |
| pub iUsageMask: u32, |
| pub offBmiMask: u32, |
| pub cbBmiMask: u32, |
| pub offBitsMask: u32, |
| pub cbBitsMask: u32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRPLGBLT {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRPLGBLT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRPLGBLT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRPLGBLT") |
| .field("emr", &self.emr) |
| .field("rclBounds", &self.rclBounds) |
| .field("aptlDest", &self.aptlDest) |
| .field("xSrc", &self.xSrc) |
| .field("ySrc", &self.ySrc) |
| .field("cxSrc", &self.cxSrc) |
| .field("cySrc", &self.cySrc) |
| .field("xformSrc", &self.xformSrc) |
| .field("crBkColorSrc", &self.crBkColorSrc) |
| .field("iUsageSrc", &self.iUsageSrc) |
| .field("offBmiSrc", &self.offBmiSrc) |
| .field("cbBmiSrc", &self.cbBmiSrc) |
| .field("offBitsSrc", &self.offBitsSrc) |
| .field("cbBitsSrc", &self.cbBitsSrc) |
| .field("xMask", &self.xMask) |
| .field("yMask", &self.yMask) |
| .field("iUsageMask", &self.iUsageMask) |
| .field("offBmiMask", &self.offBmiMask) |
| .field("cbBmiMask", &self.cbBmiMask) |
| .field("offBitsMask", &self.offBitsMask) |
| .field("cbBitsMask", &self.cbBitsMask) |
| .finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRPLGBLT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRPLGBLT { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclBounds == other.rclBounds && self.aptlDest == other.aptlDest && self.xSrc == other.xSrc && self.ySrc == other.ySrc && self.cxSrc == other.cxSrc && self.cySrc == other.cySrc && self.xformSrc == other.xformSrc && self.crBkColorSrc == other.crBkColorSrc && self.iUsageSrc == other.iUsageSrc && self.offBmiSrc == other.offBmiSrc && self.cbBmiSrc == other.cbBmiSrc && self.offBitsSrc == other.offBitsSrc && self.cbBitsSrc == other.cbBitsSrc && self.xMask == other.xMask && self.yMask == other.yMask && self.iUsageMask == other.iUsageMask && self.offBmiMask == other.offBmiMask && self.cbBmiMask == other.cbBmiMask && self.offBitsMask == other.offBitsMask && self.cbBitsMask == other.cbBitsMask |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRPLGBLT {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRPLGBLT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRPOLYDRAW { |
| pub emr: EMR, |
| pub rclBounds: super::super::Foundation::RECTL, |
| pub cptl: u32, |
| pub aptl: [super::super::Foundation::POINTL; 1], |
| pub abTypes: [u8; 1], |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRPOLYDRAW {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRPOLYDRAW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRPOLYDRAW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRPOLYDRAW").field("emr", &self.emr).field("rclBounds", &self.rclBounds).field("cptl", &self.cptl).field("aptl", &self.aptl).field("abTypes", &self.abTypes).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRPOLYDRAW { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRPOLYDRAW { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclBounds == other.rclBounds && self.cptl == other.cptl && self.aptl == other.aptl && self.abTypes == other.abTypes |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRPOLYDRAW {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRPOLYDRAW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRPOLYDRAW16 { |
| pub emr: EMR, |
| pub rclBounds: super::super::Foundation::RECTL, |
| pub cpts: u32, |
| pub apts: [super::super::Foundation::POINTS; 1], |
| pub abTypes: [u8; 1], |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRPOLYDRAW16 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRPOLYDRAW16 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRPOLYDRAW16 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRPOLYDRAW16").field("emr", &self.emr).field("rclBounds", &self.rclBounds).field("cpts", &self.cpts).field("apts", &self.apts).field("abTypes", &self.abTypes).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRPOLYDRAW16 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRPOLYDRAW16 { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclBounds == other.rclBounds && self.cpts == other.cpts && self.apts == other.apts && self.abTypes == other.abTypes |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRPOLYDRAW16 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRPOLYDRAW16 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRPOLYLINE { |
| pub emr: EMR, |
| pub rclBounds: super::super::Foundation::RECTL, |
| pub cptl: u32, |
| pub aptl: [super::super::Foundation::POINTL; 1], |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRPOLYLINE {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRPOLYLINE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRPOLYLINE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRPOLYLINE").field("emr", &self.emr).field("rclBounds", &self.rclBounds).field("cptl", &self.cptl).field("aptl", &self.aptl).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRPOLYLINE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRPOLYLINE { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclBounds == other.rclBounds && self.cptl == other.cptl && self.aptl == other.aptl |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRPOLYLINE {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRPOLYLINE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRPOLYLINE16 { |
| pub emr: EMR, |
| pub rclBounds: super::super::Foundation::RECTL, |
| pub cpts: u32, |
| pub apts: [super::super::Foundation::POINTS; 1], |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRPOLYLINE16 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRPOLYLINE16 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRPOLYLINE16 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRPOLYLINE16").field("emr", &self.emr).field("rclBounds", &self.rclBounds).field("cpts", &self.cpts).field("apts", &self.apts).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRPOLYLINE16 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRPOLYLINE16 { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclBounds == other.rclBounds && self.cpts == other.cpts && self.apts == other.apts |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRPOLYLINE16 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRPOLYLINE16 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRPOLYPOLYLINE { |
| pub emr: EMR, |
| pub rclBounds: super::super::Foundation::RECTL, |
| pub nPolys: u32, |
| pub cptl: u32, |
| pub aPolyCounts: [u32; 1], |
| pub aptl: [super::super::Foundation::POINTL; 1], |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRPOLYPOLYLINE {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRPOLYPOLYLINE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRPOLYPOLYLINE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRPOLYPOLYLINE").field("emr", &self.emr).field("rclBounds", &self.rclBounds).field("nPolys", &self.nPolys).field("cptl", &self.cptl).field("aPolyCounts", &self.aPolyCounts).field("aptl", &self.aptl).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRPOLYPOLYLINE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRPOLYPOLYLINE { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclBounds == other.rclBounds && self.nPolys == other.nPolys && self.cptl == other.cptl && self.aPolyCounts == other.aPolyCounts && self.aptl == other.aptl |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRPOLYPOLYLINE {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRPOLYPOLYLINE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRPOLYPOLYLINE16 { |
| pub emr: EMR, |
| pub rclBounds: super::super::Foundation::RECTL, |
| pub nPolys: u32, |
| pub cpts: u32, |
| pub aPolyCounts: [u32; 1], |
| pub apts: [super::super::Foundation::POINTS; 1], |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRPOLYPOLYLINE16 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRPOLYPOLYLINE16 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRPOLYPOLYLINE16 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRPOLYPOLYLINE16").field("emr", &self.emr).field("rclBounds", &self.rclBounds).field("nPolys", &self.nPolys).field("cpts", &self.cpts).field("aPolyCounts", &self.aPolyCounts).field("apts", &self.apts).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRPOLYPOLYLINE16 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRPOLYPOLYLINE16 { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclBounds == other.rclBounds && self.nPolys == other.nPolys && self.cpts == other.cpts && self.aPolyCounts == other.aPolyCounts && self.apts == other.apts |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRPOLYPOLYLINE16 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRPOLYPOLYLINE16 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRPOLYTEXTOUTA { |
| pub emr: EMR, |
| pub rclBounds: super::super::Foundation::RECTL, |
| pub iGraphicsMode: u32, |
| pub exScale: f32, |
| pub eyScale: f32, |
| pub cStrings: i32, |
| pub aemrtext: [EMRTEXT; 1], |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRPOLYTEXTOUTA {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRPOLYTEXTOUTA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRPOLYTEXTOUTA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRPOLYTEXTOUTA").field("emr", &self.emr).field("rclBounds", &self.rclBounds).field("iGraphicsMode", &self.iGraphicsMode).field("exScale", &self.exScale).field("eyScale", &self.eyScale).field("cStrings", &self.cStrings).field("aemrtext", &self.aemrtext).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRPOLYTEXTOUTA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRPOLYTEXTOUTA { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclBounds == other.rclBounds && self.iGraphicsMode == other.iGraphicsMode && self.exScale == other.exScale && self.eyScale == other.eyScale && self.cStrings == other.cStrings && self.aemrtext == other.aemrtext |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRPOLYTEXTOUTA {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRPOLYTEXTOUTA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMRRESIZEPALETTE { |
| pub emr: EMR, |
| pub ihPal: u32, |
| pub cEntries: u32, |
| } |
| impl ::core::marker::Copy for EMRRESIZEPALETTE {} |
| impl ::core::clone::Clone for EMRRESIZEPALETTE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMRRESIZEPALETTE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRRESIZEPALETTE").field("emr", &self.emr).field("ihPal", &self.ihPal).field("cEntries", &self.cEntries).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMRRESIZEPALETTE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMRRESIZEPALETTE { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.ihPal == other.ihPal && self.cEntries == other.cEntries |
| } |
| } |
| impl ::core::cmp::Eq for EMRRESIZEPALETTE {} |
| impl ::core::default::Default for EMRRESIZEPALETTE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMRRESTOREDC { |
| pub emr: EMR, |
| pub iRelative: i32, |
| } |
| impl ::core::marker::Copy for EMRRESTOREDC {} |
| impl ::core::clone::Clone for EMRRESTOREDC { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMRRESTOREDC { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRRESTOREDC").field("emr", &self.emr).field("iRelative", &self.iRelative).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMRRESTOREDC { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMRRESTOREDC { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.iRelative == other.iRelative |
| } |
| } |
| impl ::core::cmp::Eq for EMRRESTOREDC {} |
| impl ::core::default::Default for EMRRESTOREDC { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRROUNDRECT { |
| pub emr: EMR, |
| pub rclBox: super::super::Foundation::RECTL, |
| pub szlCorner: super::super::Foundation::SIZE, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRROUNDRECT {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRROUNDRECT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRROUNDRECT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRROUNDRECT").field("emr", &self.emr).field("rclBox", &self.rclBox).field("szlCorner", &self.szlCorner).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRROUNDRECT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRROUNDRECT { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclBox == other.rclBox && self.szlCorner == other.szlCorner |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRROUNDRECT {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRROUNDRECT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMRSCALEVIEWPORTEXTEX { |
| pub emr: EMR, |
| pub xNum: i32, |
| pub xDenom: i32, |
| pub yNum: i32, |
| pub yDenom: i32, |
| } |
| impl ::core::marker::Copy for EMRSCALEVIEWPORTEXTEX {} |
| impl ::core::clone::Clone for EMRSCALEVIEWPORTEXTEX { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMRSCALEVIEWPORTEXTEX { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRSCALEVIEWPORTEXTEX").field("emr", &self.emr).field("xNum", &self.xNum).field("xDenom", &self.xDenom).field("yNum", &self.yNum).field("yDenom", &self.yDenom).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMRSCALEVIEWPORTEXTEX { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMRSCALEVIEWPORTEXTEX { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.xNum == other.xNum && self.xDenom == other.xDenom && self.yNum == other.yNum && self.yDenom == other.yDenom |
| } |
| } |
| impl ::core::cmp::Eq for EMRSCALEVIEWPORTEXTEX {} |
| impl ::core::default::Default for EMRSCALEVIEWPORTEXTEX { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMRSELECTCLIPPATH { |
| pub emr: EMR, |
| pub iMode: u32, |
| } |
| impl ::core::marker::Copy for EMRSELECTCLIPPATH {} |
| impl ::core::clone::Clone for EMRSELECTCLIPPATH { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMRSELECTCLIPPATH { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRSELECTCLIPPATH").field("emr", &self.emr).field("iMode", &self.iMode).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMRSELECTCLIPPATH { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMRSELECTCLIPPATH { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.iMode == other.iMode |
| } |
| } |
| impl ::core::cmp::Eq for EMRSELECTCLIPPATH {} |
| impl ::core::default::Default for EMRSELECTCLIPPATH { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMRSELECTOBJECT { |
| pub emr: EMR, |
| pub ihObject: u32, |
| } |
| impl ::core::marker::Copy for EMRSELECTOBJECT {} |
| impl ::core::clone::Clone for EMRSELECTOBJECT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMRSELECTOBJECT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRSELECTOBJECT").field("emr", &self.emr).field("ihObject", &self.ihObject).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMRSELECTOBJECT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMRSELECTOBJECT { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.ihObject == other.ihObject |
| } |
| } |
| impl ::core::cmp::Eq for EMRSELECTOBJECT {} |
| impl ::core::default::Default for EMRSELECTOBJECT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMRSELECTPALETTE { |
| pub emr: EMR, |
| pub ihPal: u32, |
| } |
| impl ::core::marker::Copy for EMRSELECTPALETTE {} |
| impl ::core::clone::Clone for EMRSELECTPALETTE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMRSELECTPALETTE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRSELECTPALETTE").field("emr", &self.emr).field("ihPal", &self.ihPal).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMRSELECTPALETTE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMRSELECTPALETTE { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.ihPal == other.ihPal |
| } |
| } |
| impl ::core::cmp::Eq for EMRSELECTPALETTE {} |
| impl ::core::default::Default for EMRSELECTPALETTE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMRSETARCDIRECTION { |
| pub emr: EMR, |
| pub iArcDirection: u32, |
| } |
| impl ::core::marker::Copy for EMRSETARCDIRECTION {} |
| impl ::core::clone::Clone for EMRSETARCDIRECTION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMRSETARCDIRECTION { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRSETARCDIRECTION").field("emr", &self.emr).field("iArcDirection", &self.iArcDirection).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMRSETARCDIRECTION { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMRSETARCDIRECTION { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.iArcDirection == other.iArcDirection |
| } |
| } |
| impl ::core::cmp::Eq for EMRSETARCDIRECTION {} |
| impl ::core::default::Default for EMRSETARCDIRECTION { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMRSETCOLORADJUSTMENT { |
| pub emr: EMR, |
| pub ColorAdjustment: COLORADJUSTMENT, |
| } |
| impl ::core::marker::Copy for EMRSETCOLORADJUSTMENT {} |
| impl ::core::clone::Clone for EMRSETCOLORADJUSTMENT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMRSETCOLORADJUSTMENT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRSETCOLORADJUSTMENT").field("emr", &self.emr).field("ColorAdjustment", &self.ColorAdjustment).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMRSETCOLORADJUSTMENT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMRSETCOLORADJUSTMENT { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.ColorAdjustment == other.ColorAdjustment |
| } |
| } |
| impl ::core::cmp::Eq for EMRSETCOLORADJUSTMENT {} |
| impl ::core::default::Default for EMRSETCOLORADJUSTMENT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMRSETCOLORSPACE { |
| pub emr: EMR, |
| pub ihCS: u32, |
| } |
| impl ::core::marker::Copy for EMRSETCOLORSPACE {} |
| impl ::core::clone::Clone for EMRSETCOLORSPACE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMRSETCOLORSPACE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRSETCOLORSPACE").field("emr", &self.emr).field("ihCS", &self.ihCS).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMRSETCOLORSPACE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMRSETCOLORSPACE { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.ihCS == other.ihCS |
| } |
| } |
| impl ::core::cmp::Eq for EMRSETCOLORSPACE {} |
| impl ::core::default::Default for EMRSETCOLORSPACE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRSETDIBITSTODEVICE { |
| pub emr: EMR, |
| pub rclBounds: super::super::Foundation::RECTL, |
| pub xDest: i32, |
| pub yDest: i32, |
| pub xSrc: i32, |
| pub ySrc: i32, |
| pub cxSrc: i32, |
| pub cySrc: i32, |
| pub offBmiSrc: u32, |
| pub cbBmiSrc: u32, |
| pub offBitsSrc: u32, |
| pub cbBitsSrc: u32, |
| pub iUsageSrc: u32, |
| pub iStartScan: u32, |
| pub cScans: u32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRSETDIBITSTODEVICE {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRSETDIBITSTODEVICE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRSETDIBITSTODEVICE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRSETDIBITSTODEVICE") |
| .field("emr", &self.emr) |
| .field("rclBounds", &self.rclBounds) |
| .field("xDest", &self.xDest) |
| .field("yDest", &self.yDest) |
| .field("xSrc", &self.xSrc) |
| .field("ySrc", &self.ySrc) |
| .field("cxSrc", &self.cxSrc) |
| .field("cySrc", &self.cySrc) |
| .field("offBmiSrc", &self.offBmiSrc) |
| .field("cbBmiSrc", &self.cbBmiSrc) |
| .field("offBitsSrc", &self.offBitsSrc) |
| .field("cbBitsSrc", &self.cbBitsSrc) |
| .field("iUsageSrc", &self.iUsageSrc) |
| .field("iStartScan", &self.iStartScan) |
| .field("cScans", &self.cScans) |
| .finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRSETDIBITSTODEVICE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRSETDIBITSTODEVICE { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclBounds == other.rclBounds && self.xDest == other.xDest && self.yDest == other.yDest && self.xSrc == other.xSrc && self.ySrc == other.ySrc && self.cxSrc == other.cxSrc && self.cySrc == other.cySrc && self.offBmiSrc == other.offBmiSrc && self.cbBmiSrc == other.cbBmiSrc && self.offBitsSrc == other.offBitsSrc && self.cbBitsSrc == other.cbBitsSrc && self.iUsageSrc == other.iUsageSrc && self.iStartScan == other.iStartScan && self.cScans == other.cScans |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRSETDIBITSTODEVICE {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRSETDIBITSTODEVICE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMRSETICMPROFILE { |
| pub emr: EMR, |
| pub dwFlags: u32, |
| pub cbName: u32, |
| pub cbData: u32, |
| pub Data: [u8; 1], |
| } |
| impl ::core::marker::Copy for EMRSETICMPROFILE {} |
| impl ::core::clone::Clone for EMRSETICMPROFILE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMRSETICMPROFILE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRSETICMPROFILE").field("emr", &self.emr).field("dwFlags", &self.dwFlags).field("cbName", &self.cbName).field("cbData", &self.cbData).field("Data", &self.Data).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMRSETICMPROFILE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMRSETICMPROFILE { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.dwFlags == other.dwFlags && self.cbName == other.cbName && self.cbData == other.cbData && self.Data == other.Data |
| } |
| } |
| impl ::core::cmp::Eq for EMRSETICMPROFILE {} |
| impl ::core::default::Default for EMRSETICMPROFILE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMRSETMAPPERFLAGS { |
| pub emr: EMR, |
| pub dwFlags: u32, |
| } |
| impl ::core::marker::Copy for EMRSETMAPPERFLAGS {} |
| impl ::core::clone::Clone for EMRSETMAPPERFLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMRSETMAPPERFLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRSETMAPPERFLAGS").field("emr", &self.emr).field("dwFlags", &self.dwFlags).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMRSETMAPPERFLAGS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMRSETMAPPERFLAGS { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.dwFlags == other.dwFlags |
| } |
| } |
| impl ::core::cmp::Eq for EMRSETMAPPERFLAGS {} |
| impl ::core::default::Default for EMRSETMAPPERFLAGS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMRSETMITERLIMIT { |
| pub emr: EMR, |
| pub eMiterLimit: f32, |
| } |
| impl ::core::marker::Copy for EMRSETMITERLIMIT {} |
| impl ::core::clone::Clone for EMRSETMITERLIMIT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMRSETMITERLIMIT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRSETMITERLIMIT").field("emr", &self.emr).field("eMiterLimit", &self.eMiterLimit).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMRSETMITERLIMIT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMRSETMITERLIMIT { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.eMiterLimit == other.eMiterLimit |
| } |
| } |
| impl ::core::cmp::Eq for EMRSETMITERLIMIT {} |
| impl ::core::default::Default for EMRSETMITERLIMIT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMRSETPALETTEENTRIES { |
| pub emr: EMR, |
| pub ihPal: u32, |
| pub iStart: u32, |
| pub cEntries: u32, |
| pub aPalEntries: [PALETTEENTRY; 1], |
| } |
| impl ::core::marker::Copy for EMRSETPALETTEENTRIES {} |
| impl ::core::clone::Clone for EMRSETPALETTEENTRIES { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMRSETPALETTEENTRIES { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRSETPALETTEENTRIES").field("emr", &self.emr).field("ihPal", &self.ihPal).field("iStart", &self.iStart).field("cEntries", &self.cEntries).field("aPalEntries", &self.aPalEntries).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMRSETPALETTEENTRIES { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMRSETPALETTEENTRIES { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.ihPal == other.ihPal && self.iStart == other.iStart && self.cEntries == other.cEntries && self.aPalEntries == other.aPalEntries |
| } |
| } |
| impl ::core::cmp::Eq for EMRSETPALETTEENTRIES {} |
| impl ::core::default::Default for EMRSETPALETTEENTRIES { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRSETPIXELV { |
| pub emr: EMR, |
| pub ptlPixel: super::super::Foundation::POINTL, |
| pub crColor: super::super::Foundation::COLORREF, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRSETPIXELV {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRSETPIXELV { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRSETPIXELV { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRSETPIXELV").field("emr", &self.emr).field("ptlPixel", &self.ptlPixel).field("crColor", &self.crColor).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRSETPIXELV { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRSETPIXELV { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.ptlPixel == other.ptlPixel && self.crColor == other.crColor |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRSETPIXELV {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRSETPIXELV { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRSETTEXTCOLOR { |
| pub emr: EMR, |
| pub crColor: super::super::Foundation::COLORREF, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRSETTEXTCOLOR {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRSETTEXTCOLOR { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRSETTEXTCOLOR { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRSETTEXTCOLOR").field("emr", &self.emr).field("crColor", &self.crColor).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRSETTEXTCOLOR { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRSETTEXTCOLOR { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.crColor == other.crColor |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRSETTEXTCOLOR {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRSETTEXTCOLOR { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRSETVIEWPORTEXTEX { |
| pub emr: EMR, |
| pub szlExtent: super::super::Foundation::SIZE, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRSETVIEWPORTEXTEX {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRSETVIEWPORTEXTEX { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRSETVIEWPORTEXTEX { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRSETVIEWPORTEXTEX").field("emr", &self.emr).field("szlExtent", &self.szlExtent).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRSETVIEWPORTEXTEX { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRSETVIEWPORTEXTEX { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.szlExtent == other.szlExtent |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRSETVIEWPORTEXTEX {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRSETVIEWPORTEXTEX { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRSETVIEWPORTORGEX { |
| pub emr: EMR, |
| pub ptlOrigin: super::super::Foundation::POINTL, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRSETVIEWPORTORGEX {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRSETVIEWPORTORGEX { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRSETVIEWPORTORGEX { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRSETVIEWPORTORGEX").field("emr", &self.emr).field("ptlOrigin", &self.ptlOrigin).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRSETVIEWPORTORGEX { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRSETVIEWPORTORGEX { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.ptlOrigin == other.ptlOrigin |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRSETVIEWPORTORGEX {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRSETVIEWPORTORGEX { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EMRSETWORLDTRANSFORM { |
| pub emr: EMR, |
| pub xform: XFORM, |
| } |
| impl ::core::marker::Copy for EMRSETWORLDTRANSFORM {} |
| impl ::core::clone::Clone for EMRSETWORLDTRANSFORM { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EMRSETWORLDTRANSFORM { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRSETWORLDTRANSFORM").field("emr", &self.emr).field("xform", &self.xform).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EMRSETWORLDTRANSFORM { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EMRSETWORLDTRANSFORM { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.xform == other.xform |
| } |
| } |
| impl ::core::cmp::Eq for EMRSETWORLDTRANSFORM {} |
| impl ::core::default::Default for EMRSETWORLDTRANSFORM { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRSTRETCHBLT { |
| pub emr: EMR, |
| pub rclBounds: super::super::Foundation::RECTL, |
| pub xDest: i32, |
| pub yDest: i32, |
| pub cxDest: i32, |
| pub cyDest: i32, |
| pub dwRop: u32, |
| pub xSrc: i32, |
| pub ySrc: i32, |
| pub xformSrc: XFORM, |
| pub crBkColorSrc: super::super::Foundation::COLORREF, |
| pub iUsageSrc: u32, |
| pub offBmiSrc: u32, |
| pub cbBmiSrc: u32, |
| pub offBitsSrc: u32, |
| pub cbBitsSrc: u32, |
| pub cxSrc: i32, |
| pub cySrc: i32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRSTRETCHBLT {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRSTRETCHBLT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRSTRETCHBLT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRSTRETCHBLT") |
| .field("emr", &self.emr) |
| .field("rclBounds", &self.rclBounds) |
| .field("xDest", &self.xDest) |
| .field("yDest", &self.yDest) |
| .field("cxDest", &self.cxDest) |
| .field("cyDest", &self.cyDest) |
| .field("dwRop", &self.dwRop) |
| .field("xSrc", &self.xSrc) |
| .field("ySrc", &self.ySrc) |
| .field("xformSrc", &self.xformSrc) |
| .field("crBkColorSrc", &self.crBkColorSrc) |
| .field("iUsageSrc", &self.iUsageSrc) |
| .field("offBmiSrc", &self.offBmiSrc) |
| .field("cbBmiSrc", &self.cbBmiSrc) |
| .field("offBitsSrc", &self.offBitsSrc) |
| .field("cbBitsSrc", &self.cbBitsSrc) |
| .field("cxSrc", &self.cxSrc) |
| .field("cySrc", &self.cySrc) |
| .finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRSTRETCHBLT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRSTRETCHBLT { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclBounds == other.rclBounds && self.xDest == other.xDest && self.yDest == other.yDest && self.cxDest == other.cxDest && self.cyDest == other.cyDest && self.dwRop == other.dwRop && self.xSrc == other.xSrc && self.ySrc == other.ySrc && self.xformSrc == other.xformSrc && self.crBkColorSrc == other.crBkColorSrc && self.iUsageSrc == other.iUsageSrc && self.offBmiSrc == other.offBmiSrc && self.cbBmiSrc == other.cbBmiSrc && self.offBitsSrc == other.offBitsSrc && self.cbBitsSrc == other.cbBitsSrc && self.cxSrc == other.cxSrc && self.cySrc == other.cySrc |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRSTRETCHBLT {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRSTRETCHBLT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRSTRETCHDIBITS { |
| pub emr: EMR, |
| pub rclBounds: super::super::Foundation::RECTL, |
| pub xDest: i32, |
| pub yDest: i32, |
| pub xSrc: i32, |
| pub ySrc: i32, |
| pub cxSrc: i32, |
| pub cySrc: i32, |
| pub offBmiSrc: u32, |
| pub cbBmiSrc: u32, |
| pub offBitsSrc: u32, |
| pub cbBitsSrc: u32, |
| pub iUsageSrc: u32, |
| pub dwRop: u32, |
| pub cxDest: i32, |
| pub cyDest: i32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRSTRETCHDIBITS {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRSTRETCHDIBITS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRSTRETCHDIBITS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRSTRETCHDIBITS") |
| .field("emr", &self.emr) |
| .field("rclBounds", &self.rclBounds) |
| .field("xDest", &self.xDest) |
| .field("yDest", &self.yDest) |
| .field("xSrc", &self.xSrc) |
| .field("ySrc", &self.ySrc) |
| .field("cxSrc", &self.cxSrc) |
| .field("cySrc", &self.cySrc) |
| .field("offBmiSrc", &self.offBmiSrc) |
| .field("cbBmiSrc", &self.cbBmiSrc) |
| .field("offBitsSrc", &self.offBitsSrc) |
| .field("cbBitsSrc", &self.cbBitsSrc) |
| .field("iUsageSrc", &self.iUsageSrc) |
| .field("dwRop", &self.dwRop) |
| .field("cxDest", &self.cxDest) |
| .field("cyDest", &self.cyDest) |
| .finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRSTRETCHDIBITS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRSTRETCHDIBITS { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclBounds == other.rclBounds && self.xDest == other.xDest && self.yDest == other.yDest && self.xSrc == other.xSrc && self.ySrc == other.ySrc && self.cxSrc == other.cxSrc && self.cySrc == other.cySrc && self.offBmiSrc == other.offBmiSrc && self.cbBmiSrc == other.cbBmiSrc && self.offBitsSrc == other.offBitsSrc && self.cbBitsSrc == other.cbBitsSrc && self.iUsageSrc == other.iUsageSrc && self.dwRop == other.dwRop && self.cxDest == other.cxDest && self.cyDest == other.cyDest |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRSTRETCHDIBITS {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRSTRETCHDIBITS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRTEXT { |
| pub ptlReference: super::super::Foundation::POINTL, |
| pub nChars: u32, |
| pub offString: u32, |
| pub fOptions: u32, |
| pub rcl: super::super::Foundation::RECTL, |
| pub offDx: u32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRTEXT {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRTEXT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRTEXT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRTEXT").field("ptlReference", &self.ptlReference).field("nChars", &self.nChars).field("offString", &self.offString).field("fOptions", &self.fOptions).field("rcl", &self.rcl).field("offDx", &self.offDx).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRTEXT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRTEXT { |
| fn eq(&self, other: &Self) -> bool { |
| self.ptlReference == other.ptlReference && self.nChars == other.nChars && self.offString == other.offString && self.fOptions == other.fOptions && self.rcl == other.rcl && self.offDx == other.offDx |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRTEXT {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRTEXT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EMRTRANSPARENTBLT { |
| pub emr: EMR, |
| pub rclBounds: super::super::Foundation::RECTL, |
| pub xDest: i32, |
| pub yDest: i32, |
| pub cxDest: i32, |
| pub cyDest: i32, |
| pub dwRop: u32, |
| pub xSrc: i32, |
| pub ySrc: i32, |
| pub xformSrc: XFORM, |
| pub crBkColorSrc: super::super::Foundation::COLORREF, |
| pub iUsageSrc: u32, |
| pub offBmiSrc: u32, |
| pub cbBmiSrc: u32, |
| pub offBitsSrc: u32, |
| pub cbBitsSrc: u32, |
| pub cxSrc: i32, |
| pub cySrc: i32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EMRTRANSPARENTBLT {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EMRTRANSPARENTBLT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EMRTRANSPARENTBLT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EMRTRANSPARENTBLT") |
| .field("emr", &self.emr) |
| .field("rclBounds", &self.rclBounds) |
| .field("xDest", &self.xDest) |
| .field("yDest", &self.yDest) |
| .field("cxDest", &self.cxDest) |
| .field("cyDest", &self.cyDest) |
| .field("dwRop", &self.dwRop) |
| .field("xSrc", &self.xSrc) |
| .field("ySrc", &self.ySrc) |
| .field("xformSrc", &self.xformSrc) |
| .field("crBkColorSrc", &self.crBkColorSrc) |
| .field("iUsageSrc", &self.iUsageSrc) |
| .field("offBmiSrc", &self.offBmiSrc) |
| .field("cbBmiSrc", &self.cbBmiSrc) |
| .field("offBitsSrc", &self.offBitsSrc) |
| .field("cbBitsSrc", &self.cbBitsSrc) |
| .field("cxSrc", &self.cxSrc) |
| .field("cySrc", &self.cySrc) |
| .finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EMRTRANSPARENTBLT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EMRTRANSPARENTBLT { |
| fn eq(&self, other: &Self) -> bool { |
| self.emr == other.emr && self.rclBounds == other.rclBounds && self.xDest == other.xDest && self.yDest == other.yDest && self.cxDest == other.cxDest && self.cyDest == other.cyDest && self.dwRop == other.dwRop && self.xSrc == other.xSrc && self.ySrc == other.ySrc && self.xformSrc == other.xformSrc && self.crBkColorSrc == other.crBkColorSrc && self.iUsageSrc == other.iUsageSrc && self.offBmiSrc == other.offBmiSrc && self.cbBmiSrc == other.cbBmiSrc && self.offBitsSrc == other.offBitsSrc && self.cbBitsSrc == other.cbBitsSrc && self.cxSrc == other.cxSrc && self.cySrc == other.cySrc |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EMRTRANSPARENTBLT {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EMRTRANSPARENTBLT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct ENHMETAHEADER { |
| pub iType: u32, |
| pub nSize: u32, |
| pub rclBounds: super::super::Foundation::RECTL, |
| pub rclFrame: super::super::Foundation::RECTL, |
| pub dSignature: u32, |
| pub nVersion: u32, |
| pub nBytes: u32, |
| pub nRecords: u32, |
| pub nHandles: u16, |
| pub sReserved: u16, |
| pub nDescription: u32, |
| pub offDescription: u32, |
| pub nPalEntries: u32, |
| pub szlDevice: super::super::Foundation::SIZE, |
| pub szlMillimeters: super::super::Foundation::SIZE, |
| pub cbPixelFormat: u32, |
| pub offPixelFormat: u32, |
| pub bOpenGL: u32, |
| pub szlMicrometers: super::super::Foundation::SIZE, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for ENHMETAHEADER {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for ENHMETAHEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for ENHMETAHEADER { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ENHMETAHEADER") |
| .field("iType", &self.iType) |
| .field("nSize", &self.nSize) |
| .field("rclBounds", &self.rclBounds) |
| .field("rclFrame", &self.rclFrame) |
| .field("dSignature", &self.dSignature) |
| .field("nVersion", &self.nVersion) |
| .field("nBytes", &self.nBytes) |
| .field("nRecords", &self.nRecords) |
| .field("nHandles", &self.nHandles) |
| .field("sReserved", &self.sReserved) |
| .field("nDescription", &self.nDescription) |
| .field("offDescription", &self.offDescription) |
| .field("nPalEntries", &self.nPalEntries) |
| .field("szlDevice", &self.szlDevice) |
| .field("szlMillimeters", &self.szlMillimeters) |
| .field("cbPixelFormat", &self.cbPixelFormat) |
| .field("offPixelFormat", &self.offPixelFormat) |
| .field("bOpenGL", &self.bOpenGL) |
| .field("szlMicrometers", &self.szlMicrometers) |
| .finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for ENHMETAHEADER { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for ENHMETAHEADER { |
| fn eq(&self, other: &Self) -> bool { |
| self.iType == other.iType && self.nSize == other.nSize && self.rclBounds == other.rclBounds && self.rclFrame == other.rclFrame && self.dSignature == other.dSignature && self.nVersion == other.nVersion && self.nBytes == other.nBytes && self.nRecords == other.nRecords && self.nHandles == other.nHandles && self.sReserved == other.sReserved && self.nDescription == other.nDescription && self.offDescription == other.offDescription && self.nPalEntries == other.nPalEntries && self.szlDevice == other.szlDevice && self.szlMillimeters == other.szlMillimeters && self.cbPixelFormat == other.cbPixelFormat && self.offPixelFormat == other.offPixelFormat && self.bOpenGL == other.bOpenGL && self.szlMicrometers == other.szlMicrometers |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for ENHMETAHEADER {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for ENHMETAHEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct ENHMETARECORD { |
| pub iType: ENHANCED_METAFILE_RECORD_TYPE, |
| pub nSize: u32, |
| pub dParm: [u32; 1], |
| } |
| impl ::core::marker::Copy for ENHMETARECORD {} |
| impl ::core::clone::Clone for ENHMETARECORD { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ENHMETARECORD { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ENHMETARECORD").field("iType", &self.iType).field("nSize", &self.nSize).field("dParm", &self.dParm).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for ENHMETARECORD { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ENHMETARECORD { |
| fn eq(&self, other: &Self) -> bool { |
| self.iType == other.iType && self.nSize == other.nSize && self.dParm == other.dParm |
| } |
| } |
| impl ::core::cmp::Eq for ENHMETARECORD {} |
| impl ::core::default::Default for ENHMETARECORD { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct ENUMLOGFONTA { |
| pub elfLogFont: LOGFONTA, |
| pub elfFullName: [u8; 64], |
| pub elfStyle: [u8; 32], |
| } |
| impl ::core::marker::Copy for ENUMLOGFONTA {} |
| impl ::core::clone::Clone for ENUMLOGFONTA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ENUMLOGFONTA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ENUMLOGFONTA").field("elfLogFont", &self.elfLogFont).field("elfFullName", &self.elfFullName).field("elfStyle", &self.elfStyle).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for ENUMLOGFONTA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ENUMLOGFONTA { |
| fn eq(&self, other: &Self) -> bool { |
| self.elfLogFont == other.elfLogFont && self.elfFullName == other.elfFullName && self.elfStyle == other.elfStyle |
| } |
| } |
| impl ::core::cmp::Eq for ENUMLOGFONTA {} |
| impl ::core::default::Default for ENUMLOGFONTA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct ENUMLOGFONTEXA { |
| pub elfLogFont: LOGFONTA, |
| pub elfFullName: [u8; 64], |
| pub elfStyle: [u8; 32], |
| pub elfScript: [u8; 32], |
| } |
| impl ::core::marker::Copy for ENUMLOGFONTEXA {} |
| impl ::core::clone::Clone for ENUMLOGFONTEXA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ENUMLOGFONTEXA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ENUMLOGFONTEXA").field("elfLogFont", &self.elfLogFont).field("elfFullName", &self.elfFullName).field("elfStyle", &self.elfStyle).field("elfScript", &self.elfScript).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for ENUMLOGFONTEXA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ENUMLOGFONTEXA { |
| fn eq(&self, other: &Self) -> bool { |
| self.elfLogFont == other.elfLogFont && self.elfFullName == other.elfFullName && self.elfStyle == other.elfStyle && self.elfScript == other.elfScript |
| } |
| } |
| impl ::core::cmp::Eq for ENUMLOGFONTEXA {} |
| impl ::core::default::Default for ENUMLOGFONTEXA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct ENUMLOGFONTEXDVA { |
| pub elfEnumLogfontEx: ENUMLOGFONTEXA, |
| pub elfDesignVector: DESIGNVECTOR, |
| } |
| impl ::core::marker::Copy for ENUMLOGFONTEXDVA {} |
| impl ::core::clone::Clone for ENUMLOGFONTEXDVA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ENUMLOGFONTEXDVA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ENUMLOGFONTEXDVA").field("elfEnumLogfontEx", &self.elfEnumLogfontEx).field("elfDesignVector", &self.elfDesignVector).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for ENUMLOGFONTEXDVA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ENUMLOGFONTEXDVA { |
| fn eq(&self, other: &Self) -> bool { |
| self.elfEnumLogfontEx == other.elfEnumLogfontEx && self.elfDesignVector == other.elfDesignVector |
| } |
| } |
| impl ::core::cmp::Eq for ENUMLOGFONTEXDVA {} |
| impl ::core::default::Default for ENUMLOGFONTEXDVA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct ENUMLOGFONTEXDVW { |
| pub elfEnumLogfontEx: ENUMLOGFONTEXW, |
| pub elfDesignVector: DESIGNVECTOR, |
| } |
| impl ::core::marker::Copy for ENUMLOGFONTEXDVW {} |
| impl ::core::clone::Clone for ENUMLOGFONTEXDVW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ENUMLOGFONTEXDVW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ENUMLOGFONTEXDVW").field("elfEnumLogfontEx", &self.elfEnumLogfontEx).field("elfDesignVector", &self.elfDesignVector).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for ENUMLOGFONTEXDVW { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ENUMLOGFONTEXDVW { |
| fn eq(&self, other: &Self) -> bool { |
| self.elfEnumLogfontEx == other.elfEnumLogfontEx && self.elfDesignVector == other.elfDesignVector |
| } |
| } |
| impl ::core::cmp::Eq for ENUMLOGFONTEXDVW {} |
| impl ::core::default::Default for ENUMLOGFONTEXDVW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct ENUMLOGFONTEXW { |
| pub elfLogFont: LOGFONTW, |
| pub elfFullName: [u16; 64], |
| pub elfStyle: [u16; 32], |
| pub elfScript: [u16; 32], |
| } |
| impl ::core::marker::Copy for ENUMLOGFONTEXW {} |
| impl ::core::clone::Clone for ENUMLOGFONTEXW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ENUMLOGFONTEXW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ENUMLOGFONTEXW").field("elfLogFont", &self.elfLogFont).field("elfFullName", &self.elfFullName).field("elfStyle", &self.elfStyle).field("elfScript", &self.elfScript).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for ENUMLOGFONTEXW { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ENUMLOGFONTEXW { |
| fn eq(&self, other: &Self) -> bool { |
| self.elfLogFont == other.elfLogFont && self.elfFullName == other.elfFullName && self.elfStyle == other.elfStyle && self.elfScript == other.elfScript |
| } |
| } |
| impl ::core::cmp::Eq for ENUMLOGFONTEXW {} |
| impl ::core::default::Default for ENUMLOGFONTEXW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct ENUMLOGFONTW { |
| pub elfLogFont: LOGFONTW, |
| pub elfFullName: [u16; 64], |
| pub elfStyle: [u16; 32], |
| } |
| impl ::core::marker::Copy for ENUMLOGFONTW {} |
| impl ::core::clone::Clone for ENUMLOGFONTW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ENUMLOGFONTW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ENUMLOGFONTW").field("elfLogFont", &self.elfLogFont).field("elfFullName", &self.elfFullName).field("elfStyle", &self.elfStyle).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for ENUMLOGFONTW { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ENUMLOGFONTW { |
| fn eq(&self, other: &Self) -> bool { |
| self.elfLogFont == other.elfLogFont && self.elfFullName == other.elfFullName && self.elfStyle == other.elfStyle |
| } |
| } |
| impl ::core::cmp::Eq for ENUMLOGFONTW {} |
| impl ::core::default::Default for ENUMLOGFONTW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EXTLOGFONTA { |
| pub elfLogFont: LOGFONTA, |
| pub elfFullName: [u8; 64], |
| pub elfStyle: [u8; 32], |
| pub elfVersion: u32, |
| pub elfStyleSize: u32, |
| pub elfMatch: u32, |
| pub elfReserved: u32, |
| pub elfVendorId: [u8; 4], |
| pub elfCulture: u32, |
| pub elfPanose: PANOSE, |
| } |
| impl ::core::marker::Copy for EXTLOGFONTA {} |
| impl ::core::clone::Clone for EXTLOGFONTA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EXTLOGFONTA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EXTLOGFONTA").field("elfLogFont", &self.elfLogFont).field("elfFullName", &self.elfFullName).field("elfStyle", &self.elfStyle).field("elfVersion", &self.elfVersion).field("elfStyleSize", &self.elfStyleSize).field("elfMatch", &self.elfMatch).field("elfReserved", &self.elfReserved).field("elfVendorId", &self.elfVendorId).field("elfCulture", &self.elfCulture).field("elfPanose", &self.elfPanose).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EXTLOGFONTA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EXTLOGFONTA { |
| fn eq(&self, other: &Self) -> bool { |
| self.elfLogFont == other.elfLogFont && self.elfFullName == other.elfFullName && self.elfStyle == other.elfStyle && self.elfVersion == other.elfVersion && self.elfStyleSize == other.elfStyleSize && self.elfMatch == other.elfMatch && self.elfReserved == other.elfReserved && self.elfVendorId == other.elfVendorId && self.elfCulture == other.elfCulture && self.elfPanose == other.elfPanose |
| } |
| } |
| impl ::core::cmp::Eq for EXTLOGFONTA {} |
| impl ::core::default::Default for EXTLOGFONTA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct EXTLOGFONTW { |
| pub elfLogFont: LOGFONTW, |
| pub elfFullName: [u16; 64], |
| pub elfStyle: [u16; 32], |
| pub elfVersion: u32, |
| pub elfStyleSize: u32, |
| pub elfMatch: u32, |
| pub elfReserved: u32, |
| pub elfVendorId: [u8; 4], |
| pub elfCulture: u32, |
| pub elfPanose: PANOSE, |
| } |
| impl ::core::marker::Copy for EXTLOGFONTW {} |
| impl ::core::clone::Clone for EXTLOGFONTW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for EXTLOGFONTW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EXTLOGFONTW").field("elfLogFont", &self.elfLogFont).field("elfFullName", &self.elfFullName).field("elfStyle", &self.elfStyle).field("elfVersion", &self.elfVersion).field("elfStyleSize", &self.elfStyleSize).field("elfMatch", &self.elfMatch).field("elfReserved", &self.elfReserved).field("elfVendorId", &self.elfVendorId).field("elfCulture", &self.elfCulture).field("elfPanose", &self.elfPanose).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for EXTLOGFONTW { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for EXTLOGFONTW { |
| fn eq(&self, other: &Self) -> bool { |
| self.elfLogFont == other.elfLogFont && self.elfFullName == other.elfFullName && self.elfStyle == other.elfStyle && self.elfVersion == other.elfVersion && self.elfStyleSize == other.elfStyleSize && self.elfMatch == other.elfMatch && self.elfReserved == other.elfReserved && self.elfVendorId == other.elfVendorId && self.elfCulture == other.elfCulture && self.elfPanose == other.elfPanose |
| } |
| } |
| impl ::core::cmp::Eq for EXTLOGFONTW {} |
| impl ::core::default::Default for EXTLOGFONTW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EXTLOGPEN { |
| pub elpPenStyle: u32, |
| pub elpWidth: u32, |
| pub elpBrushStyle: u32, |
| pub elpColor: super::super::Foundation::COLORREF, |
| pub elpHatch: usize, |
| pub elpNumEntries: u32, |
| pub elpStyleEntry: [u32; 1], |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EXTLOGPEN {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EXTLOGPEN { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EXTLOGPEN { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EXTLOGPEN").field("elpPenStyle", &self.elpPenStyle).field("elpWidth", &self.elpWidth).field("elpBrushStyle", &self.elpBrushStyle).field("elpColor", &self.elpColor).field("elpHatch", &self.elpHatch).field("elpNumEntries", &self.elpNumEntries).field("elpStyleEntry", &self.elpStyleEntry).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EXTLOGPEN { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EXTLOGPEN { |
| fn eq(&self, other: &Self) -> bool { |
| self.elpPenStyle == other.elpPenStyle && self.elpWidth == other.elpWidth && self.elpBrushStyle == other.elpBrushStyle && self.elpColor == other.elpColor && self.elpHatch == other.elpHatch && self.elpNumEntries == other.elpNumEntries && self.elpStyleEntry == other.elpStyleEntry |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EXTLOGPEN {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EXTLOGPEN { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct EXTLOGPEN32 { |
| pub elpPenStyle: u32, |
| pub elpWidth: u32, |
| pub elpBrushStyle: u32, |
| pub elpColor: super::super::Foundation::COLORREF, |
| pub elpHatch: u32, |
| pub elpNumEntries: u32, |
| pub elpStyleEntry: [u32; 1], |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for EXTLOGPEN32 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for EXTLOGPEN32 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for EXTLOGPEN32 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("EXTLOGPEN32").field("elpPenStyle", &self.elpPenStyle).field("elpWidth", &self.elpWidth).field("elpBrushStyle", &self.elpBrushStyle).field("elpColor", &self.elpColor).field("elpHatch", &self.elpHatch).field("elpNumEntries", &self.elpNumEntries).field("elpStyleEntry", &self.elpStyleEntry).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for EXTLOGPEN32 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for EXTLOGPEN32 { |
| fn eq(&self, other: &Self) -> bool { |
| self.elpPenStyle == other.elpPenStyle && self.elpWidth == other.elpWidth && self.elpBrushStyle == other.elpBrushStyle && self.elpColor == other.elpColor && self.elpHatch == other.elpHatch && self.elpNumEntries == other.elpNumEntries && self.elpStyleEntry == other.elpStyleEntry |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for EXTLOGPEN32 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for EXTLOGPEN32 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct FIXED { |
| pub fract: u16, |
| pub value: i16, |
| } |
| impl ::core::marker::Copy for FIXED {} |
| impl ::core::clone::Clone for FIXED { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for FIXED { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("FIXED").field("fract", &self.fract).field("value", &self.value).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for FIXED { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for FIXED { |
| fn eq(&self, other: &Self) -> bool { |
| self.fract == other.fract && self.value == other.value |
| } |
| } |
| impl ::core::cmp::Eq for FIXED {} |
| impl ::core::default::Default for FIXED { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct GCP_RESULTSA { |
| pub lStructSize: u32, |
| pub lpOutString: ::windows_core::PSTR, |
| pub lpOrder: *mut u32, |
| pub lpDx: *mut i32, |
| pub lpCaretPos: *mut i32, |
| pub lpClass: ::windows_core::PSTR, |
| pub lpGlyphs: ::windows_core::PWSTR, |
| pub nGlyphs: u32, |
| pub nMaxFit: i32, |
| } |
| impl ::core::marker::Copy for GCP_RESULTSA {} |
| impl ::core::clone::Clone for GCP_RESULTSA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for GCP_RESULTSA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("GCP_RESULTSA").field("lStructSize", &self.lStructSize).field("lpOutString", &self.lpOutString).field("lpOrder", &self.lpOrder).field("lpDx", &self.lpDx).field("lpCaretPos", &self.lpCaretPos).field("lpClass", &self.lpClass).field("lpGlyphs", &self.lpGlyphs).field("nGlyphs", &self.nGlyphs).field("nMaxFit", &self.nMaxFit).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for GCP_RESULTSA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for GCP_RESULTSA { |
| fn eq(&self, other: &Self) -> bool { |
| self.lStructSize == other.lStructSize && self.lpOutString == other.lpOutString && self.lpOrder == other.lpOrder && self.lpDx == other.lpDx && self.lpCaretPos == other.lpCaretPos && self.lpClass == other.lpClass && self.lpGlyphs == other.lpGlyphs && self.nGlyphs == other.nGlyphs && self.nMaxFit == other.nMaxFit |
| } |
| } |
| impl ::core::cmp::Eq for GCP_RESULTSA {} |
| impl ::core::default::Default for GCP_RESULTSA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct GCP_RESULTSW { |
| pub lStructSize: u32, |
| pub lpOutString: ::windows_core::PWSTR, |
| pub lpOrder: *mut u32, |
| pub lpDx: *mut i32, |
| pub lpCaretPos: *mut i32, |
| pub lpClass: ::windows_core::PSTR, |
| pub lpGlyphs: ::windows_core::PWSTR, |
| pub nGlyphs: u32, |
| pub nMaxFit: i32, |
| } |
| impl ::core::marker::Copy for GCP_RESULTSW {} |
| impl ::core::clone::Clone for GCP_RESULTSW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for GCP_RESULTSW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("GCP_RESULTSW").field("lStructSize", &self.lStructSize).field("lpOutString", &self.lpOutString).field("lpOrder", &self.lpOrder).field("lpDx", &self.lpDx).field("lpCaretPos", &self.lpCaretPos).field("lpClass", &self.lpClass).field("lpGlyphs", &self.lpGlyphs).field("nGlyphs", &self.nGlyphs).field("nMaxFit", &self.nMaxFit).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for GCP_RESULTSW { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for GCP_RESULTSW { |
| fn eq(&self, other: &Self) -> bool { |
| self.lStructSize == other.lStructSize && self.lpOutString == other.lpOutString && self.lpOrder == other.lpOrder && self.lpDx == other.lpDx && self.lpCaretPos == other.lpCaretPos && self.lpClass == other.lpClass && self.lpGlyphs == other.lpGlyphs && self.nGlyphs == other.nGlyphs && self.nMaxFit == other.nMaxFit |
| } |
| } |
| impl ::core::cmp::Eq for GCP_RESULTSW {} |
| impl ::core::default::Default for GCP_RESULTSW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct GLYPHMETRICS { |
| pub gmBlackBoxX: u32, |
| pub gmBlackBoxY: u32, |
| pub gmptGlyphOrigin: super::super::Foundation::POINT, |
| pub gmCellIncX: i16, |
| pub gmCellIncY: i16, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for GLYPHMETRICS {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for GLYPHMETRICS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for GLYPHMETRICS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("GLYPHMETRICS").field("gmBlackBoxX", &self.gmBlackBoxX).field("gmBlackBoxY", &self.gmBlackBoxY).field("gmptGlyphOrigin", &self.gmptGlyphOrigin).field("gmCellIncX", &self.gmCellIncX).field("gmCellIncY", &self.gmCellIncY).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for GLYPHMETRICS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for GLYPHMETRICS { |
| fn eq(&self, other: &Self) -> bool { |
| self.gmBlackBoxX == other.gmBlackBoxX && self.gmBlackBoxY == other.gmBlackBoxY && self.gmptGlyphOrigin == other.gmptGlyphOrigin && self.gmCellIncX == other.gmCellIncX && self.gmCellIncY == other.gmCellIncY |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for GLYPHMETRICS {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for GLYPHMETRICS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct GLYPHSET { |
| pub cbThis: u32, |
| pub flAccel: u32, |
| pub cGlyphsSupported: u32, |
| pub cRanges: u32, |
| pub ranges: [WCRANGE; 1], |
| } |
| impl ::core::marker::Copy for GLYPHSET {} |
| impl ::core::clone::Clone for GLYPHSET { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for GLYPHSET { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("GLYPHSET").field("cbThis", &self.cbThis).field("flAccel", &self.flAccel).field("cGlyphsSupported", &self.cGlyphsSupported).field("cRanges", &self.cRanges).field("ranges", &self.ranges).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for GLYPHSET { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for GLYPHSET { |
| fn eq(&self, other: &Self) -> bool { |
| self.cbThis == other.cbThis && self.flAccel == other.flAccel && self.cGlyphsSupported == other.cGlyphsSupported && self.cRanges == other.cRanges && self.ranges == other.ranges |
| } |
| } |
| impl ::core::cmp::Eq for GLYPHSET {} |
| impl ::core::default::Default for GLYPHSET { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct GRADIENT_RECT { |
| pub UpperLeft: u32, |
| pub LowerRight: u32, |
| } |
| impl ::core::marker::Copy for GRADIENT_RECT {} |
| impl ::core::clone::Clone for GRADIENT_RECT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for GRADIENT_RECT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("GRADIENT_RECT").field("UpperLeft", &self.UpperLeft).field("LowerRight", &self.LowerRight).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for GRADIENT_RECT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for GRADIENT_RECT { |
| fn eq(&self, other: &Self) -> bool { |
| self.UpperLeft == other.UpperLeft && self.LowerRight == other.LowerRight |
| } |
| } |
| impl ::core::cmp::Eq for GRADIENT_RECT {} |
| impl ::core::default::Default for GRADIENT_RECT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct GRADIENT_TRIANGLE { |
| pub Vertex1: u32, |
| pub Vertex2: u32, |
| pub Vertex3: u32, |
| } |
| impl ::core::marker::Copy for GRADIENT_TRIANGLE {} |
| impl ::core::clone::Clone for GRADIENT_TRIANGLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for GRADIENT_TRIANGLE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("GRADIENT_TRIANGLE").field("Vertex1", &self.Vertex1).field("Vertex2", &self.Vertex2).field("Vertex3", &self.Vertex3).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for GRADIENT_TRIANGLE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for GRADIENT_TRIANGLE { |
| fn eq(&self, other: &Self) -> bool { |
| self.Vertex1 == other.Vertex1 && self.Vertex2 == other.Vertex2 && self.Vertex3 == other.Vertex3 |
| } |
| } |
| impl ::core::cmp::Eq for GRADIENT_TRIANGLE {} |
| impl ::core::default::Default for GRADIENT_TRIANGLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct HANDLETABLE { |
| pub objectHandle: [HGDIOBJ; 1], |
| } |
| impl ::core::marker::Copy for HANDLETABLE {} |
| impl ::core::clone::Clone for HANDLETABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for HANDLETABLE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("HANDLETABLE").field("objectHandle", &self.objectHandle).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for HANDLETABLE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for HANDLETABLE { |
| fn eq(&self, other: &Self) -> bool { |
| self.objectHandle == other.objectHandle |
| } |
| } |
| impl ::core::cmp::Eq for HANDLETABLE {} |
| impl ::core::default::Default for HANDLETABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct HBITMAP(pub isize); |
| impl HBITMAP { |
| pub fn is_invalid(&self) -> bool { |
| self.0 == -1 || self.0 == 0 |
| } |
| } |
| impl ::core::default::Default for HBITMAP { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| impl ::core::clone::Clone for HBITMAP { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::marker::Copy for HBITMAP {} |
| impl ::core::fmt::Debug for HBITMAP { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("HBITMAP").field(&self.0).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for HBITMAP { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::windows_core::CanInto<HGDIOBJ> for HBITMAP {} |
| impl ::core::convert::From<HBITMAP> for HGDIOBJ { |
| fn from(value: HBITMAP) -> Self { |
| Self(value.0) |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct HBRUSH(pub isize); |
| impl HBRUSH { |
| pub fn is_invalid(&self) -> bool { |
| self.0 == -1 || self.0 == 0 |
| } |
| } |
| impl ::core::default::Default for HBRUSH { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| impl ::core::clone::Clone for HBRUSH { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::marker::Copy for HBRUSH {} |
| impl ::core::fmt::Debug for HBRUSH { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("HBRUSH").field(&self.0).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for HBRUSH { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::windows_core::CanInto<HGDIOBJ> for HBRUSH {} |
| impl ::core::convert::From<HBRUSH> for HGDIOBJ { |
| fn from(value: HBRUSH) -> Self { |
| Self(value.0) |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct HDC(pub isize); |
| impl HDC { |
| pub fn is_invalid(&self) -> bool { |
| self.0 == -1 || self.0 == 0 |
| } |
| } |
| impl ::core::default::Default for HDC { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| impl ::core::clone::Clone for HDC { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::marker::Copy for HDC {} |
| impl ::core::fmt::Debug for HDC { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("HDC").field(&self.0).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for HDC { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct HENHMETAFILE(pub isize); |
| impl HENHMETAFILE { |
| pub fn is_invalid(&self) -> bool { |
| self.0 == -1 || self.0 == 0 |
| } |
| } |
| impl ::core::default::Default for HENHMETAFILE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| impl ::core::clone::Clone for HENHMETAFILE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::marker::Copy for HENHMETAFILE {} |
| impl ::core::fmt::Debug for HENHMETAFILE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("HENHMETAFILE").field(&self.0).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for HENHMETAFILE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct HFONT(pub isize); |
| impl HFONT { |
| pub fn is_invalid(&self) -> bool { |
| self.0 == -1 || self.0 == 0 |
| } |
| } |
| impl ::core::default::Default for HFONT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| impl ::core::clone::Clone for HFONT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::marker::Copy for HFONT {} |
| impl ::core::fmt::Debug for HFONT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("HFONT").field(&self.0).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for HFONT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::windows_core::CanInto<HGDIOBJ> for HFONT {} |
| impl ::core::convert::From<HFONT> for HGDIOBJ { |
| fn from(value: HFONT) -> Self { |
| Self(value.0) |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct HGDIOBJ(pub isize); |
| impl HGDIOBJ { |
| pub fn is_invalid(&self) -> bool { |
| self.0 == -1 || self.0 == 0 |
| } |
| } |
| impl ::core::default::Default for HGDIOBJ { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| impl ::core::clone::Clone for HGDIOBJ { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::marker::Copy for HGDIOBJ {} |
| impl ::core::fmt::Debug for HGDIOBJ { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("HGDIOBJ").field(&self.0).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for HGDIOBJ { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct HMETAFILE(pub isize); |
| impl HMETAFILE { |
| pub fn is_invalid(&self) -> bool { |
| self.0 == -1 || self.0 == 0 |
| } |
| } |
| impl ::core::default::Default for HMETAFILE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| impl ::core::clone::Clone for HMETAFILE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::marker::Copy for HMETAFILE {} |
| impl ::core::fmt::Debug for HMETAFILE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("HMETAFILE").field(&self.0).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for HMETAFILE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct HMONITOR(pub isize); |
| impl HMONITOR { |
| pub fn is_invalid(&self) -> bool { |
| self.0 == -1 || self.0 == 0 |
| } |
| } |
| impl ::core::default::Default for HMONITOR { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| impl ::core::clone::Clone for HMONITOR { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::marker::Copy for HMONITOR {} |
| impl ::core::fmt::Debug for HMONITOR { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("HMONITOR").field(&self.0).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for HMONITOR { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct HPALETTE(pub isize); |
| impl HPALETTE { |
| pub fn is_invalid(&self) -> bool { |
| self.0 == -1 || self.0 == 0 |
| } |
| } |
| impl ::core::default::Default for HPALETTE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| impl ::core::clone::Clone for HPALETTE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::marker::Copy for HPALETTE {} |
| impl ::core::fmt::Debug for HPALETTE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("HPALETTE").field(&self.0).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for HPALETTE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::windows_core::CanInto<HGDIOBJ> for HPALETTE {} |
| impl ::core::convert::From<HPALETTE> for HGDIOBJ { |
| fn from(value: HPALETTE) -> Self { |
| Self(value.0) |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct HPEN(pub isize); |
| impl HPEN { |
| pub fn is_invalid(&self) -> bool { |
| self.0 == -1 || self.0 == 0 |
| } |
| } |
| impl ::core::default::Default for HPEN { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| impl ::core::clone::Clone for HPEN { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::marker::Copy for HPEN {} |
| impl ::core::fmt::Debug for HPEN { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("HPEN").field(&self.0).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for HPEN { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::windows_core::CanInto<HGDIOBJ> for HPEN {} |
| impl ::core::convert::From<HPEN> for HGDIOBJ { |
| fn from(value: HPEN) -> Self { |
| Self(value.0) |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct HRGN(pub isize); |
| impl HRGN { |
| pub fn is_invalid(&self) -> bool { |
| self.0 == -1 || self.0 == 0 |
| } |
| } |
| impl ::core::default::Default for HRGN { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| impl ::core::clone::Clone for HRGN { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::marker::Copy for HRGN {} |
| impl ::core::fmt::Debug for HRGN { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("HRGN").field(&self.0).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for HRGN { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::windows_core::CanInto<HGDIOBJ> for HRGN {} |
| impl ::core::convert::From<HRGN> for HGDIOBJ { |
| fn from(value: HRGN) -> Self { |
| Self(value.0) |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct KERNINGPAIR { |
| pub wFirst: u16, |
| pub wSecond: u16, |
| pub iKernAmount: i32, |
| } |
| impl ::core::marker::Copy for KERNINGPAIR {} |
| impl ::core::clone::Clone for KERNINGPAIR { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for KERNINGPAIR { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("KERNINGPAIR").field("wFirst", &self.wFirst).field("wSecond", &self.wSecond).field("iKernAmount", &self.iKernAmount).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for KERNINGPAIR { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for KERNINGPAIR { |
| fn eq(&self, other: &Self) -> bool { |
| self.wFirst == other.wFirst && self.wSecond == other.wSecond && self.iKernAmount == other.iKernAmount |
| } |
| } |
| impl ::core::cmp::Eq for KERNINGPAIR {} |
| impl ::core::default::Default for KERNINGPAIR { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct LOGBRUSH { |
| pub lbStyle: BRUSH_STYLE, |
| pub lbColor: super::super::Foundation::COLORREF, |
| pub lbHatch: usize, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for LOGBRUSH {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for LOGBRUSH { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for LOGBRUSH { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("LOGBRUSH").field("lbStyle", &self.lbStyle).field("lbColor", &self.lbColor).field("lbHatch", &self.lbHatch).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for LOGBRUSH { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for LOGBRUSH { |
| fn eq(&self, other: &Self) -> bool { |
| self.lbStyle == other.lbStyle && self.lbColor == other.lbColor && self.lbHatch == other.lbHatch |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for LOGBRUSH {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for LOGBRUSH { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct LOGBRUSH32 { |
| pub lbStyle: BRUSH_STYLE, |
| pub lbColor: super::super::Foundation::COLORREF, |
| pub lbHatch: u32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for LOGBRUSH32 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for LOGBRUSH32 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for LOGBRUSH32 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("LOGBRUSH32").field("lbStyle", &self.lbStyle).field("lbColor", &self.lbColor).field("lbHatch", &self.lbHatch).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for LOGBRUSH32 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for LOGBRUSH32 { |
| fn eq(&self, other: &Self) -> bool { |
| self.lbStyle == other.lbStyle && self.lbColor == other.lbColor && self.lbHatch == other.lbHatch |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for LOGBRUSH32 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for LOGBRUSH32 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct LOGFONTA { |
| pub lfHeight: i32, |
| pub lfWidth: i32, |
| pub lfEscapement: i32, |
| pub lfOrientation: i32, |
| pub lfWeight: i32, |
| pub lfItalic: u8, |
| pub lfUnderline: u8, |
| pub lfStrikeOut: u8, |
| pub lfCharSet: FONT_CHARSET, |
| pub lfOutPrecision: FONT_OUTPUT_PRECISION, |
| pub lfClipPrecision: FONT_CLIP_PRECISION, |
| pub lfQuality: FONT_QUALITY, |
| pub lfPitchAndFamily: u8, |
| pub lfFaceName: [u8; 32], |
| } |
| impl ::core::marker::Copy for LOGFONTA {} |
| impl ::core::clone::Clone for LOGFONTA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for LOGFONTA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("LOGFONTA") |
| .field("lfHeight", &self.lfHeight) |
| .field("lfWidth", &self.lfWidth) |
| .field("lfEscapement", &self.lfEscapement) |
| .field("lfOrientation", &self.lfOrientation) |
| .field("lfWeight", &self.lfWeight) |
| .field("lfItalic", &self.lfItalic) |
| .field("lfUnderline", &self.lfUnderline) |
| .field("lfStrikeOut", &self.lfStrikeOut) |
| .field("lfCharSet", &self.lfCharSet) |
| .field("lfOutPrecision", &self.lfOutPrecision) |
| .field("lfClipPrecision", &self.lfClipPrecision) |
| .field("lfQuality", &self.lfQuality) |
| .field("lfPitchAndFamily", &self.lfPitchAndFamily) |
| .field("lfFaceName", &self.lfFaceName) |
| .finish() |
| } |
| } |
| impl ::windows_core::TypeKind for LOGFONTA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for LOGFONTA { |
| fn eq(&self, other: &Self) -> bool { |
| self.lfHeight == other.lfHeight && self.lfWidth == other.lfWidth && self.lfEscapement == other.lfEscapement && self.lfOrientation == other.lfOrientation && self.lfWeight == other.lfWeight && self.lfItalic == other.lfItalic && self.lfUnderline == other.lfUnderline && self.lfStrikeOut == other.lfStrikeOut && self.lfCharSet == other.lfCharSet && self.lfOutPrecision == other.lfOutPrecision && self.lfClipPrecision == other.lfClipPrecision && self.lfQuality == other.lfQuality && self.lfPitchAndFamily == other.lfPitchAndFamily && self.lfFaceName == other.lfFaceName |
| } |
| } |
| impl ::core::cmp::Eq for LOGFONTA {} |
| impl ::core::default::Default for LOGFONTA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct LOGFONTW { |
| pub lfHeight: i32, |
| pub lfWidth: i32, |
| pub lfEscapement: i32, |
| pub lfOrientation: i32, |
| pub lfWeight: i32, |
| pub lfItalic: u8, |
| pub lfUnderline: u8, |
| pub lfStrikeOut: u8, |
| pub lfCharSet: FONT_CHARSET, |
| pub lfOutPrecision: FONT_OUTPUT_PRECISION, |
| pub lfClipPrecision: FONT_CLIP_PRECISION, |
| pub lfQuality: FONT_QUALITY, |
| pub lfPitchAndFamily: u8, |
| pub lfFaceName: [u16; 32], |
| } |
| impl ::core::marker::Copy for LOGFONTW {} |
| impl ::core::clone::Clone for LOGFONTW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for LOGFONTW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("LOGFONTW") |
| .field("lfHeight", &self.lfHeight) |
| .field("lfWidth", &self.lfWidth) |
| .field("lfEscapement", &self.lfEscapement) |
| .field("lfOrientation", &self.lfOrientation) |
| .field("lfWeight", &self.lfWeight) |
| .field("lfItalic", &self.lfItalic) |
| .field("lfUnderline", &self.lfUnderline) |
| .field("lfStrikeOut", &self.lfStrikeOut) |
| .field("lfCharSet", &self.lfCharSet) |
| .field("lfOutPrecision", &self.lfOutPrecision) |
| .field("lfClipPrecision", &self.lfClipPrecision) |
| .field("lfQuality", &self.lfQuality) |
| .field("lfPitchAndFamily", &self.lfPitchAndFamily) |
| .field("lfFaceName", &self.lfFaceName) |
| .finish() |
| } |
| } |
| impl ::windows_core::TypeKind for LOGFONTW { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for LOGFONTW { |
| fn eq(&self, other: &Self) -> bool { |
| self.lfHeight == other.lfHeight && self.lfWidth == other.lfWidth && self.lfEscapement == other.lfEscapement && self.lfOrientation == other.lfOrientation && self.lfWeight == other.lfWeight && self.lfItalic == other.lfItalic && self.lfUnderline == other.lfUnderline && self.lfStrikeOut == other.lfStrikeOut && self.lfCharSet == other.lfCharSet && self.lfOutPrecision == other.lfOutPrecision && self.lfClipPrecision == other.lfClipPrecision && self.lfQuality == other.lfQuality && self.lfPitchAndFamily == other.lfPitchAndFamily && self.lfFaceName == other.lfFaceName |
| } |
| } |
| impl ::core::cmp::Eq for LOGFONTW {} |
| impl ::core::default::Default for LOGFONTW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct LOGPALETTE { |
| pub palVersion: u16, |
| pub palNumEntries: u16, |
| pub palPalEntry: [PALETTEENTRY; 1], |
| } |
| impl ::core::marker::Copy for LOGPALETTE {} |
| impl ::core::clone::Clone for LOGPALETTE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for LOGPALETTE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("LOGPALETTE").field("palVersion", &self.palVersion).field("palNumEntries", &self.palNumEntries).field("palPalEntry", &self.palPalEntry).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for LOGPALETTE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for LOGPALETTE { |
| fn eq(&self, other: &Self) -> bool { |
| self.palVersion == other.palVersion && self.palNumEntries == other.palNumEntries && self.palPalEntry == other.palPalEntry |
| } |
| } |
| impl ::core::cmp::Eq for LOGPALETTE {} |
| impl ::core::default::Default for LOGPALETTE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct LOGPEN { |
| pub lopnStyle: u32, |
| pub lopnWidth: super::super::Foundation::POINT, |
| pub lopnColor: super::super::Foundation::COLORREF, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for LOGPEN {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for LOGPEN { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for LOGPEN { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("LOGPEN").field("lopnStyle", &self.lopnStyle).field("lopnWidth", &self.lopnWidth).field("lopnColor", &self.lopnColor).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for LOGPEN { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for LOGPEN { |
| fn eq(&self, other: &Self) -> bool { |
| self.lopnStyle == other.lopnStyle && self.lopnWidth == other.lopnWidth && self.lopnColor == other.lopnColor |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for LOGPEN {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for LOGPEN { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct MAT2 { |
| pub eM11: FIXED, |
| pub eM12: FIXED, |
| pub eM21: FIXED, |
| pub eM22: FIXED, |
| } |
| impl ::core::marker::Copy for MAT2 {} |
| impl ::core::clone::Clone for MAT2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MAT2 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MAT2").field("eM11", &self.eM11).field("eM12", &self.eM12).field("eM21", &self.eM21).field("eM22", &self.eM22).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for MAT2 { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MAT2 { |
| fn eq(&self, other: &Self) -> bool { |
| self.eM11 == other.eM11 && self.eM12 == other.eM12 && self.eM21 == other.eM21 && self.eM22 == other.eM22 |
| } |
| } |
| impl ::core::cmp::Eq for MAT2 {} |
| impl ::core::default::Default for MAT2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(2))] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct METAHEADER { |
| pub mtType: u16, |
| pub mtHeaderSize: u16, |
| pub mtVersion: u16, |
| pub mtSize: u32, |
| pub mtNoObjects: u16, |
| pub mtMaxRecord: u32, |
| pub mtNoParameters: u16, |
| } |
| impl ::core::marker::Copy for METAHEADER {} |
| impl ::core::clone::Clone for METAHEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows_core::TypeKind for METAHEADER { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::default::Default for METAHEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct METARECORD { |
| pub rdSize: u32, |
| pub rdFunction: u16, |
| pub rdParm: [u16; 1], |
| } |
| impl ::core::marker::Copy for METARECORD {} |
| impl ::core::clone::Clone for METARECORD { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for METARECORD { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("METARECORD").field("rdSize", &self.rdSize).field("rdFunction", &self.rdFunction).field("rdParm", &self.rdParm).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for METARECORD { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for METARECORD { |
| fn eq(&self, other: &Self) -> bool { |
| self.rdSize == other.rdSize && self.rdFunction == other.rdFunction && self.rdParm == other.rdParm |
| } |
| } |
| impl ::core::cmp::Eq for METARECORD {} |
| impl ::core::default::Default for METARECORD { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct MONITORINFO { |
| pub cbSize: u32, |
| pub rcMonitor: super::super::Foundation::RECT, |
| pub rcWork: super::super::Foundation::RECT, |
| pub dwFlags: u32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for MONITORINFO {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for MONITORINFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for MONITORINFO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MONITORINFO").field("cbSize", &self.cbSize).field("rcMonitor", &self.rcMonitor).field("rcWork", &self.rcWork).field("dwFlags", &self.dwFlags).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for MONITORINFO { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for MONITORINFO { |
| fn eq(&self, other: &Self) -> bool { |
| self.cbSize == other.cbSize && self.rcMonitor == other.rcMonitor && self.rcWork == other.rcWork && self.dwFlags == other.dwFlags |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for MONITORINFO {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for MONITORINFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct MONITORINFOEXA { |
| pub monitorInfo: MONITORINFO, |
| pub szDevice: [u8; 32], |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for MONITORINFOEXA {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for MONITORINFOEXA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for MONITORINFOEXA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MONITORINFOEXA").field("monitorInfo", &self.monitorInfo).field("szDevice", &self.szDevice).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for MONITORINFOEXA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for MONITORINFOEXA { |
| fn eq(&self, other: &Self) -> bool { |
| self.monitorInfo == other.monitorInfo && self.szDevice == other.szDevice |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for MONITORINFOEXA {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for MONITORINFOEXA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct MONITORINFOEXW { |
| pub monitorInfo: MONITORINFO, |
| pub szDevice: [u16; 32], |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for MONITORINFOEXW {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for MONITORINFOEXW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for MONITORINFOEXW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MONITORINFOEXW").field("monitorInfo", &self.monitorInfo).field("szDevice", &self.szDevice).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for MONITORINFOEXW { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for MONITORINFOEXW { |
| fn eq(&self, other: &Self) -> bool { |
| self.monitorInfo == other.monitorInfo && self.szDevice == other.szDevice |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for MONITORINFOEXW {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for MONITORINFOEXW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct NEWTEXTMETRICA { |
| pub tmHeight: i32, |
| pub tmAscent: i32, |
| pub tmDescent: i32, |
| pub tmInternalLeading: i32, |
| pub tmExternalLeading: i32, |
| pub tmAveCharWidth: i32, |
| pub tmMaxCharWidth: i32, |
| pub tmWeight: i32, |
| pub tmOverhang: i32, |
| pub tmDigitizedAspectX: i32, |
| pub tmDigitizedAspectY: i32, |
| pub tmFirstChar: u8, |
| pub tmLastChar: u8, |
| pub tmDefaultChar: u8, |
| pub tmBreakChar: u8, |
| pub tmItalic: u8, |
| pub tmUnderlined: u8, |
| pub tmStruckOut: u8, |
| pub tmPitchAndFamily: TMPF_FLAGS, |
| pub tmCharSet: u8, |
| pub ntmFlags: u32, |
| pub ntmSizeEM: u32, |
| pub ntmCellHeight: u32, |
| pub ntmAvgWidth: u32, |
| } |
| impl ::core::marker::Copy for NEWTEXTMETRICA {} |
| impl ::core::clone::Clone for NEWTEXTMETRICA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for NEWTEXTMETRICA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("NEWTEXTMETRICA") |
| .field("tmHeight", &self.tmHeight) |
| .field("tmAscent", &self.tmAscent) |
| .field("tmDescent", &self.tmDescent) |
| .field("tmInternalLeading", &self.tmInternalLeading) |
| .field("tmExternalLeading", &self.tmExternalLeading) |
| .field("tmAveCharWidth", &self.tmAveCharWidth) |
| .field("tmMaxCharWidth", &self.tmMaxCharWidth) |
| .field("tmWeight", &self.tmWeight) |
| .field("tmOverhang", &self.tmOverhang) |
| .field("tmDigitizedAspectX", &self.tmDigitizedAspectX) |
| .field("tmDigitizedAspectY", &self.tmDigitizedAspectY) |
| .field("tmFirstChar", &self.tmFirstChar) |
| .field("tmLastChar", &self.tmLastChar) |
| .field("tmDefaultChar", &self.tmDefaultChar) |
| .field("tmBreakChar", &self.tmBreakChar) |
| .field("tmItalic", &self.tmItalic) |
| .field("tmUnderlined", &self.tmUnderlined) |
| .field("tmStruckOut", &self.tmStruckOut) |
| .field("tmPitchAndFamily", &self.tmPitchAndFamily) |
| .field("tmCharSet", &self.tmCharSet) |
| .field("ntmFlags", &self.ntmFlags) |
| .field("ntmSizeEM", &self.ntmSizeEM) |
| .field("ntmCellHeight", &self.ntmCellHeight) |
| .field("ntmAvgWidth", &self.ntmAvgWidth) |
| .finish() |
| } |
| } |
| impl ::windows_core::TypeKind for NEWTEXTMETRICA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for NEWTEXTMETRICA { |
| fn eq(&self, other: &Self) -> bool { |
| self.tmHeight == other.tmHeight |
| && self.tmAscent == other.tmAscent |
| && self.tmDescent == other.tmDescent |
| && self.tmInternalLeading == other.tmInternalLeading |
| && self.tmExternalLeading == other.tmExternalLeading |
| && self.tmAveCharWidth == other.tmAveCharWidth |
| && self.tmMaxCharWidth == other.tmMaxCharWidth |
| && self.tmWeight == other.tmWeight |
| && self.tmOverhang == other.tmOverhang |
| && self.tmDigitizedAspectX == other.tmDigitizedAspectX |
| && self.tmDigitizedAspectY == other.tmDigitizedAspectY |
| && self.tmFirstChar == other.tmFirstChar |
| && self.tmLastChar == other.tmLastChar |
| && self.tmDefaultChar == other.tmDefaultChar |
| && self.tmBreakChar == other.tmBreakChar |
| && self.tmItalic == other.tmItalic |
| && self.tmUnderlined == other.tmUnderlined |
| && self.tmStruckOut == other.tmStruckOut |
| && self.tmPitchAndFamily == other.tmPitchAndFamily |
| && self.tmCharSet == other.tmCharSet |
| && self.ntmFlags == other.ntmFlags |
| && self.ntmSizeEM == other.ntmSizeEM |
| && self.ntmCellHeight == other.ntmCellHeight |
| && self.ntmAvgWidth == other.ntmAvgWidth |
| } |
| } |
| impl ::core::cmp::Eq for NEWTEXTMETRICA {} |
| impl ::core::default::Default for NEWTEXTMETRICA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct NEWTEXTMETRICW { |
| pub tmHeight: i32, |
| pub tmAscent: i32, |
| pub tmDescent: i32, |
| pub tmInternalLeading: i32, |
| pub tmExternalLeading: i32, |
| pub tmAveCharWidth: i32, |
| pub tmMaxCharWidth: i32, |
| pub tmWeight: i32, |
| pub tmOverhang: i32, |
| pub tmDigitizedAspectX: i32, |
| pub tmDigitizedAspectY: i32, |
| pub tmFirstChar: u16, |
| pub tmLastChar: u16, |
| pub tmDefaultChar: u16, |
| pub tmBreakChar: u16, |
| pub tmItalic: u8, |
| pub tmUnderlined: u8, |
| pub tmStruckOut: u8, |
| pub tmPitchAndFamily: TMPF_FLAGS, |
| pub tmCharSet: u8, |
| pub ntmFlags: u32, |
| pub ntmSizeEM: u32, |
| pub ntmCellHeight: u32, |
| pub ntmAvgWidth: u32, |
| } |
| impl ::core::marker::Copy for NEWTEXTMETRICW {} |
| impl ::core::clone::Clone for NEWTEXTMETRICW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for NEWTEXTMETRICW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("NEWTEXTMETRICW") |
| .field("tmHeight", &self.tmHeight) |
| .field("tmAscent", &self.tmAscent) |
| .field("tmDescent", &self.tmDescent) |
| .field("tmInternalLeading", &self.tmInternalLeading) |
| .field("tmExternalLeading", &self.tmExternalLeading) |
| .field("tmAveCharWidth", &self.tmAveCharWidth) |
| .field("tmMaxCharWidth", &self.tmMaxCharWidth) |
| .field("tmWeight", &self.tmWeight) |
| .field("tmOverhang", &self.tmOverhang) |
| .field("tmDigitizedAspectX", &self.tmDigitizedAspectX) |
| .field("tmDigitizedAspectY", &self.tmDigitizedAspectY) |
| .field("tmFirstChar", &self.tmFirstChar) |
| .field("tmLastChar", &self.tmLastChar) |
| .field("tmDefaultChar", &self.tmDefaultChar) |
| .field("tmBreakChar", &self.tmBreakChar) |
| .field("tmItalic", &self.tmItalic) |
| .field("tmUnderlined", &self.tmUnderlined) |
| .field("tmStruckOut", &self.tmStruckOut) |
| .field("tmPitchAndFamily", &self.tmPitchAndFamily) |
| .field("tmCharSet", &self.tmCharSet) |
| .field("ntmFlags", &self.ntmFlags) |
| .field("ntmSizeEM", &self.ntmSizeEM) |
| .field("ntmCellHeight", &self.ntmCellHeight) |
| .field("ntmAvgWidth", &self.ntmAvgWidth) |
| .finish() |
| } |
| } |
| impl ::windows_core::TypeKind for NEWTEXTMETRICW { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for NEWTEXTMETRICW { |
| fn eq(&self, other: &Self) -> bool { |
| self.tmHeight == other.tmHeight |
| && self.tmAscent == other.tmAscent |
| && self.tmDescent == other.tmDescent |
| && self.tmInternalLeading == other.tmInternalLeading |
| && self.tmExternalLeading == other.tmExternalLeading |
| && self.tmAveCharWidth == other.tmAveCharWidth |
| && self.tmMaxCharWidth == other.tmMaxCharWidth |
| && self.tmWeight == other.tmWeight |
| && self.tmOverhang == other.tmOverhang |
| && self.tmDigitizedAspectX == other.tmDigitizedAspectX |
| && self.tmDigitizedAspectY == other.tmDigitizedAspectY |
| && self.tmFirstChar == other.tmFirstChar |
| && self.tmLastChar == other.tmLastChar |
| && self.tmDefaultChar == other.tmDefaultChar |
| && self.tmBreakChar == other.tmBreakChar |
| && self.tmItalic == other.tmItalic |
| && self.tmUnderlined == other.tmUnderlined |
| && self.tmStruckOut == other.tmStruckOut |
| && self.tmPitchAndFamily == other.tmPitchAndFamily |
| && self.tmCharSet == other.tmCharSet |
| && self.ntmFlags == other.ntmFlags |
| && self.ntmSizeEM == other.ntmSizeEM |
| && self.ntmCellHeight == other.ntmCellHeight |
| && self.ntmAvgWidth == other.ntmAvgWidth |
| } |
| } |
| impl ::core::cmp::Eq for NEWTEXTMETRICW {} |
| impl ::core::default::Default for NEWTEXTMETRICW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct OUTLINETEXTMETRICA { |
| pub otmSize: u32, |
| pub otmTextMetrics: TEXTMETRICA, |
| pub otmFiller: u8, |
| pub otmPanoseNumber: PANOSE, |
| pub otmfsSelection: u32, |
| pub otmfsType: u32, |
| pub otmsCharSlopeRise: i32, |
| pub otmsCharSlopeRun: i32, |
| pub otmItalicAngle: i32, |
| pub otmEMSquare: u32, |
| pub otmAscent: i32, |
| pub otmDescent: i32, |
| pub otmLineGap: u32, |
| pub otmsCapEmHeight: u32, |
| pub otmsXHeight: u32, |
| pub otmrcFontBox: super::super::Foundation::RECT, |
| pub otmMacAscent: i32, |
| pub otmMacDescent: i32, |
| pub otmMacLineGap: u32, |
| pub otmusMinimumPPEM: u32, |
| pub otmptSubscriptSize: super::super::Foundation::POINT, |
| pub otmptSubscriptOffset: super::super::Foundation::POINT, |
| pub otmptSuperscriptSize: super::super::Foundation::POINT, |
| pub otmptSuperscriptOffset: super::super::Foundation::POINT, |
| pub otmsStrikeoutSize: u32, |
| pub otmsStrikeoutPosition: i32, |
| pub otmsUnderscoreSize: i32, |
| pub otmsUnderscorePosition: i32, |
| pub otmpFamilyName: ::windows_core::PSTR, |
| pub otmpFaceName: ::windows_core::PSTR, |
| pub otmpStyleName: ::windows_core::PSTR, |
| pub otmpFullName: ::windows_core::PSTR, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for OUTLINETEXTMETRICA {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for OUTLINETEXTMETRICA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for OUTLINETEXTMETRICA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("OUTLINETEXTMETRICA") |
| .field("otmSize", &self.otmSize) |
| .field("otmTextMetrics", &self.otmTextMetrics) |
| .field("otmFiller", &self.otmFiller) |
| .field("otmPanoseNumber", &self.otmPanoseNumber) |
| .field("otmfsSelection", &self.otmfsSelection) |
| .field("otmfsType", &self.otmfsType) |
| .field("otmsCharSlopeRise", &self.otmsCharSlopeRise) |
| .field("otmsCharSlopeRun", &self.otmsCharSlopeRun) |
| .field("otmItalicAngle", &self.otmItalicAngle) |
| .field("otmEMSquare", &self.otmEMSquare) |
| .field("otmAscent", &self.otmAscent) |
| .field("otmDescent", &self.otmDescent) |
| .field("otmLineGap", &self.otmLineGap) |
| .field("otmsCapEmHeight", &self.otmsCapEmHeight) |
| .field("otmsXHeight", &self.otmsXHeight) |
| .field("otmrcFontBox", &self.otmrcFontBox) |
| .field("otmMacAscent", &self.otmMacAscent) |
| .field("otmMacDescent", &self.otmMacDescent) |
| .field("otmMacLineGap", &self.otmMacLineGap) |
| .field("otmusMinimumPPEM", &self.otmusMinimumPPEM) |
| .field("otmptSubscriptSize", &self.otmptSubscriptSize) |
| .field("otmptSubscriptOffset", &self.otmptSubscriptOffset) |
| .field("otmptSuperscriptSize", &self.otmptSuperscriptSize) |
| .field("otmptSuperscriptOffset", &self.otmptSuperscriptOffset) |
| .field("otmsStrikeoutSize", &self.otmsStrikeoutSize) |
| .field("otmsStrikeoutPosition", &self.otmsStrikeoutPosition) |
| .field("otmsUnderscoreSize", &self.otmsUnderscoreSize) |
| .field("otmsUnderscorePosition", &self.otmsUnderscorePosition) |
| .field("otmpFamilyName", &self.otmpFamilyName) |
| .field("otmpFaceName", &self.otmpFaceName) |
| .field("otmpStyleName", &self.otmpStyleName) |
| .field("otmpFullName", &self.otmpFullName) |
| .finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for OUTLINETEXTMETRICA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for OUTLINETEXTMETRICA { |
| fn eq(&self, other: &Self) -> bool { |
| self.otmSize == other.otmSize |
| && self.otmTextMetrics == other.otmTextMetrics |
| && self.otmFiller == other.otmFiller |
| && self.otmPanoseNumber == other.otmPanoseNumber |
| && self.otmfsSelection == other.otmfsSelection |
| && self.otmfsType == other.otmfsType |
| && self.otmsCharSlopeRise == other.otmsCharSlopeRise |
| && self.otmsCharSlopeRun == other.otmsCharSlopeRun |
| && self.otmItalicAngle == other.otmItalicAngle |
| && self.otmEMSquare == other.otmEMSquare |
| && self.otmAscent == other.otmAscent |
| && self.otmDescent == other.otmDescent |
| && self.otmLineGap == other.otmLineGap |
| && self.otmsCapEmHeight == other.otmsCapEmHeight |
| && self.otmsXHeight == other.otmsXHeight |
| && self.otmrcFontBox == other.otmrcFontBox |
| && self.otmMacAscent == other.otmMacAscent |
| && self.otmMacDescent == other.otmMacDescent |
| && self.otmMacLineGap == other.otmMacLineGap |
| && self.otmusMinimumPPEM == other.otmusMinimumPPEM |
| && self.otmptSubscriptSize == other.otmptSubscriptSize |
| && self.otmptSubscriptOffset == other.otmptSubscriptOffset |
| && self.otmptSuperscriptSize == other.otmptSuperscriptSize |
| && self.otmptSuperscriptOffset == other.otmptSuperscriptOffset |
| && self.otmsStrikeoutSize == other.otmsStrikeoutSize |
| && self.otmsStrikeoutPosition == other.otmsStrikeoutPosition |
| && self.otmsUnderscoreSize == other.otmsUnderscoreSize |
| && self.otmsUnderscorePosition == other.otmsUnderscorePosition |
| && self.otmpFamilyName == other.otmpFamilyName |
| && self.otmpFaceName == other.otmpFaceName |
| && self.otmpStyleName == other.otmpStyleName |
| && self.otmpFullName == other.otmpFullName |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for OUTLINETEXTMETRICA {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for OUTLINETEXTMETRICA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct OUTLINETEXTMETRICW { |
| pub otmSize: u32, |
| pub otmTextMetrics: TEXTMETRICW, |
| pub otmFiller: u8, |
| pub otmPanoseNumber: PANOSE, |
| pub otmfsSelection: u32, |
| pub otmfsType: u32, |
| pub otmsCharSlopeRise: i32, |
| pub otmsCharSlopeRun: i32, |
| pub otmItalicAngle: i32, |
| pub otmEMSquare: u32, |
| pub otmAscent: i32, |
| pub otmDescent: i32, |
| pub otmLineGap: u32, |
| pub otmsCapEmHeight: u32, |
| pub otmsXHeight: u32, |
| pub otmrcFontBox: super::super::Foundation::RECT, |
| pub otmMacAscent: i32, |
| pub otmMacDescent: i32, |
| pub otmMacLineGap: u32, |
| pub otmusMinimumPPEM: u32, |
| pub otmptSubscriptSize: super::super::Foundation::POINT, |
| pub otmptSubscriptOffset: super::super::Foundation::POINT, |
| pub otmptSuperscriptSize: super::super::Foundation::POINT, |
| pub otmptSuperscriptOffset: super::super::Foundation::POINT, |
| pub otmsStrikeoutSize: u32, |
| pub otmsStrikeoutPosition: i32, |
| pub otmsUnderscoreSize: i32, |
| pub otmsUnderscorePosition: i32, |
| pub otmpFamilyName: ::windows_core::PSTR, |
| pub otmpFaceName: ::windows_core::PSTR, |
| pub otmpStyleName: ::windows_core::PSTR, |
| pub otmpFullName: ::windows_core::PSTR, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for OUTLINETEXTMETRICW {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for OUTLINETEXTMETRICW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for OUTLINETEXTMETRICW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("OUTLINETEXTMETRICW") |
| .field("otmSize", &self.otmSize) |
| .field("otmTextMetrics", &self.otmTextMetrics) |
| .field("otmFiller", &self.otmFiller) |
| .field("otmPanoseNumber", &self.otmPanoseNumber) |
| .field("otmfsSelection", &self.otmfsSelection) |
| .field("otmfsType", &self.otmfsType) |
| .field("otmsCharSlopeRise", &self.otmsCharSlopeRise) |
| .field("otmsCharSlopeRun", &self.otmsCharSlopeRun) |
| .field("otmItalicAngle", &self.otmItalicAngle) |
| .field("otmEMSquare", &self.otmEMSquare) |
| .field("otmAscent", &self.otmAscent) |
| .field("otmDescent", &self.otmDescent) |
| .field("otmLineGap", &self.otmLineGap) |
| .field("otmsCapEmHeight", &self.otmsCapEmHeight) |
| .field("otmsXHeight", &self.otmsXHeight) |
| .field("otmrcFontBox", &self.otmrcFontBox) |
| .field("otmMacAscent", &self.otmMacAscent) |
| .field("otmMacDescent", &self.otmMacDescent) |
| .field("otmMacLineGap", &self.otmMacLineGap) |
| .field("otmusMinimumPPEM", &self.otmusMinimumPPEM) |
| .field("otmptSubscriptSize", &self.otmptSubscriptSize) |
| .field("otmptSubscriptOffset", &self.otmptSubscriptOffset) |
| .field("otmptSuperscriptSize", &self.otmptSuperscriptSize) |
| .field("otmptSuperscriptOffset", &self.otmptSuperscriptOffset) |
| .field("otmsStrikeoutSize", &self.otmsStrikeoutSize) |
| .field("otmsStrikeoutPosition", &self.otmsStrikeoutPosition) |
| .field("otmsUnderscoreSize", &self.otmsUnderscoreSize) |
| .field("otmsUnderscorePosition", &self.otmsUnderscorePosition) |
| .field("otmpFamilyName", &self.otmpFamilyName) |
| .field("otmpFaceName", &self.otmpFaceName) |
| .field("otmpStyleName", &self.otmpStyleName) |
| .field("otmpFullName", &self.otmpFullName) |
| .finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for OUTLINETEXTMETRICW { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for OUTLINETEXTMETRICW { |
| fn eq(&self, other: &Self) -> bool { |
| self.otmSize == other.otmSize |
| && self.otmTextMetrics == other.otmTextMetrics |
| && self.otmFiller == other.otmFiller |
| && self.otmPanoseNumber == other.otmPanoseNumber |
| && self.otmfsSelection == other.otmfsSelection |
| && self.otmfsType == other.otmfsType |
| && self.otmsCharSlopeRise == other.otmsCharSlopeRise |
| && self.otmsCharSlopeRun == other.otmsCharSlopeRun |
| && self.otmItalicAngle == other.otmItalicAngle |
| && self.otmEMSquare == other.otmEMSquare |
| && self.otmAscent == other.otmAscent |
| && self.otmDescent == other.otmDescent |
| && self.otmLineGap == other.otmLineGap |
| && self.otmsCapEmHeight == other.otmsCapEmHeight |
| && self.otmsXHeight == other.otmsXHeight |
| && self.otmrcFontBox == other.otmrcFontBox |
| && self.otmMacAscent == other.otmMacAscent |
| && self.otmMacDescent == other.otmMacDescent |
| && self.otmMacLineGap == other.otmMacLineGap |
| && self.otmusMinimumPPEM == other.otmusMinimumPPEM |
| && self.otmptSubscriptSize == other.otmptSubscriptSize |
| && self.otmptSubscriptOffset == other.otmptSubscriptOffset |
| && self.otmptSuperscriptSize == other.otmptSuperscriptSize |
| && self.otmptSuperscriptOffset == other.otmptSuperscriptOffset |
| && self.otmsStrikeoutSize == other.otmsStrikeoutSize |
| && self.otmsStrikeoutPosition == other.otmsStrikeoutPosition |
| && self.otmsUnderscoreSize == other.otmsUnderscoreSize |
| && self.otmsUnderscorePosition == other.otmsUnderscorePosition |
| && self.otmpFamilyName == other.otmpFamilyName |
| && self.otmpFaceName == other.otmpFaceName |
| && self.otmpStyleName == other.otmpStyleName |
| && self.otmpFullName == other.otmpFullName |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for OUTLINETEXTMETRICW {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for OUTLINETEXTMETRICW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct PAINTSTRUCT { |
| pub hdc: HDC, |
| pub fErase: super::super::Foundation::BOOL, |
| pub rcPaint: super::super::Foundation::RECT, |
| pub fRestore: super::super::Foundation::BOOL, |
| pub fIncUpdate: super::super::Foundation::BOOL, |
| pub rgbReserved: [u8; 32], |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for PAINTSTRUCT {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for PAINTSTRUCT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for PAINTSTRUCT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("PAINTSTRUCT").field("hdc", &self.hdc).field("fErase", &self.fErase).field("rcPaint", &self.rcPaint).field("fRestore", &self.fRestore).field("fIncUpdate", &self.fIncUpdate).field("rgbReserved", &self.rgbReserved).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for PAINTSTRUCT { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for PAINTSTRUCT { |
| fn eq(&self, other: &Self) -> bool { |
| self.hdc == other.hdc && self.fErase == other.fErase && self.rcPaint == other.rcPaint && self.fRestore == other.fRestore && self.fIncUpdate == other.fIncUpdate && self.rgbReserved == other.rgbReserved |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for PAINTSTRUCT {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for PAINTSTRUCT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct PALETTEENTRY { |
| pub peRed: u8, |
| pub peGreen: u8, |
| pub peBlue: u8, |
| pub peFlags: u8, |
| } |
| impl ::core::marker::Copy for PALETTEENTRY {} |
| impl ::core::clone::Clone for PALETTEENTRY { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for PALETTEENTRY { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("PALETTEENTRY").field("peRed", &self.peRed).field("peGreen", &self.peGreen).field("peBlue", &self.peBlue).field("peFlags", &self.peFlags).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for PALETTEENTRY { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for PALETTEENTRY { |
| fn eq(&self, other: &Self) -> bool { |
| self.peRed == other.peRed && self.peGreen == other.peGreen && self.peBlue == other.peBlue && self.peFlags == other.peFlags |
| } |
| } |
| impl ::core::cmp::Eq for PALETTEENTRY {} |
| impl ::core::default::Default for PALETTEENTRY { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct PANOSE { |
| pub bFamilyType: PAN_FAMILY_TYPE, |
| pub bSerifStyle: PAN_SERIF_STYLE, |
| pub bWeight: PAN_WEIGHT, |
| pub bProportion: PAN_PROPORTION, |
| pub bContrast: PAN_CONTRAST, |
| pub bStrokeVariation: PAN_STROKE_VARIATION, |
| pub bArmStyle: PAN_ARM_STYLE, |
| pub bLetterform: PAN_LETT_FORM, |
| pub bMidline: PAN_MIDLINE, |
| pub bXHeight: PAN_XHEIGHT, |
| } |
| impl ::core::marker::Copy for PANOSE {} |
| impl ::core::clone::Clone for PANOSE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for PANOSE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("PANOSE").field("bFamilyType", &self.bFamilyType).field("bSerifStyle", &self.bSerifStyle).field("bWeight", &self.bWeight).field("bProportion", &self.bProportion).field("bContrast", &self.bContrast).field("bStrokeVariation", &self.bStrokeVariation).field("bArmStyle", &self.bArmStyle).field("bLetterform", &self.bLetterform).field("bMidline", &self.bMidline).field("bXHeight", &self.bXHeight).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for PANOSE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for PANOSE { |
| fn eq(&self, other: &Self) -> bool { |
| self.bFamilyType == other.bFamilyType && self.bSerifStyle == other.bSerifStyle && self.bWeight == other.bWeight && self.bProportion == other.bProportion && self.bContrast == other.bContrast && self.bStrokeVariation == other.bStrokeVariation && self.bArmStyle == other.bArmStyle && self.bLetterform == other.bLetterform && self.bMidline == other.bMidline && self.bXHeight == other.bXHeight |
| } |
| } |
| impl ::core::cmp::Eq for PANOSE {} |
| impl ::core::default::Default for PANOSE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct PELARRAY { |
| pub paXCount: i32, |
| pub paYCount: i32, |
| pub paXExt: i32, |
| pub paYExt: i32, |
| pub paRGBs: u8, |
| } |
| impl ::core::marker::Copy for PELARRAY {} |
| impl ::core::clone::Clone for PELARRAY { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for PELARRAY { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("PELARRAY").field("paXCount", &self.paXCount).field("paYCount", &self.paYCount).field("paXExt", &self.paXExt).field("paYExt", &self.paYExt).field("paRGBs", &self.paRGBs).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for PELARRAY { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for PELARRAY { |
| fn eq(&self, other: &Self) -> bool { |
| self.paXCount == other.paXCount && self.paYCount == other.paYCount && self.paXExt == other.paXExt && self.paYExt == other.paYExt && self.paRGBs == other.paRGBs |
| } |
| } |
| impl ::core::cmp::Eq for PELARRAY {} |
| impl ::core::default::Default for PELARRAY { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct POINTFX { |
| pub x: FIXED, |
| pub y: FIXED, |
| } |
| impl ::core::marker::Copy for POINTFX {} |
| impl ::core::clone::Clone for POINTFX { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for POINTFX { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("POINTFX").field("x", &self.x).field("y", &self.y).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for POINTFX { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for POINTFX { |
| fn eq(&self, other: &Self) -> bool { |
| self.x == other.x && self.y == other.y |
| } |
| } |
| impl ::core::cmp::Eq for POINTFX {} |
| impl ::core::default::Default for POINTFX { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct POLYTEXTA { |
| pub x: i32, |
| pub y: i32, |
| pub n: u32, |
| pub lpstr: ::windows_core::PCSTR, |
| pub uiFlags: u32, |
| pub rcl: super::super::Foundation::RECT, |
| pub pdx: *mut i32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for POLYTEXTA {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for POLYTEXTA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for POLYTEXTA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("POLYTEXTA").field("x", &self.x).field("y", &self.y).field("n", &self.n).field("lpstr", &self.lpstr).field("uiFlags", &self.uiFlags).field("rcl", &self.rcl).field("pdx", &self.pdx).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for POLYTEXTA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for POLYTEXTA { |
| fn eq(&self, other: &Self) -> bool { |
| self.x == other.x && self.y == other.y && self.n == other.n && self.lpstr == other.lpstr && self.uiFlags == other.uiFlags && self.rcl == other.rcl && self.pdx == other.pdx |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for POLYTEXTA {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for POLYTEXTA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct POLYTEXTW { |
| pub x: i32, |
| pub y: i32, |
| pub n: u32, |
| pub lpstr: ::windows_core::PCWSTR, |
| pub uiFlags: u32, |
| pub rcl: super::super::Foundation::RECT, |
| pub pdx: *mut i32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for POLYTEXTW {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for POLYTEXTW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for POLYTEXTW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("POLYTEXTW").field("x", &self.x).field("y", &self.y).field("n", &self.n).field("lpstr", &self.lpstr).field("uiFlags", &self.uiFlags).field("rcl", &self.rcl).field("pdx", &self.pdx).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for POLYTEXTW { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for POLYTEXTW { |
| fn eq(&self, other: &Self) -> bool { |
| self.x == other.x && self.y == other.y && self.n == other.n && self.lpstr == other.lpstr && self.uiFlags == other.uiFlags && self.rcl == other.rcl && self.pdx == other.pdx |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for POLYTEXTW {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for POLYTEXTW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct RASTERIZER_STATUS { |
| pub nSize: i16, |
| pub wFlags: i16, |
| pub nLanguageID: i16, |
| } |
| impl ::core::marker::Copy for RASTERIZER_STATUS {} |
| impl ::core::clone::Clone for RASTERIZER_STATUS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for RASTERIZER_STATUS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("RASTERIZER_STATUS").field("nSize", &self.nSize).field("wFlags", &self.wFlags).field("nLanguageID", &self.nLanguageID).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for RASTERIZER_STATUS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for RASTERIZER_STATUS { |
| fn eq(&self, other: &Self) -> bool { |
| self.nSize == other.nSize && self.wFlags == other.wFlags && self.nLanguageID == other.nLanguageID |
| } |
| } |
| impl ::core::cmp::Eq for RASTERIZER_STATUS {} |
| impl ::core::default::Default for RASTERIZER_STATUS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct RGBQUAD { |
| pub rgbBlue: u8, |
| pub rgbGreen: u8, |
| pub rgbRed: u8, |
| pub rgbReserved: u8, |
| } |
| impl ::core::marker::Copy for RGBQUAD {} |
| impl ::core::clone::Clone for RGBQUAD { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for RGBQUAD { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("RGBQUAD").field("rgbBlue", &self.rgbBlue).field("rgbGreen", &self.rgbGreen).field("rgbRed", &self.rgbRed).field("rgbReserved", &self.rgbReserved).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for RGBQUAD { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for RGBQUAD { |
| fn eq(&self, other: &Self) -> bool { |
| self.rgbBlue == other.rgbBlue && self.rgbGreen == other.rgbGreen && self.rgbRed == other.rgbRed && self.rgbReserved == other.rgbReserved |
| } |
| } |
| impl ::core::cmp::Eq for RGBQUAD {} |
| impl ::core::default::Default for RGBQUAD { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct RGBTRIPLE { |
| pub rgbtBlue: u8, |
| pub rgbtGreen: u8, |
| pub rgbtRed: u8, |
| } |
| impl ::core::marker::Copy for RGBTRIPLE {} |
| impl ::core::clone::Clone for RGBTRIPLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for RGBTRIPLE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("RGBTRIPLE").field("rgbtBlue", &self.rgbtBlue).field("rgbtGreen", &self.rgbtGreen).field("rgbtRed", &self.rgbtRed).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for RGBTRIPLE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for RGBTRIPLE { |
| fn eq(&self, other: &Self) -> bool { |
| self.rgbtBlue == other.rgbtBlue && self.rgbtGreen == other.rgbtGreen && self.rgbtRed == other.rgbtRed |
| } |
| } |
| impl ::core::cmp::Eq for RGBTRIPLE {} |
| impl ::core::default::Default for RGBTRIPLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct RGNDATA { |
| pub rdh: RGNDATAHEADER, |
| pub Buffer: [u8; 1], |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for RGNDATA {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for RGNDATA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for RGNDATA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("RGNDATA").field("rdh", &self.rdh).field("Buffer", &self.Buffer).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for RGNDATA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for RGNDATA { |
| fn eq(&self, other: &Self) -> bool { |
| self.rdh == other.rdh && self.Buffer == other.Buffer |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for RGNDATA {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for RGNDATA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct RGNDATAHEADER { |
| pub dwSize: u32, |
| pub iType: u32, |
| pub nCount: u32, |
| pub nRgnSize: u32, |
| pub rcBound: super::super::Foundation::RECT, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for RGNDATAHEADER {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for RGNDATAHEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for RGNDATAHEADER { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("RGNDATAHEADER").field("dwSize", &self.dwSize).field("iType", &self.iType).field("nCount", &self.nCount).field("nRgnSize", &self.nRgnSize).field("rcBound", &self.rcBound).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows_core::TypeKind for RGNDATAHEADER { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for RGNDATAHEADER { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwSize == other.dwSize && self.iType == other.iType && self.nCount == other.nCount && self.nRgnSize == other.nRgnSize && self.rcBound == other.rcBound |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for RGNDATAHEADER {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for RGNDATAHEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct TEXTMETRICA { |
| pub tmHeight: i32, |
| pub tmAscent: i32, |
| pub tmDescent: i32, |
| pub tmInternalLeading: i32, |
| pub tmExternalLeading: i32, |
| pub tmAveCharWidth: i32, |
| pub tmMaxCharWidth: i32, |
| pub tmWeight: i32, |
| pub tmOverhang: i32, |
| pub tmDigitizedAspectX: i32, |
| pub tmDigitizedAspectY: i32, |
| pub tmFirstChar: u8, |
| pub tmLastChar: u8, |
| pub tmDefaultChar: u8, |
| pub tmBreakChar: u8, |
| pub tmItalic: u8, |
| pub tmUnderlined: u8, |
| pub tmStruckOut: u8, |
| pub tmPitchAndFamily: TMPF_FLAGS, |
| pub tmCharSet: u8, |
| } |
| impl ::core::marker::Copy for TEXTMETRICA {} |
| impl ::core::clone::Clone for TEXTMETRICA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TEXTMETRICA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TEXTMETRICA") |
| .field("tmHeight", &self.tmHeight) |
| .field("tmAscent", &self.tmAscent) |
| .field("tmDescent", &self.tmDescent) |
| .field("tmInternalLeading", &self.tmInternalLeading) |
| .field("tmExternalLeading", &self.tmExternalLeading) |
| .field("tmAveCharWidth", &self.tmAveCharWidth) |
| .field("tmMaxCharWidth", &self.tmMaxCharWidth) |
| .field("tmWeight", &self.tmWeight) |
| .field("tmOverhang", &self.tmOverhang) |
| .field("tmDigitizedAspectX", &self.tmDigitizedAspectX) |
| .field("tmDigitizedAspectY", &self.tmDigitizedAspectY) |
| .field("tmFirstChar", &self.tmFirstChar) |
| .field("tmLastChar", &self.tmLastChar) |
| .field("tmDefaultChar", &self.tmDefaultChar) |
| .field("tmBreakChar", &self.tmBreakChar) |
| .field("tmItalic", &self.tmItalic) |
| .field("tmUnderlined", &self.tmUnderlined) |
| .field("tmStruckOut", &self.tmStruckOut) |
| .field("tmPitchAndFamily", &self.tmPitchAndFamily) |
| .field("tmCharSet", &self.tmCharSet) |
| .finish() |
| } |
| } |
| impl ::windows_core::TypeKind for TEXTMETRICA { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TEXTMETRICA { |
| fn eq(&self, other: &Self) -> bool { |
| self.tmHeight == other.tmHeight |
| && self.tmAscent == other.tmAscent |
| && self.tmDescent == other.tmDescent |
| && self.tmInternalLeading == other.tmInternalLeading |
| && self.tmExternalLeading == other.tmExternalLeading |
| && self.tmAveCharWidth == other.tmAveCharWidth |
| && self.tmMaxCharWidth == other.tmMaxCharWidth |
| && self.tmWeight == other.tmWeight |
| && self.tmOverhang == other.tmOverhang |
| && self.tmDigitizedAspectX == other.tmDigitizedAspectX |
| && self.tmDigitizedAspectY == other.tmDigitizedAspectY |
| && self.tmFirstChar == other.tmFirstChar |
| && self.tmLastChar == other.tmLastChar |
| && self.tmDefaultChar == other.tmDefaultChar |
| && self.tmBreakChar == other.tmBreakChar |
| && self.tmItalic == other.tmItalic |
| && self.tmUnderlined == other.tmUnderlined |
| && self.tmStruckOut == other.tmStruckOut |
| && self.tmPitchAndFamily == other.tmPitchAndFamily |
| && self.tmCharSet == other.tmCharSet |
| } |
| } |
| impl ::core::cmp::Eq for TEXTMETRICA {} |
| impl ::core::default::Default for TEXTMETRICA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct TEXTMETRICW { |
| pub tmHeight: i32, |
| pub tmAscent: i32, |
| pub tmDescent: i32, |
| pub tmInternalLeading: i32, |
| pub tmExternalLeading: i32, |
| pub tmAveCharWidth: i32, |
| pub tmMaxCharWidth: i32, |
| pub tmWeight: i32, |
| pub tmOverhang: i32, |
| pub tmDigitizedAspectX: i32, |
| pub tmDigitizedAspectY: i32, |
| pub tmFirstChar: u16, |
| pub tmLastChar: u16, |
| pub tmDefaultChar: u16, |
| pub tmBreakChar: u16, |
| pub tmItalic: u8, |
| pub tmUnderlined: u8, |
| pub tmStruckOut: u8, |
| pub tmPitchAndFamily: TMPF_FLAGS, |
| pub tmCharSet: u8, |
| } |
| impl ::core::marker::Copy for TEXTMETRICW {} |
| impl ::core::clone::Clone for TEXTMETRICW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TEXTMETRICW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TEXTMETRICW") |
| .field("tmHeight", &self.tmHeight) |
| .field("tmAscent", &self.tmAscent) |
| .field("tmDescent", &self.tmDescent) |
| .field("tmInternalLeading", &self.tmInternalLeading) |
| .field("tmExternalLeading", &self.tmExternalLeading) |
| .field("tmAveCharWidth", &self.tmAveCharWidth) |
| .field("tmMaxCharWidth", &self.tmMaxCharWidth) |
| .field("tmWeight", &self.tmWeight) |
| .field("tmOverhang", &self.tmOverhang) |
| .field("tmDigitizedAspectX", &self.tmDigitizedAspectX) |
| .field("tmDigitizedAspectY", &self.tmDigitizedAspectY) |
| .field("tmFirstChar", &self.tmFirstChar) |
| .field("tmLastChar", &self.tmLastChar) |
| .field("tmDefaultChar", &self.tmDefaultChar) |
| .field("tmBreakChar", &self.tmBreakChar) |
| .field("tmItalic", &self.tmItalic) |
| .field("tmUnderlined", &self.tmUnderlined) |
| .field("tmStruckOut", &self.tmStruckOut) |
| .field("tmPitchAndFamily", &self.tmPitchAndFamily) |
| .field("tmCharSet", &self.tmCharSet) |
| .finish() |
| } |
| } |
| impl ::windows_core::TypeKind for TEXTMETRICW { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TEXTMETRICW { |
| fn eq(&self, other: &Self) -> bool { |
| self.tmHeight == other.tmHeight |
| && self.tmAscent == other.tmAscent |
| && self.tmDescent == other.tmDescent |
| && self.tmInternalLeading == other.tmInternalLeading |
| && self.tmExternalLeading == other.tmExternalLeading |
| && self.tmAveCharWidth == other.tmAveCharWidth |
| && self.tmMaxCharWidth == other.tmMaxCharWidth |
| && self.tmWeight == other.tmWeight |
| && self.tmOverhang == other.tmOverhang |
| && self.tmDigitizedAspectX == other.tmDigitizedAspectX |
| && self.tmDigitizedAspectY == other.tmDigitizedAspectY |
| && self.tmFirstChar == other.tmFirstChar |
| && self.tmLastChar == other.tmLastChar |
| && self.tmDefaultChar == other.tmDefaultChar |
| && self.tmBreakChar == other.tmBreakChar |
| && self.tmItalic == other.tmItalic |
| && self.tmUnderlined == other.tmUnderlined |
| && self.tmStruckOut == other.tmStruckOut |
| && self.tmPitchAndFamily == other.tmPitchAndFamily |
| && self.tmCharSet == other.tmCharSet |
| } |
| } |
| impl ::core::cmp::Eq for TEXTMETRICW {} |
| impl ::core::default::Default for TEXTMETRICW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct TRIVERTEX { |
| pub x: i32, |
| pub y: i32, |
| pub Red: u16, |
| pub Green: u16, |
| pub Blue: u16, |
| pub Alpha: u16, |
| } |
| impl ::core::marker::Copy for TRIVERTEX {} |
| impl ::core::clone::Clone for TRIVERTEX { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TRIVERTEX { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TRIVERTEX").field("x", &self.x).field("y", &self.y).field("Red", &self.Red).field("Green", &self.Green).field("Blue", &self.Blue).field("Alpha", &self.Alpha).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for TRIVERTEX { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TRIVERTEX { |
| fn eq(&self, other: &Self) -> bool { |
| self.x == other.x && self.y == other.y && self.Red == other.Red && self.Green == other.Green && self.Blue == other.Blue && self.Alpha == other.Alpha |
| } |
| } |
| impl ::core::cmp::Eq for TRIVERTEX {} |
| impl ::core::default::Default for TRIVERTEX { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct TTEMBEDINFO { |
| pub usStructSize: u16, |
| pub usRootStrSize: u16, |
| pub pusRootStr: *mut u16, |
| } |
| impl ::core::marker::Copy for TTEMBEDINFO {} |
| impl ::core::clone::Clone for TTEMBEDINFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TTEMBEDINFO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TTEMBEDINFO").field("usStructSize", &self.usStructSize).field("usRootStrSize", &self.usRootStrSize).field("pusRootStr", &self.pusRootStr).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for TTEMBEDINFO { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TTEMBEDINFO { |
| fn eq(&self, other: &Self) -> bool { |
| self.usStructSize == other.usStructSize && self.usRootStrSize == other.usRootStrSize && self.pusRootStr == other.pusRootStr |
| } |
| } |
| impl ::core::cmp::Eq for TTEMBEDINFO {} |
| impl ::core::default::Default for TTEMBEDINFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct TTLOADINFO { |
| pub usStructSize: u16, |
| pub usRefStrSize: u16, |
| pub pusRefStr: *mut u16, |
| } |
| impl ::core::marker::Copy for TTLOADINFO {} |
| impl ::core::clone::Clone for TTLOADINFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TTLOADINFO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TTLOADINFO").field("usStructSize", &self.usStructSize).field("usRefStrSize", &self.usRefStrSize).field("pusRefStr", &self.pusRefStr).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for TTLOADINFO { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TTLOADINFO { |
| fn eq(&self, other: &Self) -> bool { |
| self.usStructSize == other.usStructSize && self.usRefStrSize == other.usRefStrSize && self.pusRefStr == other.pusRefStr |
| } |
| } |
| impl ::core::cmp::Eq for TTLOADINFO {} |
| impl ::core::default::Default for TTLOADINFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct TTPOLYCURVE { |
| pub wType: u16, |
| pub cpfx: u16, |
| pub apfx: [POINTFX; 1], |
| } |
| impl ::core::marker::Copy for TTPOLYCURVE {} |
| impl ::core::clone::Clone for TTPOLYCURVE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TTPOLYCURVE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TTPOLYCURVE").field("wType", &self.wType).field("cpfx", &self.cpfx).field("apfx", &self.apfx).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for TTPOLYCURVE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TTPOLYCURVE { |
| fn eq(&self, other: &Self) -> bool { |
| self.wType == other.wType && self.cpfx == other.cpfx && self.apfx == other.apfx |
| } |
| } |
| impl ::core::cmp::Eq for TTPOLYCURVE {} |
| impl ::core::default::Default for TTPOLYCURVE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct TTPOLYGONHEADER { |
| pub cb: u32, |
| pub dwType: u32, |
| pub pfxStart: POINTFX, |
| } |
| impl ::core::marker::Copy for TTPOLYGONHEADER {} |
| impl ::core::clone::Clone for TTPOLYGONHEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TTPOLYGONHEADER { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TTPOLYGONHEADER").field("cb", &self.cb).field("dwType", &self.dwType).field("pfxStart", &self.pfxStart).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for TTPOLYGONHEADER { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TTPOLYGONHEADER { |
| fn eq(&self, other: &Self) -> bool { |
| self.cb == other.cb && self.dwType == other.dwType && self.pfxStart == other.pfxStart |
| } |
| } |
| impl ::core::cmp::Eq for TTPOLYGONHEADER {} |
| impl ::core::default::Default for TTPOLYGONHEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct TTVALIDATIONTESTSPARAMS { |
| pub ulStructSize: u32, |
| pub lTestFromSize: i32, |
| pub lTestToSize: i32, |
| pub ulCharSet: u32, |
| pub usReserved1: u16, |
| pub usCharCodeCount: u16, |
| pub pusCharCodeSet: *mut u16, |
| } |
| impl ::core::marker::Copy for TTVALIDATIONTESTSPARAMS {} |
| impl ::core::clone::Clone for TTVALIDATIONTESTSPARAMS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TTVALIDATIONTESTSPARAMS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TTVALIDATIONTESTSPARAMS").field("ulStructSize", &self.ulStructSize).field("lTestFromSize", &self.lTestFromSize).field("lTestToSize", &self.lTestToSize).field("ulCharSet", &self.ulCharSet).field("usReserved1", &self.usReserved1).field("usCharCodeCount", &self.usCharCodeCount).field("pusCharCodeSet", &self.pusCharCodeSet).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for TTVALIDATIONTESTSPARAMS { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TTVALIDATIONTESTSPARAMS { |
| fn eq(&self, other: &Self) -> bool { |
| self.ulStructSize == other.ulStructSize && self.lTestFromSize == other.lTestFromSize && self.lTestToSize == other.lTestToSize && self.ulCharSet == other.ulCharSet && self.usReserved1 == other.usReserved1 && self.usCharCodeCount == other.usCharCodeCount && self.pusCharCodeSet == other.pusCharCodeSet |
| } |
| } |
| impl ::core::cmp::Eq for TTVALIDATIONTESTSPARAMS {} |
| impl ::core::default::Default for TTVALIDATIONTESTSPARAMS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct TTVALIDATIONTESTSPARAMSEX { |
| pub ulStructSize: u32, |
| pub lTestFromSize: i32, |
| pub lTestToSize: i32, |
| pub ulCharSet: u32, |
| pub usReserved1: u16, |
| pub usCharCodeCount: u16, |
| pub pulCharCodeSet: *mut u32, |
| } |
| impl ::core::marker::Copy for TTVALIDATIONTESTSPARAMSEX {} |
| impl ::core::clone::Clone for TTVALIDATIONTESTSPARAMSEX { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TTVALIDATIONTESTSPARAMSEX { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TTVALIDATIONTESTSPARAMSEX").field("ulStructSize", &self.ulStructSize).field("lTestFromSize", &self.lTestFromSize).field("lTestToSize", &self.lTestToSize).field("ulCharSet", &self.ulCharSet).field("usReserved1", &self.usReserved1).field("usCharCodeCount", &self.usCharCodeCount).field("pulCharCodeSet", &self.pulCharCodeSet).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for TTVALIDATIONTESTSPARAMSEX { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TTVALIDATIONTESTSPARAMSEX { |
| fn eq(&self, other: &Self) -> bool { |
| self.ulStructSize == other.ulStructSize && self.lTestFromSize == other.lTestFromSize && self.lTestToSize == other.lTestToSize && self.ulCharSet == other.ulCharSet && self.usReserved1 == other.usReserved1 && self.usCharCodeCount == other.usCharCodeCount && self.pulCharCodeSet == other.pulCharCodeSet |
| } |
| } |
| impl ::core::cmp::Eq for TTVALIDATIONTESTSPARAMSEX {} |
| impl ::core::default::Default for TTVALIDATIONTESTSPARAMSEX { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct WCRANGE { |
| pub wcLow: u16, |
| pub cGlyphs: u16, |
| } |
| impl ::core::marker::Copy for WCRANGE {} |
| impl ::core::clone::Clone for WCRANGE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WCRANGE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WCRANGE").field("wcLow", &self.wcLow).field("cGlyphs", &self.cGlyphs).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for WCRANGE { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WCRANGE { |
| fn eq(&self, other: &Self) -> bool { |
| self.wcLow == other.wcLow && self.cGlyphs == other.cGlyphs |
| } |
| } |
| impl ::core::cmp::Eq for WCRANGE {} |
| impl ::core::default::Default for WCRANGE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct WGLSWAP { |
| pub hdc: HDC, |
| pub uiFlags: u32, |
| } |
| impl ::core::marker::Copy for WGLSWAP {} |
| impl ::core::clone::Clone for WGLSWAP { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WGLSWAP { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WGLSWAP").field("hdc", &self.hdc).field("uiFlags", &self.uiFlags).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for WGLSWAP { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WGLSWAP { |
| fn eq(&self, other: &Self) -> bool { |
| self.hdc == other.hdc && self.uiFlags == other.uiFlags |
| } |
| } |
| impl ::core::cmp::Eq for WGLSWAP {} |
| impl ::core::default::Default for WGLSWAP { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub struct XFORM { |
| pub eM11: f32, |
| pub eM12: f32, |
| pub eM21: f32, |
| pub eM22: f32, |
| pub eDx: f32, |
| pub eDy: f32, |
| } |
| impl ::core::marker::Copy for XFORM {} |
| impl ::core::clone::Clone for XFORM { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for XFORM { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("XFORM").field("eM11", &self.eM11).field("eM12", &self.eM12).field("eM21", &self.eM21).field("eM22", &self.eM22).field("eDx", &self.eDx).field("eDy", &self.eDy).finish() |
| } |
| } |
| impl ::windows_core::TypeKind for XFORM { |
| type TypeKind = ::windows_core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for XFORM { |
| fn eq(&self, other: &Self) -> bool { |
| self.eM11 == other.eM11 && self.eM12 == other.eM12 && self.eM21 == other.eM21 && self.eM22 == other.eM22 && self.eDx == other.eDx && self.eDy == other.eDy |
| } |
| } |
| impl ::core::cmp::Eq for XFORM {} |
| impl ::core::default::Default for XFORM { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub type CFP_ALLOCPROC = ::core::option::Option<unsafe extern "system" fn(param0: usize) -> *mut ::core::ffi::c_void>; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub type CFP_FREEPROC = ::core::option::Option<unsafe extern "system" fn(param0: *mut ::core::ffi::c_void) -> ()>; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| pub type CFP_REALLOCPROC = ::core::option::Option<unsafe extern "system" fn(param0: *mut ::core::ffi::c_void, param1: usize) -> *mut ::core::ffi::c_void>; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type FONTENUMPROCA = ::core::option::Option<unsafe extern "system" fn(param0: *const LOGFONTA, param1: *const TEXTMETRICA, param2: u32, param3: super::super::Foundation::LPARAM) -> i32>; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type FONTENUMPROCW = ::core::option::Option<unsafe extern "system" fn(param0: *const LOGFONTW, param1: *const TEXTMETRICW, param2: u32, param3: super::super::Foundation::LPARAM) -> i32>; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type GOBJENUMPROC = ::core::option::Option<unsafe extern "system" fn(param0: *mut ::core::ffi::c_void, param1: super::super::Foundation::LPARAM) -> i32>; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type GRAYSTRINGPROC = ::core::option::Option<unsafe extern "system" fn(param0: HDC, param1: super::super::Foundation::LPARAM, param2: i32) -> super::super::Foundation::BOOL>; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type LINEDDAPROC = ::core::option::Option<unsafe extern "system" fn(param0: i32, param1: i32, param2: super::super::Foundation::LPARAM) -> ()>; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type LPFNDEVCAPS = ::core::option::Option<unsafe extern "system" fn(param0: ::windows_core::PCSTR, param1: ::windows_core::PCSTR, param2: u32, param3: ::windows_core::PCSTR, param4: *mut DEVMODEA) -> u32>; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type LPFNDEVMODE = ::core::option::Option<unsafe extern "system" fn(param0: super::super::Foundation::HWND, param1: super::super::Foundation::HMODULE, param2: *mut DEVMODEA, param3: ::windows_core::PCSTR, param4: ::windows_core::PCSTR, param5: *mut DEVMODEA, param6: ::windows_core::PCSTR, param7: u32) -> u32>; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Graphics_Gdi\"`*"] |
| 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>; |