Debian Codegraph @

.cargo/vendor/windows-sys/src/Windows/Win32/Graphics/Dwm/mod.rs

raw
1 #[cfg(feature = "Win32_Foundation")]
2 ::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmAttachMilContent(hwnd : super::super::Foundation:: HWND) -> ::windows_sys::core::HRESULT);
3 #[cfg(feature = "Win32_Foundation")]
4 ::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmDefWindowProc(hwnd : super::super::Foundation:: HWND, msg : u32, wparam : super::super::Foundation:: WPARAM, lparam : super::super::Foundation:: LPARAM, plresult : *mut super::super::Foundation:: LRESULT) -> super::super::Foundation:: BOOL);
5 #[cfg(feature = "Win32_Foundation")]
6 ::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmDetachMilContent(hwnd : super::super::Foundation:: HWND) -> ::windows_sys::core::HRESULT);
7 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
8 ::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn DwmEnableBlurBehindWindow(hwnd : super::super::Foundation:: HWND, pblurbehind : *const DWM_BLURBEHIND) -> ::windows_sys::core::HRESULT);
9 ::windows_targets::link!("dwmapi.dll" "system" fn DwmEnableComposition(ucompositionaction : u32) -> ::windows_sys::core::HRESULT);
10 #[cfg(feature = "Win32_Foundation")]
11 ::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmEnableMMCSS(fenablemmcss : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
12 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))]
13 ::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`"] fn DwmExtendFrameIntoClientArea(hwnd : super::super::Foundation:: HWND, pmarinset : *const super::super::UI::Controls:: MARGINS) -> ::windows_sys::core::HRESULT);
14 ::windows_targets::link!("dwmapi.dll" "system" fn DwmFlush() -> ::windows_sys::core::HRESULT);
15 #[cfg(feature = "Win32_Foundation")]
16 ::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmGetColorizationColor(pcrcolorization : *mut u32, pfopaqueblend : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
17 #[cfg(feature = "Win32_Foundation")]
18 ::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmGetCompositionTimingInfo(hwnd : super::super::Foundation:: HWND, ptiminginfo : *mut DWM_TIMING_INFO) -> ::windows_sys::core::HRESULT);
19 ::windows_targets::link!("dwmapi.dll" "system" fn DwmGetGraphicsStreamClient(uindex : u32, pclientuuid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT);
20 ::windows_targets::link!("dwmapi.dll" "system" fn DwmGetGraphicsStreamTransformHint(uindex : u32, ptransform : *mut MilMatrix3x2D) -> ::windows_sys::core::HRESULT);
21 #[cfg(feature = "Win32_Foundation")]
22 ::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmGetTransportAttributes(pfisremoting : *mut super::super::Foundation:: BOOL, pfisconnected : *mut super::super::Foundation:: BOOL, pdwgeneration : *mut u32) -> ::windows_sys::core::HRESULT);
23 #[cfg(feature = "Win32_Foundation")]
24 ::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmGetUnmetTabRequirements(appwindow : super::super::Foundation:: HWND, value : *mut DWM_TAB_WINDOW_REQUIREMENTS) -> ::windows_sys::core::HRESULT);
25 #[cfg(feature = "Win32_Foundation")]
26 ::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmGetWindowAttribute(hwnd : super::super::Foundation:: HWND, dwattribute : u32, pvattribute : *mut ::core::ffi::c_void, cbattribute : u32) -> ::windows_sys::core::HRESULT);
27 #[cfg(feature = "Win32_Foundation")]
28 ::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmInvalidateIconicBitmaps(hwnd : super::super::Foundation:: HWND) -> ::windows_sys::core::HRESULT);
29 #[cfg(feature = "Win32_Foundation")]
30 ::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmIsCompositionEnabled(pfenabled : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
31 #[cfg(feature = "Win32_Foundation")]
32 ::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmModifyPreviousDxFrameDuration(hwnd : super::super::Foundation:: HWND, crefreshes : i32, frelative : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
33 #[cfg(feature = "Win32_Foundation")]
34 ::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmQueryThumbnailSourceSize(hthumbnail : isize, psize : *mut super::super::Foundation:: SIZE) -> ::windows_sys::core::HRESULT);
35 #[cfg(feature = "Win32_Foundation")]
36 ::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmRegisterThumbnail(hwnddestination : super::super::Foundation:: HWND, hwndsource : super::super::Foundation:: HWND, phthumbnailid : *mut isize) -> ::windows_sys::core::HRESULT);
37 #[cfg(feature = "Win32_Foundation")]
38 ::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmRenderGesture(gt : GESTURE_TYPE, ccontacts : u32, pdwpointerid : *const u32, ppoints : *const super::super::Foundation:: POINT) -> ::windows_sys::core::HRESULT);
39 #[cfg(feature = "Win32_Foundation")]
40 ::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmSetDxFrameDuration(hwnd : super::super::Foundation:: HWND, crefreshes : i32) -> ::windows_sys::core::HRESULT);
41 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
42 ::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn DwmSetIconicLivePreviewBitmap(hwnd : super::super::Foundation:: HWND, hbmp : super::Gdi:: HBITMAP, pptclient : *const super::super::Foundation:: POINT, dwsitflags : u32) -> ::windows_sys::core::HRESULT);
43 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
44 ::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn DwmSetIconicThumbnail(hwnd : super::super::Foundation:: HWND, hbmp : super::Gdi:: HBITMAP, dwsitflags : u32) -> ::windows_sys::core::HRESULT);
45 #[cfg(feature = "Win32_Foundation")]
46 ::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmSetPresentParameters(hwnd : super::super::Foundation:: HWND, ppresentparams : *mut DWM_PRESENT_PARAMETERS) -> ::windows_sys::core::HRESULT);
47 #[cfg(feature = "Win32_Foundation")]
48 ::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmSetWindowAttribute(hwnd : super::super::Foundation:: HWND, dwattribute : u32, pvattribute : *const ::core::ffi::c_void, cbattribute : u32) -> ::windows_sys::core::HRESULT);
49 ::windows_targets::link!("dwmapi.dll" "system" fn DwmShowContact(dwpointerid : u32, eshowcontact : DWM_SHOWCONTACT) -> ::windows_sys::core::HRESULT);
50 #[cfg(feature = "Win32_Foundation")]
51 ::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmTetherContact(dwpointerid : u32, fenable : super::super::Foundation:: BOOL, pttether : super::super::Foundation:: POINT) -> ::windows_sys::core::HRESULT);
52 #[cfg(feature = "Win32_Foundation")]
53 ::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmTransitionOwnedWindow(hwnd : super::super::Foundation:: HWND, target : DWMTRANSITION_OWNEDWINDOW_TARGET) -> ::windows_sys::core::HRESULT);
54 ::windows_targets::link!("dwmapi.dll" "system" fn DwmUnregisterThumbnail(hthumbnailid : isize) -> ::windows_sys::core::HRESULT);
55 #[cfg(feature = "Win32_Foundation")]
56 ::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmUpdateThumbnailProperties(hthumbnailid : isize, ptnproperties : *const DWM_THUMBNAIL_PROPERTIES) -> ::windows_sys::core::HRESULT);
57 pub const DWMFLIP3D_DEFAULT: DWMFLIP3DWINDOWPOLICY = 0i32;
58 pub const DWMFLIP3D_EXCLUDEABOVE: DWMFLIP3DWINDOWPOLICY = 2i32;
59 pub const DWMFLIP3D_EXCLUDEBELOW: DWMFLIP3DWINDOWPOLICY = 1i32;
60 pub const DWMFLIP3D_LAST: DWMFLIP3DWINDOWPOLICY = 3i32;
61 pub const DWMNCRP_DISABLED: DWMNCRENDERINGPOLICY = 1i32;
62 pub const DWMNCRP_ENABLED: DWMNCRENDERINGPOLICY = 2i32;
63 pub const DWMNCRP_LAST: DWMNCRENDERINGPOLICY = 3i32;
64 pub const DWMNCRP_USEWINDOWSTYLE: DWMNCRENDERINGPOLICY = 0i32;
65 pub const DWMSBT_AUTO: DWM_SYSTEMBACKDROP_TYPE = 0i32;
66 pub const DWMSBT_MAINWINDOW: DWM_SYSTEMBACKDROP_TYPE = 2i32;
67 pub const DWMSBT_NONE: DWM_SYSTEMBACKDROP_TYPE = 1i32;
68 pub const DWMSBT_TABBEDWINDOW: DWM_SYSTEMBACKDROP_TYPE = 4i32;
69 pub const DWMSBT_TRANSIENTWINDOW: DWM_SYSTEMBACKDROP_TYPE = 3i32;
70 pub const DWMSC_ALL: DWM_SHOWCONTACT = 4294967295u32;
71 pub const DWMSC_DOWN: DWM_SHOWCONTACT = 1u32;
72 pub const DWMSC_DRAG: DWM_SHOWCONTACT = 4u32;
73 pub const DWMSC_HOLD: DWM_SHOWCONTACT = 8u32;
74 pub const DWMSC_NONE: DWM_SHOWCONTACT = 0u32;
75 pub const DWMSC_PENBARREL: DWM_SHOWCONTACT = 16u32;
76 pub const DWMSC_UP: DWM_SHOWCONTACT = 2u32;
77 pub const DWMTRANSITION_OWNEDWINDOW_NULL: DWMTRANSITION_OWNEDWINDOW_TARGET = -1i32;
78 pub const DWMTRANSITION_OWNEDWINDOW_REPOSITION: DWMTRANSITION_OWNEDWINDOW_TARGET = 0i32;
79 pub const DWMTWR_APP_COMPAT: DWM_TAB_WINDOW_REQUIREMENTS = 512i32;
80 pub const DWMTWR_GROUP_POLICY: DWM_TAB_WINDOW_REQUIREMENTS = 256i32;
81 pub const DWMTWR_IMPLEMENTED_BY_SYSTEM: DWM_TAB_WINDOW_REQUIREMENTS = 1i32;
82 pub const DWMTWR_NONE: DWM_TAB_WINDOW_REQUIREMENTS = 0i32;
83 pub const DWMTWR_TABBING_ENABLED: DWM_TAB_WINDOW_REQUIREMENTS = 64i32;
84 pub const DWMTWR_USER_POLICY: DWM_TAB_WINDOW_REQUIREMENTS = 128i32;
85 pub const DWMTWR_WINDOW_DWM_ATTRIBUTES: DWM_TAB_WINDOW_REQUIREMENTS = 16i32;
86 pub const DWMTWR_WINDOW_MARGINS: DWM_TAB_WINDOW_REQUIREMENTS = 32i32;
87 pub const DWMTWR_WINDOW_REGION: DWM_TAB_WINDOW_REQUIREMENTS = 8i32;
88 pub const DWMTWR_WINDOW_RELATIONSHIP: DWM_TAB_WINDOW_REQUIREMENTS = 2i32;
89 pub const DWMTWR_WINDOW_STYLES: DWM_TAB_WINDOW_REQUIREMENTS = 4i32;
90 pub const DWMWA_ALLOW_NCPAINT: DWMWINDOWATTRIBUTE = 4i32;
91 pub const DWMWA_BORDER_COLOR: DWMWINDOWATTRIBUTE = 34i32;
92 pub const DWMWA_CAPTION_BUTTON_BOUNDS: DWMWINDOWATTRIBUTE = 5i32;
93 pub const DWMWA_CAPTION_COLOR: DWMWINDOWATTRIBUTE = 35i32;
94 pub const DWMWA_CLOAK: DWMWINDOWATTRIBUTE = 13i32;
95 pub const DWMWA_CLOAKED: DWMWINDOWATTRIBUTE = 14i32;
96 pub const DWMWA_COLOR_DEFAULT: u32 = 4294967295u32;
97 pub const DWMWA_COLOR_NONE: u32 = 4294967294u32;
98 pub const DWMWA_DISALLOW_PEEK: DWMWINDOWATTRIBUTE = 11i32;
99 pub const DWMWA_EXCLUDED_FROM_PEEK: DWMWINDOWATTRIBUTE = 12i32;
100 pub const DWMWA_EXTENDED_FRAME_BOUNDS: DWMWINDOWATTRIBUTE = 9i32;
101 pub const DWMWA_FLIP3D_POLICY: DWMWINDOWATTRIBUTE = 8i32;
102 pub const DWMWA_FORCE_ICONIC_REPRESENTATION: DWMWINDOWATTRIBUTE = 7i32;
103 pub const DWMWA_FREEZE_REPRESENTATION: DWMWINDOWATTRIBUTE = 15i32;
104 pub const DWMWA_HAS_ICONIC_BITMAP: DWMWINDOWATTRIBUTE = 10i32;
105 pub const DWMWA_LAST: DWMWINDOWATTRIBUTE = 39i32;
106 pub const DWMWA_NCRENDERING_ENABLED: DWMWINDOWATTRIBUTE = 1i32;
107 pub const DWMWA_NCRENDERING_POLICY: DWMWINDOWATTRIBUTE = 2i32;
108 pub const DWMWA_NONCLIENT_RTL_LAYOUT: DWMWINDOWATTRIBUTE = 6i32;
109 pub const DWMWA_PASSIVE_UPDATE_MODE: DWMWINDOWATTRIBUTE = 16i32;
110 pub const DWMWA_SYSTEMBACKDROP_TYPE: DWMWINDOWATTRIBUTE = 38i32;
111 pub const DWMWA_TEXT_COLOR: DWMWINDOWATTRIBUTE = 36i32;
112 pub const DWMWA_TRANSITIONS_FORCEDISABLED: DWMWINDOWATTRIBUTE = 3i32;
113 pub const DWMWA_USE_HOSTBACKDROPBRUSH: DWMWINDOWATTRIBUTE = 17i32;
114 pub const DWMWA_USE_IMMERSIVE_DARK_MODE: DWMWINDOWATTRIBUTE = 20i32;
115 pub const DWMWA_VISIBLE_FRAME_BORDER_THICKNESS: DWMWINDOWATTRIBUTE = 37i32;
116 pub const DWMWA_WINDOW_CORNER_PREFERENCE: DWMWINDOWATTRIBUTE = 33i32;
117 pub const DWMWCP_DEFAULT: DWM_WINDOW_CORNER_PREFERENCE = 0i32;
118 pub const DWMWCP_DONOTROUND: DWM_WINDOW_CORNER_PREFERENCE = 1i32;
119 pub const DWMWCP_ROUND: DWM_WINDOW_CORNER_PREFERENCE = 2i32;
120 pub const DWMWCP_ROUNDSMALL: DWM_WINDOW_CORNER_PREFERENCE = 3i32;
121 pub const DWM_BB_BLURREGION: u32 = 2u32;
122 pub const DWM_BB_ENABLE: u32 = 1u32;
123 pub const DWM_BB_TRANSITIONONMAXIMIZED: u32 = 4u32;
124 pub const DWM_CLOAKED_APP: u32 = 1u32;
125 pub const DWM_CLOAKED_INHERITED: u32 = 4u32;
126 pub const DWM_CLOAKED_SHELL: u32 = 2u32;
127 pub const DWM_EC_DISABLECOMPOSITION: u32 = 0u32;
128 pub const DWM_EC_ENABLECOMPOSITION: u32 = 1u32;
129 pub const DWM_FRAME_DURATION_DEFAULT: i32 = -1i32;
130 pub const DWM_SIT_DISPLAYFRAME: u32 = 1u32;
131 pub const DWM_SOURCE_FRAME_SAMPLING_COVERAGE: DWM_SOURCE_FRAME_SAMPLING = 1i32;
132 pub const DWM_SOURCE_FRAME_SAMPLING_LAST: DWM_SOURCE_FRAME_SAMPLING = 2i32;
133 pub const DWM_SOURCE_FRAME_SAMPLING_POINT: DWM_SOURCE_FRAME_SAMPLING = 0i32;
134 pub const DWM_TNP_OPACITY: u32 = 4u32;
135 pub const DWM_TNP_RECTDESTINATION: u32 = 1u32;
136 pub const DWM_TNP_RECTSOURCE: u32 = 2u32;
137 pub const DWM_TNP_SOURCECLIENTAREAONLY: u32 = 16u32;
138 pub const DWM_TNP_VISIBLE: u32 = 8u32;
139 pub const GT_PEN_DOUBLETAP: GESTURE_TYPE = 1i32;
140 pub const GT_PEN_PRESSANDHOLD: GESTURE_TYPE = 3i32;
141 pub const GT_PEN_PRESSANDHOLDABORT: GESTURE_TYPE = 4i32;
142 pub const GT_PEN_RIGHTTAP: GESTURE_TYPE = 2i32;
143 pub const GT_PEN_TAP: GESTURE_TYPE = 0i32;
144 pub const GT_TOUCH_DOUBLETAP: GESTURE_TYPE = 6i32;
145 pub const GT_TOUCH_PRESSANDHOLD: GESTURE_TYPE = 8i32;
146 pub const GT_TOUCH_PRESSANDHOLDABORT: GESTURE_TYPE = 9i32;
147 pub const GT_TOUCH_PRESSANDTAP: GESTURE_TYPE = 10i32;
148 pub const GT_TOUCH_RIGHTTAP: GESTURE_TYPE = 7i32;
149 pub const GT_TOUCH_TAP: GESTURE_TYPE = 5i32;
150 pub const c_DwmMaxAdapters: u32 = 16u32;
151 pub const c_DwmMaxMonitors: u32 = 16u32;
152 pub const c_DwmMaxQueuedBuffers: u32 = 8u32;
153 pub type DWMFLIP3DWINDOWPOLICY = i32;
154 pub type DWMNCRENDERINGPOLICY = i32;
155 pub type DWMTRANSITION_OWNEDWINDOW_TARGET = i32;
156 pub type DWMWINDOWATTRIBUTE = i32;
157 pub type DWM_SHOWCONTACT = u32;
158 pub type DWM_SOURCE_FRAME_SAMPLING = i32;
159 pub type DWM_SYSTEMBACKDROP_TYPE = i32;
160 pub type DWM_TAB_WINDOW_REQUIREMENTS = i32;
161 pub type DWM_WINDOW_CORNER_PREFERENCE = i32;
162 pub type GESTURE_TYPE = i32;
163 #[repr(C, packed(1))]
164 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
165 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
166 pub struct DWM_BLURBEHIND {
167 pub dwFlags: u32,
168 pub fEnable: super::super::Foundation::BOOL,
169 pub hRgnBlur: super::Gdi::HRGN,
170 pub fTransitionOnMaximized: super::super::Foundation::BOOL,
171 }
172 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
173 impl ::core::marker::Copy for DWM_BLURBEHIND {}
174 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
175 impl ::core::clone::Clone for DWM_BLURBEHIND {
176 fn clone(&self) -> Self {
177 *self
178 }
179 }
180 #[repr(C, packed(1))]
181 #[doc = "Required features: `\"Win32_Foundation\"`"]
182 #[cfg(feature = "Win32_Foundation")]
183 pub struct DWM_PRESENT_PARAMETERS {
184 pub cbSize: u32,
185 pub fQueue: super::super::Foundation::BOOL,
186 pub cRefreshStart: u64,
187 pub cBuffer: u32,
188 pub fUseSourceRate: super::super::Foundation::BOOL,
189 pub rateSource: UNSIGNED_RATIO,
190 pub cRefreshesPerFrame: u32,
191 pub eSampling: DWM_SOURCE_FRAME_SAMPLING,
192 }
193 #[cfg(feature = "Win32_Foundation")]
194 impl ::core::marker::Copy for DWM_PRESENT_PARAMETERS {}
195 #[cfg(feature = "Win32_Foundation")]
196 impl ::core::clone::Clone for DWM_PRESENT_PARAMETERS {
197 fn clone(&self) -> Self {
198 *self
199 }
200 }
201 #[repr(C, packed(1))]
202 #[doc = "Required features: `\"Win32_Foundation\"`"]
203 #[cfg(feature = "Win32_Foundation")]
204 pub struct DWM_THUMBNAIL_PROPERTIES {
205 pub dwFlags: u32,
206 pub rcDestination: super::super::Foundation::RECT,
207 pub rcSource: super::super::Foundation::RECT,
208 pub opacity: u8,
209 pub fVisible: super::super::Foundation::BOOL,
210 pub fSourceClientAreaOnly: super::super::Foundation::BOOL,
211 }
212 #[cfg(feature = "Win32_Foundation")]
213 impl ::core::marker::Copy for DWM_THUMBNAIL_PROPERTIES {}
214 #[cfg(feature = "Win32_Foundation")]
215 impl ::core::clone::Clone for DWM_THUMBNAIL_PROPERTIES {
216 fn clone(&self) -> Self {
217 *self
218 }
219 }
220 #[repr(C, packed(1))]
221 pub struct DWM_TIMING_INFO {
222 pub cbSize: u32,
223 pub rateRefresh: UNSIGNED_RATIO,
224 pub qpcRefreshPeriod: u64,
225 pub rateCompose: UNSIGNED_RATIO,
226 pub qpcVBlank: u64,
227 pub cRefresh: u64,
228 pub cDXRefresh: u32,
229 pub qpcCompose: u64,
230 pub cFrame: u64,
231 pub cDXPresent: u32,
232 pub cRefreshFrame: u64,
233 pub cFrameSubmitted: u64,
234 pub cDXPresentSubmitted: u32,
235 pub cFrameConfirmed: u64,
236 pub cDXPresentConfirmed: u32,
237 pub cRefreshConfirmed: u64,
238 pub cDXRefreshConfirmed: u32,
239 pub cFramesLate: u64,
240 pub cFramesOutstanding: u32,
241 pub cFrameDisplayed: u64,
242 pub qpcFrameDisplayed: u64,
243 pub cRefreshFrameDisplayed: u64,
244 pub cFrameComplete: u64,
245 pub qpcFrameComplete: u64,
246 pub cFramePending: u64,
247 pub qpcFramePending: u64,
248 pub cFramesDisplayed: u64,
249 pub cFramesComplete: u64,
250 pub cFramesPending: u64,
251 pub cFramesAvailable: u64,
252 pub cFramesDropped: u64,
253 pub cFramesMissed: u64,
254 pub cRefreshNextDisplayed: u64,
255 pub cRefreshNextPresented: u64,
256 pub cRefreshesDisplayed: u64,
257 pub cRefreshesPresented: u64,
258 pub cRefreshStarted: u64,
259 pub cPixelsReceived: u64,
260 pub cPixelsDrawn: u64,
261 pub cBuffersEmpty: u64,
262 }
263 impl ::core::marker::Copy for DWM_TIMING_INFO {}
264 impl ::core::clone::Clone for DWM_TIMING_INFO {
265 fn clone(&self) -> Self {
266 *self
267 }
268 }
269 #[repr(C, packed(1))]
270 pub struct MilMatrix3x2D {
271 pub S_11: f64,
272 pub S_12: f64,
273 pub S_21: f64,
274 pub S_22: f64,
275 pub DX: f64,
276 pub DY: f64,
277 }
278 impl ::core::marker::Copy for MilMatrix3x2D {}
279 impl ::core::clone::Clone for MilMatrix3x2D {
280 fn clone(&self) -> Self {
281 *self
282 }
283 }
284 #[repr(C, packed(1))]
285 pub struct UNSIGNED_RATIO {
286 pub uiNumerator: u32,
287 pub uiDenominator: u32,
288 }
289 impl ::core::marker::Copy for UNSIGNED_RATIO {}
290 impl ::core::clone::Clone for UNSIGNED_RATIO {
291 fn clone(&self) -> Self {
292 *self
293 }
294 }