Debian Codegraph @

.cargo/vendor/windows-sys/src/Windows/Wdk/Graphics/Direct3D/mod.rs

raw
1 #[cfg(feature = "Win32_Foundation")]
2 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTAcquireKeyedMutex(param0 : *mut D3DKMT_ACQUIREKEYEDMUTEX) -> super::super::super::Win32::Foundation:: NTSTATUS);
3 #[cfg(feature = "Win32_Foundation")]
4 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTAcquireKeyedMutex2(param0 : *mut D3DKMT_ACQUIREKEYEDMUTEX2) -> super::super::super::Win32::Foundation:: NTSTATUS);
5 #[cfg(feature = "Win32_Foundation")]
6 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTAdjustFullscreenGamma(param0 : *const D3DKMT_ADJUSTFULLSCREENGAMMA) -> super::super::super::Win32::Foundation:: NTSTATUS);
7 #[cfg(feature = "Win32_Foundation")]
8 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTCancelPresents(param0 : *const D3DKMT_CANCEL_PRESENTS) -> super::super::super::Win32::Foundation:: NTSTATUS);
9 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
10 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn D3DKMTChangeSurfacePointer(param0 : *const D3DKMT_CHANGESURFACEPOINTER) -> super::super::super::Win32::Foundation:: NTSTATUS);
11 #[cfg(feature = "Win32_Foundation")]
12 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTChangeVideoMemoryReservation(param0 : *const D3DKMT_CHANGEVIDEOMEMORYRESERVATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
13 #[cfg(feature = "Win32_Foundation")]
14 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTCheckExclusiveOwnership() -> super::super::super::Win32::Foundation:: BOOLEAN);
15 #[cfg(feature = "Win32_Foundation")]
16 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTCheckMonitorPowerState(param0 : *const D3DKMT_CHECKMONITORPOWERSTATE) -> super::super::super::Win32::Foundation:: NTSTATUS);
17 #[cfg(feature = "Win32_Foundation")]
18 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTCheckMultiPlaneOverlaySupport(param0 : *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT) -> super::super::super::Win32::Foundation:: NTSTATUS);
19 #[cfg(feature = "Win32_Foundation")]
20 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTCheckMultiPlaneOverlaySupport2(param0 : *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT2) -> super::super::super::Win32::Foundation:: NTSTATUS);
21 #[cfg(feature = "Win32_Foundation")]
22 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTCheckMultiPlaneOverlaySupport3(param0 : *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT3) -> super::super::super::Win32::Foundation:: NTSTATUS);
23 #[cfg(feature = "Win32_Foundation")]
24 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTCheckOcclusion(param0 : *const D3DKMT_CHECKOCCLUSION) -> super::super::super::Win32::Foundation:: NTSTATUS);
25 #[cfg(feature = "Win32_Foundation")]
26 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTCheckSharedResourceAccess(param0 : *const D3DKMT_CHECKSHAREDRESOURCEACCESS) -> super::super::super::Win32::Foundation:: NTSTATUS);
27 #[cfg(feature = "Win32_Foundation")]
28 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTCheckVidPnExclusiveOwnership(param0 : *const D3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP) -> super::super::super::Win32::Foundation:: NTSTATUS);
29 #[cfg(feature = "Win32_Foundation")]
30 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTCloseAdapter(param0 : *const D3DKMT_CLOSEADAPTER) -> super::super::super::Win32::Foundation:: NTSTATUS);
31 #[cfg(feature = "Win32_Foundation")]
32 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTConfigureSharedResource(param0 : *const D3DKMT_CONFIGURESHAREDRESOURCE) -> super::super::super::Win32::Foundation:: NTSTATUS);
33 #[cfg(feature = "Win32_Foundation")]
34 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTCreateAllocation(param0 : *mut D3DKMT_CREATEALLOCATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
35 #[cfg(feature = "Win32_Foundation")]
36 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTCreateAllocation2(param0 : *mut D3DKMT_CREATEALLOCATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
37 #[cfg(feature = "Win32_Foundation")]
38 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTCreateContext(param0 : *mut D3DKMT_CREATECONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS);
39 #[cfg(feature = "Win32_Foundation")]
40 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTCreateContextVirtual(param0 : *const D3DKMT_CREATECONTEXTVIRTUAL) -> super::super::super::Win32::Foundation:: NTSTATUS);
41 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
42 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn D3DKMTCreateDCFromMemory(param0 : *mut D3DKMT_CREATEDCFROMMEMORY) -> super::super::super::Win32::Foundation:: NTSTATUS);
43 #[cfg(feature = "Win32_Foundation")]
44 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTCreateDevice(param0 : *mut D3DKMT_CREATEDEVICE) -> super::super::super::Win32::Foundation:: NTSTATUS);
45 #[cfg(feature = "Win32_Foundation")]
46 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTCreateHwContext(param0 : *mut D3DKMT_CREATEHWCONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS);
47 #[cfg(feature = "Win32_Foundation")]
48 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTCreateHwQueue(param0 : *mut D3DKMT_CREATEHWQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS);
49 #[cfg(feature = "Win32_Foundation")]
50 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTCreateKeyedMutex(param0 : *mut D3DKMT_CREATEKEYEDMUTEX) -> super::super::super::Win32::Foundation:: NTSTATUS);
51 #[cfg(feature = "Win32_Foundation")]
52 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTCreateKeyedMutex2(param0 : *mut D3DKMT_CREATEKEYEDMUTEX2) -> super::super::super::Win32::Foundation:: NTSTATUS);
53 #[cfg(feature = "Win32_Foundation")]
54 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTCreateOutputDupl(param0 : *const D3DKMT_CREATE_OUTPUTDUPL) -> super::super::super::Win32::Foundation:: NTSTATUS);
55 #[cfg(feature = "Win32_Foundation")]
56 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTCreateOverlay(param0 : *mut D3DKMT_CREATEOVERLAY) -> super::super::super::Win32::Foundation:: NTSTATUS);
57 #[cfg(feature = "Win32_Foundation")]
58 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTCreatePagingQueue(param0 : *mut D3DKMT_CREATEPAGINGQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS);
59 #[cfg(feature = "Win32_Foundation")]
60 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTCreateProtectedSession(param0 : *mut D3DKMT_CREATEPROTECTEDSESSION) -> super::super::super::Win32::Foundation:: NTSTATUS);
61 #[cfg(feature = "Win32_Foundation")]
62 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTCreateSynchronizationObject(param0 : *mut D3DKMT_CREATESYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS);
63 #[cfg(feature = "Win32_Foundation")]
64 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTCreateSynchronizationObject2(param0 : *mut D3DKMT_CREATESYNCHRONIZATIONOBJECT2) -> super::super::super::Win32::Foundation:: NTSTATUS);
65 #[cfg(feature = "Win32_Foundation")]
66 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTDestroyAllocation(param0 : *const D3DKMT_DESTROYALLOCATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
67 #[cfg(feature = "Win32_Foundation")]
68 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTDestroyAllocation2(param0 : *const D3DKMT_DESTROYALLOCATION2) -> super::super::super::Win32::Foundation:: NTSTATUS);
69 #[cfg(feature = "Win32_Foundation")]
70 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTDestroyContext(param0 : *const D3DKMT_DESTROYCONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS);
71 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
72 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn D3DKMTDestroyDCFromMemory(param0 : *const D3DKMT_DESTROYDCFROMMEMORY) -> super::super::super::Win32::Foundation:: NTSTATUS);
73 #[cfg(feature = "Win32_Foundation")]
74 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTDestroyDevice(param0 : *const D3DKMT_DESTROYDEVICE) -> super::super::super::Win32::Foundation:: NTSTATUS);
75 #[cfg(feature = "Win32_Foundation")]
76 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTDestroyHwContext(param0 : *const D3DKMT_DESTROYHWCONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS);
77 #[cfg(feature = "Win32_Foundation")]
78 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTDestroyHwQueue(param0 : *const D3DKMT_DESTROYHWQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS);
79 #[cfg(feature = "Win32_Foundation")]
80 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTDestroyKeyedMutex(param0 : *const D3DKMT_DESTROYKEYEDMUTEX) -> super::super::super::Win32::Foundation:: NTSTATUS);
81 #[cfg(feature = "Win32_Foundation")]
82 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTDestroyOutputDupl(param0 : *const D3DKMT_DESTROY_OUTPUTDUPL) -> super::super::super::Win32::Foundation:: NTSTATUS);
83 #[cfg(feature = "Win32_Foundation")]
84 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTDestroyOverlay(param0 : *const D3DKMT_DESTROYOVERLAY) -> super::super::super::Win32::Foundation:: NTSTATUS);
85 #[cfg(feature = "Win32_Foundation")]
86 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTDestroyPagingQueue(param0 : *mut D3DDDI_DESTROYPAGINGQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS);
87 #[cfg(feature = "Win32_Foundation")]
88 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTDestroyProtectedSession(param0 : *mut D3DKMT_DESTROYPROTECTEDSESSION) -> super::super::super::Win32::Foundation:: NTSTATUS);
89 #[cfg(feature = "Win32_Foundation")]
90 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTDestroySynchronizationObject(param0 : *const D3DKMT_DESTROYSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS);
91 #[cfg(feature = "Win32_Foundation")]
92 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTEnumAdapters(param0 : *mut D3DKMT_ENUMADAPTERS) -> super::super::super::Win32::Foundation:: NTSTATUS);
93 #[cfg(feature = "Win32_Foundation")]
94 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTEnumAdapters2(param0 : *mut D3DKMT_ENUMADAPTERS2) -> super::super::super::Win32::Foundation:: NTSTATUS);
95 #[cfg(feature = "Win32_Foundation")]
96 ::windows_targets::link!("api-ms-win-dx-d3dkmt-l1-1-6.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTEnumAdapters3(param0 : *mut D3DKMT_ENUMADAPTERS3) -> super::super::super::Win32::Foundation:: NTSTATUS);
97 #[cfg(feature = "Win32_Foundation")]
98 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTEscape(param0 : *const D3DKMT_ESCAPE) -> super::super::super::Win32::Foundation:: NTSTATUS);
99 #[cfg(feature = "Win32_Foundation")]
100 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTEvict(param0 : *mut D3DKMT_EVICT) -> super::super::super::Win32::Foundation:: NTSTATUS);
101 #[cfg(feature = "Win32_Foundation")]
102 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTFlipOverlay(param0 : *const D3DKMT_FLIPOVERLAY) -> super::super::super::Win32::Foundation:: NTSTATUS);
103 #[cfg(feature = "Win32_Foundation")]
104 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTFlushHeapTransitions(param0 : *const D3DKMT_FLUSHHEAPTRANSITIONS) -> super::super::super::Win32::Foundation:: NTSTATUS);
105 #[cfg(feature = "Win32_Foundation")]
106 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTFreeGpuVirtualAddress(param0 : *const D3DKMT_FREEGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation:: NTSTATUS);
107 #[cfg(feature = "Win32_Foundation")]
108 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTGetAllocationPriority(param0 : *const D3DKMT_GETALLOCATIONPRIORITY) -> super::super::super::Win32::Foundation:: NTSTATUS);
109 #[cfg(feature = "Win32_Foundation")]
110 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTGetContextInProcessSchedulingPriority(param0 : *mut D3DKMT_GETCONTEXTINPROCESSSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation:: NTSTATUS);
111 #[cfg(feature = "Win32_Foundation")]
112 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTGetContextSchedulingPriority(param0 : *mut D3DKMT_GETCONTEXTSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation:: NTSTATUS);
113 #[cfg(feature = "Win32_Foundation")]
114 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTGetDWMVerticalBlankEvent(param0 : *const D3DKMT_GETVERTICALBLANKEVENT) -> super::super::super::Win32::Foundation:: NTSTATUS);
115 #[cfg(feature = "Win32_Foundation")]
116 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTGetDeviceState(param0 : *mut D3DKMT_GETDEVICESTATE) -> super::super::super::Win32::Foundation:: NTSTATUS);
117 #[cfg(feature = "Win32_Foundation")]
118 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTGetDisplayModeList(param0 : *mut D3DKMT_GETDISPLAYMODELIST) -> super::super::super::Win32::Foundation:: NTSTATUS);
119 #[cfg(feature = "Win32_Foundation")]
120 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTGetMultiPlaneOverlayCaps(param0 : *mut D3DKMT_GET_MULTIPLANE_OVERLAY_CAPS) -> super::super::super::Win32::Foundation:: NTSTATUS);
121 #[cfg(feature = "Win32_Foundation")]
122 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTGetMultisampleMethodList(param0 : *mut D3DKMT_GETMULTISAMPLEMETHODLIST) -> super::super::super::Win32::Foundation:: NTSTATUS);
123 #[cfg(feature = "Win32_Foundation")]
124 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTGetOverlayState(param0 : *mut D3DKMT_GETOVERLAYSTATE) -> super::super::super::Win32::Foundation:: NTSTATUS);
125 #[cfg(feature = "Win32_Foundation")]
126 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTGetPostCompositionCaps(param0 : *mut D3DKMT_GET_POST_COMPOSITION_CAPS) -> super::super::super::Win32::Foundation:: NTSTATUS);
127 #[cfg(feature = "Win32_Foundation")]
128 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTGetPresentHistory(param0 : *mut D3DKMT_GETPRESENTHISTORY) -> super::super::super::Win32::Foundation:: NTSTATUS);
129 #[cfg(feature = "Win32_Foundation")]
130 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTGetPresentQueueEvent(hadapter : u32, param1 : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
131 #[cfg(feature = "Win32_Foundation")]
132 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTGetProcessDeviceRemovalSupport(param0 : *mut D3DKMT_GETPROCESSDEVICEREMOVALSUPPORT) -> super::super::super::Win32::Foundation:: NTSTATUS);
133 #[cfg(feature = "Win32_Foundation")]
134 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTGetProcessSchedulingPriorityClass(param0 : super::super::super::Win32::Foundation:: HANDLE, param1 : *mut D3DKMT_SCHEDULINGPRIORITYCLASS) -> super::super::super::Win32::Foundation:: NTSTATUS);
135 #[cfg(feature = "Win32_Foundation")]
136 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTGetResourcePresentPrivateDriverData(param0 : *mut D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA) -> super::super::super::Win32::Foundation:: NTSTATUS);
137 #[cfg(feature = "Win32_Foundation")]
138 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTGetRuntimeData(param0 : *mut D3DKMT_GETRUNTIMEDATA) -> super::super::super::Win32::Foundation:: NTSTATUS);
139 #[cfg(feature = "Win32_Foundation")]
140 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTGetScanLine(param0 : *mut D3DKMT_GETSCANLINE) -> super::super::super::Win32::Foundation:: NTSTATUS);
141 #[cfg(feature = "Win32_Foundation")]
142 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTGetSharedPrimaryHandle(param0 : *mut D3DKMT_GETSHAREDPRIMARYHANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
143 #[cfg(feature = "Win32_Foundation")]
144 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTGetSharedResourceAdapterLuid(param0 : *mut D3DKMT_GETSHAREDRESOURCEADAPTERLUID) -> super::super::super::Win32::Foundation:: NTSTATUS);
145 #[cfg(feature = "Win32_Foundation")]
146 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTInvalidateActiveVidPn(param0 : *const D3DKMT_INVALIDATEACTIVEVIDPN) -> super::super::super::Win32::Foundation:: NTSTATUS);
147 #[cfg(feature = "Win32_Foundation")]
148 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTInvalidateCache(param0 : *const D3DKMT_INVALIDATECACHE) -> super::super::super::Win32::Foundation:: NTSTATUS);
149 #[cfg(feature = "Win32_Foundation")]
150 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTLock(param0 : *mut D3DKMT_LOCK) -> super::super::super::Win32::Foundation:: NTSTATUS);
151 #[cfg(feature = "Win32_Foundation")]
152 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTLock2(param0 : *mut D3DKMT_LOCK2) -> super::super::super::Win32::Foundation:: NTSTATUS);
153 #[cfg(feature = "Win32_Foundation")]
154 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTMakeResident(param0 : *mut D3DDDI_MAKERESIDENT) -> super::super::super::Win32::Foundation:: NTSTATUS);
155 #[cfg(feature = "Win32_Foundation")]
156 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTMapGpuVirtualAddress(param0 : *mut D3DDDI_MAPGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation:: NTSTATUS);
157 #[cfg(feature = "Win32_Foundation")]
158 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTMarkDeviceAsError(param0 : *const D3DKMT_MARKDEVICEASERROR) -> super::super::super::Win32::Foundation:: NTSTATUS);
159 #[cfg(feature = "Win32_Foundation")]
160 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTOfferAllocations(param0 : *const D3DKMT_OFFERALLOCATIONS) -> super::super::super::Win32::Foundation:: NTSTATUS);
161 #[cfg(feature = "Win32_Foundation")]
162 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTOpenAdapterFromDeviceName(param0 : *mut D3DKMT_OPENADAPTERFROMDEVICENAME) -> super::super::super::Win32::Foundation:: NTSTATUS);
163 #[cfg(feature = "Win32_Foundation")]
164 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTOpenAdapterFromGdiDisplayName(param0 : *mut D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME) -> super::super::super::Win32::Foundation:: NTSTATUS);
165 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
166 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn D3DKMTOpenAdapterFromHdc(param0 : *mut D3DKMT_OPENADAPTERFROMHDC) -> super::super::super::Win32::Foundation:: NTSTATUS);
167 #[cfg(feature = "Win32_Foundation")]
168 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTOpenAdapterFromLuid(param0 : *mut D3DKMT_OPENADAPTERFROMLUID) -> super::super::super::Win32::Foundation:: NTSTATUS);
169 #[cfg(feature = "Win32_Foundation")]
170 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTOpenKeyedMutex(param0 : *mut D3DKMT_OPENKEYEDMUTEX) -> super::super::super::Win32::Foundation:: NTSTATUS);
171 #[cfg(feature = "Win32_Foundation")]
172 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTOpenKeyedMutex2(param0 : *mut D3DKMT_OPENKEYEDMUTEX2) -> super::super::super::Win32::Foundation:: NTSTATUS);
173 #[cfg(feature = "Win32_Foundation")]
174 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTOpenKeyedMutexFromNtHandle(param0 : *mut D3DKMT_OPENKEYEDMUTEXFROMNTHANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
175 #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
176 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`"] fn D3DKMTOpenNtHandleFromName(param0 : *mut D3DKMT_OPENNTHANDLEFROMNAME) -> super::super::super::Win32::Foundation:: NTSTATUS);
177 #[cfg(feature = "Win32_Foundation")]
178 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTOpenProtectedSessionFromNtHandle(param0 : *mut D3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
179 #[cfg(feature = "Win32_Foundation")]
180 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTOpenResource(param0 : *mut D3DKMT_OPENRESOURCE) -> super::super::super::Win32::Foundation:: NTSTATUS);
181 #[cfg(feature = "Win32_Foundation")]
182 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTOpenResource2(param0 : *mut D3DKMT_OPENRESOURCE) -> super::super::super::Win32::Foundation:: NTSTATUS);
183 #[cfg(feature = "Win32_Foundation")]
184 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTOpenResourceFromNtHandle(param0 : *mut D3DKMT_OPENRESOURCEFROMNTHANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
185 #[cfg(feature = "Win32_Foundation")]
186 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTOpenSyncObjectFromNtHandle(param0 : *mut D3DKMT_OPENSYNCOBJECTFROMNTHANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
187 #[cfg(feature = "Win32_Foundation")]
188 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTOpenSyncObjectFromNtHandle2(param0 : *mut D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2) -> super::super::super::Win32::Foundation:: NTSTATUS);
189 #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
190 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`"] fn D3DKMTOpenSyncObjectNtHandleFromName(param0 : *mut D3DKMT_OPENSYNCOBJECTNTHANDLEFROMNAME) -> super::super::super::Win32::Foundation:: NTSTATUS);
191 #[cfg(feature = "Win32_Foundation")]
192 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTOpenSynchronizationObject(param0 : *mut D3DKMT_OPENSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS);
193 #[cfg(feature = "Win32_Foundation")]
194 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTOutputDuplGetFrameInfo(param0 : *mut D3DKMT_OUTPUTDUPL_GET_FRAMEINFO) -> super::super::super::Win32::Foundation:: NTSTATUS);
195 #[cfg(feature = "Win32_Foundation")]
196 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTOutputDuplGetMetaData(param0 : *mut D3DKMT_OUTPUTDUPL_METADATA) -> super::super::super::Win32::Foundation:: NTSTATUS);
197 #[cfg(feature = "Win32_Foundation")]
198 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTOutputDuplGetPointerShapeData(param0 : *mut D3DKMT_OUTPUTDUPL_GET_POINTER_SHAPE_DATA) -> super::super::super::Win32::Foundation:: NTSTATUS);
199 #[cfg(feature = "Win32_Foundation")]
200 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTOutputDuplPresent(param0 : *const D3DKMT_OUTPUTDUPLPRESENT) -> super::super::super::Win32::Foundation:: NTSTATUS);
201 #[cfg(feature = "Win32_Foundation")]
202 ::windows_targets::link!("api-ms-win-dx-d3dkmt-l1-1-4.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTOutputDuplPresentToHwQueue(param0 : *const D3DKMT_OUTPUTDUPLPRESENTTOHWQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS);
203 #[cfg(feature = "Win32_Foundation")]
204 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTOutputDuplReleaseFrame(param0 : *mut D3DKMT_OUTPUTDUPL_RELEASE_FRAME) -> super::super::super::Win32::Foundation:: NTSTATUS);
205 #[cfg(feature = "Win32_Foundation")]
206 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTPollDisplayChildren(param0 : *const D3DKMT_POLLDISPLAYCHILDREN) -> super::super::super::Win32::Foundation:: NTSTATUS);
207 #[cfg(feature = "Win32_Foundation")]
208 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTPresent(param0 : *mut D3DKMT_PRESENT) -> super::super::super::Win32::Foundation:: NTSTATUS);
209 #[cfg(feature = "Win32_Foundation")]
210 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTPresentMultiPlaneOverlay(param0 : *const D3DKMT_PRESENT_MULTIPLANE_OVERLAY) -> super::super::super::Win32::Foundation:: NTSTATUS);
211 #[cfg(feature = "Win32_Foundation")]
212 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTPresentMultiPlaneOverlay2(param0 : *const D3DKMT_PRESENT_MULTIPLANE_OVERLAY2) -> super::super::super::Win32::Foundation:: NTSTATUS);
213 #[cfg(feature = "Win32_Foundation")]
214 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTPresentMultiPlaneOverlay3(param0 : *const D3DKMT_PRESENT_MULTIPLANE_OVERLAY3) -> super::super::super::Win32::Foundation:: NTSTATUS);
215 #[cfg(feature = "Win32_Foundation")]
216 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTPresentRedirected(param0 : *const D3DKMT_PRESENT_REDIRECTED) -> super::super::super::Win32::Foundation:: NTSTATUS);
217 #[cfg(feature = "Win32_Foundation")]
218 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTQueryAdapterInfo(param0 : *mut D3DKMT_QUERYADAPTERINFO) -> super::super::super::Win32::Foundation:: NTSTATUS);
219 #[cfg(feature = "Win32_Foundation")]
220 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTQueryAllocationResidency(param0 : *const D3DKMT_QUERYALLOCATIONRESIDENCY) -> super::super::super::Win32::Foundation:: NTSTATUS);
221 #[cfg(feature = "Win32_Foundation")]
222 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTQueryClockCalibration(param0 : *mut D3DKMT_QUERYCLOCKCALIBRATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
223 #[cfg(feature = "Win32_Foundation")]
224 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTQueryFSEBlock(param0 : *mut D3DKMT_QUERYFSEBLOCK) -> super::super::super::Win32::Foundation:: NTSTATUS);
225 #[cfg(feature = "Win32_Foundation")]
226 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTQueryProcessOfferInfo(param0 : *mut D3DKMT_QUERYPROCESSOFFERINFO) -> super::super::super::Win32::Foundation:: NTSTATUS);
227 #[cfg(feature = "Win32_Foundation")]
228 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTQueryProtectedSessionInfoFromNtHandle(param0 : *mut D3DKMT_QUERYPROTECTEDSESSIONINFOFROMNTHANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
229 #[cfg(feature = "Win32_Foundation")]
230 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTQueryProtectedSessionStatus(param0 : *mut D3DKMT_QUERYPROTECTEDSESSIONSTATUS) -> super::super::super::Win32::Foundation:: NTSTATUS);
231 #[cfg(feature = "Win32_Foundation")]
232 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTQueryRemoteVidPnSourceFromGdiDisplayName(param0 : *mut D3DKMT_QUERYREMOTEVIDPNSOURCEFROMGDIDISPLAYNAME) -> super::super::super::Win32::Foundation:: NTSTATUS);
233 #[cfg(feature = "Win32_Foundation")]
234 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTQueryResourceInfo(param0 : *mut D3DKMT_QUERYRESOURCEINFO) -> super::super::super::Win32::Foundation:: NTSTATUS);
235 #[cfg(feature = "Win32_Foundation")]
236 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTQueryResourceInfoFromNtHandle(param0 : *mut D3DKMT_QUERYRESOURCEINFOFROMNTHANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
237 #[cfg(feature = "Win32_Foundation")]
238 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTQueryStatistics(param0 : *const D3DKMT_QUERYSTATISTICS) -> super::super::super::Win32::Foundation:: NTSTATUS);
239 #[cfg(feature = "Win32_Foundation")]
240 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTQueryVidPnExclusiveOwnership(param0 : *mut D3DKMT_QUERYVIDPNEXCLUSIVEOWNERSHIP) -> super::super::super::Win32::Foundation:: NTSTATUS);
241 #[cfg(feature = "Win32_Foundation")]
242 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTQueryVideoMemoryInfo(param0 : *mut D3DKMT_QUERYVIDEOMEMORYINFO) -> super::super::super::Win32::Foundation:: NTSTATUS);
243 #[cfg(feature = "Win32_Foundation")]
244 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTReclaimAllocations(param0 : *mut D3DKMT_RECLAIMALLOCATIONS) -> super::super::super::Win32::Foundation:: NTSTATUS);
245 #[cfg(feature = "Win32_Foundation")]
246 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTReclaimAllocations2(param0 : *mut D3DKMT_RECLAIMALLOCATIONS2) -> super::super::super::Win32::Foundation:: NTSTATUS);
247 #[cfg(feature = "Win32_Foundation")]
248 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTRegisterTrimNotification(param0 : *mut D3DKMT_REGISTERTRIMNOTIFICATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
249 #[cfg(feature = "Win32_Foundation")]
250 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTRegisterVailProcess(param0 : *const ::windows_sys::core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS);
251 #[cfg(feature = "Win32_Foundation")]
252 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTReleaseKeyedMutex(param0 : *mut D3DKMT_RELEASEKEYEDMUTEX) -> super::super::super::Win32::Foundation:: NTSTATUS);
253 #[cfg(feature = "Win32_Foundation")]
254 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTReleaseKeyedMutex2(param0 : *mut D3DKMT_RELEASEKEYEDMUTEX2) -> super::super::super::Win32::Foundation:: NTSTATUS);
255 #[cfg(feature = "Win32_Foundation")]
256 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTReleaseProcessVidPnSourceOwners(param0 : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
257 #[cfg(feature = "Win32_Foundation")]
258 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTRender(param0 : *mut D3DKMT_RENDER) -> super::super::super::Win32::Foundation:: NTSTATUS);
259 #[cfg(feature = "Win32_Foundation")]
260 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTReserveGpuVirtualAddress(param0 : *mut D3DDDI_RESERVEGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation:: NTSTATUS);
261 #[cfg(feature = "Win32_Foundation")]
262 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSetAllocationPriority(param0 : *const D3DKMT_SETALLOCATIONPRIORITY) -> super::super::super::Win32::Foundation:: NTSTATUS);
263 #[cfg(feature = "Win32_Foundation")]
264 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSetContextInProcessSchedulingPriority(param0 : *const D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation:: NTSTATUS);
265 #[cfg(feature = "Win32_Foundation")]
266 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSetContextSchedulingPriority(param0 : *const D3DKMT_SETCONTEXTSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation:: NTSTATUS);
267 #[cfg(feature = "Win32_Foundation")]
268 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSetDisplayMode(param0 : *mut D3DKMT_SETDISPLAYMODE) -> super::super::super::Win32::Foundation:: NTSTATUS);
269 #[cfg(feature = "Win32_Foundation")]
270 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSetDisplayPrivateDriverFormat(param0 : *const D3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT) -> super::super::super::Win32::Foundation:: NTSTATUS);
271 #[cfg(feature = "Win32_Foundation")]
272 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSetFSEBlock(param0 : *const D3DKMT_SETFSEBLOCK) -> super::super::super::Win32::Foundation:: NTSTATUS);
273 #[cfg(feature = "Win32_Foundation")]
274 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSetGammaRamp(param0 : *const D3DKMT_SETGAMMARAMP) -> super::super::super::Win32::Foundation:: NTSTATUS);
275 #[cfg(feature = "Win32_Foundation")]
276 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSetHwProtectionTeardownRecovery(param0 : *const D3DKMT_SETHWPROTECTIONTEARDOWNRECOVERY) -> super::super::super::Win32::Foundation:: NTSTATUS);
277 #[cfg(feature = "Win32_Foundation")]
278 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSetMonitorColorSpaceTransform(param0 : *const D3DKMT_SET_COLORSPACE_TRANSFORM) -> super::super::super::Win32::Foundation:: NTSTATUS);
279 #[cfg(feature = "Win32_Foundation")]
280 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSetProcessSchedulingPriorityClass(param0 : super::super::super::Win32::Foundation:: HANDLE, param1 : D3DKMT_SCHEDULINGPRIORITYCLASS) -> super::super::super::Win32::Foundation:: NTSTATUS);
281 #[cfg(feature = "Win32_Foundation")]
282 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSetQueuedLimit(param0 : *const D3DKMT_SETQUEUEDLIMIT) -> super::super::super::Win32::Foundation:: NTSTATUS);
283 #[cfg(feature = "Win32_Foundation")]
284 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSetStablePowerState(param0 : *const D3DKMT_SETSTABLEPOWERSTATE) -> super::super::super::Win32::Foundation:: NTSTATUS);
285 #[cfg(feature = "Win32_Foundation")]
286 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSetSyncRefreshCountWaitTarget(param0 : *const D3DKMT_SETSYNCREFRESHCOUNTWAITTARGET) -> super::super::super::Win32::Foundation:: NTSTATUS);
287 #[cfg(feature = "Win32_Foundation")]
288 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSetVidPnSourceHwProtection(param0 : *const D3DKMT_SETVIDPNSOURCEHWPROTECTION) -> super::super::super::Win32::Foundation:: NTSTATUS);
289 #[cfg(feature = "Win32_Foundation")]
290 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSetVidPnSourceOwner(param0 : *const D3DKMT_SETVIDPNSOURCEOWNER) -> super::super::super::Win32::Foundation:: NTSTATUS);
291 #[cfg(feature = "Win32_Foundation")]
292 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSetVidPnSourceOwner1(param0 : *const D3DKMT_SETVIDPNSOURCEOWNER1) -> super::super::super::Win32::Foundation:: NTSTATUS);
293 #[cfg(feature = "Win32_Foundation")]
294 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSetVidPnSourceOwner2(param0 : *const D3DKMT_SETVIDPNSOURCEOWNER2) -> super::super::super::Win32::Foundation:: NTSTATUS);
295 #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
296 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`"] fn D3DKMTShareObjects(cobjects : u32, hobjects : *const u32, pobjectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, dwdesiredaccess : u32, phsharednthandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
297 #[cfg(feature = "Win32_Foundation")]
298 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSharedPrimaryLockNotification(param0 : *const D3DKMT_SHAREDPRIMARYLOCKNOTIFICATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
299 #[cfg(feature = "Win32_Foundation")]
300 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSharedPrimaryUnLockNotification(param0 : *const D3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
301 #[cfg(feature = "Win32_Foundation")]
302 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSignalSynchronizationObject(param0 : *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS);
303 #[cfg(feature = "Win32_Foundation")]
304 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSignalSynchronizationObject2(param0 : *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2) -> super::super::super::Win32::Foundation:: NTSTATUS);
305 #[cfg(feature = "Win32_Foundation")]
306 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSignalSynchronizationObjectFromCpu(param0 : *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMCPU) -> super::super::super::Win32::Foundation:: NTSTATUS);
307 #[cfg(feature = "Win32_Foundation")]
308 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSignalSynchronizationObjectFromGpu(param0 : *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU) -> super::super::super::Win32::Foundation:: NTSTATUS);
309 #[cfg(feature = "Win32_Foundation")]
310 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSignalSynchronizationObjectFromGpu2(param0 : *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2) -> super::super::super::Win32::Foundation:: NTSTATUS);
311 #[cfg(feature = "Win32_Foundation")]
312 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSubmitCommand(param0 : *const D3DKMT_SUBMITCOMMAND) -> super::super::super::Win32::Foundation:: NTSTATUS);
313 #[cfg(feature = "Win32_Foundation")]
314 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSubmitCommandToHwQueue(param0 : *const D3DKMT_SUBMITCOMMANDTOHWQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS);
315 #[cfg(feature = "Win32_Foundation")]
316 ::windows_targets::link!("api-ms-win-dx-d3dkmt-l1-1-4.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSubmitPresentBltToHwQueue(param0 : *const D3DKMT_SUBMITPRESENTBLTTOHWQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS);
317 #[cfg(feature = "Win32_Foundation")]
318 ::windows_targets::link!("api-ms-win-dx-d3dkmt-l1-1-4.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSubmitPresentToHwQueue(param0 : *mut D3DKMT_SUBMITPRESENTTOHWQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS);
319 #[cfg(feature = "Win32_Foundation")]
320 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSubmitSignalSyncObjectsToHwQueue(param0 : *const D3DKMT_SUBMITSIGNALSYNCOBJECTSTOHWQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS);
321 #[cfg(feature = "Win32_Foundation")]
322 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTSubmitWaitForSyncObjectsToHwQueue(param0 : *const D3DKMT_SUBMITWAITFORSYNCOBJECTSTOHWQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS);
323 #[cfg(feature = "Win32_Foundation")]
324 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTTrimProcessCommitment(param0 : *mut D3DKMT_TRIMPROCESSCOMMITMENT) -> super::super::super::Win32::Foundation:: NTSTATUS);
325 #[cfg(feature = "Win32_Foundation")]
326 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTUnlock(param0 : *const D3DKMT_UNLOCK) -> super::super::super::Win32::Foundation:: NTSTATUS);
327 #[cfg(feature = "Win32_Foundation")]
328 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTUnlock2(param0 : *const D3DKMT_UNLOCK2) -> super::super::super::Win32::Foundation:: NTSTATUS);
329 #[cfg(feature = "Win32_Foundation")]
330 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTUnregisterTrimNotification(param0 : *mut D3DKMT_UNREGISTERTRIMNOTIFICATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
331 #[cfg(feature = "Win32_Foundation")]
332 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTUpdateAllocationProperty(param0 : *mut D3DDDI_UPDATEALLOCPROPERTY) -> super::super::super::Win32::Foundation:: NTSTATUS);
333 #[cfg(feature = "Win32_Foundation")]
334 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTUpdateGpuVirtualAddress(param0 : *const D3DKMT_UPDATEGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation:: NTSTATUS);
335 #[cfg(feature = "Win32_Foundation")]
336 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTUpdateOverlay(param0 : *const D3DKMT_UPDATEOVERLAY) -> super::super::super::Win32::Foundation:: NTSTATUS);
337 #[cfg(feature = "Win32_Foundation")]
338 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTWaitForIdle(param0 : *const D3DKMT_WAITFORIDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
339 #[cfg(feature = "Win32_Foundation")]
340 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTWaitForSynchronizationObject(param0 : *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS);
341 #[cfg(feature = "Win32_Foundation")]
342 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTWaitForSynchronizationObject2(param0 : *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2) -> super::super::super::Win32::Foundation:: NTSTATUS);
343 #[cfg(feature = "Win32_Foundation")]
344 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTWaitForSynchronizationObjectFromCpu(param0 : *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMCPU) -> super::super::super::Win32::Foundation:: NTSTATUS);
345 #[cfg(feature = "Win32_Foundation")]
346 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTWaitForSynchronizationObjectFromGpu(param0 : *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU) -> super::super::super::Win32::Foundation:: NTSTATUS);
347 #[cfg(feature = "Win32_Foundation")]
348 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTWaitForVerticalBlankEvent(param0 : *const D3DKMT_WAITFORVERTICALBLANKEVENT) -> super::super::super::Win32::Foundation:: NTSTATUS);
349 #[cfg(feature = "Win32_Foundation")]
350 ::windows_targets::link!("gdi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn D3DKMTWaitForVerticalBlankEvent2(param0 : *const D3DKMT_WAITFORVERTICALBLANKEVENT2) -> super::super::super::Win32::Foundation:: NTSTATUS);
351 pub const D3DCLEAR_COMPUTERECTS: i32 = 8i32;
352 pub const D3DDDIFMT_A1: D3DDDIFORMAT = 118u32;
353 pub const D3DDDIFMT_A16B16G16R16: D3DDDIFORMAT = 36u32;
354 pub const D3DDDIFMT_A16B16G16R16F: D3DDDIFORMAT = 113u32;
355 pub const D3DDDIFMT_A1R5G5B5: D3DDDIFORMAT = 25u32;
356 pub const D3DDDIFMT_A2B10G10R10: D3DDDIFORMAT = 31u32;
357 pub const D3DDDIFMT_A2B10G10R10_XR_BIAS: D3DDDIFORMAT = 119u32;
358 pub const D3DDDIFMT_A2R10G10B10: D3DDDIFORMAT = 35u32;
359 pub const D3DDDIFMT_A2W10V10U10: D3DDDIFORMAT = 67u32;
360 pub const D3DDDIFMT_A32B32G32R32F: D3DDDIFORMAT = 116u32;
361 pub const D3DDDIFMT_A4L4: D3DDDIFORMAT = 52u32;
362 pub const D3DDDIFMT_A4R4G4B4: D3DDDIFORMAT = 26u32;
363 pub const D3DDDIFMT_A8: D3DDDIFORMAT = 28u32;
364 pub const D3DDDIFMT_A8B8G8R8: D3DDDIFORMAT = 32u32;
365 pub const D3DDDIFMT_A8L8: D3DDDIFORMAT = 51u32;
366 pub const D3DDDIFMT_A8P8: D3DDDIFORMAT = 40u32;
367 pub const D3DDDIFMT_A8R3G3B2: D3DDDIFORMAT = 29u32;
368 pub const D3DDDIFMT_A8R8G8B8: D3DDDIFORMAT = 21u32;
369 pub const D3DDDIFMT_BINARYBUFFER: D3DDDIFORMAT = 199u32;
370 pub const D3DDDIFMT_BITSTREAMDATA: D3DDDIFORMAT = 156u32;
371 pub const D3DDDIFMT_CxV8U8: D3DDDIFORMAT = 117u32;
372 pub const D3DDDIFMT_D15S1: D3DDDIFORMAT = 73u32;
373 pub const D3DDDIFMT_D16: D3DDDIFORMAT = 80u32;
374 pub const D3DDDIFMT_D16_LOCKABLE: D3DDDIFORMAT = 70u32;
375 pub const D3DDDIFMT_D24FS8: D3DDDIFORMAT = 83u32;
376 pub const D3DDDIFMT_D24S8: D3DDDIFORMAT = 75u32;
377 pub const D3DDDIFMT_D24X4S4: D3DDDIFORMAT = 79u32;
378 pub const D3DDDIFMT_D24X8: D3DDDIFORMAT = 77u32;
379 pub const D3DDDIFMT_D32: D3DDDIFORMAT = 71u32;
380 pub const D3DDDIFMT_D32F_LOCKABLE: D3DDDIFORMAT = 82u32;
381 pub const D3DDDIFMT_D32_LOCKABLE: D3DDDIFORMAT = 84u32;
382 pub const D3DDDIFMT_DEBLOCKINGDATA: D3DDDIFORMAT = 153u32;
383 pub const D3DDDIFMT_DXT1: D3DDDIFORMAT = 827611204u32;
384 pub const D3DDDIFMT_DXT2: D3DDDIFORMAT = 844388420u32;
385 pub const D3DDDIFMT_DXT3: D3DDDIFORMAT = 861165636u32;
386 pub const D3DDDIFMT_DXT4: D3DDDIFORMAT = 877942852u32;
387 pub const D3DDDIFMT_DXT5: D3DDDIFORMAT = 894720068u32;
388 pub const D3DDDIFMT_DXVACOMPBUFFER_BASE: D3DDDIFORMAT = 150u32;
389 pub const D3DDDIFMT_DXVACOMPBUFFER_MAX: D3DDDIFORMAT = 181u32;
390 pub const D3DDDIFMT_DXVA_RESERVED10: D3DDDIFORMAT = 160u32;
391 pub const D3DDDIFMT_DXVA_RESERVED11: D3DDDIFORMAT = 161u32;
392 pub const D3DDDIFMT_DXVA_RESERVED12: D3DDDIFORMAT = 162u32;
393 pub const D3DDDIFMT_DXVA_RESERVED13: D3DDDIFORMAT = 163u32;
394 pub const D3DDDIFMT_DXVA_RESERVED14: D3DDDIFORMAT = 164u32;
395 pub const D3DDDIFMT_DXVA_RESERVED15: D3DDDIFORMAT = 165u32;
396 pub const D3DDDIFMT_DXVA_RESERVED16: D3DDDIFORMAT = 166u32;
397 pub const D3DDDIFMT_DXVA_RESERVED17: D3DDDIFORMAT = 167u32;
398 pub const D3DDDIFMT_DXVA_RESERVED18: D3DDDIFORMAT = 168u32;
399 pub const D3DDDIFMT_DXVA_RESERVED19: D3DDDIFORMAT = 169u32;
400 pub const D3DDDIFMT_DXVA_RESERVED20: D3DDDIFORMAT = 170u32;
401 pub const D3DDDIFMT_DXVA_RESERVED21: D3DDDIFORMAT = 171u32;
402 pub const D3DDDIFMT_DXVA_RESERVED22: D3DDDIFORMAT = 172u32;
403 pub const D3DDDIFMT_DXVA_RESERVED23: D3DDDIFORMAT = 173u32;
404 pub const D3DDDIFMT_DXVA_RESERVED24: D3DDDIFORMAT = 174u32;
405 pub const D3DDDIFMT_DXVA_RESERVED25: D3DDDIFORMAT = 175u32;
406 pub const D3DDDIFMT_DXVA_RESERVED26: D3DDDIFORMAT = 176u32;
407 pub const D3DDDIFMT_DXVA_RESERVED27: D3DDDIFORMAT = 177u32;
408 pub const D3DDDIFMT_DXVA_RESERVED28: D3DDDIFORMAT = 178u32;
409 pub const D3DDDIFMT_DXVA_RESERVED29: D3DDDIFORMAT = 179u32;
410 pub const D3DDDIFMT_DXVA_RESERVED30: D3DDDIFORMAT = 180u32;
411 pub const D3DDDIFMT_DXVA_RESERVED31: D3DDDIFORMAT = 181u32;
412 pub const D3DDDIFMT_DXVA_RESERVED9: D3DDDIFORMAT = 159u32;
413 pub const D3DDDIFMT_FILMGRAINBUFFER: D3DDDIFORMAT = 158u32;
414 pub const D3DDDIFMT_G16R16: D3DDDIFORMAT = 34u32;
415 pub const D3DDDIFMT_G16R16F: D3DDDIFORMAT = 112u32;
416 pub const D3DDDIFMT_G32R32F: D3DDDIFORMAT = 115u32;
417 pub const D3DDDIFMT_G8R8: D3DDDIFORMAT = 91u32;
418 pub const D3DDDIFMT_G8R8_G8B8: D3DDDIFORMAT = 1111970375u32;
419 pub const D3DDDIFMT_INDEX16: D3DDDIFORMAT = 101u32;
420 pub const D3DDDIFMT_INDEX32: D3DDDIFORMAT = 102u32;
421 pub const D3DDDIFMT_INVERSEQUANTIZATIONDATA: D3DDDIFORMAT = 154u32;
422 pub const D3DDDIFMT_L16: D3DDDIFORMAT = 81u32;
423 pub const D3DDDIFMT_L6V5U5: D3DDDIFORMAT = 61u32;
424 pub const D3DDDIFMT_L8: D3DDDIFORMAT = 50u32;
425 pub const D3DDDIFMT_MACROBLOCKDATA: D3DDDIFORMAT = 151u32;
426 pub const D3DDDIFMT_MOTIONVECTORBUFFER: D3DDDIFORMAT = 157u32;
427 pub const D3DDDIFMT_MULTI2_ARGB8: D3DDDIFORMAT = 827606349u32;
428 pub const D3DDDIFMT_P8: D3DDDIFORMAT = 41u32;
429 pub const D3DDDIFMT_PICTUREPARAMSDATA: D3DDDIFORMAT = 150u32;
430 pub const D3DDDIFMT_Q16W16V16U16: D3DDDIFORMAT = 110u32;
431 pub const D3DDDIFMT_Q8W8V8U8: D3DDDIFORMAT = 63u32;
432 pub const D3DDDIFMT_R16F: D3DDDIFORMAT = 111u32;
433 pub const D3DDDIFMT_R32F: D3DDDIFORMAT = 114u32;
434 pub const D3DDDIFMT_R3G3B2: D3DDDIFORMAT = 27u32;
435 pub const D3DDDIFMT_R5G6B5: D3DDDIFORMAT = 23u32;
436 pub const D3DDDIFMT_R8: D3DDDIFORMAT = 92u32;
437 pub const D3DDDIFMT_R8G8B8: D3DDDIFORMAT = 20u32;
438 pub const D3DDDIFMT_R8G8_B8G8: D3DDDIFORMAT = 1195525970u32;
439 pub const D3DDDIFMT_RESIDUALDIFFERENCEDATA: D3DDDIFORMAT = 152u32;
440 pub const D3DDDIFMT_S1D15: D3DDDIFORMAT = 72u32;
441 pub const D3DDDIFMT_S8D24: D3DDDIFORMAT = 74u32;
442 pub const D3DDDIFMT_S8_LOCKABLE: D3DDDIFORMAT = 85u32;
443 pub const D3DDDIFMT_SLICECONTROLDATA: D3DDDIFORMAT = 155u32;
444 pub const D3DDDIFMT_UNKNOWN: D3DDDIFORMAT = 0u32;
445 pub const D3DDDIFMT_UYVY: D3DDDIFORMAT = 1498831189u32;
446 pub const D3DDDIFMT_V16U16: D3DDDIFORMAT = 64u32;
447 pub const D3DDDIFMT_V8U8: D3DDDIFORMAT = 60u32;
448 pub const D3DDDIFMT_VERTEXDATA: D3DDDIFORMAT = 100u32;
449 pub const D3DDDIFMT_W11V11U10: D3DDDIFORMAT = 65u32;
450 pub const D3DDDIFMT_X1R5G5B5: D3DDDIFORMAT = 24u32;
451 pub const D3DDDIFMT_X4R4G4B4: D3DDDIFORMAT = 30u32;
452 pub const D3DDDIFMT_X4S4D24: D3DDDIFORMAT = 78u32;
453 pub const D3DDDIFMT_X8B8G8R8: D3DDDIFORMAT = 33u32;
454 pub const D3DDDIFMT_X8D24: D3DDDIFORMAT = 76u32;
455 pub const D3DDDIFMT_X8L8V8U8: D3DDDIFORMAT = 62u32;
456 pub const D3DDDIFMT_X8R8G8B8: D3DDDIFORMAT = 22u32;
457 pub const D3DDDIFMT_YUY2: D3DDDIFORMAT = 844715353u32;
458 pub const D3DDDIGPUVIRTUALADDRESS_RESERVE_NO_ACCESS: D3DDDIGPUVIRTUALADDRESS_RESERVATION_TYPE = 0i32;
459 pub const D3DDDIGPUVIRTUALADDRESS_RESERVE_NO_COMMIT: D3DDDIGPUVIRTUALADDRESS_RESERVATION_TYPE = 2i32;
460 pub const D3DDDIGPUVIRTUALADDRESS_RESERVE_ZERO: D3DDDIGPUVIRTUALADDRESS_RESERVATION_TYPE = 1i32;
461 pub const D3DDDIMULTISAMPLE_10_SAMPLES: D3DDDIMULTISAMPLE_TYPE = 10i32;
462 pub const D3DDDIMULTISAMPLE_11_SAMPLES: D3DDDIMULTISAMPLE_TYPE = 11i32;
463 pub const D3DDDIMULTISAMPLE_12_SAMPLES: D3DDDIMULTISAMPLE_TYPE = 12i32;
464 pub const D3DDDIMULTISAMPLE_13_SAMPLES: D3DDDIMULTISAMPLE_TYPE = 13i32;
465 pub const D3DDDIMULTISAMPLE_14_SAMPLES: D3DDDIMULTISAMPLE_TYPE = 14i32;
466 pub const D3DDDIMULTISAMPLE_15_SAMPLES: D3DDDIMULTISAMPLE_TYPE = 15i32;
467 pub const D3DDDIMULTISAMPLE_16_SAMPLES: D3DDDIMULTISAMPLE_TYPE = 16i32;
468 pub const D3DDDIMULTISAMPLE_2_SAMPLES: D3DDDIMULTISAMPLE_TYPE = 2i32;
469 pub const D3DDDIMULTISAMPLE_3_SAMPLES: D3DDDIMULTISAMPLE_TYPE = 3i32;
470 pub const D3DDDIMULTISAMPLE_4_SAMPLES: D3DDDIMULTISAMPLE_TYPE = 4i32;
471 pub const D3DDDIMULTISAMPLE_5_SAMPLES: D3DDDIMULTISAMPLE_TYPE = 5i32;
472 pub const D3DDDIMULTISAMPLE_6_SAMPLES: D3DDDIMULTISAMPLE_TYPE = 6i32;
473 pub const D3DDDIMULTISAMPLE_7_SAMPLES: D3DDDIMULTISAMPLE_TYPE = 7i32;
474 pub const D3DDDIMULTISAMPLE_8_SAMPLES: D3DDDIMULTISAMPLE_TYPE = 8i32;
475 pub const D3DDDIMULTISAMPLE_9_SAMPLES: D3DDDIMULTISAMPLE_TYPE = 9i32;
476 pub const D3DDDIMULTISAMPLE_NONE: D3DDDIMULTISAMPLE_TYPE = 0i32;
477 pub const D3DDDIMULTISAMPLE_NONMASKABLE: D3DDDIMULTISAMPLE_TYPE = 1i32;
478 pub const D3DDDIPOOL_LOCALVIDMEM: D3DDDI_POOL = 3i32;
479 pub const D3DDDIPOOL_NONLOCALVIDMEM: D3DDDI_POOL = 4i32;
480 pub const D3DDDIPOOL_STAGINGMEM: D3DDDI_POOL = 5i32;
481 pub const D3DDDIPOOL_SYSTEMMEM: D3DDDI_POOL = 1i32;
482 pub const D3DDDIPOOL_VIDEOMEMORY: D3DDDI_POOL = 2i32;
483 pub const D3DDDI_ALLOCATIONPRIORITY_HIGH: u32 = 2684354560u32;
484 pub const D3DDDI_ALLOCATIONPRIORITY_LOW: u32 = 1342177280u32;
485 pub const D3DDDI_ALLOCATIONPRIORITY_MAXIMUM: u32 = 3355443200u32;
486 pub const D3DDDI_ALLOCATIONPRIORITY_MINIMUM: u32 = 671088640u32;
487 pub const D3DDDI_ALLOCATIONPRIORITY_NORMAL: u32 = 2013265920u32;
488 pub const D3DDDI_COLOR_SPACE_CUSTOM: D3DDDI_COLOR_SPACE_TYPE = -1i32;
489 pub const D3DDDI_COLOR_SPACE_RESERVED: D3DDDI_COLOR_SPACE_TYPE = 4i32;
490 pub const D3DDDI_COLOR_SPACE_RGB_FULL_G10_NONE_P709: D3DDDI_COLOR_SPACE_TYPE = 1i32;
491 pub const D3DDDI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020: D3DDDI_COLOR_SPACE_TYPE = 12i32;
492 pub const D3DDDI_COLOR_SPACE_RGB_FULL_G22_NONE_P2020: D3DDDI_COLOR_SPACE_TYPE = 17i32;
493 pub const D3DDDI_COLOR_SPACE_RGB_FULL_G22_NONE_P709: D3DDDI_COLOR_SPACE_TYPE = 0i32;
494 pub const D3DDDI_COLOR_SPACE_RGB_STUDIO_G2084_NONE_P2020: D3DDDI_COLOR_SPACE_TYPE = 14i32;
495 pub const D3DDDI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P2020: D3DDDI_COLOR_SPACE_TYPE = 3i32;
496 pub const D3DDDI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P709: D3DDDI_COLOR_SPACE_TYPE = 2i32;
497 pub const D3DDDI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P2020: D3DDDI_COLOR_SPACE_TYPE = 21i32;
498 pub const D3DDDI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P709: D3DDDI_COLOR_SPACE_TYPE = 20i32;
499 pub const D3DDDI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P2020: D3DDDI_COLOR_SPACE_TYPE = 11i32;
500 pub const D3DDDI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P601: D3DDDI_COLOR_SPACE_TYPE = 7i32;
501 pub const D3DDDI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P709: D3DDDI_COLOR_SPACE_TYPE = 9i32;
502 pub const D3DDDI_COLOR_SPACE_YCBCR_FULL_G22_NONE_P709_X601: D3DDDI_COLOR_SPACE_TYPE = 5i32;
503 pub const D3DDDI_COLOR_SPACE_YCBCR_FULL_GHLG_TOPLEFT_P2020: D3DDDI_COLOR_SPACE_TYPE = 19i32;
504 pub const D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G2084_LEFT_P2020: D3DDDI_COLOR_SPACE_TYPE = 13i32;
505 pub const D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G2084_TOPLEFT_P2020: D3DDDI_COLOR_SPACE_TYPE = 16i32;
506 pub const D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P2020: D3DDDI_COLOR_SPACE_TYPE = 10i32;
507 pub const D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601: D3DDDI_COLOR_SPACE_TYPE = 6i32;
508 pub const D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709: D3DDDI_COLOR_SPACE_TYPE = 8i32;
509 pub const D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G22_TOPLEFT_P2020: D3DDDI_COLOR_SPACE_TYPE = 15i32;
510 pub const D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P2020: D3DDDI_COLOR_SPACE_TYPE = 23i32;
511 pub const D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P709: D3DDDI_COLOR_SPACE_TYPE = 22i32;
512 pub const D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G24_TOPLEFT_P2020: D3DDDI_COLOR_SPACE_TYPE = 24i32;
513 pub const D3DDDI_COLOR_SPACE_YCBCR_STUDIO_GHLG_TOPLEFT_P2020: D3DDDI_COLOR_SPACE_TYPE = 18i32;
514 pub const D3DDDI_CPU_NOTIFICATION: D3DDDI_SYNCHRONIZATIONOBJECT_TYPE = 4i32;
515 pub const D3DDDI_DOORBELLSTATUS_CONNECTED: D3DDDI_DOORBELLSTATUS = 0i32;
516 pub const D3DDDI_DOORBELLSTATUS_CONNECTED_NOTIFY_KMD: D3DDDI_DOORBELLSTATUS = 1i32;
517 pub const D3DDDI_DOORBELLSTATUS_DISCONNECTED_ABORT: D3DDDI_DOORBELLSTATUS = 3i32;
518 pub const D3DDDI_DOORBELLSTATUS_DISCONNECTED_RETRY: D3DDDI_DOORBELLSTATUS = 2i32;
519 pub const D3DDDI_DOORBELL_PRIVATEDATA_MAX_BYTES_WDDM3_1: u32 = 16u32;
520 pub const D3DDDI_DRIVERESCAPETYPE_CPUEVENTUSAGE: D3DDDI_DRIVERESCAPETYPE = 2i32;
521 pub const D3DDDI_DRIVERESCAPETYPE_MAX: D3DDDI_DRIVERESCAPETYPE = 3i32;
522 pub const D3DDDI_DRIVERESCAPETYPE_TRANSLATEALLOCATIONHANDLE: D3DDDI_DRIVERESCAPETYPE = 0i32;
523 pub const D3DDDI_DRIVERESCAPETYPE_TRANSLATERESOURCEHANDLE: D3DDDI_DRIVERESCAPETYPE = 1i32;
524 pub const D3DDDI_FENCE: D3DDDI_SYNCHRONIZATIONOBJECT_TYPE = 3i32;
525 pub const D3DDDI_FLIPINTERVAL_FOUR: D3DDDI_FLIPINTERVAL_TYPE = 4i32;
526 pub const D3DDDI_FLIPINTERVAL_IMMEDIATE: D3DDDI_FLIPINTERVAL_TYPE = 0i32;
527 pub const D3DDDI_FLIPINTERVAL_IMMEDIATE_ALLOW_TEARING: D3DDDI_FLIPINTERVAL_TYPE = 5i32;
528 pub const D3DDDI_FLIPINTERVAL_ONE: D3DDDI_FLIPINTERVAL_TYPE = 1i32;
529 pub const D3DDDI_FLIPINTERVAL_THREE: D3DDDI_FLIPINTERVAL_TYPE = 3i32;
530 pub const D3DDDI_FLIPINTERVAL_TWO: D3DDDI_FLIPINTERVAL_TYPE = 2i32;
531 pub const D3DDDI_GAMMARAMP_DEFAULT: D3DDDI_GAMMARAMP_TYPE = 1i32;
532 pub const D3DDDI_GAMMARAMP_DXGI_1: D3DDDI_GAMMARAMP_TYPE = 3i32;
533 pub const D3DDDI_GAMMARAMP_MATRIX_3x4: D3DDDI_GAMMARAMP_TYPE = 4i32;
534 pub const D3DDDI_GAMMARAMP_MATRIX_V2: D3DDDI_GAMMARAMP_TYPE = 5i32;
535 pub const D3DDDI_GAMMARAMP_RGB256x3x16: D3DDDI_GAMMARAMP_TYPE = 2i32;
536 pub const D3DDDI_GAMMARAMP_UNINITIALIZED: D3DDDI_GAMMARAMP_TYPE = 0i32;
537 pub const D3DDDI_HDR_METADATA_TYPE_HDR10: D3DDDI_HDR_METADATA_TYPE = 1i32;
538 pub const D3DDDI_HDR_METADATA_TYPE_HDR10PLUS: D3DDDI_HDR_METADATA_TYPE = 2i32;
539 pub const D3DDDI_HDR_METADATA_TYPE_NONE: D3DDDI_HDR_METADATA_TYPE = 0i32;
540 pub const D3DDDI_MAX_BROADCAST_CONTEXT: u32 = 64u32;
541 pub const D3DDDI_MAX_MPO_PRESENT_DIRTY_RECTS: u32 = 4095u32;
542 pub const D3DDDI_MAX_OBJECT_SIGNALED: u32 = 32u32;
543 pub const D3DDDI_MAX_OBJECT_WAITED_ON: u32 = 32u32;
544 pub const D3DDDI_MAX_WRITTEN_PRIMARIES: u32 = 16u32;
545 pub const D3DDDI_MONITORED_FENCE: D3DDDI_SYNCHRONIZATIONOBJECT_TYPE = 5i32;
546 pub const D3DDDI_OFFER_PRIORITY_AUTO: D3DDDI_OFFER_PRIORITY = 4i32;
547 pub const D3DDDI_OFFER_PRIORITY_HIGH: D3DDDI_OFFER_PRIORITY = 3i32;
548 pub const D3DDDI_OFFER_PRIORITY_LOW: D3DDDI_OFFER_PRIORITY = 1i32;
549 pub const D3DDDI_OFFER_PRIORITY_NONE: D3DDDI_OFFER_PRIORITY = 0i32;
550 pub const D3DDDI_OFFER_PRIORITY_NORMAL: D3DDDI_OFFER_PRIORITY = 2i32;
551 pub const D3DDDI_OUTPUT_WIRE_COLOR_SPACE_G2084_P2020: D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE = 12i32;
552 pub const D3DDDI_OUTPUT_WIRE_COLOR_SPACE_G2084_P2020_DVLL: D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE = 33i32;
553 pub const D3DDDI_OUTPUT_WIRE_COLOR_SPACE_G2084_P2020_HDR10PLUS: D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE = 32i32;
554 pub const D3DDDI_OUTPUT_WIRE_COLOR_SPACE_G22_P2020: D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE = 31i32;
555 pub const D3DDDI_OUTPUT_WIRE_COLOR_SPACE_G22_P709: D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE = 0i32;
556 pub const D3DDDI_OUTPUT_WIRE_COLOR_SPACE_G22_P709_WCG: D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE = 30i32;
557 pub const D3DDDI_OUTPUT_WIRE_COLOR_SPACE_RESERVED: D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE = 4i32;
558 pub const D3DDDI_PAGINGQUEUE_PRIORITY_ABOVE_NORMAL: D3DDDI_PAGINGQUEUE_PRIORITY = 1i32;
559 pub const D3DDDI_PAGINGQUEUE_PRIORITY_BELOW_NORMAL: D3DDDI_PAGINGQUEUE_PRIORITY = -1i32;
560 pub const D3DDDI_PAGINGQUEUE_PRIORITY_NORMAL: D3DDDI_PAGINGQUEUE_PRIORITY = 0i32;
561 pub const D3DDDI_PERIODIC_MONITORED_FENCE: D3DDDI_SYNCHRONIZATIONOBJECT_TYPE = 6i32;
562 pub const D3DDDI_QUERYREGISTRY_ADAPTERKEY: D3DDDI_QUERYREGISTRY_TYPE = 1i32;
563 pub const D3DDDI_QUERYREGISTRY_DRIVERIMAGEPATH: D3DDDI_QUERYREGISTRY_TYPE = 3i32;
564 pub const D3DDDI_QUERYREGISTRY_DRIVERSTOREPATH: D3DDDI_QUERYREGISTRY_TYPE = 2i32;
565 pub const D3DDDI_QUERYREGISTRY_MAX: D3DDDI_QUERYREGISTRY_TYPE = 4i32;
566 pub const D3DDDI_QUERYREGISTRY_SERVICEKEY: D3DDDI_QUERYREGISTRY_TYPE = 0i32;
567 pub const D3DDDI_QUERYREGISTRY_STATUS_BUFFER_OVERFLOW: D3DDDI_QUERYREGISTRY_STATUS = 1i32;
568 pub const D3DDDI_QUERYREGISTRY_STATUS_FAIL: D3DDDI_QUERYREGISTRY_STATUS = 2i32;
569 pub const D3DDDI_QUERYREGISTRY_STATUS_MAX: D3DDDI_QUERYREGISTRY_STATUS = 3i32;
570 pub const D3DDDI_QUERYREGISTRY_STATUS_SUCCESS: D3DDDI_QUERYREGISTRY_STATUS = 0i32;
571 pub const D3DDDI_RECLAIM_RESULT_DISCARDED: D3DDDI_RECLAIM_RESULT = 1i32;
572 pub const D3DDDI_RECLAIM_RESULT_NOT_COMMITTED: D3DDDI_RECLAIM_RESULT = 2i32;
573 pub const D3DDDI_RECLAIM_RESULT_OK: D3DDDI_RECLAIM_RESULT = 0i32;
574 pub const D3DDDI_ROTATION_180: D3DDDI_ROTATION = 3i32;
575 pub const D3DDDI_ROTATION_270: D3DDDI_ROTATION = 4i32;
576 pub const D3DDDI_ROTATION_90: D3DDDI_ROTATION = 2i32;
577 pub const D3DDDI_ROTATION_IDENTITY: D3DDDI_ROTATION = 1i32;
578 pub const D3DDDI_SCANLINEORDERING_INTERLACED: D3DDDI_SCANLINEORDERING = 2i32;
579 pub const D3DDDI_SCANLINEORDERING_PROGRESSIVE: D3DDDI_SCANLINEORDERING = 1i32;
580 pub const D3DDDI_SCANLINEORDERING_UNKNOWN: D3DDDI_SCANLINEORDERING = 0i32;
581 pub const D3DDDI_SEMAPHORE: D3DDDI_SYNCHRONIZATIONOBJECT_TYPE = 2i32;
582 pub const D3DDDI_SYNCHRONIZATION_MUTEX: D3DDDI_SYNCHRONIZATIONOBJECT_TYPE = 1i32;
583 pub const D3DDDI_SYNCHRONIZATION_TYPE_LIMIT: D3DDDI_SYNCHRONIZATIONOBJECT_TYPE = 7i32;
584 pub const D3DDDI_SYNC_OBJECT_SIGNAL: u32 = 2u32;
585 pub const D3DDDI_SYNC_OBJECT_WAIT: u32 = 1u32;
586 pub const D3DDDI_UPDATEGPUVIRTUALADDRESS_COPY: D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_TYPE = 2i32;
587 pub const D3DDDI_UPDATEGPUVIRTUALADDRESS_MAP: D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_TYPE = 0i32;
588 pub const D3DDDI_UPDATEGPUVIRTUALADDRESS_MAP_PROTECT: D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_TYPE = 3i32;
589 pub const D3DDDI_UPDATEGPUVIRTUALADDRESS_UNMAP: D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_TYPE = 1i32;
590 pub const D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST: D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING = 3i32;
591 pub const D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST: D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING = 2i32;
592 pub const D3DDDI_VSSLO_OTHER: D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING = 255i32;
593 pub const D3DDDI_VSSLO_PROGRESSIVE: D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING = 1i32;
594 pub const D3DDDI_VSSLO_UNINITIALIZED: D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING = 0i32;
595 pub const D3DDEVCAPS_HWINDEXBUFFER: i32 = 67108864i32;
596 pub const D3DDEVCAPS_HWVERTEXBUFFER: i32 = 33554432i32;
597 pub const D3DDEVCAPS_SUBVOLUMELOCK: i32 = 134217728i32;
598 pub const D3DDEVINFOID_VCACHE: u32 = 4u32;
599 pub const D3DDP2OP_ADDDIRTYBOX: D3DHAL_DP2OPERATION = 67i32;
600 pub const D3DDP2OP_ADDDIRTYRECT: D3DHAL_DP2OPERATION = 66i32;
601 pub const D3DDP2OP_BLT: D3DHAL_DP2OPERATION = 81i32;
602 pub const D3DDP2OP_BUFFERBLT: D3DHAL_DP2OPERATION = 64i32;
603 pub const D3DDP2OP_CLEAR: D3DHAL_DP2OPERATION = 42i32;
604 pub const D3DDP2OP_CLIPPEDTRIANGLEFAN: D3DHAL_DP2OPERATION = 58i32;
605 pub const D3DDP2OP_COLORFILL: D3DHAL_DP2OPERATION = 82i32;
606 pub const D3DDP2OP_COMPOSERECTS: D3DHAL_DP2OPERATION = 98i32;
607 pub const D3DDP2OP_CREATELIGHT: D3DHAL_DP2OPERATION = 35i32;
608 pub const D3DDP2OP_CREATEPIXELSHADER: D3DHAL_DP2OPERATION = 54i32;
609 pub const D3DDP2OP_CREATEQUERY: D3DHAL_DP2OPERATION = 84i32;
610 pub const D3DDP2OP_CREATEVERTEXSHADER: D3DHAL_DP2OPERATION = 45i32;
611 pub const D3DDP2OP_CREATEVERTEXSHADERDECL: D3DHAL_DP2OPERATION = 71i32;
612 pub const D3DDP2OP_CREATEVERTEXSHADERFUNC: D3DHAL_DP2OPERATION = 74i32;
613 pub const D3DDP2OP_DELETEPIXELSHADER: D3DHAL_DP2OPERATION = 55i32;
614 pub const D3DDP2OP_DELETEQUERY: D3DHAL_DP2OPERATION = 90i32;
615 pub const D3DDP2OP_DELETEVERTEXSHADER: D3DHAL_DP2OPERATION = 46i32;
616 pub const D3DDP2OP_DELETEVERTEXSHADERDECL: D3DHAL_DP2OPERATION = 72i32;
617 pub const D3DDP2OP_DELETEVERTEXSHADERFUNC: D3DHAL_DP2OPERATION = 75i32;
618 pub const D3DDP2OP_DRAWINDEXEDPRIMITIVE: D3DHAL_DP2OPERATION = 53i32;
619 pub const D3DDP2OP_DRAWINDEXEDPRIMITIVE2: D3DHAL_DP2OPERATION = 60i32;
620 pub const D3DDP2OP_DRAWPRIMITIVE: D3DHAL_DP2OPERATION = 52i32;
621 pub const D3DDP2OP_DRAWPRIMITIVE2: D3DHAL_DP2OPERATION = 59i32;
622 pub const D3DDP2OP_DRAWRECTPATCH: D3DHAL_DP2OPERATION = 61i32;
623 pub const D3DDP2OP_DRAWTRIPATCH: D3DHAL_DP2OPERATION = 62i32;
624 pub const D3DDP2OP_GENERATEMIPSUBLEVELS: D3DHAL_DP2OPERATION = 89i32;
625 pub const D3DDP2OP_INDEXEDLINELIST: D3DHAL_DP2OPERATION = 2i32;
626 pub const D3DDP2OP_INDEXEDLINELIST2: D3DHAL_DP2OPERATION = 27i32;
627 pub const D3DDP2OP_INDEXEDLINESTRIP: D3DHAL_DP2OPERATION = 17i32;
628 pub const D3DDP2OP_INDEXEDTRIANGLEFAN: D3DHAL_DP2OPERATION = 22i32;
629 pub const D3DDP2OP_INDEXEDTRIANGLELIST: D3DHAL_DP2OPERATION = 3i32;
630 pub const D3DDP2OP_INDEXEDTRIANGLELIST2: D3DHAL_DP2OPERATION = 26i32;
631 pub const D3DDP2OP_INDEXEDTRIANGLESTRIP: D3DHAL_DP2OPERATION = 20i32;
632 pub const D3DDP2OP_ISSUEQUERY: D3DHAL_DP2OPERATION = 91i32;
633 pub const D3DDP2OP_LINELIST: D3DHAL_DP2OPERATION = 15i32;
634 pub const D3DDP2OP_LINELIST_IMM: D3DHAL_DP2OPERATION = 24i32;
635 pub const D3DDP2OP_LINESTRIP: D3DHAL_DP2OPERATION = 16i32;
636 pub const D3DDP2OP_MULTIPLYTRANSFORM: D3DHAL_DP2OPERATION = 65i32;
637 pub const D3DDP2OP_POINTS: D3DHAL_DP2OPERATION = 1i32;
638 pub const D3DDP2OP_RENDERSTATE: D3DHAL_DP2OPERATION = 8i32;
639 pub const D3DDP2OP_RESPONSECONTINUE: D3DHAL_DP2OPERATION = 87i32;
640 pub const D3DDP2OP_RESPONSEQUERY: D3DHAL_DP2OPERATION = 88i32;
641 pub const D3DDP2OP_SETCLIPPLANE: D3DHAL_DP2OPERATION = 44i32;
642 pub const D3DDP2OP_SETCONVOLUTIONKERNELMONO: D3DHAL_DP2OPERATION = 97i32;
643 pub const D3DDP2OP_SETDEPTHSTENCIL: D3DHAL_DP2OPERATION = 86i32;
644 pub const D3DDP2OP_SETINDICES: D3DHAL_DP2OPERATION = 51i32;
645 pub const D3DDP2OP_SETLIGHT: D3DHAL_DP2OPERATION = 34i32;
646 pub const D3DDP2OP_SETMATERIAL: D3DHAL_DP2OPERATION = 33i32;
647 pub const D3DDP2OP_SETPALETTE: D3DHAL_DP2OPERATION = 30i32;
648 pub const D3DDP2OP_SETPIXELSHADER: D3DHAL_DP2OPERATION = 56i32;
649 pub const D3DDP2OP_SETPIXELSHADERCONST: D3DHAL_DP2OPERATION = 57i32;
650 pub const D3DDP2OP_SETPIXELSHADERCONSTB: D3DHAL_DP2OPERATION = 94i32;
651 pub const D3DDP2OP_SETPIXELSHADERCONSTI: D3DHAL_DP2OPERATION = 93i32;
652 pub const D3DDP2OP_SETPRIORITY: D3DHAL_DP2OPERATION = 40i32;
653 pub const D3DDP2OP_SETRENDERTARGET: D3DHAL_DP2OPERATION = 41i32;
654 pub const D3DDP2OP_SETRENDERTARGET2: D3DHAL_DP2OPERATION = 85i32;
655 pub const D3DDP2OP_SETSCISSORRECT: D3DHAL_DP2OPERATION = 79i32;
656 pub const D3DDP2OP_SETSTREAMSOURCE: D3DHAL_DP2OPERATION = 49i32;
657 pub const D3DDP2OP_SETSTREAMSOURCE2: D3DHAL_DP2OPERATION = 80i32;
658 pub const D3DDP2OP_SETSTREAMSOURCEFREQ: D3DHAL_DP2OPERATION = 95i32;
659 pub const D3DDP2OP_SETSTREAMSOURCEUM: D3DHAL_DP2OPERATION = 50i32;
660 pub const D3DDP2OP_SETTEXLOD: D3DHAL_DP2OPERATION = 43i32;
661 pub const D3DDP2OP_SETTRANSFORM: D3DHAL_DP2OPERATION = 36i32;
662 pub const D3DDP2OP_SETVERTEXSHADER: D3DHAL_DP2OPERATION = 47i32;
663 pub const D3DDP2OP_SETVERTEXSHADERCONST: D3DHAL_DP2OPERATION = 48i32;
664 pub const D3DDP2OP_SETVERTEXSHADERCONSTB: D3DHAL_DP2OPERATION = 83i32;
665 pub const D3DDP2OP_SETVERTEXSHADERCONSTI: D3DHAL_DP2OPERATION = 77i32;
666 pub const D3DDP2OP_SETVERTEXSHADERDECL: D3DHAL_DP2OPERATION = 73i32;
667 pub const D3DDP2OP_SETVERTEXSHADERFUNC: D3DHAL_DP2OPERATION = 76i32;
668 pub const D3DDP2OP_STATESET: D3DHAL_DP2OPERATION = 39i32;
669 pub const D3DDP2OP_SURFACEBLT: D3DHAL_DP2OPERATION = 96i32;
670 pub const D3DDP2OP_TEXBLT: D3DHAL_DP2OPERATION = 38i32;
671 pub const D3DDP2OP_TEXTURESTAGESTATE: D3DHAL_DP2OPERATION = 25i32;
672 pub const D3DDP2OP_TRIANGLEFAN: D3DHAL_DP2OPERATION = 21i32;
673 pub const D3DDP2OP_TRIANGLEFAN_IMM: D3DHAL_DP2OPERATION = 23i32;
674 pub const D3DDP2OP_TRIANGLELIST: D3DHAL_DP2OPERATION = 18i32;
675 pub const D3DDP2OP_TRIANGLESTRIP: D3DHAL_DP2OPERATION = 19i32;
676 pub const D3DDP2OP_UPDATEPALETTE: D3DHAL_DP2OPERATION = 31i32;
677 pub const D3DDP2OP_VIEWPORTINFO: D3DHAL_DP2OPERATION = 28i32;
678 pub const D3DDP2OP_VOLUMEBLT: D3DHAL_DP2OPERATION = 63i32;
679 pub const D3DDP2OP_WINFO: D3DHAL_DP2OPERATION = 29i32;
680 pub const D3DDP2OP_ZRANGE: D3DHAL_DP2OPERATION = 32i32;
681 pub const D3DFVF_FOG: i32 = 8192i32;
682 pub const D3DGDI2_MAGIC: u32 = 4294967295u32;
683 pub const D3DGDI2_TYPE_DEFERRED_AGP_AWARE: u32 = 24u32;
684 pub const D3DGDI2_TYPE_DEFER_AGP_FREES: u32 = 32u32;
685 pub const D3DGDI2_TYPE_DXVERSION: u32 = 4u32;
686 pub const D3DGDI2_TYPE_FREE_DEFERRED_AGP: u32 = 25u32;
687 pub const D3DGDI2_TYPE_GETADAPTERGROUP: u32 = 19u32;
688 pub const D3DGDI2_TYPE_GETD3DCAPS8: u32 = 1u32;
689 pub const D3DGDI2_TYPE_GETD3DCAPS9: u32 = 16u32;
690 pub const D3DGDI2_TYPE_GETD3DQUERY: u32 = 34u32;
691 pub const D3DGDI2_TYPE_GETD3DQUERYCOUNT: u32 = 33u32;
692 pub const D3DGDI2_TYPE_GETDDIVERSION: u32 = 35u32;
693 pub const D3DGDI2_TYPE_GETEXTENDEDMODE: u32 = 18u32;
694 pub const D3DGDI2_TYPE_GETEXTENDEDMODECOUNT: u32 = 17u32;
695 pub const D3DGDI2_TYPE_GETFORMAT: u32 = 3u32;
696 pub const D3DGDI2_TYPE_GETFORMATCOUNT: u32 = 2u32;
697 pub const D3DGDI2_TYPE_GETMULTISAMPLEQUALITYLEVELS: u32 = 22u32;
698 pub const D3DGPU_NULL: u32 = 0u32;
699 pub const D3DHAL2_CB32_CLEAR: i32 = 2i32;
700 pub const D3DHAL2_CB32_DRAWONEINDEXEDPRIMITIVE: i32 = 8i32;
701 pub const D3DHAL2_CB32_DRAWONEPRIMITIVE: i32 = 4i32;
702 pub const D3DHAL2_CB32_DRAWPRIMITIVES: i32 = 16i32;
703 pub const D3DHAL2_CB32_SETRENDERTARGET: i32 = 1i32;
704 pub const D3DHAL3_CB32_CLEAR2: i32 = 1i32;
705 pub const D3DHAL3_CB32_DRAWPRIMITIVES2: i32 = 8i32;
706 pub const D3DHAL3_CB32_RESERVED: i32 = 2i32;
707 pub const D3DHAL3_CB32_VALIDATETEXTURESTAGESTATE: i32 = 4i32;
708 pub const D3DHALDP2_EXECUTEBUFFER: i32 = 2i32;
709 pub const D3DHALDP2_REQCOMMANDBUFSIZE: i32 = 32i32;
710 pub const D3DHALDP2_REQVERTEXBUFSIZE: i32 = 16i32;
711 pub const D3DHALDP2_SWAPCOMMANDBUFFER: i32 = 8i32;
712 pub const D3DHALDP2_SWAPVERTEXBUFFER: i32 = 4i32;
713 pub const D3DHALDP2_USERMEMVERTICES: i32 = 1i32;
714 pub const D3DHALDP2_VIDMEMCOMMANDBUF: i32 = 128i32;
715 pub const D3DHALDP2_VIDMEMVERTEXBUF: i32 = 64i32;
716 pub const D3DHALSTATE_GET_LIGHT: i32 = 2i32;
717 pub const D3DHALSTATE_GET_RENDER: i32 = 4i32;
718 pub const D3DHALSTATE_GET_TRANSFORM: i32 = 1i32;
719 pub const D3DHAL_COL_WEIGHTS: u32 = 2u32;
720 pub const D3DHAL_CONTEXT_BAD: i64 = 512i64;
721 pub const D3DHAL_EXECUTE_ABORT: i32 = 528i32;
722 pub const D3DHAL_EXECUTE_NORMAL: i32 = 0i32;
723 pub const D3DHAL_EXECUTE_OVERRIDE: i32 = 1i32;
724 pub const D3DHAL_EXECUTE_UNHANDLED: i32 = 529i32;
725 pub const D3DHAL_MAX_RSTATES: u32 = 256u32;
726 pub const D3DHAL_MAX_RSTATES_DX6: u32 = 256u32;
727 pub const D3DHAL_MAX_RSTATES_DX7: u32 = 256u32;
728 pub const D3DHAL_MAX_RSTATES_DX8: u32 = 256u32;
729 pub const D3DHAL_MAX_RSTATES_DX9: u32 = 256u32;
730 pub const D3DHAL_MAX_TEXTURESTATES: u32 = 13u32;
731 pub const D3DHAL_NUMCLIPVERTICES: u32 = 20u32;
732 pub const D3DHAL_OUTOFCONTEXTS: i64 = 513i64;
733 pub const D3DHAL_ROW_WEIGHTS: u32 = 1u32;
734 pub const D3DHAL_SAMPLER_MAXSAMP: u32 = 16u32;
735 pub const D3DHAL_SAMPLER_MAXVERTEXSAMP: u32 = 4u32;
736 pub const D3DHAL_SCENE_CAPTURE_END: i32 = 1i32;
737 pub const D3DHAL_SCENE_CAPTURE_START: i32 = 0i32;
738 pub const D3DHAL_SETLIGHT_DATA: u32 = 2u32;
739 pub const D3DHAL_SETLIGHT_DISABLE: u32 = 1u32;
740 pub const D3DHAL_SETLIGHT_ENABLE: u32 = 0u32;
741 pub const D3DHAL_STATESETBEGIN: u32 = 0u32;
742 pub const D3DHAL_STATESETCAPTURE: u32 = 4u32;
743 pub const D3DHAL_STATESETCREATE: u32 = 5u32;
744 pub const D3DHAL_STATESETDELETE: u32 = 2u32;
745 pub const D3DHAL_STATESETEND: u32 = 1u32;
746 pub const D3DHAL_STATESETEXECUTE: u32 = 3u32;
747 pub const D3DHAL_TEXTURESTATEBUF_SIZE: u32 = 14u32;
748 pub const D3DHAL_TSS_MAXSTAGES: u32 = 8u32;
749 pub const D3DHAL_TSS_RENDERSTATEBASE: u32 = 256u32;
750 pub const D3DHAL_TSS_STATESPERSTAGE: u32 = 64u32;
751 pub const D3DINFINITEINSTRUCTIONS: u32 = 4294967295u32;
752 pub const D3DKMDT_BITS_PER_COMPONENT_06: u32 = 1u32;
753 pub const D3DKMDT_BITS_PER_COMPONENT_08: u32 = 2u32;
754 pub const D3DKMDT_BITS_PER_COMPONENT_10: u32 = 4u32;
755 pub const D3DKMDT_BITS_PER_COMPONENT_12: u32 = 8u32;
756 pub const D3DKMDT_BITS_PER_COMPONENT_14: u32 = 16u32;
757 pub const D3DKMDT_BITS_PER_COMPONENT_16: u32 = 32u32;
758 pub const D3DKMDT_CB_INTENSITY: D3DKMDT_COLOR_BASIS = 1i32;
759 pub const D3DKMDT_CB_SCRGB: D3DKMDT_COLOR_BASIS = 3i32;
760 pub const D3DKMDT_CB_SRGB: D3DKMDT_COLOR_BASIS = 2i32;
761 pub const D3DKMDT_CB_UNINITIALIZED: D3DKMDT_COLOR_BASIS = 0i32;
762 pub const D3DKMDT_CB_YCBCR: D3DKMDT_COLOR_BASIS = 4i32;
763 pub const D3DKMDT_CB_YPBPR: D3DKMDT_COLOR_BASIS = 5i32;
764 pub const D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL_BYPASS: D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL = 2i32;
765 pub const D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL_ENABLE: D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL = 1i32;
766 pub const D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL_NO_CHANGE: D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL = 0i32;
767 pub const D3DKMDT_COMPUTE_PREEMPTION_DISPATCH_BOUNDARY: D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY = 200i32;
768 pub const D3DKMDT_COMPUTE_PREEMPTION_DMA_BUFFER_BOUNDARY: D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY = 100i32;
769 pub const D3DKMDT_COMPUTE_PREEMPTION_NONE: D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY = 0i32;
770 pub const D3DKMDT_COMPUTE_PREEMPTION_SHADER_BOUNDARY: D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY = 500i32;
771 pub const D3DKMDT_COMPUTE_PREEMPTION_THREAD_BOUNDARY: D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY = 400i32;
772 pub const D3DKMDT_COMPUTE_PREEMPTION_THREAD_GROUP_BOUNDARY: D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY = 300i32;
773 pub const D3DKMDT_EPT_NOPIVOT: D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE = 5i32;
774 pub const D3DKMDT_EPT_ROTATION: D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE = 4i32;
775 pub const D3DKMDT_EPT_SCALING: D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE = 3i32;
776 pub const D3DKMDT_EPT_UNINITIALIZED: D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE = 0i32;
777 pub const D3DKMDT_EPT_VIDPNSOURCE: D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE = 1i32;
778 pub const D3DKMDT_EPT_VIDPNTARGET: D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE = 2i32;
779 pub const D3DKMDT_GDISURFACE_EXISTINGSYSMEM: D3DKMDT_GDISURFACETYPE = 5i32;
780 pub const D3DKMDT_GDISURFACE_INVALID: D3DKMDT_GDISURFACETYPE = 0i32;
781 pub const D3DKMDT_GDISURFACE_LOOKUPTABLE: D3DKMDT_GDISURFACETYPE = 4i32;
782 pub const D3DKMDT_GDISURFACE_STAGING: D3DKMDT_GDISURFACETYPE = 3i32;
783 pub const D3DKMDT_GDISURFACE_STAGING_CPUVISIBLE: D3DKMDT_GDISURFACETYPE = 2i32;
784 pub const D3DKMDT_GDISURFACE_TEXTURE: D3DKMDT_GDISURFACETYPE = 1i32;
785 pub const D3DKMDT_GDISURFACE_TEXTURE_CPUVISIBLE: D3DKMDT_GDISURFACETYPE = 6i32;
786 pub const D3DKMDT_GDISURFACE_TEXTURE_CPUVISIBLE_CROSSADAPTER: D3DKMDT_GDISURFACETYPE = 8i32;
787 pub const D3DKMDT_GDISURFACE_TEXTURE_CROSSADAPTER: D3DKMDT_GDISURFACETYPE = 7i32;
788 pub const D3DKMDT_GRAPHICS_PREEMPTION_DMA_BUFFER_BOUNDARY: D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY = 100i32;
789 pub const D3DKMDT_GRAPHICS_PREEMPTION_NONE: D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY = 0i32;
790 pub const D3DKMDT_GRAPHICS_PREEMPTION_PIXEL_BOUNDARY: D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY = 400i32;
791 pub const D3DKMDT_GRAPHICS_PREEMPTION_PRIMITIVE_BOUNDARY: D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY = 200i32;
792 pub const D3DKMDT_GRAPHICS_PREEMPTION_SHADER_BOUNDARY: D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY = 500i32;
793 pub const D3DKMDT_GRAPHICS_PREEMPTION_TRIANGLE_BOUNDARY: D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY = 300i32;
794 pub const D3DKMDT_GTF_COMPLIANT: D3DKMDT_GTFCOMPLIANCE = 1i32;
795 pub const D3DKMDT_GTF_NOTCOMPLIANT: D3DKMDT_GTFCOMPLIANCE = 2i32;
796 pub const D3DKMDT_GTF_UNINITIALIZED: D3DKMDT_GTFCOMPLIANCE = 0i32;
797 pub const D3DKMDT_MACROVISION_OEMCOPYPROTECTION_SIZE: u32 = 256u32;
798 pub const D3DKMDT_MAX_OVERLAYS_BITCOUNT: u32 = 2u32;
799 pub const D3DKMDT_MAX_VIDPN_SOURCES_BITCOUNT: u32 = 4u32;
800 pub const D3DKMDT_MCC_ENFORCE: D3DKMDT_MONITOR_CONNECTIVITY_CHECKS = 2i32;
801 pub const D3DKMDT_MCC_IGNORE: D3DKMDT_MONITOR_CONNECTIVITY_CHECKS = 1i32;
802 pub const D3DKMDT_MCC_UNINITIALIZED: D3DKMDT_MONITOR_CONNECTIVITY_CHECKS = 0i32;
803 pub const D3DKMDT_MCO_DEFAULTMONITORPROFILE: D3DKMDT_MONITOR_CAPABILITIES_ORIGIN = 1i32;
804 pub const D3DKMDT_MCO_DRIVER: D3DKMDT_MONITOR_CAPABILITIES_ORIGIN = 5i32;
805 pub const D3DKMDT_MCO_MONITORDESCRIPTOR: D3DKMDT_MONITOR_CAPABILITIES_ORIGIN = 2i32;
806 pub const D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE: D3DKMDT_MONITOR_CAPABILITIES_ORIGIN = 3i32;
807 pub const D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE: D3DKMDT_MONITOR_CAPABILITIES_ORIGIN = 4i32;
808 pub const D3DKMDT_MCO_UNINITIALIZED: D3DKMDT_MONITOR_CAPABILITIES_ORIGIN = 0i32;
809 pub const D3DKMDT_MDT_OTHER: D3DKMDT_MONITOR_DESCRIPTOR_TYPE = 255i32;
810 pub const D3DKMDT_MDT_UNINITIALIZED: D3DKMDT_MONITOR_DESCRIPTOR_TYPE = 0i32;
811 pub const D3DKMDT_MDT_VESA_EDID_V1_BASEBLOCK: D3DKMDT_MONITOR_DESCRIPTOR_TYPE = 1i32;
812 pub const D3DKMDT_MDT_VESA_EDID_V1_BLOCKMAP: D3DKMDT_MONITOR_DESCRIPTOR_TYPE = 2i32;
813 pub const D3DKMDT_MFRC_ACTIVESIZE: D3DKMDT_MONITOR_FREQUENCY_RANGE_CONSTRAINT = 1i32;
814 pub const D3DKMDT_MFRC_MAXPIXELRATE: D3DKMDT_MONITOR_FREQUENCY_RANGE_CONSTRAINT = 2i32;
815 pub const D3DKMDT_MFRC_UNINITIALIZED: D3DKMDT_MONITOR_FREQUENCY_RANGE_CONSTRAINT = 0i32;
816 pub const D3DKMDT_MOA_INTERRUPTIBLE: D3DKMDT_MONITOR_ORIENTATION_AWARENESS = 3i32;
817 pub const D3DKMDT_MOA_NONE: D3DKMDT_MONITOR_ORIENTATION_AWARENESS = 1i32;
818 pub const D3DKMDT_MOA_POLLED: D3DKMDT_MONITOR_ORIENTATION_AWARENESS = 2i32;
819 pub const D3DKMDT_MOA_UNINITIALIZED: D3DKMDT_MONITOR_ORIENTATION_AWARENESS = 0i32;
820 pub const D3DKMDT_MO_0DEG: D3DKMDT_MONITOR_ORIENTATION = 1i32;
821 pub const D3DKMDT_MO_180DEG: D3DKMDT_MONITOR_ORIENTATION = 3i32;
822 pub const D3DKMDT_MO_270DEG: D3DKMDT_MONITOR_ORIENTATION = 4i32;
823 pub const D3DKMDT_MO_90DEG: D3DKMDT_MONITOR_ORIENTATION = 2i32;
824 pub const D3DKMDT_MO_UNINITIALIZED: D3DKMDT_MONITOR_ORIENTATION = 0i32;
825 pub const D3DKMDT_MPR_ALLCAPS: D3DKMDT_MODE_PRUNING_REASON = 1i32;
826 pub const D3DKMDT_MPR_CLONE_PATH_PRUNED: D3DKMDT_MODE_PRUNING_REASON = 9i32;
827 pub const D3DKMDT_MPR_DEFAULT_PROFILE_MONITOR_SOURCE_MODE: D3DKMDT_MODE_PRUNING_REASON = 6i32;
828 pub const D3DKMDT_MPR_DESCRIPTOR_MONITOR_FREQUENCY_RANGE: D3DKMDT_MODE_PRUNING_REASON = 3i32;
829 pub const D3DKMDT_MPR_DESCRIPTOR_MONITOR_SOURCE_MODE: D3DKMDT_MODE_PRUNING_REASON = 2i32;
830 pub const D3DKMDT_MPR_DESCRIPTOR_OVERRIDE_MONITOR_FREQUENCY_RANGE: D3DKMDT_MODE_PRUNING_REASON = 5i32;
831 pub const D3DKMDT_MPR_DESCRIPTOR_OVERRIDE_MONITOR_SOURCE_MODE: D3DKMDT_MODE_PRUNING_REASON = 4i32;
832 pub const D3DKMDT_MPR_DRIVER_RECOMMENDED_MONITOR_SOURCE_MODE: D3DKMDT_MODE_PRUNING_REASON = 7i32;
833 pub const D3DKMDT_MPR_MAXVALID: D3DKMDT_MODE_PRUNING_REASON = 10i32;
834 pub const D3DKMDT_MPR_MONITOR_FREQUENCY_RANGE_OVERRIDE: D3DKMDT_MODE_PRUNING_REASON = 8i32;
835 pub const D3DKMDT_MPR_UNINITIALIZED: D3DKMDT_MODE_PRUNING_REASON = 0i32;
836 pub const D3DKMDT_MP_NOTPREFERRED: D3DKMDT_MODE_PREFERENCE = 2i32;
837 pub const D3DKMDT_MP_PREFERRED: D3DKMDT_MODE_PREFERENCE = 1i32;
838 pub const D3DKMDT_MP_UNINITIALIZED: D3DKMDT_MODE_PREFERENCE = 0i32;
839 pub const D3DKMDT_MTT_DEFAULTMONITORPROFILE: D3DKMDT_MONITOR_TIMING_TYPE = 5i32;
840 pub const D3DKMDT_MTT_DETAILED: D3DKMDT_MONITOR_TIMING_TYPE = 4i32;
841 pub const D3DKMDT_MTT_DRIVER: D3DKMDT_MONITOR_TIMING_TYPE = 6i32;
842 pub const D3DKMDT_MTT_ESTABLISHED: D3DKMDT_MONITOR_TIMING_TYPE = 1i32;
843 pub const D3DKMDT_MTT_EXTRASTANDARD: D3DKMDT_MONITOR_TIMING_TYPE = 3i32;
844 pub const D3DKMDT_MTT_STANDARD: D3DKMDT_MONITOR_TIMING_TYPE = 2i32;
845 pub const D3DKMDT_MTT_UNINITIALIZED: D3DKMDT_MONITOR_TIMING_TYPE = 0i32;
846 pub const D3DKMDT_PVAM_DIRECT: D3DKMDT_PIXEL_VALUE_ACCESS_MODE = 1i32;
847 pub const D3DKMDT_PVAM_PRESETPALETTE: D3DKMDT_PIXEL_VALUE_ACCESS_MODE = 2i32;
848 pub const D3DKMDT_PVAM_SETTABLEPALETTE: D3DKMDT_PIXEL_VALUE_ACCESS_MODE = 3i32;
849 pub const D3DKMDT_PVAM_UNINITIALIZED: D3DKMDT_PIXEL_VALUE_ACCESS_MODE = 0i32;
850 pub const D3DKMDT_RMT_GRAPHICS: D3DKMDT_VIDPN_SOURCE_MODE_TYPE = 1i32;
851 pub const D3DKMDT_RMT_GRAPHICS_STEREO: D3DKMDT_VIDPN_SOURCE_MODE_TYPE = 3i32;
852 pub const D3DKMDT_RMT_GRAPHICS_STEREO_ADVANCED_SCAN: D3DKMDT_VIDPN_SOURCE_MODE_TYPE = 4i32;
853 pub const D3DKMDT_RMT_TEXT: D3DKMDT_VIDPN_SOURCE_MODE_TYPE = 2i32;
854 pub const D3DKMDT_RMT_UNINITIALIZED: D3DKMDT_VIDPN_SOURCE_MODE_TYPE = 0i32;
855 pub const D3DKMDT_STANDARDALLOCATION_GDISURFACE: D3DKMDT_STANDARDALLOCATION_TYPE = 4i32;
856 pub const D3DKMDT_STANDARDALLOCATION_SHADOWSURFACE: D3DKMDT_STANDARDALLOCATION_TYPE = 2i32;
857 pub const D3DKMDT_STANDARDALLOCATION_SHAREDPRIMARYSURFACE: D3DKMDT_STANDARDALLOCATION_TYPE = 1i32;
858 pub const D3DKMDT_STANDARDALLOCATION_STAGINGSURFACE: D3DKMDT_STANDARDALLOCATION_TYPE = 3i32;
859 pub const D3DKMDT_STANDARDALLOCATION_VGPU: D3DKMDT_STANDARDALLOCATION_TYPE = 5i32;
860 pub const D3DKMDT_TRF_UNINITIALIZED: D3DKMDT_TEXT_RENDERING_FORMAT = 0i32;
861 pub const D3DKMDT_VOT_BNC: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = 3i32;
862 pub const D3DKMDT_VOT_COMPONENT_VIDEO: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = 3i32;
863 pub const D3DKMDT_VOT_COMPOSITE_VIDEO: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = 2i32;
864 pub const D3DKMDT_VOT_DISPLAYPORT_EMBEDDED: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = 11i32;
865 pub const D3DKMDT_VOT_DISPLAYPORT_EXTERNAL: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = 10i32;
866 pub const D3DKMDT_VOT_DVI: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = 4i32;
867 pub const D3DKMDT_VOT_D_JPN: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = 8i32;
868 pub const D3DKMDT_VOT_HD15: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = 0i32;
869 pub const D3DKMDT_VOT_HDMI: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = 5i32;
870 pub const D3DKMDT_VOT_INDIRECT_WIRED: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = 16i32;
871 pub const D3DKMDT_VOT_INTERNAL: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = -2147483648i32;
872 pub const D3DKMDT_VOT_LVDS: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = 6i32;
873 pub const D3DKMDT_VOT_MIRACAST: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = 15i32;
874 pub const D3DKMDT_VOT_OTHER: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = -1i32;
875 pub const D3DKMDT_VOT_RCA_3COMPONENT: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = 3i32;
876 pub const D3DKMDT_VOT_RF: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = 2i32;
877 pub const D3DKMDT_VOT_SDI: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = 9i32;
878 pub const D3DKMDT_VOT_SDTVDONGLE: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = 14i32;
879 pub const D3DKMDT_VOT_SVIDEO: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = 1i32;
880 pub const D3DKMDT_VOT_SVIDEO_4PIN: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = 1i32;
881 pub const D3DKMDT_VOT_SVIDEO_7PIN: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = 1i32;
882 pub const D3DKMDT_VOT_UDI_EMBEDDED: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = 13i32;
883 pub const D3DKMDT_VOT_UDI_EXTERNAL: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = 12i32;
884 pub const D3DKMDT_VOT_UNINITIALIZED: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = -2i32;
885 pub const D3DKMDT_VPPC_GRAPHICS: D3DKMDT_VIDPN_PRESENT_PATH_CONTENT = 1i32;
886 pub const D3DKMDT_VPPC_NOTSPECIFIED: D3DKMDT_VIDPN_PRESENT_PATH_CONTENT = 255i32;
887 pub const D3DKMDT_VPPC_UNINITIALIZED: D3DKMDT_VIDPN_PRESENT_PATH_CONTENT = 0i32;
888 pub const D3DKMDT_VPPC_VIDEO: D3DKMDT_VIDPN_PRESENT_PATH_CONTENT = 2i32;
889 pub const D3DKMDT_VPPI_DENARY: D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE = 10i32;
890 pub const D3DKMDT_VPPI_NONARY: D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE = 9i32;
891 pub const D3DKMDT_VPPI_OCTONARY: D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE = 8i32;
892 pub const D3DKMDT_VPPI_PRIMARY: D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE = 1i32;
893 pub const D3DKMDT_VPPI_QUATERNARY: D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE = 4i32;
894 pub const D3DKMDT_VPPI_QUINARY: D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE = 5i32;
895 pub const D3DKMDT_VPPI_SECONDARY: D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE = 2i32;
896 pub const D3DKMDT_VPPI_SENARY: D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE = 6i32;
897 pub const D3DKMDT_VPPI_SEPTENARY: D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE = 7i32;
898 pub const D3DKMDT_VPPI_TERTIARY: D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE = 3i32;
899 pub const D3DKMDT_VPPI_UNINITIALIZED: D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE = 0i32;
900 pub const D3DKMDT_VPPMT_MACROVISION_APSTRIGGER: D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_TYPE = 2i32;
901 pub const D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT: D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_TYPE = 3i32;
902 pub const D3DKMDT_VPPMT_NOPROTECTION: D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_TYPE = 1i32;
903 pub const D3DKMDT_VPPMT_UNINITIALIZED: D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_TYPE = 0i32;
904 pub const D3DKMDT_VPPR_IDENTITY: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = 1i32;
905 pub const D3DKMDT_VPPR_IDENTITY_OFFSET180: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = 9i32;
906 pub const D3DKMDT_VPPR_IDENTITY_OFFSET270: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = 13i32;
907 pub const D3DKMDT_VPPR_IDENTITY_OFFSET90: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = 5i32;
908 pub const D3DKMDT_VPPR_NOTSPECIFIED: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = 255i32;
909 pub const D3DKMDT_VPPR_ROTATE180: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = 3i32;
910 pub const D3DKMDT_VPPR_ROTATE180_OFFSET180: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = 11i32;
911 pub const D3DKMDT_VPPR_ROTATE180_OFFSET270: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = 15i32;
912 pub const D3DKMDT_VPPR_ROTATE180_OFFSET90: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = 7i32;
913 pub const D3DKMDT_VPPR_ROTATE270: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = 4i32;
914 pub const D3DKMDT_VPPR_ROTATE270_OFFSET180: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = 12i32;
915 pub const D3DKMDT_VPPR_ROTATE270_OFFSET270: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = 16i32;
916 pub const D3DKMDT_VPPR_ROTATE270_OFFSET90: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = 8i32;
917 pub const D3DKMDT_VPPR_ROTATE90: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = 2i32;
918 pub const D3DKMDT_VPPR_ROTATE90_OFFSET180: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = 10i32;
919 pub const D3DKMDT_VPPR_ROTATE90_OFFSET270: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = 14i32;
920 pub const D3DKMDT_VPPR_ROTATE90_OFFSET90: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = 6i32;
921 pub const D3DKMDT_VPPR_UNINITIALIZED: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = 0i32;
922 pub const D3DKMDT_VPPR_UNPINNED: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = 254i32;
923 pub const D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX: D3DKMDT_VIDPN_PRESENT_PATH_SCALING = 4i32;
924 pub const D3DKMDT_VPPS_CENTERED: D3DKMDT_VIDPN_PRESENT_PATH_SCALING = 2i32;
925 pub const D3DKMDT_VPPS_CUSTOM: D3DKMDT_VIDPN_PRESENT_PATH_SCALING = 5i32;
926 pub const D3DKMDT_VPPS_IDENTITY: D3DKMDT_VIDPN_PRESENT_PATH_SCALING = 1i32;
927 pub const D3DKMDT_VPPS_NOTSPECIFIED: D3DKMDT_VIDPN_PRESENT_PATH_SCALING = 255i32;
928 pub const D3DKMDT_VPPS_RESERVED1: D3DKMDT_VIDPN_PRESENT_PATH_SCALING = 253i32;
929 pub const D3DKMDT_VPPS_STRETCHED: D3DKMDT_VIDPN_PRESENT_PATH_SCALING = 3i32;
930 pub const D3DKMDT_VPPS_UNINITIALIZED: D3DKMDT_VIDPN_PRESENT_PATH_SCALING = 0i32;
931 pub const D3DKMDT_VPPS_UNPINNED: D3DKMDT_VIDPN_PRESENT_PATH_SCALING = 254i32;
932 pub const D3DKMDT_VSS_APPLE: D3DKMDT_VIDEO_SIGNAL_STANDARD = 5i32;
933 pub const D3DKMDT_VSS_EIA_861: D3DKMDT_VIDEO_SIGNAL_STANDARD = 25i32;
934 pub const D3DKMDT_VSS_EIA_861A: D3DKMDT_VIDEO_SIGNAL_STANDARD = 26i32;
935 pub const D3DKMDT_VSS_EIA_861B: D3DKMDT_VIDEO_SIGNAL_STANDARD = 27i32;
936 pub const D3DKMDT_VSS_IBM: D3DKMDT_VIDEO_SIGNAL_STANDARD = 4i32;
937 pub const D3DKMDT_VSS_NTSC_443: D3DKMDT_VIDEO_SIGNAL_STANDARD = 8i32;
938 pub const D3DKMDT_VSS_NTSC_J: D3DKMDT_VIDEO_SIGNAL_STANDARD = 7i32;
939 pub const D3DKMDT_VSS_NTSC_M: D3DKMDT_VIDEO_SIGNAL_STANDARD = 6i32;
940 pub const D3DKMDT_VSS_OTHER: D3DKMDT_VIDEO_SIGNAL_STANDARD = 255i32;
941 pub const D3DKMDT_VSS_PAL_B: D3DKMDT_VIDEO_SIGNAL_STANDARD = 9i32;
942 pub const D3DKMDT_VSS_PAL_B1: D3DKMDT_VIDEO_SIGNAL_STANDARD = 10i32;
943 pub const D3DKMDT_VSS_PAL_D: D3DKMDT_VIDEO_SIGNAL_STANDARD = 14i32;
944 pub const D3DKMDT_VSS_PAL_G: D3DKMDT_VIDEO_SIGNAL_STANDARD = 11i32;
945 pub const D3DKMDT_VSS_PAL_H: D3DKMDT_VIDEO_SIGNAL_STANDARD = 12i32;
946 pub const D3DKMDT_VSS_PAL_I: D3DKMDT_VIDEO_SIGNAL_STANDARD = 13i32;
947 pub const D3DKMDT_VSS_PAL_K: D3DKMDT_VIDEO_SIGNAL_STANDARD = 28i32;
948 pub const D3DKMDT_VSS_PAL_K1: D3DKMDT_VIDEO_SIGNAL_STANDARD = 29i32;
949 pub const D3DKMDT_VSS_PAL_L: D3DKMDT_VIDEO_SIGNAL_STANDARD = 30i32;
950 pub const D3DKMDT_VSS_PAL_M: D3DKMDT_VIDEO_SIGNAL_STANDARD = 31i32;
951 pub const D3DKMDT_VSS_PAL_N: D3DKMDT_VIDEO_SIGNAL_STANDARD = 15i32;
952 pub const D3DKMDT_VSS_PAL_NC: D3DKMDT_VIDEO_SIGNAL_STANDARD = 16i32;
953 pub const D3DKMDT_VSS_SECAM_B: D3DKMDT_VIDEO_SIGNAL_STANDARD = 17i32;
954 pub const D3DKMDT_VSS_SECAM_D: D3DKMDT_VIDEO_SIGNAL_STANDARD = 18i32;
955 pub const D3DKMDT_VSS_SECAM_G: D3DKMDT_VIDEO_SIGNAL_STANDARD = 19i32;
956 pub const D3DKMDT_VSS_SECAM_H: D3DKMDT_VIDEO_SIGNAL_STANDARD = 20i32;
957 pub const D3DKMDT_VSS_SECAM_K: D3DKMDT_VIDEO_SIGNAL_STANDARD = 21i32;
958 pub const D3DKMDT_VSS_SECAM_K1: D3DKMDT_VIDEO_SIGNAL_STANDARD = 22i32;
959 pub const D3DKMDT_VSS_SECAM_L: D3DKMDT_VIDEO_SIGNAL_STANDARD = 23i32;
960 pub const D3DKMDT_VSS_SECAM_L1: D3DKMDT_VIDEO_SIGNAL_STANDARD = 24i32;
961 pub const D3DKMDT_VSS_UNINITIALIZED: D3DKMDT_VIDEO_SIGNAL_STANDARD = 0i32;
962 pub const D3DKMDT_VSS_VESA_CVT: D3DKMDT_VIDEO_SIGNAL_STANDARD = 3i32;
963 pub const D3DKMDT_VSS_VESA_DMT: D3DKMDT_VIDEO_SIGNAL_STANDARD = 1i32;
964 pub const D3DKMDT_VSS_VESA_GTF: D3DKMDT_VIDEO_SIGNAL_STANDARD = 2i32;
965 pub const D3DKMT_ACTIVATE_SPECIFIC_DIAG_TYPE_EXTRA_CCD_DATABASE_INFO: D3DKMT_ACTIVATE_SPECIFIC_DIAG_TYPE = 0i32;
966 pub const D3DKMT_ACTIVATE_SPECIFIC_DIAG_TYPE_MODES_PRUNED: D3DKMT_ACTIVATE_SPECIFIC_DIAG_TYPE = 15i32;
967 pub const D3DKMT_ADAPTER_VERIFIER_OPTION_VIDMM_FLAGS: D3DKMT_ADAPTER_VERIFIER_OPTION_TYPE = 1000i32;
968 pub const D3DKMT_ADAPTER_VERIFIER_OPTION_VIDMM_TRIM_INTERVAL: D3DKMT_ADAPTER_VERIFIER_OPTION_TYPE = 1001i32;
969 pub const D3DKMT_ALLOCATIONRESIDENCYSTATUS_NOTRESIDENT: D3DKMT_ALLOCATIONRESIDENCYSTATUS = 3i32;
970 pub const D3DKMT_ALLOCATIONRESIDENCYSTATUS_RESIDENTINGPUMEMORY: D3DKMT_ALLOCATIONRESIDENCYSTATUS = 1i32;
971 pub const D3DKMT_ALLOCATIONRESIDENCYSTATUS_RESIDENTINSHAREDMEMORY: D3DKMT_ALLOCATIONRESIDENCYSTATUS = 2i32;
972 pub const D3DKMT_AUXILIARYPRESENTINFO_TYPE_FLIPMANAGER: D3DKMT_AUXILIARYPRESENTINFO_TYPE = 0i32;
973 pub const D3DKMT_AllocationPriorityClassHigh: D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS = 3i32;
974 pub const D3DKMT_AllocationPriorityClassLow: D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS = 1i32;
975 pub const D3DKMT_AllocationPriorityClassMaximum: D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS = 4i32;
976 pub const D3DKMT_AllocationPriorityClassMinimum: D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS = 0i32;
977 pub const D3DKMT_AllocationPriorityClassNormal: D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS = 2i32;
978 pub const D3DKMT_BRIGHTNESS_INFO_BEGIN_MANUAL_MODE: D3DKMT_BRIGHTNESS_INFO_TYPE = 8i32;
979 pub const D3DKMT_BRIGHTNESS_INFO_END_MANUAL_MODE: D3DKMT_BRIGHTNESS_INFO_TYPE = 9i32;
980 pub const D3DKMT_BRIGHTNESS_INFO_GET: D3DKMT_BRIGHTNESS_INFO_TYPE = 2i32;
981 pub const D3DKMT_BRIGHTNESS_INFO_GET_CAPS: D3DKMT_BRIGHTNESS_INFO_TYPE = 4i32;
982 pub const D3DKMT_BRIGHTNESS_INFO_GET_NIT_RANGES: D3DKMT_BRIGHTNESS_INFO_TYPE = 11i32;
983 pub const D3DKMT_BRIGHTNESS_INFO_GET_POSSIBLE_LEVELS: D3DKMT_BRIGHTNESS_INFO_TYPE = 1i32;
984 pub const D3DKMT_BRIGHTNESS_INFO_GET_REDUCTION: D3DKMT_BRIGHTNESS_INFO_TYPE = 7i32;
985 pub const D3DKMT_BRIGHTNESS_INFO_SET: D3DKMT_BRIGHTNESS_INFO_TYPE = 3i32;
986 pub const D3DKMT_BRIGHTNESS_INFO_SET_OPTIMIZATION: D3DKMT_BRIGHTNESS_INFO_TYPE = 6i32;
987 pub const D3DKMT_BRIGHTNESS_INFO_SET_STATE: D3DKMT_BRIGHTNESS_INFO_TYPE = 5i32;
988 pub const D3DKMT_BRIGHTNESS_INFO_TOGGLE_LOGGING: D3DKMT_BRIGHTNESS_INFO_TYPE = 10i32;
989 pub const D3DKMT_CANCEL_PRESENTS_OPERATION_CANCEL_FROM: D3DKMT_CANCEL_PRESENTS_OPERATION = 0i32;
990 pub const D3DKMT_CANCEL_PRESENTS_OPERATION_REPROGRAM_INTERRUPT: D3DKMT_CANCEL_PRESENTS_OPERATION = 1i32;
991 pub const D3DKMT_CLIENTHINT_11ON12: D3DKMT_CLIENTHINT = 14i32;
992 pub const D3DKMT_CLIENTHINT_9ON12: D3DKMT_CLIENTHINT = 13i32;
993 pub const D3DKMT_CLIENTHINT_CDD: D3DKMT_CLIENTHINT = 2i32;
994 pub const D3DKMT_CLIENTHINT_CLON12: D3DKMT_CLIENTHINT = 17i32;
995 pub const D3DKMT_CLIENTHINT_CUDA: D3DKMT_CLIENTHINT = 5i32;
996 pub const D3DKMT_CLIENTHINT_DML_PYTORCH: D3DKMT_CLIENTHINT = 20i32;
997 pub const D3DKMT_CLIENTHINT_DML_TENSORFLOW: D3DKMT_CLIENTHINT = 18i32;
998 pub const D3DKMT_CLIENTHINT_DX10: D3DKMT_CLIENTHINT = 10i32;
999 pub const D3DKMT_CLIENTHINT_DX11: D3DKMT_CLIENTHINT = 11i32;
1000 pub const D3DKMT_CLIENTHINT_DX12: D3DKMT_CLIENTHINT = 12i32;
1001 pub const D3DKMT_CLIENTHINT_DX7: D3DKMT_CLIENTHINT = 7i32;
1002 pub const D3DKMT_CLIENTHINT_DX8: D3DKMT_CLIENTHINT = 8i32;
1003 pub const D3DKMT_CLIENTHINT_DX9: D3DKMT_CLIENTHINT = 9i32;
1004 pub const D3DKMT_CLIENTHINT_GLON12: D3DKMT_CLIENTHINT = 16i32;
1005 pub const D3DKMT_CLIENTHINT_MAX: D3DKMT_CLIENTHINT = 21i32;
1006 pub const D3DKMT_CLIENTHINT_MFT_ENCODE: D3DKMT_CLIENTHINT = 15i32;
1007 pub const D3DKMT_CLIENTHINT_ONEAPI_LEVEL0: D3DKMT_CLIENTHINT = 19i32;
1008 pub const D3DKMT_CLIENTHINT_OPENCL: D3DKMT_CLIENTHINT = 3i32;
1009 pub const D3DKMT_CLIENTHINT_OPENGL: D3DKMT_CLIENTHINT = 1i32;
1010 pub const D3DKMT_CLIENTHINT_RESERVED: D3DKMT_CLIENTHINT = 6i32;
1011 pub const D3DKMT_CLIENTHINT_UNKNOWN: D3DKMT_CLIENTHINT = 0i32;
1012 pub const D3DKMT_CLIENTHINT_VULKAN: D3DKMT_CLIENTHINT = 4i32;
1013 pub const D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER_COPY: D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER = 1i32;
1014 pub const D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER_NONE: D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER = 0i32;
1015 pub const D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER_SCANOUT: D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER = 3i32;
1016 pub const D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER_TEXTURE: D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER = 2i32;
1017 pub const D3DKMT_CROSS_ADAPTER_RESOURCE_HEIGHT_ALIGNMENT: u32 = 4u32;
1018 pub const D3DKMT_CROSS_ADAPTER_RESOURCE_PITCH_ALIGNMENT: u32 = 128u32;
1019 pub const D3DKMT_ClientPagingBuffer: D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE = 1i32;
1020 pub const D3DKMT_ClientRenderBuffer: D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE = 0i32;
1021 pub const D3DKMT_DEFRAG_ESCAPE_DEFRAG_DOWNWARD: D3DKMT_DEFRAG_ESCAPE_OPERATION = 2i32;
1022 pub const D3DKMT_DEFRAG_ESCAPE_DEFRAG_PASS: D3DKMT_DEFRAG_ESCAPE_OPERATION = 3i32;
1023 pub const D3DKMT_DEFRAG_ESCAPE_DEFRAG_UPWARD: D3DKMT_DEFRAG_ESCAPE_OPERATION = 1i32;
1024 pub const D3DKMT_DEFRAG_ESCAPE_GET_FRAGMENTATION_STATS: D3DKMT_DEFRAG_ESCAPE_OPERATION = 0i32;
1025 pub const D3DKMT_DEFRAG_ESCAPE_VERIFY_TRANSFER: D3DKMT_DEFRAG_ESCAPE_OPERATION = 4i32;
1026 pub const D3DKMT_DEVICEESCAPE_RESTOREGAMMA: D3DKMT_DEVICEESCAPE_TYPE = 1i32;
1027 pub const D3DKMT_DEVICEESCAPE_VIDPNFROMALLOCATION: D3DKMT_DEVICEESCAPE_TYPE = 0i32;
1028 pub const D3DKMT_DEVICEEXECUTION_ACTIVE: D3DKMT_DEVICEEXECUTION_STATE = 1i32;
1029 pub const D3DKMT_DEVICEEXECUTION_ERROR_DMAFAULT: D3DKMT_DEVICEEXECUTION_STATE = 6i32;
1030 pub const D3DKMT_DEVICEEXECUTION_ERROR_DMAPAGEFAULT: D3DKMT_DEVICEEXECUTION_STATE = 7i32;
1031 pub const D3DKMT_DEVICEEXECUTION_ERROR_OUTOFMEMORY: D3DKMT_DEVICEEXECUTION_STATE = 5i32;
1032 pub const D3DKMT_DEVICEEXECUTION_HUNG: D3DKMT_DEVICEEXECUTION_STATE = 3i32;
1033 pub const D3DKMT_DEVICEEXECUTION_RESET: D3DKMT_DEVICEEXECUTION_STATE = 2i32;
1034 pub const D3DKMT_DEVICEEXECUTION_STOPPED: D3DKMT_DEVICEEXECUTION_STATE = 4i32;
1035 pub const D3DKMT_DEVICESTATE_EXECUTION: D3DKMT_DEVICESTATE_TYPE = 1i32;
1036 pub const D3DKMT_DEVICESTATE_PAGE_FAULT: D3DKMT_DEVICESTATE_TYPE = 5i32;
1037 pub const D3DKMT_DEVICESTATE_PRESENT: D3DKMT_DEVICESTATE_TYPE = 2i32;
1038 pub const D3DKMT_DEVICESTATE_PRESENT_DWM: D3DKMT_DEVICESTATE_TYPE = 4i32;
1039 pub const D3DKMT_DEVICESTATE_PRESENT_QUEUE: D3DKMT_DEVICESTATE_TYPE = 6i32;
1040 pub const D3DKMT_DEVICESTATE_RESET: D3DKMT_DEVICESTATE_TYPE = 3i32;
1041 pub const D3DKMT_DEVICE_ERROR_REASON_DRIVER_ERROR: D3DKMT_DEVICE_ERROR_REASON = -2147483642i32;
1042 pub const D3DKMT_DEVICE_ERROR_REASON_GENERIC: D3DKMT_DEVICE_ERROR_REASON = -2147483648i32;
1043 pub const D3DKMT_DMMESCAPETYPE_ACTIVEVIDPN_COFUNCPATHMODALITY_INFO: D3DKMT_DMMESCAPETYPE = 11i32;
1044 pub const D3DKMT_DMMESCAPETYPE_ACTIVEVIDPN_SOURCEMODESET_INFO: D3DKMT_DMMESCAPETYPE = 10i32;
1045 pub const D3DKMT_DMMESCAPETYPE_GET_ACTIVEVIDPN_INFO: D3DKMT_DMMESCAPETYPE = 4i32;
1046 pub const D3DKMT_DMMESCAPETYPE_GET_LASTCLIENTCOMMITTEDVIDPN_INFO: D3DKMT_DMMESCAPETYPE = 12i32;
1047 pub const D3DKMT_DMMESCAPETYPE_GET_MONITORS_INFO: D3DKMT_DMMESCAPETYPE = 5i32;
1048 pub const D3DKMT_DMMESCAPETYPE_GET_SUMMARY_INFO: D3DKMT_DMMESCAPETYPE = 1i32;
1049 pub const D3DKMT_DMMESCAPETYPE_GET_VERSION_INFO: D3DKMT_DMMESCAPETYPE = 13i32;
1050 pub const D3DKMT_DMMESCAPETYPE_GET_VIDEO_PRESENT_SOURCES_INFO: D3DKMT_DMMESCAPETYPE = 2i32;
1051 pub const D3DKMT_DMMESCAPETYPE_GET_VIDEO_PRESENT_TARGETS_INFO: D3DKMT_DMMESCAPETYPE = 3i32;
1052 pub const D3DKMT_DMMESCAPETYPE_RECENTLY_COMMITTED_VIDPNS_INFO: D3DKMT_DMMESCAPETYPE = 6i32;
1053 pub const D3DKMT_DMMESCAPETYPE_RECENTLY_RECOMMENDED_VIDPNS_INFO: D3DKMT_DMMESCAPETYPE = 8i32;
1054 pub const D3DKMT_DMMESCAPETYPE_RECENT_MODECHANGE_REQUESTS_INFO: D3DKMT_DMMESCAPETYPE = 7i32;
1055 pub const D3DKMT_DMMESCAPETYPE_RECENT_MONITOR_PRESENCE_EVENTS_INFO: D3DKMT_DMMESCAPETYPE = 9i32;
1056 pub const D3DKMT_DMMESCAPETYPE_UNINITIALIZED: D3DKMT_DMMESCAPETYPE = 0i32;
1057 pub const D3DKMT_DMMESCAPETYPE_VIDPN_MGR_DIAGNOSTICS: D3DKMT_DMMESCAPETYPE = 14i32;
1058 pub const D3DKMT_DeferredCommandBuffer: D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE = 1i32;
1059 pub const D3DKMT_DeviceCommandBuffer: D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE = 6i32;
1060 pub const D3DKMT_DmaPacketTypeMax: D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE = 4i32;
1061 pub const D3DKMT_ESCAPE_ACTIVATE_SPECIFIC_DIAG: D3DKMT_ESCAPETYPE = 14i32;
1062 pub const D3DKMT_ESCAPE_ADAPTER_VERIFIER_OPTION: D3DKMT_ESCAPETYPE = 29i32;
1063 pub const D3DKMT_ESCAPE_BDD_FALLBACK: D3DKMT_ESCAPETYPE = 13i32;
1064 pub const D3DKMT_ESCAPE_BDD_PNP: D3DKMT_ESCAPETYPE = 12i32;
1065 pub const D3DKMT_ESCAPE_BRIGHTNESS: D3DKMT_ESCAPETYPE = 17i32;
1066 pub const D3DKMT_ESCAPE_CCD_DATABASE: D3DKMT_ESCAPETYPE = 38i32;
1067 pub const D3DKMT_ESCAPE_DEBUG_SNAPSHOT: D3DKMT_ESCAPETYPE = 6i32;
1068 pub const D3DKMT_ESCAPE_DEVICE: D3DKMT_ESCAPETYPE = 4i32;
1069 pub const D3DKMT_ESCAPE_DIAGNOSTICS: D3DKMT_ESCAPETYPE = 9i32;
1070 pub const D3DKMT_ESCAPE_DMM: D3DKMT_ESCAPETYPE = 5i32;
1071 pub const D3DKMT_ESCAPE_DOD_SET_DIRTYRECT_MODE: D3DKMT_ESCAPETYPE = 31i32;
1072 pub const D3DKMT_ESCAPE_DRIVERPRIVATE: D3DKMT_ESCAPETYPE = 0i32;
1073 pub const D3DKMT_ESCAPE_DRT_TEST: D3DKMT_ESCAPETYPE = 8i32;
1074 pub const D3DKMT_ESCAPE_EDID_CACHE: D3DKMT_ESCAPETYPE = 18i32;
1075 pub const D3DKMT_ESCAPE_FORCE_BDDFALLBACK_HEADLESS: D3DKMT_ESCAPETYPE = 24i32;
1076 pub const D3DKMT_ESCAPE_GET_DISPLAY_CONFIGURATIONS: D3DKMT_ESCAPETYPE = 36i32;
1077 pub const D3DKMT_ESCAPE_GET_EXTERNAL_DIAGNOSTICS: D3DKMT_ESCAPETYPE = 34i32;
1078 pub const D3DKMT_ESCAPE_HISTORY_BUFFER_STATUS: D3DKMT_ESCAPETYPE = 21i32;
1079 pub const D3DKMT_ESCAPE_IDD_REQUEST: D3DKMT_ESCAPETYPE = 30i32;
1080 pub const D3DKMT_ESCAPE_LOG_CODEPOINT_PACKET: D3DKMT_ESCAPETYPE = 32i32;
1081 pub const D3DKMT_ESCAPE_LOG_USERMODE_DAIG_PACKET: D3DKMT_ESCAPETYPE = 33i32;
1082 pub const D3DKMT_ESCAPE_MIRACAST_ADAPTER_DIAG_INFO: D3DKMT_ESCAPETYPE = 23i32;
1083 pub const D3DKMT_ESCAPE_MIRACAST_DISPLAY_REQUEST: D3DKMT_ESCAPETYPE = 20i32;
1084 pub const D3DKMT_ESCAPE_MODES_PRUNED_OUT: D3DKMT_ESCAPETYPE = 15i32;
1085 pub const D3DKMT_ESCAPE_OUTPUTDUPL_DIAGNOSTICS: D3DKMT_ESCAPETYPE = 11i32;
1086 pub const D3DKMT_ESCAPE_OUTPUTDUPL_SNAPSHOT: D3DKMT_ESCAPETYPE = 10i32;
1087 pub const D3DKMT_ESCAPE_PFN_CONTROL_DEFAULT: D3DKMT_ESCAPE_PFN_CONTROL_COMMAND = 0i32;
1088 pub const D3DKMT_ESCAPE_PFN_CONTROL_FORCE_CPU: D3DKMT_ESCAPE_PFN_CONTROL_COMMAND = 1i32;
1089 pub const D3DKMT_ESCAPE_PFN_CONTROL_FORCE_GPU: D3DKMT_ESCAPE_PFN_CONTROL_COMMAND = 2i32;
1090 pub const D3DKMT_ESCAPE_PROCESS_VERIFIER_OPTION: D3DKMT_ESCAPETYPE = 28i32;
1091 pub const D3DKMT_ESCAPE_QUERY_DMA_REMAPPING_STATUS: D3DKMT_ESCAPETYPE = 39i32;
1092 pub const D3DKMT_ESCAPE_QUERY_IOMMU_STATUS: D3DKMT_ESCAPETYPE = 37i32;
1093 pub const D3DKMT_ESCAPE_REQUEST_MACHINE_CRASH: D3DKMT_ESCAPETYPE = 25i32;
1094 pub const D3DKMT_ESCAPE_SOFTGPU_ENABLE_DISABLE_HMD: D3DKMT_ESCAPETYPE = 27i32;
1095 pub const D3DKMT_ESCAPE_TDRDBGCTRL: D3DKMT_ESCAPETYPE = 2i32;
1096 pub const D3DKMT_ESCAPE_VIDMM: D3DKMT_ESCAPETYPE = 1i32;
1097 pub const D3DKMT_ESCAPE_VIDSCH: D3DKMT_ESCAPETYPE = 3i32;
1098 pub const D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE_SET_BASE_DESKTOP_DURATION: D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE = 0i32;
1099 pub const D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE_SET_PROCESS_BOOST_ELIGIBLE: D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE = 2i32;
1100 pub const D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE_SET_VSYNC_MULTIPLIER: D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE = 1i32;
1101 pub const D3DKMT_ESCAPE_WHQL_INFO: D3DKMT_ESCAPETYPE = 16i32;
1102 pub const D3DKMT_ESCAPE_WIN32K_BDD_FALLBACK: D3DKMT_ESCAPETYPE = 1029i32;
1103 pub const D3DKMT_ESCAPE_WIN32K_COLOR_PROFILE_INFO: D3DKMT_ESCAPETYPE = 1036i32;
1104 pub const D3DKMT_ESCAPE_WIN32K_DDA_TEST_CTL: D3DKMT_ESCAPETYPE = 1030i32;
1105 pub const D3DKMT_ESCAPE_WIN32K_DISPBROKER_TEST: D3DKMT_ESCAPETYPE = 1035i32;
1106 pub const D3DKMT_ESCAPE_WIN32K_DPI_INFO: D3DKMT_ESCAPETYPE = 1026i32;
1107 pub const D3DKMT_ESCAPE_WIN32K_HIP_DEVICE_INFO: D3DKMT_ESCAPETYPE = 1024i32;
1108 pub const D3DKMT_ESCAPE_WIN32K_PRESENTER_VIEW_INFO: D3DKMT_ESCAPETYPE = 1027i32;
1109 pub const D3DKMT_ESCAPE_WIN32K_QUERY_CD_ROTATION_BLOCK: D3DKMT_ESCAPETYPE = 1025i32;
1110 pub const D3DKMT_ESCAPE_WIN32K_SET_DIMMED_STATE: D3DKMT_ESCAPETYPE = 1037i32;
1111 pub const D3DKMT_ESCAPE_WIN32K_SPECIALIZED_DISPLAY_TEST: D3DKMT_ESCAPETYPE = 1038i32;
1112 pub const D3DKMT_ESCAPE_WIN32K_START: D3DKMT_ESCAPETYPE = 1024i32;
1113 pub const D3DKMT_ESCAPE_WIN32K_SYSTEM_DPI: D3DKMT_ESCAPETYPE = 1028i32;
1114 pub const D3DKMT_ESCAPE_WIN32K_USER_DETECTED_BLACK_SCREEN: D3DKMT_ESCAPETYPE = 1031i32;
1115 pub const D3DKMT_FLIPMODEL_INDEPENDENT_FLIP_STAGE_FLIP_COMPLETE: D3DKMT_FLIPMODEL_INDEPENDENT_FLIP_STAGE = 1i32;
1116 pub const D3DKMT_FLIPMODEL_INDEPENDENT_FLIP_STAGE_FLIP_SUBMITTED: D3DKMT_FLIPMODEL_INDEPENDENT_FLIP_STAGE = 0i32;
1117 pub const D3DKMT_GDI_STYLE_HANDLE_DECORATION: u32 = 2u32;
1118 pub const D3DKMT_GETPRESENTHISTORY_MAXTOKENS: u32 = 2048u32;
1119 pub const D3DKMT_GET_PTE_MAX: u32 = 64u32;
1120 pub const D3DKMT_GET_QUEUEDLIMIT_PRESENT: D3DKMT_QUEUEDLIMIT_TYPE = 2i32;
1121 pub const D3DKMT_GPU_PREFERENCE_STATE_HIGH_PERFORMANCE: D3DKMT_GPU_PREFERENCE_QUERY_STATE = 1i32;
1122 pub const D3DKMT_GPU_PREFERENCE_STATE_MINIMUM_POWER: D3DKMT_GPU_PREFERENCE_QUERY_STATE = 2i32;
1123 pub const D3DKMT_GPU_PREFERENCE_STATE_NOT_FOUND: D3DKMT_GPU_PREFERENCE_QUERY_STATE = 4i32;
1124 pub const D3DKMT_GPU_PREFERENCE_STATE_UNINITIALIZED: D3DKMT_GPU_PREFERENCE_QUERY_STATE = 0i32;
1125 pub const D3DKMT_GPU_PREFERENCE_STATE_UNSPECIFIED: D3DKMT_GPU_PREFERENCE_QUERY_STATE = 3i32;
1126 pub const D3DKMT_GPU_PREFERENCE_STATE_USER_SPECIFIED_GPU: D3DKMT_GPU_PREFERENCE_QUERY_STATE = 5i32;
1127 pub const D3DKMT_GPU_PREFERENCE_TYPE_DX_DATABASE: D3DKMT_GPU_PREFERENCE_QUERY_TYPE = 1i32;
1128 pub const D3DKMT_GPU_PREFERENCE_TYPE_IHV_DLIST: D3DKMT_GPU_PREFERENCE_QUERY_TYPE = 0i32;
1129 pub const D3DKMT_GPU_PREFERENCE_TYPE_USER_PREFERENCE: D3DKMT_GPU_PREFERENCE_QUERY_TYPE = 2i32;
1130 pub const D3DKMT_MAX_BUNDLE_OBJECTS_PER_HANDLE: u32 = 16u32;
1131 pub const D3DKMT_MAX_DMM_ESCAPE_DATASIZE: i32 = 102400i32;
1132 pub const D3DKMT_MAX_MULTIPLANE_OVERLAY_ALLOCATIONS_PER_PLANE: u32 = 256u32;
1133 pub const D3DKMT_MAX_MULTIPLANE_OVERLAY_PLANES: u32 = 8u32;
1134 pub const D3DKMT_MAX_OBJECTS_PER_HANDLE: u32 = 3u32;
1135 pub const D3DKMT_MAX_PRESENT_HISTORY_RECTS: u32 = 16u32;
1136 pub const D3DKMT_MAX_PRESENT_HISTORY_SCATTERBLTS: u32 = 12u32;
1137 pub const D3DKMT_MAX_SEGMENT_COUNT: u32 = 32u32;
1138 pub const D3DKMT_MAX_WAITFORVERTICALBLANK_OBJECTS: u32 = 8u32;
1139 pub const D3DKMT_MEMORY_SEGMENT_GROUP_LOCAL: D3DKMT_MEMORY_SEGMENT_GROUP = 0i32;
1140 pub const D3DKMT_MEMORY_SEGMENT_GROUP_NON_LOCAL: D3DKMT_MEMORY_SEGMENT_GROUP = 1i32;
1141 pub const D3DKMT_MIRACAST_DEVICE_STATUS_CANCELLED: D3DKMT_MIRACAST_DEVICE_STATUS = -2147483637i32;
1142 pub const D3DKMT_MIRACAST_DEVICE_STATUS_DEVICE_ERROR: D3DKMT_MIRACAST_DEVICE_STATUS = -2147483645i32;
1143 pub const D3DKMT_MIRACAST_DEVICE_STATUS_DEVICE_NOT_FOUND: D3DKMT_MIRACAST_DEVICE_STATUS = -2147483642i32;
1144 pub const D3DKMT_MIRACAST_DEVICE_STATUS_DEVICE_NOT_STARTED: D3DKMT_MIRACAST_DEVICE_STATUS = -2147483641i32;
1145 pub const D3DKMT_MIRACAST_DEVICE_STATUS_GPU_RESOURCE_IN_USE: D3DKMT_MIRACAST_DEVICE_STATUS = -2147483646i32;
1146 pub const D3DKMT_MIRACAST_DEVICE_STATUS_INSUFFICIENT_BANDWIDTH: D3DKMT_MIRACAST_DEVICE_STATUS = -2147483639i32;
1147 pub const D3DKMT_MIRACAST_DEVICE_STATUS_INSUFFICIENT_MEMORY: D3DKMT_MIRACAST_DEVICE_STATUS = -2147483638i32;
1148 pub const D3DKMT_MIRACAST_DEVICE_STATUS_INVALID_PARAMETER: D3DKMT_MIRACAST_DEVICE_STATUS = -2147483640i32;
1149 pub const D3DKMT_MIRACAST_DEVICE_STATUS_PENDING: D3DKMT_MIRACAST_DEVICE_STATUS = 2i32;
1150 pub const D3DKMT_MIRACAST_DEVICE_STATUS_REMOTE_SESSION: D3DKMT_MIRACAST_DEVICE_STATUS = -2147483643i32;
1151 pub const D3DKMT_MIRACAST_DEVICE_STATUS_SUCCESS: D3DKMT_MIRACAST_DEVICE_STATUS = 0i32;
1152 pub const D3DKMT_MIRACAST_DEVICE_STATUS_SUCCESS_NO_MONITOR: D3DKMT_MIRACAST_DEVICE_STATUS = 1i32;
1153 pub const D3DKMT_MIRACAST_DEVICE_STATUS_UNKOWN_ERROR: D3DKMT_MIRACAST_DEVICE_STATUS = -2147483647i32;
1154 pub const D3DKMT_MIRACAST_DEVICE_STATUS_UNKOWN_PAIRING: D3DKMT_MIRACAST_DEVICE_STATUS = -2147483644i32;
1155 pub const D3DKMT_MIRACAST_DRIVER_IHV: D3DKMT_MIRACAST_DRIVER_TYPE = 1i32;
1156 pub const D3DKMT_MIRACAST_DRIVER_MS: D3DKMT_MIRACAST_DRIVER_TYPE = 2i32;
1157 pub const D3DKMT_MIRACAST_DRIVER_NOT_SUPPORTED: D3DKMT_MIRACAST_DRIVER_TYPE = 0i32;
1158 pub const D3DKMT_MULIIPLANE_OVERLAY_VIDEO_FRAME_FORMAT_PROGRESSIVE: D3DKMT_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT = 0i32;
1159 pub const D3DKMT_MULTIPLANE_OVERLAY_BLEND_ALPHABLEND: D3DKMT_MULTIPLANE_OVERLAY_BLEND = 1i32;
1160 pub const D3DKMT_MULTIPLANE_OVERLAY_BLEND_OPAQUE: D3DKMT_MULTIPLANE_OVERLAY_BLEND = 0i32;
1161 pub const D3DKMT_MULTIPLANE_OVERLAY_FLAG_HORIZONTAL_FLIP: D3DKMT_MULTIPLANE_OVERLAY_FLAGS = 2i32;
1162 pub const D3DKMT_MULTIPLANE_OVERLAY_FLAG_STATIC_CHECK: D3DKMT_MULTIPLANE_OVERLAY_FLAGS = 4i32;
1163 pub const D3DKMT_MULTIPLANE_OVERLAY_FLAG_VERTICAL_FLIP: D3DKMT_MULTIPLANE_OVERLAY_FLAGS = 1i32;
1164 pub const D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT_HORIZONTAL: D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT = 1i32;
1165 pub const D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT_VERTICAL: D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT = 2i32;
1166 pub const D3DKMT_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT_INTERLACED_BOTTOM_FIELD_FIRST: D3DKMT_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT = 2i32;
1167 pub const D3DKMT_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT_INTERLACED_TOP_FIELD_FIRST: D3DKMT_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT = 1i32;
1168 pub const D3DKMT_MULTIPLANE_OVERLAY_YCbCr_FLAG_BT709: D3DKMT_MULTIPLANE_OVERLAY_YCbCr_FLAGS = 2i32;
1169 pub const D3DKMT_MULTIPLANE_OVERLAY_YCbCr_FLAG_NOMINAL_RANGE: D3DKMT_MULTIPLANE_OVERLAY_YCbCr_FLAGS = 1i32;
1170 pub const D3DKMT_MULTIPLANE_OVERLAY_YCbCr_FLAG_xvYCC: D3DKMT_MULTIPLANE_OVERLAY_YCbCr_FLAGS = 4i32;
1171 pub const D3DKMT_MaxAllocationPriorityClass: D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS = 5i32;
1172 pub const D3DKMT_MmIoFlipCommandBuffer: D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE = 3i32;
1173 pub const D3DKMT_OFFER_PRIORITY_AUTO: D3DKMT_OFFER_PRIORITY = 4i32;
1174 pub const D3DKMT_OFFER_PRIORITY_HIGH: D3DKMT_OFFER_PRIORITY = 3i32;
1175 pub const D3DKMT_OFFER_PRIORITY_LOW: D3DKMT_OFFER_PRIORITY = 1i32;
1176 pub const D3DKMT_OFFER_PRIORITY_NORMAL: D3DKMT_OFFER_PRIORITY = 2i32;
1177 pub const D3DKMT_OUTDUPL_POINTER_SHAPE_TYPE_COLOR: D3DKMT_OUTDUPL_POINTER_SHAPE_TYPE = 2i32;
1178 pub const D3DKMT_OUTDUPL_POINTER_SHAPE_TYPE_MASKED_COLOR: D3DKMT_OUTDUPL_POINTER_SHAPE_TYPE = 4i32;
1179 pub const D3DKMT_OUTDUPL_POINTER_SHAPE_TYPE_MONOCHROME: D3DKMT_OUTDUPL_POINTER_SHAPE_TYPE = 1i32;
1180 pub const D3DKMT_OUTPUTDUPL_METADATATYPE_DIRTY_RECTS: D3DKMT_OUTPUTDUPL_METADATATYPE = 0i32;
1181 pub const D3DKMT_OUTPUTDUPL_METADATATYPE_MOVE_RECTS: D3DKMT_OUTPUTDUPL_METADATATYPE = 1i32;
1182 pub const D3DKMT_PM_FLIPMANAGER: D3DKMT_PRESENT_MODEL = 9i32;
1183 pub const D3DKMT_PM_REDIRECTED_BLT: D3DKMT_PRESENT_MODEL = 3i32;
1184 pub const D3DKMT_PM_REDIRECTED_COMPOSITION: D3DKMT_PRESENT_MODEL = 7i32;
1185 pub const D3DKMT_PM_REDIRECTED_FLIP: D3DKMT_PRESENT_MODEL = 2i32;
1186 pub const D3DKMT_PM_REDIRECTED_GDI: D3DKMT_PRESENT_MODEL = 1i32;
1187 pub const D3DKMT_PM_REDIRECTED_GDI_SYSMEM: D3DKMT_PRESENT_MODEL = 6i32;
1188 pub const D3DKMT_PM_REDIRECTED_VISTABLT: D3DKMT_PRESENT_MODEL = 4i32;
1189 pub const D3DKMT_PM_SCREENCAPTUREFENCE: D3DKMT_PRESENT_MODEL = 5i32;
1190 pub const D3DKMT_PM_SURFACECOMPLETE: D3DKMT_PRESENT_MODEL = 8i32;
1191 pub const D3DKMT_PM_UNINITIALIZED: D3DKMT_PRESENT_MODEL = 0i32;
1192 pub const D3DKMT_PNP_KEY_HARDWARE: D3DKMT_PNP_KEY_TYPE = 1i32;
1193 pub const D3DKMT_PNP_KEY_SOFTWARE: D3DKMT_PNP_KEY_TYPE = 2i32;
1194 pub const D3DKMT_PROCESS_VERIFIER_OPTION_VIDMM_FLAGS: D3DKMT_PROCESS_VERIFIER_OPTION_TYPE = 1000i32;
1195 pub const D3DKMT_PROCESS_VERIFIER_OPTION_VIDMM_RESTRICT_BUDGET: D3DKMT_PROCESS_VERIFIER_OPTION_TYPE = 1001i32;
1196 pub const D3DKMT_PROTECTED_SESSION_STATUS_INVALID: D3DKMT_PROTECTED_SESSION_STATUS = 1i32;
1197 pub const D3DKMT_PROTECTED_SESSION_STATUS_OK: D3DKMT_PROTECTED_SESSION_STATUS = 0i32;
1198 pub const D3DKMT_PreemptionAttempt: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = 0i32;
1199 pub const D3DKMT_PreemptionAttemptMissAlreadyPreempting: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = 13i32;
1200 pub const D3DKMT_PreemptionAttemptMissAlreadyRunning: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = 15i32;
1201 pub const D3DKMT_PreemptionAttemptMissFenceCommand: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = 7i32;
1202 pub const D3DKMT_PreemptionAttemptMissGlobalBlock: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = 14i32;
1203 pub const D3DKMT_PreemptionAttemptMissLessPriority: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = 10i32;
1204 pub const D3DKMT_PreemptionAttemptMissNextFence: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = 4i32;
1205 pub const D3DKMT_PreemptionAttemptMissNoCommand: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = 2i32;
1206 pub const D3DKMT_PreemptionAttemptMissNotEnabled: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = 3i32;
1207 pub const D3DKMT_PreemptionAttemptMissNotMakingProgress: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = 9i32;
1208 pub const D3DKMT_PreemptionAttemptMissPagingCommand: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = 5i32;
1209 pub const D3DKMT_PreemptionAttemptMissRemainingPreemptionQuantum: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = 12i32;
1210 pub const D3DKMT_PreemptionAttemptMissRemainingQuantum: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = 11i32;
1211 pub const D3DKMT_PreemptionAttemptMissRenderPendingFlip: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = 8i32;
1212 pub const D3DKMT_PreemptionAttemptMissSplittedCommand: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = 6i32;
1213 pub const D3DKMT_PreemptionAttemptStatisticsMax: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = 16i32;
1214 pub const D3DKMT_PreemptionAttemptSuccess: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = 1i32;
1215 pub const D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT_MAX: u32 = 16u32;
1216 pub const D3DKMT_QUERYSTATISTICS_ADAPTER: D3DKMT_QUERYSTATISTICS_TYPE = 0i32;
1217 pub const D3DKMT_QUERYSTATISTICS_ADAPTER2: D3DKMT_QUERYSTATISTICS_TYPE = 11i32;
1218 pub const D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS_MAX: u32 = 5u32;
1219 pub const D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE_MAX: u32 = 4u32;
1220 pub const D3DKMT_QUERYSTATISTICS_NODE: D3DKMT_QUERYSTATISTICS_TYPE = 5i32;
1221 pub const D3DKMT_QUERYSTATISTICS_NODE2: D3DKMT_QUERYSTATISTICS_TYPE = 18i32;
1222 pub const D3DKMT_QUERYSTATISTICS_PHYSICAL_ADAPTER: D3DKMT_QUERYSTATISTICS_TYPE = 10i32;
1223 pub const D3DKMT_QUERYSTATISTICS_PROCESS: D3DKMT_QUERYSTATISTICS_TYPE = 1i32;
1224 pub const D3DKMT_QUERYSTATISTICS_PROCESS_ADAPTER: D3DKMT_QUERYSTATISTICS_TYPE = 2i32;
1225 pub const D3DKMT_QUERYSTATISTICS_PROCESS_ADAPTER2: D3DKMT_QUERYSTATISTICS_TYPE = 13i32;
1226 pub const D3DKMT_QUERYSTATISTICS_PROCESS_INTERFERENCE_BUCKET_COUNT: u32 = 9u32;
1227 pub const D3DKMT_QUERYSTATISTICS_PROCESS_NODE: D3DKMT_QUERYSTATISTICS_TYPE = 6i32;
1228 pub const D3DKMT_QUERYSTATISTICS_PROCESS_NODE2: D3DKMT_QUERYSTATISTICS_TYPE = 19i32;
1229 pub const D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT: D3DKMT_QUERYSTATISTICS_TYPE = 4i32;
1230 pub const D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT2: D3DKMT_QUERYSTATISTICS_TYPE = 14i32;
1231 pub const D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_GROUP: D3DKMT_QUERYSTATISTICS_TYPE = 9i32;
1232 pub const D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_GROUP2: D3DKMT_QUERYSTATISTICS_TYPE = 15i32;
1233 pub const D3DKMT_QUERYSTATISTICS_PROCESS_VIDPNSOURCE: D3DKMT_QUERYSTATISTICS_TYPE = 8i32;
1234 pub const D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE_MAX: u32 = 8u32;
1235 pub const D3DKMT_QUERYSTATISTICS_SEGMENT: D3DKMT_QUERYSTATISTICS_TYPE = 3i32;
1236 pub const D3DKMT_QUERYSTATISTICS_SEGMENT2: D3DKMT_QUERYSTATISTICS_TYPE = 12i32;
1237 pub const D3DKMT_QUERYSTATISTICS_SEGMENT_GROUP_USAGE: D3DKMT_QUERYSTATISTICS_TYPE = 17i32;
1238 pub const D3DKMT_QUERYSTATISTICS_SEGMENT_PREFERENCE_MAX: u32 = 5u32;
1239 pub const D3DKMT_QUERYSTATISTICS_SEGMENT_TYPE_APERTURE: D3DKMT_QUERYSTATISTICS_SEGMENT_TYPE = 0i32;
1240 pub const D3DKMT_QUERYSTATISTICS_SEGMENT_TYPE_MEMORY: D3DKMT_QUERYSTATISTICS_SEGMENT_TYPE = 1i32;
1241 pub const D3DKMT_QUERYSTATISTICS_SEGMENT_TYPE_SYSMEM: D3DKMT_QUERYSTATISTICS_SEGMENT_TYPE = 2i32;
1242 pub const D3DKMT_QUERYSTATISTICS_SEGMENT_USAGE: D3DKMT_QUERYSTATISTICS_TYPE = 16i32;
1243 pub const D3DKMT_QUERYSTATISTICS_VIDPNSOURCE: D3DKMT_QUERYSTATISTICS_TYPE = 7i32;
1244 pub const D3DKMT_QueuePacketTypeMax: D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE = 8i32;
1245 pub const D3DKMT_RenderCommandBuffer: D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE = 0i32;
1246 pub const D3DKMT_SCHEDULINGPRIORITYCLASS_ABOVE_NORMAL: D3DKMT_SCHEDULINGPRIORITYCLASS = 3i32;
1247 pub const D3DKMT_SCHEDULINGPRIORITYCLASS_BELOW_NORMAL: D3DKMT_SCHEDULINGPRIORITYCLASS = 1i32;
1248 pub const D3DKMT_SCHEDULINGPRIORITYCLASS_HIGH: D3DKMT_SCHEDULINGPRIORITYCLASS = 4i32;
1249 pub const D3DKMT_SCHEDULINGPRIORITYCLASS_IDLE: D3DKMT_SCHEDULINGPRIORITYCLASS = 0i32;
1250 pub const D3DKMT_SCHEDULINGPRIORITYCLASS_NORMAL: D3DKMT_SCHEDULINGPRIORITYCLASS = 2i32;
1251 pub const D3DKMT_SCHEDULINGPRIORITYCLASS_REALTIME: D3DKMT_SCHEDULINGPRIORITYCLASS = 5i32;
1252 pub const D3DKMT_SETCONTEXTSCHEDULINGPRIORITY_ABSOLUTE: u32 = 1073741824u32;
1253 pub const D3DKMT_SET_QUEUEDLIMIT_PRESENT: D3DKMT_QUEUEDLIMIT_TYPE = 1i32;
1254 pub const D3DKMT_STANDARDALLOCATIONTYPE_EXISTINGHEAP: D3DKMT_STANDARDALLOCATIONTYPE = 1i32;
1255 pub const D3DKMT_STANDARDALLOCATIONTYPE_INTERNALBACKINGSTORE: D3DKMT_STANDARDALLOCATIONTYPE = 2i32;
1256 pub const D3DKMT_STANDARDALLOCATIONTYPE_MAX: D3DKMT_STANDARDALLOCATIONTYPE = 3i32;
1257 pub const D3DKMT_SUBKEY_DX9: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DX9");
1258 pub const D3DKMT_SUBKEY_OPENGL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OpenGL");
1259 pub const D3DKMT_SignalCommandBuffer: D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE = 5i32;
1260 pub const D3DKMT_SoftwareCommandBuffer: D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE = 7i32;
1261 pub const D3DKMT_SystemCommandBuffer: D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE = 2i32;
1262 pub const D3DKMT_SystemPagingBuffer: D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE = 2i32;
1263 pub const D3DKMT_SystemPreemptionBuffer: D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE = 3i32;
1264 pub const D3DKMT_TDRDBGCTRLTYPE_DISABLEBREAK: D3DKMT_TDRDBGCTRLTYPE = 1i32;
1265 pub const D3DKMT_TDRDBGCTRLTYPE_ENABLEBREAK: D3DKMT_TDRDBGCTRLTYPE = 2i32;
1266 pub const D3DKMT_TDRDBGCTRLTYPE_ENGINETDR: D3DKMT_TDRDBGCTRLTYPE = 8i32;
1267 pub const D3DKMT_TDRDBGCTRLTYPE_FORCEDODTDR: D3DKMT_TDRDBGCTRLTYPE = 6i32;
1268 pub const D3DKMT_TDRDBGCTRLTYPE_FORCEDODVSYNCTDR: D3DKMT_TDRDBGCTRLTYPE = 7i32;
1269 pub const D3DKMT_TDRDBGCTRLTYPE_FORCETDR: D3DKMT_TDRDBGCTRLTYPE = 0i32;
1270 pub const D3DKMT_TDRDBGCTRLTYPE_GPUTDR: D3DKMT_TDRDBGCTRLTYPE = 5i32;
1271 pub const D3DKMT_TDRDBGCTRLTYPE_UNCONDITIONAL: D3DKMT_TDRDBGCTRLTYPE = 3i32;
1272 pub const D3DKMT_TDRDBGCTRLTYPE_VSYNCTDR: D3DKMT_TDRDBGCTRLTYPE = 4i32;
1273 pub const D3DKMT_VAD_ESCAPE_GETNUMVADS: D3DKMT_VAD_ESCAPE_COMMAND = 0i32;
1274 pub const D3DKMT_VAD_ESCAPE_GETVAD: D3DKMT_VAD_ESCAPE_COMMAND = 1i32;
1275 pub const D3DKMT_VAD_ESCAPE_GETVADRANGE: D3DKMT_VAD_ESCAPE_COMMAND = 2i32;
1276 pub const D3DKMT_VAD_ESCAPE_GET_GPUMMU_CAPS: D3DKMT_VAD_ESCAPE_COMMAND = 4i32;
1277 pub const D3DKMT_VAD_ESCAPE_GET_PTE: D3DKMT_VAD_ESCAPE_COMMAND = 3i32;
1278 pub const D3DKMT_VAD_ESCAPE_GET_SEGMENT_CAPS: D3DKMT_VAD_ESCAPE_COMMAND = 5i32;
1279 pub const D3DKMT_VERIFIER_OPTION_QUERY: D3DKMT_VERIFIER_OPTION_MODE = 0i32;
1280 pub const D3DKMT_VERIFIER_OPTION_SET: D3DKMT_VERIFIER_OPTION_MODE = 1i32;
1281 pub const D3DKMT_VIDMMESCAPETYPE_APERTURE_CORRUPTION_CHECK: D3DKMT_VIDMMESCAPETYPE = 3i32;
1282 pub const D3DKMT_VIDMMESCAPETYPE_DEFRAG: D3DKMT_VIDMMESCAPETYPE = 15i32;
1283 pub const D3DKMT_VIDMMESCAPETYPE_DELAYEXECUTION: D3DKMT_VIDMMESCAPETYPE = 16i32;
1284 pub const D3DKMT_VIDMMESCAPETYPE_EVICT: D3DKMT_VIDMMESCAPETYPE = 5i32;
1285 pub const D3DKMT_VIDMMESCAPETYPE_EVICT_BY_CRITERIA: D3DKMT_VIDMMESCAPETYPE = 13i32;
1286 pub const D3DKMT_VIDMMESCAPETYPE_EVICT_BY_NT_HANDLE: D3DKMT_VIDMMESCAPETYPE = 6i32;
1287 pub const D3DKMT_VIDMMESCAPETYPE_GET_BUDGET: D3DKMT_VIDMMESCAPETYPE = 11i32;
1288 pub const D3DKMT_VIDMMESCAPETYPE_GET_VAD_INFO: D3DKMT_VIDMMESCAPETYPE = 7i32;
1289 pub const D3DKMT_VIDMMESCAPETYPE_RESUME_PROCESS: D3DKMT_VIDMMESCAPETYPE = 10i32;
1290 pub const D3DKMT_VIDMMESCAPETYPE_RUN_COHERENCY_TEST: D3DKMT_VIDMMESCAPETYPE = 1i32;
1291 pub const D3DKMT_VIDMMESCAPETYPE_RUN_UNMAP_TO_DUMMY_PAGE_TEST: D3DKMT_VIDMMESCAPETYPE = 2i32;
1292 pub const D3DKMT_VIDMMESCAPETYPE_SETFAULT: D3DKMT_VIDMMESCAPETYPE = 0i32;
1293 pub const D3DKMT_VIDMMESCAPETYPE_SET_BUDGET: D3DKMT_VIDMMESCAPETYPE = 8i32;
1294 pub const D3DKMT_VIDMMESCAPETYPE_SET_EVICTION_CONFIG: D3DKMT_VIDMMESCAPETYPE = 18i32;
1295 pub const D3DKMT_VIDMMESCAPETYPE_SET_TRIM_INTERVALS: D3DKMT_VIDMMESCAPETYPE = 12i32;
1296 pub const D3DKMT_VIDMMESCAPETYPE_SUSPEND_CPU_ACCESS_TEST: D3DKMT_VIDMMESCAPETYPE = 4i32;
1297 pub const D3DKMT_VIDMMESCAPETYPE_SUSPEND_PROCESS: D3DKMT_VIDMMESCAPETYPE = 9i32;
1298 pub const D3DKMT_VIDMMESCAPETYPE_VALIDATE_INTEGRITY: D3DKMT_VIDMMESCAPETYPE = 17i32;
1299 pub const D3DKMT_VIDMMESCAPETYPE_WAKE: D3DKMT_VIDMMESCAPETYPE = 14i32;
1300 pub const D3DKMT_VIDPNSOURCEOWNER_EMULATED: D3DKMT_VIDPNSOURCEOWNER_TYPE = 4i32;
1301 pub const D3DKMT_VIDPNSOURCEOWNER_EXCLUSIVE: D3DKMT_VIDPNSOURCEOWNER_TYPE = 2i32;
1302 pub const D3DKMT_VIDPNSOURCEOWNER_EXCLUSIVEGDI: D3DKMT_VIDPNSOURCEOWNER_TYPE = 3i32;
1303 pub const D3DKMT_VIDPNSOURCEOWNER_SHARED: D3DKMT_VIDPNSOURCEOWNER_TYPE = 1i32;
1304 pub const D3DKMT_VIDPNSOURCEOWNER_UNOWNED: D3DKMT_VIDPNSOURCEOWNER_TYPE = 0i32;
1305 pub const D3DKMT_VIDSCHESCAPETYPE_CONFIGURE_TDR_LIMIT: D3DKMT_VIDSCHESCAPETYPE = 5i32;
1306 pub const D3DKMT_VIDSCHESCAPETYPE_ENABLECONTEXTDELAY: D3DKMT_VIDSCHESCAPETYPE = 4i32;
1307 pub const D3DKMT_VIDSCHESCAPETYPE_PFN_CONTROL: D3DKMT_VIDSCHESCAPETYPE = 7i32;
1308 pub const D3DKMT_VIDSCHESCAPETYPE_PREEMPTIONCONTROL: D3DKMT_VIDSCHESCAPETYPE = 0i32;
1309 pub const D3DKMT_VIDSCHESCAPETYPE_SUSPENDRESUME: D3DKMT_VIDSCHESCAPETYPE = 3i32;
1310 pub const D3DKMT_VIDSCHESCAPETYPE_SUSPENDSCHEDULER: D3DKMT_VIDSCHESCAPETYPE = 1i32;
1311 pub const D3DKMT_VIDSCHESCAPETYPE_TDRCONTROL: D3DKMT_VIDSCHESCAPETYPE = 2i32;
1312 pub const D3DKMT_VIDSCHESCAPETYPE_VGPU_RESET: D3DKMT_VIDSCHESCAPETYPE = 6i32;
1313 pub const D3DKMT_VIDSCHESCAPETYPE_VIRTUAL_REFRESH_RATE: D3DKMT_VIDSCHESCAPETYPE = 8i32;
1314 pub const D3DKMT_WaitCommandBuffer: D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE = 4i32;
1315 pub const D3DNTCLEAR_COMPUTERECTS: i32 = 8i32;
1316 pub const D3DNTDP2OP_ADDDIRTYBOX: D3DNTHAL_DP2OPERATION = 67i32;
1317 pub const D3DNTDP2OP_ADDDIRTYRECT: D3DNTHAL_DP2OPERATION = 66i32;
1318 pub const D3DNTDP2OP_BLT: D3DNTHAL_DP2OPERATION = 81i32;
1319 pub const D3DNTDP2OP_BUFFERBLT: D3DNTHAL_DP2OPERATION = 64i32;
1320 pub const D3DNTDP2OP_CLEAR: D3DNTHAL_DP2OPERATION = 42i32;
1321 pub const D3DNTDP2OP_CLIPPEDTRIANGLEFAN: D3DNTHAL_DP2OPERATION = 58i32;
1322 pub const D3DNTDP2OP_COLORFILL: D3DNTHAL_DP2OPERATION = 82i32;
1323 pub const D3DNTDP2OP_COMPOSERECTS: D3DNTHAL_DP2OPERATION = 98i32;
1324 pub const D3DNTDP2OP_CREATELIGHT: D3DNTHAL_DP2OPERATION = 35i32;
1325 pub const D3DNTDP2OP_CREATEPIXELSHADER: D3DNTHAL_DP2OPERATION = 54i32;
1326 pub const D3DNTDP2OP_CREATEQUERY: D3DNTHAL_DP2OPERATION = 84i32;
1327 pub const D3DNTDP2OP_CREATEVERTEXSHADER: D3DNTHAL_DP2OPERATION = 45i32;
1328 pub const D3DNTDP2OP_CREATEVERTEXSHADERDECL: D3DNTHAL_DP2OPERATION = 71i32;
1329 pub const D3DNTDP2OP_CREATEVERTEXSHADERFUNC: D3DNTHAL_DP2OPERATION = 74i32;
1330 pub const D3DNTDP2OP_DELETEPIXELSHADER: D3DNTHAL_DP2OPERATION = 55i32;
1331 pub const D3DNTDP2OP_DELETEQUERY: D3DNTHAL_DP2OPERATION = 90i32;
1332 pub const D3DNTDP2OP_DELETEVERTEXSHADER: D3DNTHAL_DP2OPERATION = 46i32;
1333 pub const D3DNTDP2OP_DELETEVERTEXSHADERDECL: D3DNTHAL_DP2OPERATION = 72i32;
1334 pub const D3DNTDP2OP_DELETEVERTEXSHADERFUNC: D3DNTHAL_DP2OPERATION = 75i32;
1335 pub const D3DNTDP2OP_DRAWINDEXEDPRIMITIVE: D3DNTHAL_DP2OPERATION = 53i32;
1336 pub const D3DNTDP2OP_DRAWINDEXEDPRIMITIVE2: D3DNTHAL_DP2OPERATION = 60i32;
1337 pub const D3DNTDP2OP_DRAWPRIMITIVE: D3DNTHAL_DP2OPERATION = 52i32;
1338 pub const D3DNTDP2OP_DRAWPRIMITIVE2: D3DNTHAL_DP2OPERATION = 59i32;
1339 pub const D3DNTDP2OP_DRAWRECTPATCH: D3DNTHAL_DP2OPERATION = 61i32;
1340 pub const D3DNTDP2OP_DRAWTRIPATCH: D3DNTHAL_DP2OPERATION = 62i32;
1341 pub const D3DNTDP2OP_GENERATEMIPSUBLEVELS: D3DNTHAL_DP2OPERATION = 89i32;
1342 pub const D3DNTDP2OP_INDEXEDLINELIST: D3DNTHAL_DP2OPERATION = 2i32;
1343 pub const D3DNTDP2OP_INDEXEDLINELIST2: D3DNTHAL_DP2OPERATION = 27i32;
1344 pub const D3DNTDP2OP_INDEXEDLINESTRIP: D3DNTHAL_DP2OPERATION = 17i32;
1345 pub const D3DNTDP2OP_INDEXEDTRIANGLEFAN: D3DNTHAL_DP2OPERATION = 22i32;
1346 pub const D3DNTDP2OP_INDEXEDTRIANGLELIST: D3DNTHAL_DP2OPERATION = 3i32;
1347 pub const D3DNTDP2OP_INDEXEDTRIANGLELIST2: D3DNTHAL_DP2OPERATION = 26i32;
1348 pub const D3DNTDP2OP_INDEXEDTRIANGLESTRIP: D3DNTHAL_DP2OPERATION = 20i32;
1349 pub const D3DNTDP2OP_ISSUEQUERY: D3DNTHAL_DP2OPERATION = 91i32;
1350 pub const D3DNTDP2OP_LINELIST: D3DNTHAL_DP2OPERATION = 15i32;
1351 pub const D3DNTDP2OP_LINELIST_IMM: D3DNTHAL_DP2OPERATION = 24i32;
1352 pub const D3DNTDP2OP_LINESTRIP: D3DNTHAL_DP2OPERATION = 16i32;
1353 pub const D3DNTDP2OP_MULTIPLYTRANSFORM: D3DNTHAL_DP2OPERATION = 65i32;
1354 pub const D3DNTDP2OP_POINTS: D3DNTHAL_DP2OPERATION = 1i32;
1355 pub const D3DNTDP2OP_RENDERSTATE: D3DNTHAL_DP2OPERATION = 8i32;
1356 pub const D3DNTDP2OP_RESPONSECONTINUE: D3DNTHAL_DP2OPERATION = 87i32;
1357 pub const D3DNTDP2OP_RESPONSEQUERY: D3DNTHAL_DP2OPERATION = 88i32;
1358 pub const D3DNTDP2OP_SETCLIPPLANE: D3DNTHAL_DP2OPERATION = 44i32;
1359 pub const D3DNTDP2OP_SETCONVOLUTIONKERNELMONO: D3DNTHAL_DP2OPERATION = 97i32;
1360 pub const D3DNTDP2OP_SETDEPTHSTENCIL: D3DNTHAL_DP2OPERATION = 86i32;
1361 pub const D3DNTDP2OP_SETINDICES: D3DNTHAL_DP2OPERATION = 51i32;
1362 pub const D3DNTDP2OP_SETLIGHT: D3DNTHAL_DP2OPERATION = 34i32;
1363 pub const D3DNTDP2OP_SETMATERIAL: D3DNTHAL_DP2OPERATION = 33i32;
1364 pub const D3DNTDP2OP_SETPALETTE: D3DNTHAL_DP2OPERATION = 30i32;
1365 pub const D3DNTDP2OP_SETPIXELSHADER: D3DNTHAL_DP2OPERATION = 56i32;
1366 pub const D3DNTDP2OP_SETPIXELSHADERCONST: D3DNTHAL_DP2OPERATION = 57i32;
1367 pub const D3DNTDP2OP_SETPIXELSHADERCONSTB: D3DNTHAL_DP2OPERATION = 94i32;
1368 pub const D3DNTDP2OP_SETPIXELSHADERCONSTI: D3DNTHAL_DP2OPERATION = 93i32;
1369 pub const D3DNTDP2OP_SETPRIORITY: D3DNTHAL_DP2OPERATION = 40i32;
1370 pub const D3DNTDP2OP_SETRENDERTARGET: D3DNTHAL_DP2OPERATION = 41i32;
1371 pub const D3DNTDP2OP_SETRENDERTARGET2: D3DNTHAL_DP2OPERATION = 85i32;
1372 pub const D3DNTDP2OP_SETSCISSORRECT: D3DNTHAL_DP2OPERATION = 79i32;
1373 pub const D3DNTDP2OP_SETSTREAMSOURCE: D3DNTHAL_DP2OPERATION = 49i32;
1374 pub const D3DNTDP2OP_SETSTREAMSOURCE2: D3DNTHAL_DP2OPERATION = 80i32;
1375 pub const D3DNTDP2OP_SETSTREAMSOURCEFREQ: D3DNTHAL_DP2OPERATION = 95i32;
1376 pub const D3DNTDP2OP_SETSTREAMSOURCEUM: D3DNTHAL_DP2OPERATION = 50i32;
1377 pub const D3DNTDP2OP_SETTEXLOD: D3DNTHAL_DP2OPERATION = 43i32;
1378 pub const D3DNTDP2OP_SETTRANSFORM: D3DNTHAL_DP2OPERATION = 36i32;
1379 pub const D3DNTDP2OP_SETVERTEXSHADER: D3DNTHAL_DP2OPERATION = 47i32;
1380 pub const D3DNTDP2OP_SETVERTEXSHADERCONST: D3DNTHAL_DP2OPERATION = 48i32;
1381 pub const D3DNTDP2OP_SETVERTEXSHADERCONSTB: D3DNTHAL_DP2OPERATION = 83i32;
1382 pub const D3DNTDP2OP_SETVERTEXSHADERCONSTI: D3DNTHAL_DP2OPERATION = 77i32;
1383 pub const D3DNTDP2OP_SETVERTEXSHADERDECL: D3DNTHAL_DP2OPERATION = 73i32;
1384 pub const D3DNTDP2OP_SETVERTEXSHADERFUNC: D3DNTHAL_DP2OPERATION = 76i32;
1385 pub const D3DNTDP2OP_STATESET: D3DNTHAL_DP2OPERATION = 39i32;
1386 pub const D3DNTDP2OP_SURFACEBLT: D3DNTHAL_DP2OPERATION = 96i32;
1387 pub const D3DNTDP2OP_TEXBLT: D3DNTHAL_DP2OPERATION = 38i32;
1388 pub const D3DNTDP2OP_TEXTURESTAGESTATE: D3DNTHAL_DP2OPERATION = 25i32;
1389 pub const D3DNTDP2OP_TRIANGLEFAN: D3DNTHAL_DP2OPERATION = 21i32;
1390 pub const D3DNTDP2OP_TRIANGLEFAN_IMM: D3DNTHAL_DP2OPERATION = 23i32;
1391 pub const D3DNTDP2OP_TRIANGLELIST: D3DNTHAL_DP2OPERATION = 18i32;
1392 pub const D3DNTDP2OP_TRIANGLESTRIP: D3DNTHAL_DP2OPERATION = 19i32;
1393 pub const D3DNTDP2OP_UPDATEPALETTE: D3DNTHAL_DP2OPERATION = 31i32;
1394 pub const D3DNTDP2OP_VIEWPORTINFO: D3DNTHAL_DP2OPERATION = 28i32;
1395 pub const D3DNTDP2OP_VOLUMEBLT: D3DNTHAL_DP2OPERATION = 63i32;
1396 pub const D3DNTDP2OP_WINFO: D3DNTHAL_DP2OPERATION = 29i32;
1397 pub const D3DNTDP2OP_ZRANGE: D3DNTHAL_DP2OPERATION = 32i32;
1398 pub const D3DNTHAL2_CB32_SETRENDERTARGET: i32 = 1i32;
1399 pub const D3DNTHAL3_CB32_CLEAR2: i32 = 1i32;
1400 pub const D3DNTHAL3_CB32_DRAWPRIMITIVES2: i32 = 8i32;
1401 pub const D3DNTHAL3_CB32_RESERVED: i32 = 2i32;
1402 pub const D3DNTHAL3_CB32_VALIDATETEXTURESTAGESTATE: i32 = 4i32;
1403 pub const D3DNTHALDP2_EXECUTEBUFFER: i32 = 2i32;
1404 pub const D3DNTHALDP2_REQCOMMANDBUFSIZE: i32 = 32i32;
1405 pub const D3DNTHALDP2_REQVERTEXBUFSIZE: i32 = 16i32;
1406 pub const D3DNTHALDP2_SWAPCOMMANDBUFFER: i32 = 8i32;
1407 pub const D3DNTHALDP2_SWAPVERTEXBUFFER: i32 = 4i32;
1408 pub const D3DNTHALDP2_USERMEMVERTICES: i32 = 1i32;
1409 pub const D3DNTHALDP2_VIDMEMCOMMANDBUF: i32 = 128i32;
1410 pub const D3DNTHALDP2_VIDMEMVERTEXBUF: i32 = 64i32;
1411 pub const D3DNTHAL_COL_WEIGHTS: u32 = 2u32;
1412 pub const D3DNTHAL_CONTEXT_BAD: i64 = 512i64;
1413 pub const D3DNTHAL_NUMCLIPVERTICES: u32 = 20u32;
1414 pub const D3DNTHAL_OUTOFCONTEXTS: i64 = 513i64;
1415 pub const D3DNTHAL_ROW_WEIGHTS: u32 = 1u32;
1416 pub const D3DNTHAL_SCENE_CAPTURE_END: i32 = 1i32;
1417 pub const D3DNTHAL_SCENE_CAPTURE_START: i32 = 0i32;
1418 pub const D3DNTHAL_STATESETCREATE: u32 = 5u32;
1419 pub const D3DNTHAL_TSS_MAXSTAGES: u32 = 8u32;
1420 pub const D3DNTHAL_TSS_RENDERSTATEBASE: u32 = 256u32;
1421 pub const D3DNTHAL_TSS_STATESPERSTAGE: u32 = 64u32;
1422 pub const D3DPMISCCAPS_FOGINFVF: i32 = 8192i32;
1423 pub const D3DPMISCCAPS_LINEPATTERNREP: i32 = 4i32;
1424 pub const D3DPRASTERCAPS_PAT: i32 = 8i32;
1425 pub const D3DPRASTERCAPS_STRETCHBLTMULTISAMPLE: i32 = 8388608i32;
1426 pub const D3DPS_COLOROUT_MAX_V2_0: u32 = 4u32;
1427 pub const D3DPS_COLOROUT_MAX_V2_1: u32 = 4u32;
1428 pub const D3DPS_COLOROUT_MAX_V3_0: u32 = 4u32;
1429 pub const D3DPS_CONSTBOOLREG_MAX_SW_DX9: u32 = 2048u32;
1430 pub const D3DPS_CONSTBOOLREG_MAX_V2_1: u32 = 16u32;
1431 pub const D3DPS_CONSTBOOLREG_MAX_V3_0: u32 = 16u32;
1432 pub const D3DPS_CONSTINTREG_MAX_SW_DX9: u32 = 2048u32;
1433 pub const D3DPS_CONSTINTREG_MAX_V2_1: u32 = 16u32;
1434 pub const D3DPS_CONSTINTREG_MAX_V3_0: u32 = 16u32;
1435 pub const D3DPS_CONSTREG_MAX_DX8: u32 = 8u32;
1436 pub const D3DPS_CONSTREG_MAX_SW_DX9: u32 = 8192u32;
1437 pub const D3DPS_CONSTREG_MAX_V1_1: u32 = 8u32;
1438 pub const D3DPS_CONSTREG_MAX_V1_2: u32 = 8u32;
1439 pub const D3DPS_CONSTREG_MAX_V1_3: u32 = 8u32;
1440 pub const D3DPS_CONSTREG_MAX_V1_4: u32 = 8u32;
1441 pub const D3DPS_CONSTREG_MAX_V2_0: u32 = 32u32;
1442 pub const D3DPS_CONSTREG_MAX_V2_1: u32 = 32u32;
1443 pub const D3DPS_CONSTREG_MAX_V3_0: u32 = 224u32;
1444 pub const D3DPS_INPUTREG_MAX_DX8: u32 = 8u32;
1445 pub const D3DPS_INPUTREG_MAX_SW_DX9: u32 = 14u32;
1446 pub const D3DPS_INPUTREG_MAX_V1_1: u32 = 2u32;
1447 pub const D3DPS_INPUTREG_MAX_V1_2: u32 = 2u32;
1448 pub const D3DPS_INPUTREG_MAX_V1_3: u32 = 2u32;
1449 pub const D3DPS_INPUTREG_MAX_V1_4: u32 = 2u32;
1450 pub const D3DPS_INPUTREG_MAX_V2_0: u32 = 2u32;
1451 pub const D3DPS_INPUTREG_MAX_V2_1: u32 = 2u32;
1452 pub const D3DPS_INPUTREG_MAX_V3_0: u32 = 10u32;
1453 pub const D3DPS_MAXLOOPINITVALUE_V2_1: u32 = 255u32;
1454 pub const D3DPS_MAXLOOPINITVALUE_V3_0: u32 = 255u32;
1455 pub const D3DPS_MAXLOOPITERATIONCOUNT_V2_1: u32 = 255u32;
1456 pub const D3DPS_MAXLOOPITERATIONCOUNT_V3_0: u32 = 255u32;
1457 pub const D3DPS_MAXLOOPSTEP_V2_1: u32 = 128u32;
1458 pub const D3DPS_MAXLOOPSTEP_V3_0: u32 = 128u32;
1459 pub const D3DPS_PREDICATE_MAX_V2_1: u32 = 1u32;
1460 pub const D3DPS_PREDICATE_MAX_V3_0: u32 = 1u32;
1461 pub const D3DPS_TEMPREG_MAX_DX8: u32 = 8u32;
1462 pub const D3DPS_TEMPREG_MAX_V1_1: u32 = 2u32;
1463 pub const D3DPS_TEMPREG_MAX_V1_2: u32 = 2u32;
1464 pub const D3DPS_TEMPREG_MAX_V1_3: u32 = 2u32;
1465 pub const D3DPS_TEMPREG_MAX_V1_4: u32 = 6u32;
1466 pub const D3DPS_TEMPREG_MAX_V2_0: u32 = 12u32;
1467 pub const D3DPS_TEMPREG_MAX_V2_1: u32 = 32u32;
1468 pub const D3DPS_TEMPREG_MAX_V3_0: u32 = 32u32;
1469 pub const D3DPS_TEXTUREREG_MAX_DX8: u32 = 8u32;
1470 pub const D3DPS_TEXTUREREG_MAX_V1_1: u32 = 4u32;
1471 pub const D3DPS_TEXTUREREG_MAX_V1_2: u32 = 4u32;
1472 pub const D3DPS_TEXTUREREG_MAX_V1_3: u32 = 4u32;
1473 pub const D3DPS_TEXTUREREG_MAX_V1_4: u32 = 6u32;
1474 pub const D3DPS_TEXTUREREG_MAX_V2_0: u32 = 8u32;
1475 pub const D3DPS_TEXTUREREG_MAX_V2_1: u32 = 8u32;
1476 pub const D3DPS_TEXTUREREG_MAX_V3_0: u32 = 0u32;
1477 pub const D3DRENDERSTATE_EVICTMANAGEDTEXTURES: u32 = 61u32;
1478 pub const D3DRENDERSTATE_SCENECAPTURE: u32 = 62u32;
1479 pub const D3DRS_DELETERTPATCH: u32 = 169u32;
1480 pub const D3DRS_MAXPIXELSHADERINST: u32 = 197u32;
1481 pub const D3DRS_MAXVERTEXSHADERINST: u32 = 196u32;
1482 pub const D3DTEXF_FLATCUBIC: u32 = 4u32;
1483 pub const D3DTEXF_GAUSSIANCUBIC: u32 = 5u32;
1484 pub const D3DTRANSFORMSTATE_WORLD1_DX7: u32 = 4u32;
1485 pub const D3DTRANSFORMSTATE_WORLD2_DX7: u32 = 5u32;
1486 pub const D3DTRANSFORMSTATE_WORLD3_DX7: u32 = 6u32;
1487 pub const D3DTRANSFORMSTATE_WORLD_DX7: u32 = 1u32;
1488 pub const D3DTSS_TEXTUREMAP: u32 = 0u32;
1489 pub const D3DVSDE_BLENDINDICES: u32 = 2u32;
1490 pub const D3DVSDE_BLENDWEIGHT: u32 = 1u32;
1491 pub const D3DVSDE_DIFFUSE: u32 = 5u32;
1492 pub const D3DVSDE_NORMAL: u32 = 3u32;
1493 pub const D3DVSDE_NORMAL2: u32 = 16u32;
1494 pub const D3DVSDE_POSITION: u32 = 0u32;
1495 pub const D3DVSDE_POSITION2: u32 = 15u32;
1496 pub const D3DVSDE_PSIZE: u32 = 4u32;
1497 pub const D3DVSDE_SPECULAR: u32 = 6u32;
1498 pub const D3DVSDE_TEXCOORD0: u32 = 7u32;
1499 pub const D3DVSDE_TEXCOORD1: u32 = 8u32;
1500 pub const D3DVSDE_TEXCOORD2: u32 = 9u32;
1501 pub const D3DVSDE_TEXCOORD3: u32 = 10u32;
1502 pub const D3DVSDE_TEXCOORD4: u32 = 11u32;
1503 pub const D3DVSDE_TEXCOORD5: u32 = 12u32;
1504 pub const D3DVSDE_TEXCOORD6: u32 = 13u32;
1505 pub const D3DVSDE_TEXCOORD7: u32 = 14u32;
1506 pub const D3DVSDT_D3DCOLOR: u32 = 4u32;
1507 pub const D3DVSDT_FLOAT1: u32 = 0u32;
1508 pub const D3DVSDT_FLOAT2: u32 = 1u32;
1509 pub const D3DVSDT_FLOAT3: u32 = 2u32;
1510 pub const D3DVSDT_FLOAT4: u32 = 3u32;
1511 pub const D3DVSDT_SHORT2: u32 = 6u32;
1512 pub const D3DVSDT_SHORT4: u32 = 7u32;
1513 pub const D3DVSDT_UBYTE4: u32 = 5u32;
1514 pub const D3DVSD_CONSTADDRESSSHIFT: u32 = 0u32;
1515 pub const D3DVSD_CONSTCOUNTSHIFT: u32 = 25u32;
1516 pub const D3DVSD_CONSTRSSHIFT: u32 = 16u32;
1517 pub const D3DVSD_DATALOADTYPESHIFT: u32 = 28u32;
1518 pub const D3DVSD_DATATYPESHIFT: u32 = 16u32;
1519 pub const D3DVSD_EXTCOUNTSHIFT: u32 = 24u32;
1520 pub const D3DVSD_EXTINFOSHIFT: u32 = 0u32;
1521 pub const D3DVSD_SKIPCOUNTSHIFT: u32 = 16u32;
1522 pub const D3DVSD_STREAMNUMBERSHIFT: u32 = 0u32;
1523 pub const D3DVSD_STREAMTESSSHIFT: u32 = 28u32;
1524 pub const D3DVSD_TOKENTYPESHIFT: u32 = 29u32;
1525 pub const D3DVSD_TOKEN_CONSTMEM: D3DVSD_TOKENTYPE = 4i32;
1526 pub const D3DVSD_TOKEN_END: D3DVSD_TOKENTYPE = 7i32;
1527 pub const D3DVSD_TOKEN_EXT: D3DVSD_TOKENTYPE = 5i32;
1528 pub const D3DVSD_TOKEN_NOP: D3DVSD_TOKENTYPE = 0i32;
1529 pub const D3DVSD_TOKEN_STREAM: D3DVSD_TOKENTYPE = 1i32;
1530 pub const D3DVSD_TOKEN_STREAMDATA: D3DVSD_TOKENTYPE = 2i32;
1531 pub const D3DVSD_TOKEN_TESSELLATOR: D3DVSD_TOKENTYPE = 3i32;
1532 pub const D3DVSD_VERTEXREGINSHIFT: u32 = 20u32;
1533 pub const D3DVSD_VERTEXREGSHIFT: u32 = 0u32;
1534 pub const D3DVS_ADDRREG_MAX_V1_1: u32 = 1u32;
1535 pub const D3DVS_ADDRREG_MAX_V2_0: u32 = 1u32;
1536 pub const D3DVS_ADDRREG_MAX_V2_1: u32 = 1u32;
1537 pub const D3DVS_ADDRREG_MAX_V3_0: u32 = 1u32;
1538 pub const D3DVS_ATTROUTREG_MAX_V1_1: u32 = 2u32;
1539 pub const D3DVS_ATTROUTREG_MAX_V2_0: u32 = 2u32;
1540 pub const D3DVS_ATTROUTREG_MAX_V2_1: u32 = 2u32;
1541 pub const D3DVS_CONSTBOOLREG_MAX_SW_DX9: u32 = 2048u32;
1542 pub const D3DVS_CONSTBOOLREG_MAX_V2_0: u32 = 16u32;
1543 pub const D3DVS_CONSTBOOLREG_MAX_V2_1: u32 = 16u32;
1544 pub const D3DVS_CONSTBOOLREG_MAX_V3_0: u32 = 16u32;
1545 pub const D3DVS_CONSTINTREG_MAX_SW_DX9: u32 = 2048u32;
1546 pub const D3DVS_CONSTINTREG_MAX_V2_0: u32 = 16u32;
1547 pub const D3DVS_CONSTINTREG_MAX_V2_1: u32 = 16u32;
1548 pub const D3DVS_CONSTINTREG_MAX_V3_0: u32 = 16u32;
1549 pub const D3DVS_CONSTREG_MAX_V1_1: u32 = 96u32;
1550 pub const D3DVS_CONSTREG_MAX_V2_0: u32 = 8192u32;
1551 pub const D3DVS_CONSTREG_MAX_V2_1: u32 = 8192u32;
1552 pub const D3DVS_CONSTREG_MAX_V3_0: u32 = 8192u32;
1553 pub const D3DVS_INPUTREG_MAX_V1_1: u32 = 16u32;
1554 pub const D3DVS_INPUTREG_MAX_V2_0: u32 = 16u32;
1555 pub const D3DVS_INPUTREG_MAX_V2_1: u32 = 16u32;
1556 pub const D3DVS_INPUTREG_MAX_V3_0: u32 = 16u32;
1557 pub const D3DVS_LABEL_MAX_V3_0: u32 = 2048u32;
1558 pub const D3DVS_MAXINSTRUCTIONCOUNT_V1_1: u32 = 128u32;
1559 pub const D3DVS_MAXLOOPINITVALUE_V2_0: u32 = 255u32;
1560 pub const D3DVS_MAXLOOPINITVALUE_V2_1: u32 = 255u32;
1561 pub const D3DVS_MAXLOOPINITVALUE_V3_0: u32 = 255u32;
1562 pub const D3DVS_MAXLOOPITERATIONCOUNT_V2_0: u32 = 255u32;
1563 pub const D3DVS_MAXLOOPITERATIONCOUNT_V2_1: u32 = 255u32;
1564 pub const D3DVS_MAXLOOPITERATIONCOUNT_V3_0: u32 = 255u32;
1565 pub const D3DVS_MAXLOOPSTEP_V2_0: u32 = 128u32;
1566 pub const D3DVS_MAXLOOPSTEP_V2_1: u32 = 128u32;
1567 pub const D3DVS_MAXLOOPSTEP_V3_0: u32 = 128u32;
1568 pub const D3DVS_OUTPUTREG_MAX_SW_DX9: u32 = 16u32;
1569 pub const D3DVS_OUTPUTREG_MAX_V3_0: u32 = 12u32;
1570 pub const D3DVS_PREDICATE_MAX_V2_1: u32 = 1u32;
1571 pub const D3DVS_PREDICATE_MAX_V3_0: u32 = 1u32;
1572 pub const D3DVS_TCRDOUTREG_MAX_V1_1: u32 = 8u32;
1573 pub const D3DVS_TCRDOUTREG_MAX_V2_0: u32 = 8u32;
1574 pub const D3DVS_TCRDOUTREG_MAX_V2_1: u32 = 8u32;
1575 pub const D3DVS_TEMPREG_MAX_V1_1: u32 = 12u32;
1576 pub const D3DVS_TEMPREG_MAX_V2_0: u32 = 12u32;
1577 pub const D3DVS_TEMPREG_MAX_V2_1: u32 = 32u32;
1578 pub const D3DVS_TEMPREG_MAX_V3_0: u32 = 32u32;
1579 pub const D3DVTXPCAPS_NO_VSDT_UBYTE4: i32 = 128i32;
1580 pub const D3D_UMD_INTERFACE_VERSION: u32 = 65536u32;
1581 pub const D3D_UMD_INTERFACE_VERSION_VISTA: u32 = 12u32;
1582 pub const D3D_UMD_INTERFACE_VERSION_WDDM1_3: u32 = 16386u32;
1583 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_0: u32 = 20482u32;
1584 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_0_M1: u32 = 20480u32;
1585 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_0_M1_3: u32 = 20481u32;
1586 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_0_M2_2: u32 = 20482u32;
1587 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_1: u32 = 24579u32;
1588 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_1_1: u32 = 24576u32;
1589 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_1_2: u32 = 24577u32;
1590 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_1_3: u32 = 24578u32;
1591 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_1_4: u32 = 24579u32;
1592 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_2: u32 = 28673u32;
1593 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_2_1: u32 = 28672u32;
1594 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_2_2: u32 = 28673u32;
1595 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_3: u32 = 32769u32;
1596 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_3_1: u32 = 32768u32;
1597 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_3_2: u32 = 32769u32;
1598 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_4: u32 = 36865u32;
1599 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_4_1: u32 = 36864u32;
1600 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_4_2: u32 = 36865u32;
1601 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_5: u32 = 40962u32;
1602 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_5_1: u32 = 40960u32;
1603 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_5_2: u32 = 40961u32;
1604 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_5_3: u32 = 40962u32;
1605 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_6: u32 = 45059u32;
1606 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_6_1: u32 = 45056u32;
1607 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_6_2: u32 = 45057u32;
1608 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_6_3: u32 = 45058u32;
1609 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_6_4: u32 = 45059u32;
1610 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_7: u32 = 49153u32;
1611 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_7_1: u32 = 49152u32;
1612 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_7_2: u32 = 49153u32;
1613 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_8: u32 = 53248u32;
1614 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_8_1: u32 = 53248u32;
1615 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_9: u32 = 57344u32;
1616 pub const D3D_UMD_INTERFACE_VERSION_WDDM2_9_1: u32 = 57344u32;
1617 pub const D3D_UMD_INTERFACE_VERSION_WDDM3_0: u32 = 61440u32;
1618 pub const D3D_UMD_INTERFACE_VERSION_WDDM3_0_1: u32 = 61440u32;
1619 pub const D3D_UMD_INTERFACE_VERSION_WDDM3_1: u32 = 65536u32;
1620 pub const D3D_UMD_INTERFACE_VERSION_WDDM3_1_1: u32 = 65536u32;
1621 pub const D3D_UMD_INTERFACE_VERSION_WIN7: u32 = 8195u32;
1622 pub const D3D_UMD_INTERFACE_VERSION_WIN8: u32 = 12292u32;
1623 pub const D3D_UMD_INTERFACE_VERSION_WIN8_CP: u32 = 12290u32;
1624 pub const D3D_UMD_INTERFACE_VERSION_WIN8_M3: u32 = 12289u32;
1625 pub const D3D_UMD_INTERFACE_VERSION_WIN8_RC: u32 = 12291u32;
1626 pub const DDBLT_EXTENDED_PRESENTATION_STRETCHFACTOR: i32 = 16i32;
1627 pub const DIDDT1_AspectRatio_15x9: DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO = 3i32;
1628 pub const DIDDT1_AspectRatio_16x10: DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO = 5i32;
1629 pub const DIDDT1_AspectRatio_16x9: DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO = 4i32;
1630 pub const DIDDT1_AspectRatio_1x1: DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO = 0i32;
1631 pub const DIDDT1_AspectRatio_4x3: DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO = 2i32;
1632 pub const DIDDT1_AspectRatio_5x4: DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO = 1i32;
1633 pub const DIDDT1_Dependent: DISPLAYID_DETAILED_TIMING_TYPE_I_STEREO_MODE = 2i32;
1634 pub const DIDDT1_Interlaced: DISPLAYID_DETAILED_TIMING_TYPE_I_SCANNING_MODE = 1i32;
1635 pub const DIDDT1_Monoscopic: DISPLAYID_DETAILED_TIMING_TYPE_I_STEREO_MODE = 0i32;
1636 pub const DIDDT1_Progressive: DISPLAYID_DETAILED_TIMING_TYPE_I_SCANNING_MODE = 0i32;
1637 pub const DIDDT1_Stereo: DISPLAYID_DETAILED_TIMING_TYPE_I_STEREO_MODE = 1i32;
1638 pub const DIDDT1_Sync_Negative: DISPLAYID_DETAILED_TIMING_TYPE_I_SYNC_POLARITY = 1i32;
1639 pub const DIDDT1_Sync_Positive: DISPLAYID_DETAILED_TIMING_TYPE_I_SYNC_POLARITY = 0i32;
1640 pub const DISPLAYID_DETAILED_TIMING_TYPE_I_SIZE: u32 = 20u32;
1641 pub const DP2BLT_LINEAR: i32 = 2i32;
1642 pub const DP2BLT_POINT: i32 = 1i32;
1643 pub const DX9_DDI_VERSION: u32 = 4u32;
1644 pub const DXGKDDI_INTERFACE_VERSION: u32 = 65540u32;
1645 pub const DXGKDDI_INTERFACE_VERSION_VISTA: u32 = 4178u32;
1646 pub const DXGKDDI_INTERFACE_VERSION_VISTA_SP1: u32 = 4179u32;
1647 pub const DXGKDDI_INTERFACE_VERSION_WDDM1_3: u32 = 16386u32;
1648 pub const DXGKDDI_INTERFACE_VERSION_WDDM1_3_PATH_INDEPENDENT_ROTATION: u32 = 16387u32;
1649 pub const DXGKDDI_INTERFACE_VERSION_WDDM2_0: u32 = 20515u32;
1650 pub const DXGKDDI_INTERFACE_VERSION_WDDM2_1: u32 = 24579u32;
1651 pub const DXGKDDI_INTERFACE_VERSION_WDDM2_1_5: u32 = 24592u32;
1652 pub const DXGKDDI_INTERFACE_VERSION_WDDM2_1_6: u32 = 24593u32;
1653 pub const DXGKDDI_INTERFACE_VERSION_WDDM2_2: u32 = 28682u32;
1654 pub const DXGKDDI_INTERFACE_VERSION_WDDM2_3: u32 = 32769u32;
1655 pub const DXGKDDI_INTERFACE_VERSION_WDDM2_4: u32 = 36870u32;
1656 pub const DXGKDDI_INTERFACE_VERSION_WDDM2_5: u32 = 40971u32;
1657 pub const DXGKDDI_INTERFACE_VERSION_WDDM2_6: u32 = 45060u32;
1658 pub const DXGKDDI_INTERFACE_VERSION_WDDM2_7: u32 = 49156u32;
1659 pub const DXGKDDI_INTERFACE_VERSION_WDDM2_8: u32 = 53249u32;
1660 pub const DXGKDDI_INTERFACE_VERSION_WDDM2_9: u32 = 57347u32;
1661 pub const DXGKDDI_INTERFACE_VERSION_WDDM3_0: u32 = 61443u32;
1662 pub const DXGKDDI_INTERFACE_VERSION_WDDM3_1: u32 = 65540u32;
1663 pub const DXGKDDI_INTERFACE_VERSION_WIN7: u32 = 8197u32;
1664 pub const DXGKDDI_INTERFACE_VERSION_WIN8: u32 = 12302u32;
1665 pub const DXGKMDT_COPP_CERTIFICATE: DXGKMDT_CERTIFICATE_TYPE = 1i32;
1666 pub const DXGKMDT_I2C_DEVICE_TRANSMITS_DATA_LENGTH: u32 = 1u32;
1667 pub const DXGKMDT_I2C_NO_FLAGS: u32 = 0u32;
1668 pub const DXGKMDT_INDIRECT_DISPLAY_CERTIFICATE: DXGKMDT_CERTIFICATE_TYPE = 3i32;
1669 pub const DXGKMDT_OPM_128_BIT_RANDOM_NUMBER_SIZE: u32 = 16u32;
1670 pub const DXGKMDT_OPM_ACP_LEVEL_ONE: DXGKMDT_OPM_ACP_PROTECTION_LEVEL = 1i32;
1671 pub const DXGKMDT_OPM_ACP_LEVEL_THREE: DXGKMDT_OPM_ACP_PROTECTION_LEVEL = 3i32;
1672 pub const DXGKMDT_OPM_ACP_LEVEL_TWO: DXGKMDT_OPM_ACP_PROTECTION_LEVEL = 2i32;
1673 pub const DXGKMDT_OPM_ACP_OFF: DXGKMDT_OPM_ACP_PROTECTION_LEVEL = 0i32;
1674 pub const DXGKMDT_OPM_ASPECT_RATIO_EN300294_BOX_14_BY_9_CENTER: DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294 = 1i32;
1675 pub const DXGKMDT_OPM_ASPECT_RATIO_EN300294_BOX_14_BY_9_TOP: DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294 = 2i32;
1676 pub const DXGKMDT_OPM_ASPECT_RATIO_EN300294_BOX_16_BY_9_CENTER: DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294 = 3i32;
1677 pub const DXGKMDT_OPM_ASPECT_RATIO_EN300294_BOX_16_BY_9_TOP: DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294 = 4i32;
1678 pub const DXGKMDT_OPM_ASPECT_RATIO_EN300294_BOX_GT_16_BY_9_CENTER: DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294 = 5i32;
1679 pub const DXGKMDT_OPM_ASPECT_RATIO_EN300294_FULL_FORMAT_16_BY_9_ANAMORPHIC: DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294 = 7i32;
1680 pub const DXGKMDT_OPM_ASPECT_RATIO_EN300294_FULL_FORMAT_4_BY_3: DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294 = 0i32;
1681 pub const DXGKMDT_OPM_ASPECT_RATIO_EN300294_FULL_FORMAT_4_BY_3_PROTECTED_CENTER: DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294 = 6i32;
1682 pub const DXGKMDT_OPM_BUS_IMPLEMENTATION_MODIFIER_DAUGHTER_BOARD_CONNECTOR: DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION = 262144i32;
1683 pub const DXGKMDT_OPM_BUS_IMPLEMENTATION_MODIFIER_DAUGHTER_BOARD_CONNECTOR_INSIDE_OF_NUAE: DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION = 327680i32;
1684 pub const DXGKMDT_OPM_BUS_IMPLEMENTATION_MODIFIER_INSIDE_OF_CHIPSET: DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION = 65536i32;
1685 pub const DXGKMDT_OPM_BUS_IMPLEMENTATION_MODIFIER_NON_STANDARD: DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION = -2147483648i32;
1686 pub const DXGKMDT_OPM_BUS_IMPLEMENTATION_MODIFIER_TRACKS_ON_MOTHER_BOARD_TO_CHIP: DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION = 131072i32;
1687 pub const DXGKMDT_OPM_BUS_IMPLEMENTATION_MODIFIER_TRACKS_ON_MOTHER_BOARD_TO_SOCKET: DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION = 196608i32;
1688 pub const DXGKMDT_OPM_BUS_TYPE_AGP: DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION = 4i32;
1689 pub const DXGKMDT_OPM_BUS_TYPE_OTHER: DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION = 0i32;
1690 pub const DXGKMDT_OPM_BUS_TYPE_PCI: DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION = 1i32;
1691 pub const DXGKMDT_OPM_BUS_TYPE_PCIEXPRESS: DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION = 3i32;
1692 pub const DXGKMDT_OPM_BUS_TYPE_PCIX: DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION = 2i32;
1693 pub const DXGKMDT_OPM_CERTIFICATE: DXGKMDT_CERTIFICATE_TYPE = 0i32;
1694 pub const DXGKMDT_OPM_CGMSA_COPY_FREELY: DXGKMDT_OPM_CGMSA = 1i32;
1695 pub const DXGKMDT_OPM_CGMSA_COPY_NEVER: DXGKMDT_OPM_CGMSA = 4i32;
1696 pub const DXGKMDT_OPM_CGMSA_COPY_NO_MORE: DXGKMDT_OPM_CGMSA = 2i32;
1697 pub const DXGKMDT_OPM_CGMSA_COPY_ONE_GENERATION: DXGKMDT_OPM_CGMSA = 3i32;
1698 pub const DXGKMDT_OPM_CGMSA_OFF: DXGKMDT_OPM_CGMSA = 0i32;
1699 pub const DXGKMDT_OPM_CONFIGURE_SETTING_DATA_SIZE: u32 = 4056u32;
1700 pub const DXGKMDT_OPM_CONNECTOR_TYPE_COMPONENT_VIDEO: DXGKMDT_OPM_CONNECTOR_TYPE = 3i32;
1701 pub const DXGKMDT_OPM_CONNECTOR_TYPE_COMPOSITE_VIDEO: DXGKMDT_OPM_CONNECTOR_TYPE = 2i32;
1702 pub const DXGKMDT_OPM_CONNECTOR_TYPE_DISPLAYPORT_EMBEDDED: DXGKMDT_OPM_CONNECTOR_TYPE = 11i32;
1703 pub const DXGKMDT_OPM_CONNECTOR_TYPE_DISPLAYPORT_EXTERNAL: DXGKMDT_OPM_CONNECTOR_TYPE = 10i32;
1704 pub const DXGKMDT_OPM_CONNECTOR_TYPE_DVI: DXGKMDT_OPM_CONNECTOR_TYPE = 4i32;
1705 pub const DXGKMDT_OPM_CONNECTOR_TYPE_D_JPN: DXGKMDT_OPM_CONNECTOR_TYPE = 8i32;
1706 pub const DXGKMDT_OPM_CONNECTOR_TYPE_HD15: DXGKMDT_OPM_CONNECTOR_TYPE = 0i32;
1707 pub const DXGKMDT_OPM_CONNECTOR_TYPE_HDMI: DXGKMDT_OPM_CONNECTOR_TYPE = 5i32;
1708 pub const DXGKMDT_OPM_CONNECTOR_TYPE_LVDS: DXGKMDT_OPM_CONNECTOR_TYPE = 6i32;
1709 pub const DXGKMDT_OPM_CONNECTOR_TYPE_MIRACAST: DXGKMDT_OPM_CONNECTOR_TYPE = 15i32;
1710 pub const DXGKMDT_OPM_CONNECTOR_TYPE_OTHER: DXGKMDT_OPM_CONNECTOR_TYPE = -1i32;
1711 pub const DXGKMDT_OPM_CONNECTOR_TYPE_RESERVED: DXGKMDT_OPM_CONNECTOR_TYPE = 14i32;
1712 pub const DXGKMDT_OPM_CONNECTOR_TYPE_SDI: DXGKMDT_OPM_CONNECTOR_TYPE = 9i32;
1713 pub const DXGKMDT_OPM_CONNECTOR_TYPE_SVIDEO: DXGKMDT_OPM_CONNECTOR_TYPE = 1i32;
1714 pub const DXGKMDT_OPM_CONNECTOR_TYPE_TRANSPORT_AGNOSTIC_DIGITAL_MODE_A: DXGKMDT_OPM_CONNECTOR_TYPE = 16i32;
1715 pub const DXGKMDT_OPM_CONNECTOR_TYPE_TRANSPORT_AGNOSTIC_DIGITAL_MODE_B: DXGKMDT_OPM_CONNECTOR_TYPE = 17i32;
1716 pub const DXGKMDT_OPM_CONNECTOR_TYPE_UDI_EMBEDDED: DXGKMDT_OPM_CONNECTOR_TYPE = 13i32;
1717 pub const DXGKMDT_OPM_CONNECTOR_TYPE_UDI_EXTERNAL: DXGKMDT_OPM_CONNECTOR_TYPE = 12i32;
1718 pub const DXGKMDT_OPM_COPP_COMPATIBLE_BUS_TYPE_INTEGRATED: DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION = -2147483648i32;
1719 pub const DXGKMDT_OPM_COPP_COMPATIBLE_CONNECTOR_TYPE_INTERNAL: DXGKMDT_OPM_CONNECTOR_TYPE = -2147483648i32;
1720 pub const DXGKMDT_OPM_DPCP_OFF: DXGKMDT_OPM_DPCP_PROTECTION_LEVEL = 0i32;
1721 pub const DXGKMDT_OPM_DPCP_ON: DXGKMDT_OPM_DPCP_PROTECTION_LEVEL = 1i32;
1722 pub const DXGKMDT_OPM_DVI_CHARACTERISTIC_1_0: DXGKDT_OPM_DVI_CHARACTERISTICS = 1i32;
1723 pub const DXGKMDT_OPM_DVI_CHARACTERISTIC_1_1_OR_ABOVE: DXGKDT_OPM_DVI_CHARACTERISTICS = 2i32;
1724 pub const DXGKMDT_OPM_ENCRYPTED_PARAMETERS_SIZE: u32 = 256u32;
1725 pub const DXGKMDT_OPM_GET_ACP_AND_CGMSA_SIGNALING: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6629a591_3b79_4cf3_924a_11e8e7811671);
1726 pub const DXGKMDT_OPM_GET_ACTUAL_OUTPUT_FORMAT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd7bf1ba3_ad13_4f8e_af98_0dcb3ca204cc);
1727 pub const DXGKMDT_OPM_GET_ACTUAL_PROTECTION_LEVEL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1957210a_7766_452a_b99a_d27aed54f03a);
1728 pub const DXGKMDT_OPM_GET_ADAPTER_BUS_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc6f4d673_6174_4184_8e35_f6db5200bcba);
1729 pub const DXGKMDT_OPM_GET_CODEC_INFO: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4f374491_8f5f_4445_9dba_95588f6b58b4);
1730 pub const DXGKMDT_OPM_GET_CONNECTED_HDCP_DEVICE_INFORMATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0db59d74_a992_492e_a0bd_c23fda564e00);
1731 pub const DXGKMDT_OPM_GET_CONNECTOR_TYPE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x81d0bfd5_6afe_48c2_99c0_95a08f97c5da);
1732 pub const DXGKMDT_OPM_GET_CURRENT_HDCP_SRM_VERSION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x99c5ceff_5f1d_4879_81c1_c52443c9482b);
1733 pub const DXGKMDT_OPM_GET_DVI_CHARACTERISTICS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa470b3bb_5dd7_4172_839c_3d3776e0ebf5);
1734 pub const DXGKMDT_OPM_GET_INFORMATION_PARAMETERS_SIZE: u32 = 4056u32;
1735 pub const DXGKMDT_OPM_GET_OUTPUT_HARDWARE_PROTECTION_SUPPORT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x3b129589_2af8_4ef0_96a2_704a845a218e);
1736 pub const DXGKMDT_OPM_GET_OUTPUT_ID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x72cb6df3_244f_40ce_b09e_20506af6302f);
1737 pub const DXGKMDT_OPM_GET_SUPPORTED_PROTECTION_TYPES: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x38f2a801_9a6c_48bb_9107_b6696e6f1797);
1738 pub const DXGKMDT_OPM_GET_VIRTUAL_PROTECTION_LEVEL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb2075857_3eda_4d5d_88db_748f8c1a0549);
1739 pub const DXGKMDT_OPM_HDCP_FLAG_NONE: DXGKMDT_OPM_HDCP_FLAG = 0i32;
1740 pub const DXGKMDT_OPM_HDCP_FLAG_REPEATER: DXGKMDT_OPM_HDCP_FLAG = 1i32;
1741 pub const DXGKMDT_OPM_HDCP_KEY_SELECTION_VECTOR_SIZE: u32 = 5u32;
1742 pub const DXGKMDT_OPM_HDCP_OFF: DXGKMDT_OPM_HDCP_PROTECTION_LEVEL = 0i32;
1743 pub const DXGKMDT_OPM_HDCP_ON: DXGKMDT_OPM_HDCP_PROTECTION_LEVEL = 1i32;
1744 pub const DXGKMDT_OPM_INTERLEAVE_FORMAT_INTERLEAVED_EVEN_FIRST: DXGKMDT_OPM_INTERLEAVE_FORMAT = 3i32;
1745 pub const DXGKMDT_OPM_INTERLEAVE_FORMAT_INTERLEAVED_ODD_FIRST: DXGKMDT_OPM_INTERLEAVE_FORMAT = 4i32;
1746 pub const DXGKMDT_OPM_INTERLEAVE_FORMAT_OTHER: DXGKMDT_OPM_INTERLEAVE_FORMAT = 0i32;
1747 pub const DXGKMDT_OPM_INTERLEAVE_FORMAT_PROGRESSIVE: DXGKMDT_OPM_INTERLEAVE_FORMAT = 2i32;
1748 pub const DXGKMDT_OPM_OMAC_SIZE: u32 = 16u32;
1749 pub const DXGKMDT_OPM_OUTPUT_HARDWARE_PROTECTION_NOT_SUPPORTED: DXGKMDT_OPM_OUTPUT_HARDWARE_PROTECTION = 0i32;
1750 pub const DXGKMDT_OPM_OUTPUT_HARDWARE_PROTECTION_SUPPORTED: DXGKMDT_OPM_OUTPUT_HARDWARE_PROTECTION = 1i32;
1751 pub const DXGKMDT_OPM_PROTECTION_STANDARD_ARIBTRB15_1125I: DXGKMDT_OPM_PROTECTION_STANDARD = 16384i32;
1752 pub const DXGKMDT_OPM_PROTECTION_STANDARD_ARIBTRB15_525I: DXGKMDT_OPM_PROTECTION_STANDARD = 2048i32;
1753 pub const DXGKMDT_OPM_PROTECTION_STANDARD_ARIBTRB15_525P: DXGKMDT_OPM_PROTECTION_STANDARD = 4096i32;
1754 pub const DXGKMDT_OPM_PROTECTION_STANDARD_ARIBTRB15_750P: DXGKMDT_OPM_PROTECTION_STANDARD = 8192i32;
1755 pub const DXGKMDT_OPM_PROTECTION_STANDARD_CEA805A_TYPEA_1125I: DXGKMDT_OPM_PROTECTION_STANDARD = 128i32;
1756 pub const DXGKMDT_OPM_PROTECTION_STANDARD_CEA805A_TYPEA_525P: DXGKMDT_OPM_PROTECTION_STANDARD = 32i32;
1757 pub const DXGKMDT_OPM_PROTECTION_STANDARD_CEA805A_TYPEA_750P: DXGKMDT_OPM_PROTECTION_STANDARD = 64i32;
1758 pub const DXGKMDT_OPM_PROTECTION_STANDARD_CEA805A_TYPEB_1125I: DXGKMDT_OPM_PROTECTION_STANDARD = 1024i32;
1759 pub const DXGKMDT_OPM_PROTECTION_STANDARD_CEA805A_TYPEB_525P: DXGKMDT_OPM_PROTECTION_STANDARD = 256i32;
1760 pub const DXGKMDT_OPM_PROTECTION_STANDARD_CEA805A_TYPEB_750P: DXGKMDT_OPM_PROTECTION_STANDARD = 512i32;
1761 pub const DXGKMDT_OPM_PROTECTION_STANDARD_EIA608B_525: DXGKMDT_OPM_PROTECTION_STANDARD = 8i32;
1762 pub const DXGKMDT_OPM_PROTECTION_STANDARD_EN300294_625I: DXGKMDT_OPM_PROTECTION_STANDARD = 16i32;
1763 pub const DXGKMDT_OPM_PROTECTION_STANDARD_IEC61880_2_525I: DXGKMDT_OPM_PROTECTION_STANDARD = 2i32;
1764 pub const DXGKMDT_OPM_PROTECTION_STANDARD_IEC61880_525I: DXGKMDT_OPM_PROTECTION_STANDARD = 1i32;
1765 pub const DXGKMDT_OPM_PROTECTION_STANDARD_IEC62375_625P: DXGKMDT_OPM_PROTECTION_STANDARD = 4i32;
1766 pub const DXGKMDT_OPM_PROTECTION_STANDARD_NONE: DXGKMDT_OPM_PROTECTION_STANDARD = 0i32;
1767 pub const DXGKMDT_OPM_PROTECTION_STANDARD_OTHER: DXGKMDT_OPM_PROTECTION_STANDARD = -2147483648i32;
1768 pub const DXGKMDT_OPM_PROTECTION_TYPE_ACP: DXGKMDT_OPM_PROTECTION_TYPE = 2i32;
1769 pub const DXGKMDT_OPM_PROTECTION_TYPE_CGMSA: DXGKMDT_OPM_PROTECTION_TYPE = 4i32;
1770 pub const DXGKMDT_OPM_PROTECTION_TYPE_COPP_COMPATIBLE_HDCP: DXGKMDT_OPM_PROTECTION_TYPE = 1i32;
1771 pub const DXGKMDT_OPM_PROTECTION_TYPE_DPCP: DXGKMDT_OPM_PROTECTION_TYPE = 16i32;
1772 pub const DXGKMDT_OPM_PROTECTION_TYPE_HDCP: DXGKMDT_OPM_PROTECTION_TYPE = 8i32;
1773 pub const DXGKMDT_OPM_PROTECTION_TYPE_MASK: DXGKMDT_OPM_PROTECTION_TYPE = -2147483585i32;
1774 pub const DXGKMDT_OPM_PROTECTION_TYPE_NONE: DXGKMDT_OPM_PROTECTION_TYPE = 0i32;
1775 pub const DXGKMDT_OPM_PROTECTION_TYPE_OTHER: DXGKMDT_OPM_PROTECTION_TYPE = -2147483648i32;
1776 pub const DXGKMDT_OPM_PROTECTION_TYPE_SIZE: u32 = 4u32;
1777 pub const DXGKMDT_OPM_PROTECTION_TYPE_TYPE_ENFORCEMENT_HDCP: DXGKMDT_OPM_PROTECTION_TYPE = 32i32;
1778 pub const DXGKMDT_OPM_REDISTRIBUTION_CONTROL_REQUIRED: DXGKMDT_OPM_CGMSA = 8i32;
1779 pub const DXGKMDT_OPM_REQUESTED_INFORMATION_SIZE: u32 = 4076u32;
1780 pub const DXGKMDT_OPM_SET_ACP_AND_CGMSA_SIGNALING: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x09a631a5_d684_4c60_8e4d_d3bb0f0be3ee);
1781 pub const DXGKMDT_OPM_SET_HDCP_SRM: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8b5ef5d1_c30d_44ff_84a5_ea71dce78f13);
1782 pub const DXGKMDT_OPM_SET_PROTECTION_LEVEL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9bb9327c_4eb5_4727_9f00_b42b0919c0da);
1783 pub const DXGKMDT_OPM_SET_PROTECTION_LEVEL_ACCORDING_TO_CSS_DVD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x39ce333e_4cc0_44ae_bfcc_da50b5f82e72);
1784 pub const DXGKMDT_OPM_STATUS_LINK_LOST: DXGKMDT_OPM_STATUS = 1i32;
1785 pub const DXGKMDT_OPM_STATUS_NORMAL: DXGKMDT_OPM_STATUS = 0i32;
1786 pub const DXGKMDT_OPM_STATUS_RENEGOTIATION_REQUIRED: DXGKMDT_OPM_STATUS = 2i32;
1787 pub const DXGKMDT_OPM_STATUS_REVOKED_HDCP_DEVICE_ATTACHED: DXGKMDT_OPM_STATUS = 8i32;
1788 pub const DXGKMDT_OPM_STATUS_TAMPERING_DETECTED: DXGKMDT_OPM_STATUS = 4i32;
1789 pub const DXGKMDT_OPM_TYPE_ENFORCEMENT_HDCP_OFF: DXGKMDT_OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL = 0i32;
1790 pub const DXGKMDT_OPM_TYPE_ENFORCEMENT_HDCP_ON_WITH_NO_TYPE_RESTRICTION: DXGKMDT_OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL = 1i32;
1791 pub const DXGKMDT_OPM_TYPE_ENFORCEMENT_HDCP_ON_WITH_TYPE1_RESTRICTION: DXGKMDT_OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL = 2i32;
1792 pub const DXGKMDT_OPM_VOS_COPP_SEMANTICS: DXGKMDT_OPM_VIDEO_OUTPUT_SEMANTICS = 0i32;
1793 pub const DXGKMDT_OPM_VOS_OPM_INDIRECT_DISPLAY: DXGKMDT_OPM_VIDEO_OUTPUT_SEMANTICS = 2i32;
1794 pub const DXGKMDT_OPM_VOS_OPM_SEMANTICS: DXGKMDT_OPM_VIDEO_OUTPUT_SEMANTICS = 1i32;
1795 pub const DXGKMDT_UAB_CERTIFICATE: DXGKMDT_CERTIFICATE_TYPE = 2i32;
1796 pub const DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_FRAME0: DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_MODE = 1i32;
1797 pub const DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_FRAME1: DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_MODE = 2i32;
1798 pub const DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_NONE: DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_MODE = 0i32;
1799 pub const DXGKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT_CHECKERBOARD: D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT = 7i32;
1800 pub const DXGKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT_COLUMN_INTERLEAVED: D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT = 6i32;
1801 pub const DXGKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT_MONO: D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT = 0i32;
1802 pub const DXGKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT_MONO_OFFSET: D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT = 4i32;
1803 pub const DXGKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT_ROW_INTERLEAVED: D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT = 5i32;
1804 pub const DXGKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT_SEPARATE: D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT = 3i32;
1805 pub const DXGKMT_MULTIPLANE_OVERLAY_STRETCH_QUALITY_BILINEAR: DXGKMT_MULTIPLANE_OVERLAY_STRETCH_QUALITY = 1i32;
1806 pub const DXGKMT_MULTIPLANE_OVERLAY_STRETCH_QUALITY_HIGH: DXGKMT_MULTIPLANE_OVERLAY_STRETCH_QUALITY = 2i32;
1807 pub const DXGKMT_POWER_SHARED_TYPE_AUDIO: DXGKMT_POWER_SHARED_TYPE = 0i32;
1808 pub const DXGKVGPU_ESCAPE_TYPE_GET_VGPU_TYPE: DXGKVGPU_ESCAPE_TYPE = 4i32;
1809 pub const DXGKVGPU_ESCAPE_TYPE_INITIALIZE: DXGKVGPU_ESCAPE_TYPE = 2i32;
1810 pub const DXGKVGPU_ESCAPE_TYPE_PAUSE: DXGKVGPU_ESCAPE_TYPE = 6i32;
1811 pub const DXGKVGPU_ESCAPE_TYPE_POWERTRANSITIONCOMPLETE: DXGKVGPU_ESCAPE_TYPE = 5i32;
1812 pub const DXGKVGPU_ESCAPE_TYPE_READ_PCI_CONFIG: DXGKVGPU_ESCAPE_TYPE = 0i32;
1813 pub const DXGKVGPU_ESCAPE_TYPE_RELEASE: DXGKVGPU_ESCAPE_TYPE = 3i32;
1814 pub const DXGKVGPU_ESCAPE_TYPE_RESUME: DXGKVGPU_ESCAPE_TYPE = 7i32;
1815 pub const DXGKVGPU_ESCAPE_TYPE_WRITE_PCI_CONFIG: DXGKVGPU_ESCAPE_TYPE = 1i32;
1816 pub const DXGK_BRIGHTNESS_MAXIMUM_NIT_RANGE_COUNT: u32 = 16u32;
1817 pub const DXGK_DDT_DISPLAYID: DXGK_DISPLAY_DESCRIPTOR_TYPE = 2u8;
1818 pub const DXGK_DDT_EDID: DXGK_DISPLAY_DESCRIPTOR_TYPE = 1u8;
1819 pub const DXGK_DDT_INVALID: DXGK_DISPLAY_DESCRIPTOR_TYPE = 0u8;
1820 pub const DXGK_DIAG_PROCESS_NAME_LENGTH: u32 = 16u32;
1821 pub const DXGK_DT_INVALID: DXGK_DISPLAY_TECHNOLOGY = 0u8;
1822 pub const DXGK_DT_LCD: DXGK_DISPLAY_TECHNOLOGY = 2u8;
1823 pub const DXGK_DT_MAX: DXGK_DISPLAY_TECHNOLOGY = 5u8;
1824 pub const DXGK_DT_OLED: DXGK_DISPLAY_TECHNOLOGY = 3u8;
1825 pub const DXGK_DT_OTHER: DXGK_DISPLAY_TECHNOLOGY = 1u8;
1826 pub const DXGK_DT_PROJECTOR: DXGK_DISPLAY_TECHNOLOGY = 4u8;
1827 pub const DXGK_DU_ACCESSORY: DXGK_DISPLAY_USAGE = 5u8;
1828 pub const DXGK_DU_AR: DXGK_DISPLAY_USAGE = 2u8;
1829 pub const DXGK_DU_GENERIC: DXGK_DISPLAY_USAGE = 1u8;
1830 pub const DXGK_DU_INVALID: DXGK_DISPLAY_USAGE = 0u8;
1831 pub const DXGK_DU_MAX: DXGK_DISPLAY_USAGE = 6u8;
1832 pub const DXGK_DU_MEDICAL_IMAGING: DXGK_DISPLAY_USAGE = 4u8;
1833 pub const DXGK_DU_VR: DXGK_DISPLAY_USAGE = 3u8;
1834 pub const DXGK_ENGINE_TYPE_3D: DXGK_ENGINE_TYPE = 1i32;
1835 pub const DXGK_ENGINE_TYPE_COPY: DXGK_ENGINE_TYPE = 6i32;
1836 pub const DXGK_ENGINE_TYPE_CRYPTO: DXGK_ENGINE_TYPE = 8i32;
1837 pub const DXGK_ENGINE_TYPE_MAX: DXGK_ENGINE_TYPE = 9i32;
1838 pub const DXGK_ENGINE_TYPE_OTHER: DXGK_ENGINE_TYPE = 0i32;
1839 pub const DXGK_ENGINE_TYPE_OVERLAY: DXGK_ENGINE_TYPE = 7i32;
1840 pub const DXGK_ENGINE_TYPE_SCENE_ASSEMBLY: DXGK_ENGINE_TYPE = 5i32;
1841 pub const DXGK_ENGINE_TYPE_VIDEO_DECODE: DXGK_ENGINE_TYPE = 2i32;
1842 pub const DXGK_ENGINE_TYPE_VIDEO_ENCODE: DXGK_ENGINE_TYPE = 3i32;
1843 pub const DXGK_ENGINE_TYPE_VIDEO_PROCESSING: DXGK_ENGINE_TYPE = 4i32;
1844 pub const DXGK_GENERAL_ERROR_INVALID_INSTRUCTION: DXGK_GENERAL_ERROR_CODE = 1i32;
1845 pub const DXGK_GENERAL_ERROR_PAGE_FAULT: DXGK_GENERAL_ERROR_CODE = 0i32;
1846 pub const DXGK_GRAPHICSPOWER_VERSION: u32 = 4098u32;
1847 pub const DXGK_GRAPHICSPOWER_VERSION_1_0: u32 = 4096u32;
1848 pub const DXGK_GRAPHICSPOWER_VERSION_1_1: u32 = 4097u32;
1849 pub const DXGK_GRAPHICSPOWER_VERSION_1_2: u32 = 4098u32;
1850 pub const DXGK_MAX_GPUVERSION_NAME_LENGTH: u32 = 32u32;
1851 pub const DXGK_MAX_METADATA_NAME_LENGTH: u32 = 32u32;
1852 pub const DXGK_MAX_PAGE_TABLE_LEVEL_COUNT: u32 = 6u32;
1853 pub const DXGK_MIN_PAGE_TABLE_LEVEL_COUNT: u32 = 2u32;
1854 pub const DXGK_MIRACAST_CHUNK_TYPE_COLOR_CONVERT_COMPLETE: DXGK_MIRACAST_CHUNK_TYPE = 1i32;
1855 pub const DXGK_MIRACAST_CHUNK_TYPE_ENCODE_COMPLETE: DXGK_MIRACAST_CHUNK_TYPE = 2i32;
1856 pub const DXGK_MIRACAST_CHUNK_TYPE_ENCODE_DRIVER_DEFINED_1: DXGK_MIRACAST_CHUNK_TYPE = -2147483648i32;
1857 pub const DXGK_MIRACAST_CHUNK_TYPE_ENCODE_DRIVER_DEFINED_2: DXGK_MIRACAST_CHUNK_TYPE = -2147483647i32;
1858 pub const DXGK_MIRACAST_CHUNK_TYPE_FRAME_DROPPED: DXGK_MIRACAST_CHUNK_TYPE = 4i32;
1859 pub const DXGK_MIRACAST_CHUNK_TYPE_FRAME_START: DXGK_MIRACAST_CHUNK_TYPE = 3i32;
1860 pub const DXGK_MIRACAST_CHUNK_TYPE_UNKNOWN: DXGK_MIRACAST_CHUNK_TYPE = 0i32;
1861 pub const DXGK_PAGE_FAULT_ADAPTER_RESET_REQUIRED: DXGK_PAGE_FAULT_FLAGS = 4i32;
1862 pub const DXGK_PAGE_FAULT_ENGINE_RESET_REQUIRED: DXGK_PAGE_FAULT_FLAGS = 8i32;
1863 pub const DXGK_PAGE_FAULT_FATAL_HARDWARE_ERROR: DXGK_PAGE_FAULT_FLAGS = 16i32;
1864 pub const DXGK_PAGE_FAULT_FENCE_INVALID: DXGK_PAGE_FAULT_FLAGS = 2i32;
1865 pub const DXGK_PAGE_FAULT_HW_CONTEXT_VALID: DXGK_PAGE_FAULT_FLAGS = 64i32;
1866 pub const DXGK_PAGE_FAULT_IOMMU: DXGK_PAGE_FAULT_FLAGS = 32i32;
1867 pub const DXGK_PAGE_FAULT_PROCESS_HANDLE_VALID: DXGK_PAGE_FAULT_FLAGS = 128i32;
1868 pub const DXGK_PAGE_FAULT_WRITE: DXGK_PAGE_FAULT_FLAGS = 1i32;
1869 pub const DXGK_PTE_PAGE_TABLE_PAGE_4KB: DXGK_PTE_PAGE_SIZE = 0i32;
1870 pub const DXGK_PTE_PAGE_TABLE_PAGE_64KB: DXGK_PTE_PAGE_SIZE = 1i32;
1871 pub const DXGK_RENDER_PIPELINE_STAGE_GEOMETRY_SHADER: DXGK_RENDER_PIPELINE_STAGE = 3i32;
1872 pub const DXGK_RENDER_PIPELINE_STAGE_INPUT_ASSEMBLER: DXGK_RENDER_PIPELINE_STAGE = 1i32;
1873 pub const DXGK_RENDER_PIPELINE_STAGE_OUTPUT_MERGER: DXGK_RENDER_PIPELINE_STAGE = 7i32;
1874 pub const DXGK_RENDER_PIPELINE_STAGE_PIXEL_SHADER: DXGK_RENDER_PIPELINE_STAGE = 6i32;
1875 pub const DXGK_RENDER_PIPELINE_STAGE_RASTERIZER: DXGK_RENDER_PIPELINE_STAGE = 5i32;
1876 pub const DXGK_RENDER_PIPELINE_STAGE_STREAM_OUTPUT: DXGK_RENDER_PIPELINE_STAGE = 4i32;
1877 pub const DXGK_RENDER_PIPELINE_STAGE_UNKNOWN: DXGK_RENDER_PIPELINE_STAGE = 0i32;
1878 pub const DXGK_RENDER_PIPELINE_STAGE_VERTEX_SHADER: DXGK_RENDER_PIPELINE_STAGE = 2i32;
1879 pub const DxgkBacklightOptimizationDesktop: DXGK_BACKLIGHT_OPTIMIZATION_LEVEL = 1i32;
1880 pub const DxgkBacklightOptimizationDimmed: DXGK_BACKLIGHT_OPTIMIZATION_LEVEL = 3i32;
1881 pub const DxgkBacklightOptimizationDisable: DXGK_BACKLIGHT_OPTIMIZATION_LEVEL = 0i32;
1882 pub const DxgkBacklightOptimizationDynamic: DXGK_BACKLIGHT_OPTIMIZATION_LEVEL = 2i32;
1883 pub const DxgkBacklightOptimizationEDR: DXGK_BACKLIGHT_OPTIMIZATION_LEVEL = 4i32;
1884 pub const FLIPEX_TIMEOUT_USER: u32 = 2000u32;
1885 pub const GUID_DEVINTERFACE_GRAPHICSPOWER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xea5c6870_e93c_4588_bef1_fec42fc9429a);
1886 pub const HpdAwarenessAlwaysConnected: DXGK_CHILD_DEVICE_HPD_AWARENESS = 1i32;
1887 pub const HpdAwarenessInterruptible: DXGK_CHILD_DEVICE_HPD_AWARENESS = 4i32;
1888 pub const HpdAwarenessNone: DXGK_CHILD_DEVICE_HPD_AWARENESS = 2i32;
1889 pub const HpdAwarenessPolled: DXGK_CHILD_DEVICE_HPD_AWARENESS = 3i32;
1890 pub const HpdAwarenessUninitialized: DXGK_CHILD_DEVICE_HPD_AWARENESS = 0i32;
1891 pub const IOCTL_GPUP_DRIVER_ESCAPE: u32 = 2253920u32;
1892 pub const IOCTL_INTERNAL_GRAPHICSPOWER_REGISTER: u32 = 2304007u32;
1893 pub const KMTQAITYPE_ADAPTERADDRESS: KMTQUERYADAPTERINFOTYPE = 6i32;
1894 pub const KMTQAITYPE_ADAPTERADDRESS_RENDER: KMTQUERYADAPTERINFOTYPE = 53i32;
1895 pub const KMTQAITYPE_ADAPTERGUID: KMTQUERYADAPTERINFOTYPE = 4i32;
1896 pub const KMTQAITYPE_ADAPTERGUID_RENDER: KMTQUERYADAPTERINFOTYPE = 52i32;
1897 pub const KMTQAITYPE_ADAPTERPERFDATA: KMTQUERYADAPTERINFOTYPE = 62i32;
1898 pub const KMTQAITYPE_ADAPTERPERFDATA_CAPS: KMTQUERYADAPTERINFOTYPE = 63i32;
1899 pub const KMTQAITYPE_ADAPTERREGISTRYINFO: KMTQUERYADAPTERINFOTYPE = 8i32;
1900 pub const KMTQAITYPE_ADAPTERREGISTRYINFO_RENDER: KMTQUERYADAPTERINFOTYPE = 54i32;
1901 pub const KMTQAITYPE_ADAPTERTYPE: KMTQUERYADAPTERINFOTYPE = 15i32;
1902 pub const KMTQAITYPE_ADAPTERTYPE_RENDER: KMTQUERYADAPTERINFOTYPE = 57i32;
1903 pub const KMTQAITYPE_BLOCKLIST_KERNEL: KMTQUERYADAPTERINFOTYPE = 50i32;
1904 pub const KMTQAITYPE_BLOCKLIST_RUNTIME: KMTQUERYADAPTERINFOTYPE = 51i32;
1905 pub const KMTQAITYPE_CHECKDRIVERUPDATESTATUS: KMTQUERYADAPTERINFOTYPE = 11i32;
1906 pub const KMTQAITYPE_CHECKDRIVERUPDATESTATUS_RENDER: KMTQUERYADAPTERINFOTYPE = 55i32;
1907 pub const KMTQAITYPE_CPDRIVERNAME: KMTQUERYADAPTERINFOTYPE = 26i32;
1908 pub const KMTQAITYPE_CROSSADAPTERRESOURCE_SUPPORT: KMTQUERYADAPTERINFOTYPE = 76i32;
1909 pub const KMTQAITYPE_CURRENTDISPLAYMODE: KMTQUERYADAPTERINFOTYPE = 9i32;
1910 pub const KMTQAITYPE_DIRECTFLIP_SUPPORT: KMTQUERYADAPTERINFOTYPE = 19i32;
1911 pub const KMTQAITYPE_DISPLAY_CAPS: KMTQUERYADAPTERINFOTYPE = 74i32;
1912 pub const KMTQAITYPE_DISPLAY_UMDRIVERNAME: KMTQUERYADAPTERINFOTYPE = 71i32;
1913 pub const KMTQAITYPE_DLIST_DRIVER_NAME: KMTQUERYADAPTERINFOTYPE = 21i32;
1914 pub const KMTQAITYPE_DRIVERCAPS_EXT: KMTQUERYADAPTERINFOTYPE = 32i32;
1915 pub const KMTQAITYPE_DRIVERVERSION: KMTQUERYADAPTERINFOTYPE = 13i32;
1916 pub const KMTQAITYPE_DRIVERVERSION_RENDER: KMTQUERYADAPTERINFOTYPE = 56i32;
1917 pub const KMTQAITYPE_DRIVER_DESCRIPTION: KMTQUERYADAPTERINFOTYPE = 65i32;
1918 pub const KMTQAITYPE_DRIVER_DESCRIPTION_RENDER: KMTQUERYADAPTERINFOTYPE = 66i32;
1919 pub const KMTQAITYPE_FLIPQUEUEINFO: KMTQUERYADAPTERINFOTYPE = 5i32;
1920 pub const KMTQAITYPE_GETSEGMENTGROUPSIZE: KMTQUERYADAPTERINFOTYPE = 42i32;
1921 pub const KMTQAITYPE_GETSEGMENTSIZE: KMTQUERYADAPTERINFOTYPE = 3i32;
1922 pub const KMTQAITYPE_GET_DEVICE_VIDPN_OWNERSHIP_INFO: KMTQUERYADAPTERINFOTYPE = 47i32;
1923 pub const KMTQAITYPE_HWDRM_SUPPORT: KMTQUERYADAPTERINFOTYPE = 44i32;
1924 pub const KMTQAITYPE_HYBRID_DLIST_DLL_SUPPORT: KMTQUERYADAPTERINFOTYPE = 73i32;
1925 pub const KMTQAITYPE_INDEPENDENTFLIP_SECONDARY_SUPPORT: KMTQUERYADAPTERINFOTYPE = 39i32;
1926 pub const KMTQAITYPE_INDEPENDENTFLIP_SUPPORT: KMTQUERYADAPTERINFOTYPE = 28i32;
1927 pub const KMTQAITYPE_KMD_DRIVER_VERSION: KMTQUERYADAPTERINFOTYPE = 49i32;
1928 pub const KMTQAITYPE_MIRACASTCOMPANIONDRIVERNAME: KMTQUERYADAPTERINFOTYPE = 29i32;
1929 pub const KMTQAITYPE_MODELIST: KMTQUERYADAPTERINFOTYPE = 10i32;
1930 pub const KMTQAITYPE_MPO3DDI_SUPPORT: KMTQUERYADAPTERINFOTYPE = 43i32;
1931 pub const KMTQAITYPE_MPOKERNELCAPS_SUPPORT: KMTQUERYADAPTERINFOTYPE = 45i32;
1932 pub const KMTQAITYPE_MULTIPLANEOVERLAY_HUD_SUPPORT: KMTQUERYADAPTERINFOTYPE = 23i32;
1933 pub const KMTQAITYPE_MULTIPLANEOVERLAY_SECONDARY_SUPPORT: KMTQUERYADAPTERINFOTYPE = 38i32;
1934 pub const KMTQAITYPE_MULTIPLANEOVERLAY_STRETCH_SUPPORT: KMTQUERYADAPTERINFOTYPE = 46i32;
1935 pub const KMTQAITYPE_MULTIPLANEOVERLAY_SUPPORT: KMTQUERYADAPTERINFOTYPE = 20i32;
1936 pub const KMTQAITYPE_NODEMETADATA: KMTQUERYADAPTERINFOTYPE = 25i32;
1937 pub const KMTQAITYPE_NODEPERFDATA: KMTQUERYADAPTERINFOTYPE = 61i32;
1938 pub const KMTQAITYPE_OUTPUTDUPLCONTEXTSCOUNT: KMTQUERYADAPTERINFOTYPE = 16i32;
1939 pub const KMTQAITYPE_PANELFITTER_SUPPORT: KMTQUERYADAPTERINFOTYPE = 40i32;
1940 pub const KMTQAITYPE_PARAVIRTUALIZATION_RENDER: KMTQUERYADAPTERINFOTYPE = 68i32;
1941 pub const KMTQAITYPE_PHYSICALADAPTERCOUNT: KMTQUERYADAPTERINFOTYPE = 30i32;
1942 pub const KMTQAITYPE_PHYSICALADAPTERDEVICEIDS: KMTQUERYADAPTERINFOTYPE = 31i32;
1943 pub const KMTQAITYPE_PHYSICALADAPTERPNPKEY: KMTQUERYADAPTERINFOTYPE = 41i32;
1944 pub const KMTQAITYPE_QUERYREGISTRY: KMTQUERYADAPTERINFOTYPE = 48i32;
1945 pub const KMTQAITYPE_QUERY_ADAPTER_UNIQUE_GUID: KMTQUERYADAPTERINFOTYPE = 60i32;
1946 pub const KMTQAITYPE_QUERY_GPUMMU_CAPS: KMTQUERYADAPTERINFOTYPE = 34i32;
1947 pub const KMTQAITYPE_QUERY_HW_PROTECTION_TEARDOWN_COUNT: KMTQUERYADAPTERINFOTYPE = 36i32;
1948 pub const KMTQAITYPE_QUERY_ISBADDRIVERFORHWPROTECTIONDISABLED: KMTQUERYADAPTERINFOTYPE = 37i32;
1949 pub const KMTQAITYPE_QUERY_MIRACAST_DRIVER_TYPE: KMTQUERYADAPTERINFOTYPE = 33i32;
1950 pub const KMTQAITYPE_QUERY_MULTIPLANEOVERLAY_DECODE_SUPPORT: KMTQUERYADAPTERINFOTYPE = 35i32;
1951 pub const KMTQAITYPE_SCANOUT_CAPS: KMTQUERYADAPTERINFOTYPE = 67i32;
1952 pub const KMTQAITYPE_SERVICENAME: KMTQUERYADAPTERINFOTYPE = 69i32;
1953 pub const KMTQAITYPE_SETWORKINGSETINFO: KMTQUERYADAPTERINFOTYPE = 7i32;
1954 pub const KMTQAITYPE_TRACKEDWORKLOAD_SUPPORT: KMTQUERYADAPTERINFOTYPE = 72i32;
1955 pub const KMTQAITYPE_UMDRIVERNAME: KMTQUERYADAPTERINFOTYPE = 1i32;
1956 pub const KMTQAITYPE_UMDRIVERPRIVATE: KMTQUERYADAPTERINFOTYPE = 0i32;
1957 pub const KMTQAITYPE_UMD_DRIVER_VERSION: KMTQUERYADAPTERINFOTYPE = 18i32;
1958 pub const KMTQAITYPE_UMOPENGLINFO: KMTQUERYADAPTERINFOTYPE = 2i32;
1959 pub const KMTQAITYPE_VGPUINTERFACEID: KMTQUERYADAPTERINFOTYPE = 79i32;
1960 pub const KMTQAITYPE_VIRTUALADDRESSINFO: KMTQUERYADAPTERINFOTYPE = 12i32;
1961 pub const KMTQAITYPE_WDDM_1_2_CAPS: KMTQUERYADAPTERINFOTYPE = 17i32;
1962 pub const KMTQAITYPE_WDDM_1_2_CAPS_RENDER: KMTQUERYADAPTERINFOTYPE = 58i32;
1963 pub const KMTQAITYPE_WDDM_1_3_CAPS: KMTQUERYADAPTERINFOTYPE = 22i32;
1964 pub const KMTQAITYPE_WDDM_1_3_CAPS_RENDER: KMTQUERYADAPTERINFOTYPE = 59i32;
1965 pub const KMTQAITYPE_WDDM_2_0_CAPS: KMTQUERYADAPTERINFOTYPE = 24i32;
1966 pub const KMTQAITYPE_WDDM_2_7_CAPS: KMTQUERYADAPTERINFOTYPE = 70i32;
1967 pub const KMTQAITYPE_WDDM_2_9_CAPS: KMTQUERYADAPTERINFOTYPE = 75i32;
1968 pub const KMTQAITYPE_WDDM_3_0_CAPS: KMTQUERYADAPTERINFOTYPE = 77i32;
1969 pub const KMTQAITYPE_WDDM_3_1_CAPS: KMTQUERYADAPTERINFOTYPE = 80i32;
1970 pub const KMTQAITYPE_WSAUMDIMAGENAME: KMTQUERYADAPTERINFOTYPE = 78i32;
1971 pub const KMTQAITYPE_XBOX: KMTQUERYADAPTERINFOTYPE = 27i32;
1972 pub const KMTQUITYPE_GPUVERSION: KMTQUERYADAPTERINFOTYPE = 64i32;
1973 pub const KMTUMDVERSION_DX10: KMTUMDVERSION = 1i32;
1974 pub const KMTUMDVERSION_DX11: KMTUMDVERSION = 2i32;
1975 pub const KMTUMDVERSION_DX12: KMTUMDVERSION = 3i32;
1976 pub const KMTUMDVERSION_DX12_WSA32: KMTUMDVERSION = 4i32;
1977 pub const KMTUMDVERSION_DX12_WSA64: KMTUMDVERSION = 5i32;
1978 pub const KMTUMDVERSION_DX9: KMTUMDVERSION = 0i32;
1979 pub const KMT_DISPLAY_UMDVERSION_1: KMT_DISPLAY_UMD_VERSION = 0i32;
1980 pub const KMT_DRIVERVERSION_WDDM_1_0: D3DKMT_DRIVERVERSION = 1000i32;
1981 pub const KMT_DRIVERVERSION_WDDM_1_1: D3DKMT_DRIVERVERSION = 1105i32;
1982 pub const KMT_DRIVERVERSION_WDDM_1_1_PRERELEASE: D3DKMT_DRIVERVERSION = 1102i32;
1983 pub const KMT_DRIVERVERSION_WDDM_1_2: D3DKMT_DRIVERVERSION = 1200i32;
1984 pub const KMT_DRIVERVERSION_WDDM_1_3: D3DKMT_DRIVERVERSION = 1300i32;
1985 pub const KMT_DRIVERVERSION_WDDM_2_0: D3DKMT_DRIVERVERSION = 2000i32;
1986 pub const KMT_DRIVERVERSION_WDDM_2_1: D3DKMT_DRIVERVERSION = 2100i32;
1987 pub const KMT_DRIVERVERSION_WDDM_2_2: D3DKMT_DRIVERVERSION = 2200i32;
1988 pub const KMT_DRIVERVERSION_WDDM_2_3: D3DKMT_DRIVERVERSION = 2300i32;
1989 pub const KMT_DRIVERVERSION_WDDM_2_4: D3DKMT_DRIVERVERSION = 2400i32;
1990 pub const KMT_DRIVERVERSION_WDDM_2_5: D3DKMT_DRIVERVERSION = 2500i32;
1991 pub const KMT_DRIVERVERSION_WDDM_2_6: D3DKMT_DRIVERVERSION = 2600i32;
1992 pub const KMT_DRIVERVERSION_WDDM_2_7: D3DKMT_DRIVERVERSION = 2700i32;
1993 pub const KMT_DRIVERVERSION_WDDM_2_8: D3DKMT_DRIVERVERSION = 2800i32;
1994 pub const KMT_DRIVERVERSION_WDDM_2_9: D3DKMT_DRIVERVERSION = 2900i32;
1995 pub const KMT_DRIVERVERSION_WDDM_3_0: D3DKMT_DRIVERVERSION = 3000i32;
1996 pub const KMT_DRIVERVERSION_WDDM_3_1: D3DKMT_DRIVERVERSION = 3100i32;
1997 pub const MAX_ENUM_ADAPTERS: u32 = 16u32;
1998 pub const MiracastStartPending: D3DKMT_MIRACAST_DISPLAY_DEVICE_STATE = 1i32;
1999 pub const MiracastStarted: D3DKMT_MIRACAST_DISPLAY_DEVICE_STATE = 2i32;
2000 pub const MiracastStopPending: D3DKMT_MIRACAST_DISPLAY_DEVICE_STATE = 3i32;
2001 pub const MiracastStopped: D3DKMT_MIRACAST_DISPLAY_DEVICE_STATE = 0i32;
2002 pub const NUM_KMTUMDVERSIONS: KMTUMDVERSION = 6i32;
2003 pub const NUM_KMT_DISPLAY_UMDVERSIONS: KMT_DISPLAY_UMD_VERSION = 1i32;
2004 pub const OUTPUTDUPL_CONTEXT_DEBUG_STATUS_ACTIVE: OUTPUTDUPL_CONTEXT_DEBUG_STATUS = 1i32;
2005 pub const OUTPUTDUPL_CONTEXT_DEBUG_STATUS_INACTIVE: OUTPUTDUPL_CONTEXT_DEBUG_STATUS = 0i32;
2006 pub const OUTPUTDUPL_CONTEXT_DEBUG_STATUS_PENDING_DESTROY: OUTPUTDUPL_CONTEXT_DEBUG_STATUS = 2i32;
2007 pub const OUTPUTDUPL_CREATE_MAX_KEYEDMUTXES: u32 = 3u32;
2008 pub const RTPATCHFLAG_HASINFO: i32 = 2i32;
2009 pub const RTPATCHFLAG_HASSEGS: i32 = 1i32;
2010 pub const SHARED_ALLOCATION_WRITE: u32 = 1u32;
2011 pub const _NT_D3DDEVCAPS_HWINDEXBUFFER: i32 = 67108864i32;
2012 pub const _NT_D3DDEVCAPS_HWVERTEXBUFFER: i32 = 33554432i32;
2013 pub const _NT_D3DDEVCAPS_SUBVOLUMELOCK: i32 = 134217728i32;
2014 pub const _NT_D3DFVF_FOG: i32 = 8192i32;
2015 pub const _NT_D3DGDI2_MAGIC: u32 = 4294967295u32;
2016 pub const _NT_D3DGDI2_TYPE_DEFERRED_AGP_AWARE: u32 = 24u32;
2017 pub const _NT_D3DGDI2_TYPE_DEFER_AGP_FREES: u32 = 32u32;
2018 pub const _NT_D3DGDI2_TYPE_DXVERSION: u32 = 4u32;
2019 pub const _NT_D3DGDI2_TYPE_FREE_DEFERRED_AGP: u32 = 25u32;
2020 pub const _NT_D3DGDI2_TYPE_GETADAPTERGROUP: u32 = 19u32;
2021 pub const _NT_D3DGDI2_TYPE_GETD3DCAPS8: u32 = 1u32;
2022 pub const _NT_D3DGDI2_TYPE_GETD3DCAPS9: u32 = 16u32;
2023 pub const _NT_D3DGDI2_TYPE_GETD3DQUERY: u32 = 34u32;
2024 pub const _NT_D3DGDI2_TYPE_GETD3DQUERYCOUNT: u32 = 33u32;
2025 pub const _NT_D3DGDI2_TYPE_GETDDIVERSION: u32 = 35u32;
2026 pub const _NT_D3DGDI2_TYPE_GETEXTENDEDMODE: u32 = 18u32;
2027 pub const _NT_D3DGDI2_TYPE_GETEXTENDEDMODECOUNT: u32 = 17u32;
2028 pub const _NT_D3DGDI2_TYPE_GETFORMAT: u32 = 3u32;
2029 pub const _NT_D3DGDI2_TYPE_GETFORMATCOUNT: u32 = 2u32;
2030 pub const _NT_D3DGDI2_TYPE_GETMULTISAMPLEQUALITYLEVELS: u32 = 22u32;
2031 pub const _NT_D3DPMISCCAPS_FOGINFVF: i32 = 8192i32;
2032 pub const _NT_D3DPS_COLOROUT_MAX_V2_0: u32 = 4u32;
2033 pub const _NT_D3DPS_COLOROUT_MAX_V2_1: u32 = 4u32;
2034 pub const _NT_D3DPS_COLOROUT_MAX_V3_0: u32 = 4u32;
2035 pub const _NT_D3DPS_CONSTBOOLREG_MAX_SW_DX9: u32 = 2048u32;
2036 pub const _NT_D3DPS_CONSTBOOLREG_MAX_V2_1: u32 = 16u32;
2037 pub const _NT_D3DPS_CONSTBOOLREG_MAX_V3_0: u32 = 16u32;
2038 pub const _NT_D3DPS_CONSTINTREG_MAX_SW_DX9: u32 = 2048u32;
2039 pub const _NT_D3DPS_CONSTINTREG_MAX_V2_1: u32 = 16u32;
2040 pub const _NT_D3DPS_CONSTINTREG_MAX_V3_0: u32 = 16u32;
2041 pub const _NT_D3DPS_CONSTREG_MAX_DX8: u32 = 8u32;
2042 pub const _NT_D3DPS_CONSTREG_MAX_SW_DX9: u32 = 8192u32;
2043 pub const _NT_D3DPS_CONSTREG_MAX_V1_1: u32 = 8u32;
2044 pub const _NT_D3DPS_CONSTREG_MAX_V1_2: u32 = 8u32;
2045 pub const _NT_D3DPS_CONSTREG_MAX_V1_3: u32 = 8u32;
2046 pub const _NT_D3DPS_CONSTREG_MAX_V1_4: u32 = 8u32;
2047 pub const _NT_D3DPS_CONSTREG_MAX_V2_0: u32 = 32u32;
2048 pub const _NT_D3DPS_CONSTREG_MAX_V2_1: u32 = 32u32;
2049 pub const _NT_D3DPS_CONSTREG_MAX_V3_0: u32 = 224u32;
2050 pub const _NT_D3DPS_INPUTREG_MAX_DX8: u32 = 8u32;
2051 pub const _NT_D3DPS_INPUTREG_MAX_V1_1: u32 = 2u32;
2052 pub const _NT_D3DPS_INPUTREG_MAX_V1_2: u32 = 2u32;
2053 pub const _NT_D3DPS_INPUTREG_MAX_V1_3: u32 = 2u32;
2054 pub const _NT_D3DPS_INPUTREG_MAX_V1_4: u32 = 2u32;
2055 pub const _NT_D3DPS_INPUTREG_MAX_V2_0: u32 = 2u32;
2056 pub const _NT_D3DPS_INPUTREG_MAX_V2_1: u32 = 2u32;
2057 pub const _NT_D3DPS_INPUTREG_MAX_V3_0: u32 = 12u32;
2058 pub const _NT_D3DPS_MAXLOOPINITVALUE_V2_1: u32 = 255u32;
2059 pub const _NT_D3DPS_MAXLOOPINITVALUE_V3_0: u32 = 255u32;
2060 pub const _NT_D3DPS_MAXLOOPITERATIONCOUNT_V2_1: u32 = 255u32;
2061 pub const _NT_D3DPS_MAXLOOPITERATIONCOUNT_V3_0: u32 = 255u32;
2062 pub const _NT_D3DPS_MAXLOOPSTEP_V2_1: u32 = 128u32;
2063 pub const _NT_D3DPS_MAXLOOPSTEP_V3_0: u32 = 128u32;
2064 pub const _NT_D3DPS_PREDICATE_MAX_V2_1: u32 = 1u32;
2065 pub const _NT_D3DPS_PREDICATE_MAX_V3_0: u32 = 1u32;
2066 pub const _NT_D3DPS_TEMPREG_MAX_DX8: u32 = 8u32;
2067 pub const _NT_D3DPS_TEMPREG_MAX_V1_1: u32 = 2u32;
2068 pub const _NT_D3DPS_TEMPREG_MAX_V1_2: u32 = 2u32;
2069 pub const _NT_D3DPS_TEMPREG_MAX_V1_3: u32 = 2u32;
2070 pub const _NT_D3DPS_TEMPREG_MAX_V1_4: u32 = 6u32;
2071 pub const _NT_D3DPS_TEMPREG_MAX_V2_0: u32 = 12u32;
2072 pub const _NT_D3DPS_TEMPREG_MAX_V2_1: u32 = 32u32;
2073 pub const _NT_D3DPS_TEMPREG_MAX_V3_0: u32 = 32u32;
2074 pub const _NT_D3DPS_TEXTUREREG_MAX_DX8: u32 = 8u32;
2075 pub const _NT_D3DPS_TEXTUREREG_MAX_V1_1: u32 = 4u32;
2076 pub const _NT_D3DPS_TEXTUREREG_MAX_V1_2: u32 = 4u32;
2077 pub const _NT_D3DPS_TEXTUREREG_MAX_V1_3: u32 = 4u32;
2078 pub const _NT_D3DPS_TEXTUREREG_MAX_V1_4: u32 = 6u32;
2079 pub const _NT_D3DPS_TEXTUREREG_MAX_V2_0: u32 = 8u32;
2080 pub const _NT_D3DPS_TEXTUREREG_MAX_V2_1: u32 = 8u32;
2081 pub const _NT_D3DPS_TEXTUREREG_MAX_V3_0: u32 = 0u32;
2082 pub const _NT_D3DRS_DELETERTPATCH: u32 = 169u32;
2083 pub const _NT_D3DVS_ADDRREG_MAX_V1_1: u32 = 1u32;
2084 pub const _NT_D3DVS_ADDRREG_MAX_V2_0: u32 = 1u32;
2085 pub const _NT_D3DVS_ADDRREG_MAX_V2_1: u32 = 1u32;
2086 pub const _NT_D3DVS_ADDRREG_MAX_V3_0: u32 = 1u32;
2087 pub const _NT_D3DVS_ATTROUTREG_MAX_V1_1: u32 = 2u32;
2088 pub const _NT_D3DVS_ATTROUTREG_MAX_V2_0: u32 = 2u32;
2089 pub const _NT_D3DVS_ATTROUTREG_MAX_V2_1: u32 = 2u32;
2090 pub const _NT_D3DVS_CONSTBOOLREG_MAX_SW_DX9: u32 = 2048u32;
2091 pub const _NT_D3DVS_CONSTBOOLREG_MAX_V2_0: u32 = 16u32;
2092 pub const _NT_D3DVS_CONSTBOOLREG_MAX_V2_1: u32 = 16u32;
2093 pub const _NT_D3DVS_CONSTBOOLREG_MAX_V3_0: u32 = 16u32;
2094 pub const _NT_D3DVS_CONSTINTREG_MAX_SW_DX9: u32 = 2048u32;
2095 pub const _NT_D3DVS_CONSTINTREG_MAX_V2_0: u32 = 16u32;
2096 pub const _NT_D3DVS_CONSTINTREG_MAX_V2_1: u32 = 16u32;
2097 pub const _NT_D3DVS_CONSTINTREG_MAX_V3_0: u32 = 16u32;
2098 pub const _NT_D3DVS_CONSTREG_MAX_V1_1: u32 = 96u32;
2099 pub const _NT_D3DVS_CONSTREG_MAX_V2_0: u32 = 8192u32;
2100 pub const _NT_D3DVS_CONSTREG_MAX_V2_1: u32 = 8192u32;
2101 pub const _NT_D3DVS_CONSTREG_MAX_V3_0: u32 = 8192u32;
2102 pub const _NT_D3DVS_INPUTREG_MAX_V1_1: u32 = 16u32;
2103 pub const _NT_D3DVS_INPUTREG_MAX_V2_0: u32 = 16u32;
2104 pub const _NT_D3DVS_INPUTREG_MAX_V2_1: u32 = 16u32;
2105 pub const _NT_D3DVS_INPUTREG_MAX_V3_0: u32 = 16u32;
2106 pub const _NT_D3DVS_LABEL_MAX_V3_0: u32 = 2048u32;
2107 pub const _NT_D3DVS_MAXINSTRUCTIONCOUNT_V1_1: u32 = 128u32;
2108 pub const _NT_D3DVS_MAXLOOPINITVALUE_V2_0: u32 = 255u32;
2109 pub const _NT_D3DVS_MAXLOOPINITVALUE_V2_1: u32 = 255u32;
2110 pub const _NT_D3DVS_MAXLOOPINITVALUE_V3_0: u32 = 255u32;
2111 pub const _NT_D3DVS_MAXLOOPITERATIONCOUNT_V2_0: u32 = 255u32;
2112 pub const _NT_D3DVS_MAXLOOPITERATIONCOUNT_V2_1: u32 = 255u32;
2113 pub const _NT_D3DVS_MAXLOOPITERATIONCOUNT_V3_0: u32 = 255u32;
2114 pub const _NT_D3DVS_MAXLOOPSTEP_V2_0: u32 = 128u32;
2115 pub const _NT_D3DVS_MAXLOOPSTEP_V2_1: u32 = 128u32;
2116 pub const _NT_D3DVS_MAXLOOPSTEP_V3_0: u32 = 128u32;
2117 pub const _NT_D3DVS_OUTPUTREG_MAX_SW_DX9: u32 = 16u32;
2118 pub const _NT_D3DVS_OUTPUTREG_MAX_V3_0: u32 = 12u32;
2119 pub const _NT_D3DVS_PREDICATE_MAX_V2_1: u32 = 1u32;
2120 pub const _NT_D3DVS_PREDICATE_MAX_V3_0: u32 = 1u32;
2121 pub const _NT_D3DVS_TCRDOUTREG_MAX_V1_1: u32 = 8u32;
2122 pub const _NT_D3DVS_TCRDOUTREG_MAX_V2_0: u32 = 8u32;
2123 pub const _NT_D3DVS_TCRDOUTREG_MAX_V2_1: u32 = 8u32;
2124 pub const _NT_D3DVS_TEMPREG_MAX_V1_1: u32 = 12u32;
2125 pub const _NT_D3DVS_TEMPREG_MAX_V2_0: u32 = 12u32;
2126 pub const _NT_D3DVS_TEMPREG_MAX_V2_1: u32 = 32u32;
2127 pub const _NT_D3DVS_TEMPREG_MAX_V3_0: u32 = 32u32;
2128 pub const _NT_RTPATCHFLAG_HASINFO: i32 = 2i32;
2129 pub const _NT_RTPATCHFLAG_HASSEGS: i32 = 1i32;
2130 pub type D3DDDIFORMAT = u32;
2131 pub type D3DDDIGPUVIRTUALADDRESS_RESERVATION_TYPE = i32;
2132 pub type D3DDDIMULTISAMPLE_TYPE = i32;
2133 pub type D3DDDI_COLOR_SPACE_TYPE = i32;
2134 pub type D3DDDI_DOORBELLSTATUS = i32;
2135 pub type D3DDDI_DRIVERESCAPETYPE = i32;
2136 pub type D3DDDI_FLIPINTERVAL_TYPE = i32;
2137 pub type D3DDDI_GAMMARAMP_TYPE = i32;
2138 pub type D3DDDI_HDR_METADATA_TYPE = i32;
2139 pub type D3DDDI_OFFER_PRIORITY = i32;
2140 pub type D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE = i32;
2141 pub type D3DDDI_PAGINGQUEUE_PRIORITY = i32;
2142 pub type D3DDDI_POOL = i32;
2143 pub type D3DDDI_QUERYREGISTRY_STATUS = i32;
2144 pub type D3DDDI_QUERYREGISTRY_TYPE = i32;
2145 pub type D3DDDI_RECLAIM_RESULT = i32;
2146 pub type D3DDDI_ROTATION = i32;
2147 pub type D3DDDI_SCANLINEORDERING = i32;
2148 pub type D3DDDI_SYNCHRONIZATIONOBJECT_TYPE = i32;
2149 pub type D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_TYPE = i32;
2150 pub type D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING = i32;
2151 pub type D3DHAL_DP2OPERATION = i32;
2152 pub type D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL = i32;
2153 pub type D3DKMDT_COLOR_BASIS = i32;
2154 pub type D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY = i32;
2155 pub type D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE = i32;
2156 pub type D3DKMDT_GDISURFACETYPE = i32;
2157 pub type D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY = i32;
2158 pub type D3DKMDT_GTFCOMPLIANCE = i32;
2159 pub type D3DKMDT_MODE_PREFERENCE = i32;
2160 pub type D3DKMDT_MODE_PRUNING_REASON = i32;
2161 pub type D3DKMDT_MONITOR_CAPABILITIES_ORIGIN = i32;
2162 pub type D3DKMDT_MONITOR_CONNECTIVITY_CHECKS = i32;
2163 pub type D3DKMDT_MONITOR_DESCRIPTOR_TYPE = i32;
2164 pub type D3DKMDT_MONITOR_FREQUENCY_RANGE_CONSTRAINT = i32;
2165 pub type D3DKMDT_MONITOR_ORIENTATION = i32;
2166 pub type D3DKMDT_MONITOR_ORIENTATION_AWARENESS = i32;
2167 pub type D3DKMDT_MONITOR_TIMING_TYPE = i32;
2168 pub type D3DKMDT_PIXEL_VALUE_ACCESS_MODE = i32;
2169 pub type D3DKMDT_STANDARDALLOCATION_TYPE = i32;
2170 pub type D3DKMDT_TEXT_RENDERING_FORMAT = i32;
2171 pub type D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = i32;
2172 pub type D3DKMDT_VIDEO_SIGNAL_STANDARD = i32;
2173 pub type D3DKMDT_VIDPN_PRESENT_PATH_CONTENT = i32;
2174 pub type D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_TYPE = i32;
2175 pub type D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE = i32;
2176 pub type D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = i32;
2177 pub type D3DKMDT_VIDPN_PRESENT_PATH_SCALING = i32;
2178 pub type D3DKMDT_VIDPN_SOURCE_MODE_TYPE = i32;
2179 pub type D3DKMT_ACTIVATE_SPECIFIC_DIAG_TYPE = i32;
2180 pub type D3DKMT_ADAPTER_VERIFIER_OPTION_TYPE = i32;
2181 pub type D3DKMT_ALLOCATIONRESIDENCYSTATUS = i32;
2182 pub type D3DKMT_AUXILIARYPRESENTINFO_TYPE = i32;
2183 pub type D3DKMT_BRIGHTNESS_INFO_TYPE = i32;
2184 pub type D3DKMT_CANCEL_PRESENTS_OPERATION = i32;
2185 pub type D3DKMT_CLIENTHINT = i32;
2186 pub type D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER = i32;
2187 pub type D3DKMT_DEFRAG_ESCAPE_OPERATION = i32;
2188 pub type D3DKMT_DEVICEESCAPE_TYPE = i32;
2189 pub type D3DKMT_DEVICEEXECUTION_STATE = i32;
2190 pub type D3DKMT_DEVICESTATE_TYPE = i32;
2191 pub type D3DKMT_DEVICE_ERROR_REASON = i32;
2192 pub type D3DKMT_DMMESCAPETYPE = i32;
2193 pub type D3DKMT_DRIVERVERSION = i32;
2194 pub type D3DKMT_ESCAPETYPE = i32;
2195 pub type D3DKMT_ESCAPE_PFN_CONTROL_COMMAND = i32;
2196 pub type D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE = i32;
2197 pub type D3DKMT_FLIPMODEL_INDEPENDENT_FLIP_STAGE = i32;
2198 pub type D3DKMT_GPU_PREFERENCE_QUERY_STATE = i32;
2199 pub type D3DKMT_GPU_PREFERENCE_QUERY_TYPE = i32;
2200 pub type D3DKMT_MEMORY_SEGMENT_GROUP = i32;
2201 pub type D3DKMT_MIRACAST_DEVICE_STATUS = i32;
2202 pub type D3DKMT_MIRACAST_DISPLAY_DEVICE_STATE = i32;
2203 pub type D3DKMT_MIRACAST_DRIVER_TYPE = i32;
2204 pub type D3DKMT_MULTIPLANE_OVERLAY_BLEND = i32;
2205 pub type D3DKMT_MULTIPLANE_OVERLAY_FLAGS = i32;
2206 pub type D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT = i32;
2207 pub type D3DKMT_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT = i32;
2208 pub type D3DKMT_MULTIPLANE_OVERLAY_YCbCr_FLAGS = i32;
2209 pub type D3DKMT_OFFER_PRIORITY = i32;
2210 pub type D3DKMT_OUTDUPL_POINTER_SHAPE_TYPE = i32;
2211 pub type D3DKMT_OUTPUTDUPL_METADATATYPE = i32;
2212 pub type D3DKMT_PNP_KEY_TYPE = i32;
2213 pub type D3DKMT_PRESENT_MODEL = i32;
2214 pub type D3DKMT_PROCESS_VERIFIER_OPTION_TYPE = i32;
2215 pub type D3DKMT_PROTECTED_SESSION_STATUS = i32;
2216 pub type D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = i32;
2217 pub type D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS = i32;
2218 pub type D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE = i32;
2219 pub type D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE = i32;
2220 pub type D3DKMT_QUERYSTATISTICS_SEGMENT_TYPE = i32;
2221 pub type D3DKMT_QUERYSTATISTICS_TYPE = i32;
2222 pub type D3DKMT_QUEUEDLIMIT_TYPE = i32;
2223 pub type D3DKMT_SCHEDULINGPRIORITYCLASS = i32;
2224 pub type D3DKMT_STANDARDALLOCATIONTYPE = i32;
2225 pub type D3DKMT_TDRDBGCTRLTYPE = i32;
2226 pub type D3DKMT_VAD_ESCAPE_COMMAND = i32;
2227 pub type D3DKMT_VERIFIER_OPTION_MODE = i32;
2228 pub type D3DKMT_VIDMMESCAPETYPE = i32;
2229 pub type D3DKMT_VIDPNSOURCEOWNER_TYPE = i32;
2230 pub type D3DKMT_VIDSCHESCAPETYPE = i32;
2231 pub type D3DNTHAL_DP2OPERATION = i32;
2232 pub type D3DVSD_TOKENTYPE = i32;
2233 pub type DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO = i32;
2234 pub type DISPLAYID_DETAILED_TIMING_TYPE_I_SCANNING_MODE = i32;
2235 pub type DISPLAYID_DETAILED_TIMING_TYPE_I_STEREO_MODE = i32;
2236 pub type DISPLAYID_DETAILED_TIMING_TYPE_I_SYNC_POLARITY = i32;
2237 pub type DXGKDT_OPM_DVI_CHARACTERISTICS = i32;
2238 pub type DXGKMDT_CERTIFICATE_TYPE = i32;
2239 pub type DXGKMDT_OPM_ACP_PROTECTION_LEVEL = i32;
2240 pub type DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION = i32;
2241 pub type DXGKMDT_OPM_CGMSA = i32;
2242 pub type DXGKMDT_OPM_CONNECTOR_TYPE = i32;
2243 pub type DXGKMDT_OPM_DPCP_PROTECTION_LEVEL = i32;
2244 pub type DXGKMDT_OPM_HDCP_FLAG = i32;
2245 pub type DXGKMDT_OPM_HDCP_PROTECTION_LEVEL = i32;
2246 pub type DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294 = i32;
2247 pub type DXGKMDT_OPM_INTERLEAVE_FORMAT = i32;
2248 pub type DXGKMDT_OPM_OUTPUT_HARDWARE_PROTECTION = i32;
2249 pub type DXGKMDT_OPM_PROTECTION_STANDARD = i32;
2250 pub type DXGKMDT_OPM_PROTECTION_TYPE = i32;
2251 pub type DXGKMDT_OPM_STATUS = i32;
2252 pub type DXGKMDT_OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL = i32;
2253 pub type DXGKMDT_OPM_VIDEO_OUTPUT_SEMANTICS = i32;
2254 pub type DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_MODE = i32;
2255 pub type DXGKMT_MULTIPLANE_OVERLAY_STRETCH_QUALITY = i32;
2256 pub type DXGKMT_POWER_SHARED_TYPE = i32;
2257 pub type DXGKVGPU_ESCAPE_TYPE = i32;
2258 pub type DXGK_BACKLIGHT_OPTIMIZATION_LEVEL = i32;
2259 pub type DXGK_CHILD_DEVICE_HPD_AWARENESS = i32;
2260 pub type DXGK_DISPLAY_DESCRIPTOR_TYPE = u8;
2261 pub type DXGK_DISPLAY_TECHNOLOGY = u8;
2262 pub type DXGK_DISPLAY_USAGE = u8;
2263 pub type DXGK_ENGINE_TYPE = i32;
2264 pub type DXGK_GENERAL_ERROR_CODE = i32;
2265 pub type DXGK_MIRACAST_CHUNK_TYPE = i32;
2266 pub type DXGK_PAGE_FAULT_FLAGS = i32;
2267 pub type DXGK_PTE_PAGE_SIZE = i32;
2268 pub type DXGK_RENDER_PIPELINE_STAGE = i32;
2269 pub type KMTQUERYADAPTERINFOTYPE = i32;
2270 pub type KMTUMDVERSION = i32;
2271 pub type KMT_DISPLAY_UMD_VERSION = i32;
2272 pub type OUTPUTDUPL_CONTEXT_DEBUG_STATUS = i32;
2273 #[repr(C)]
2274 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
2275 #[cfg(feature = "Win32_Graphics_Direct3D9")]
2276 pub struct D3DCAPS8 {
2277 pub DeviceType: super::super::super::Win32::Graphics::Direct3D9::D3DDEVTYPE,
2278 pub AdapterOrdinal: u32,
2279 pub Caps: u32,
2280 pub Caps2: u32,
2281 pub Caps3: u32,
2282 pub PresentationIntervals: u32,
2283 pub CursorCaps: u32,
2284 pub DevCaps: u32,
2285 pub PrimitiveMiscCaps: u32,
2286 pub RasterCaps: u32,
2287 pub ZCmpCaps: u32,
2288 pub SrcBlendCaps: u32,
2289 pub DestBlendCaps: u32,
2290 pub AlphaCmpCaps: u32,
2291 pub ShadeCaps: u32,
2292 pub TextureCaps: u32,
2293 pub TextureFilterCaps: u32,
2294 pub CubeTextureFilterCaps: u32,
2295 pub VolumeTextureFilterCaps: u32,
2296 pub TextureAddressCaps: u32,
2297 pub VolumeTextureAddressCaps: u32,
2298 pub LineCaps: u32,
2299 pub MaxTextureWidth: u32,
2300 pub MaxTextureHeight: u32,
2301 pub MaxVolumeExtent: u32,
2302 pub MaxTextureRepeat: u32,
2303 pub MaxTextureAspectRatio: u32,
2304 pub MaxAnisotropy: u32,
2305 pub MaxVertexW: f32,
2306 pub GuardBandLeft: f32,
2307 pub GuardBandTop: f32,
2308 pub GuardBandRight: f32,
2309 pub GuardBandBottom: f32,
2310 pub ExtentsAdjust: f32,
2311 pub StencilCaps: u32,
2312 pub FVFCaps: u32,
2313 pub TextureOpCaps: u32,
2314 pub MaxTextureBlendStages: u32,
2315 pub MaxSimultaneousTextures: u32,
2316 pub VertexProcessingCaps: u32,
2317 pub MaxActiveLights: u32,
2318 pub MaxUserClipPlanes: u32,
2319 pub MaxVertexBlendMatrices: u32,
2320 pub MaxVertexBlendMatrixIndex: u32,
2321 pub MaxPointSize: f32,
2322 pub MaxPrimitiveCount: u32,
2323 pub MaxVertexIndex: u32,
2324 pub MaxStreams: u32,
2325 pub MaxStreamStride: u32,
2326 pub VertexShaderVersion: u32,
2327 pub MaxVertexShaderConst: u32,
2328 pub PixelShaderVersion: u32,
2329 pub MaxPixelShaderValue: f32,
2330 }
2331 #[cfg(feature = "Win32_Graphics_Direct3D9")]
2332 impl ::core::marker::Copy for D3DCAPS8 {}
2333 #[cfg(feature = "Win32_Graphics_Direct3D9")]
2334 impl ::core::clone::Clone for D3DCAPS8 {
2335 fn clone(&self) -> Self {
2336 *self
2337 }
2338 }
2339 #[repr(C)]
2340 #[doc = "Required features: `\"Win32_Foundation\"`"]
2341 #[cfg(feature = "Win32_Foundation")]
2342 pub struct D3DDDIARG_CREATERESOURCE {
2343 pub Format: D3DDDIFORMAT,
2344 pub Pool: D3DDDI_POOL,
2345 pub MultisampleType: D3DDDIMULTISAMPLE_TYPE,
2346 pub MultisampleQuality: u32,
2347 pub pSurfList: *const D3DDDI_SURFACEINFO,
2348 pub SurfCount: u32,
2349 pub MipLevels: u32,
2350 pub Fvf: u32,
2351 pub VidPnSourceId: u32,
2352 pub RefreshRate: D3DDDI_RATIONAL,
2353 pub hResource: super::super::super::Win32::Foundation::HANDLE,
2354 pub Flags: D3DDDI_RESOURCEFLAGS,
2355 pub Rotation: D3DDDI_ROTATION,
2356 }
2357 #[cfg(feature = "Win32_Foundation")]
2358 impl ::core::marker::Copy for D3DDDIARG_CREATERESOURCE {}
2359 #[cfg(feature = "Win32_Foundation")]
2360 impl ::core::clone::Clone for D3DDDIARG_CREATERESOURCE {
2361 fn clone(&self) -> Self {
2362 *self
2363 }
2364 }
2365 #[repr(C)]
2366 #[doc = "Required features: `\"Win32_Foundation\"`"]
2367 #[cfg(feature = "Win32_Foundation")]
2368 pub struct D3DDDIARG_CREATERESOURCE2 {
2369 pub Format: D3DDDIFORMAT,
2370 pub Pool: D3DDDI_POOL,
2371 pub MultisampleType: D3DDDIMULTISAMPLE_TYPE,
2372 pub MultisampleQuality: u32,
2373 pub pSurfList: *const D3DDDI_SURFACEINFO,
2374 pub SurfCount: u32,
2375 pub MipLevels: u32,
2376 pub Fvf: u32,
2377 pub VidPnSourceId: u32,
2378 pub RefreshRate: D3DDDI_RATIONAL,
2379 pub hResource: super::super::super::Win32::Foundation::HANDLE,
2380 pub Flags: D3DDDI_RESOURCEFLAGS,
2381 pub Rotation: D3DDDI_ROTATION,
2382 pub Flags2: D3DDDI_RESOURCEFLAGS2,
2383 }
2384 #[cfg(feature = "Win32_Foundation")]
2385 impl ::core::marker::Copy for D3DDDIARG_CREATERESOURCE2 {}
2386 #[cfg(feature = "Win32_Foundation")]
2387 impl ::core::clone::Clone for D3DDDIARG_CREATERESOURCE2 {
2388 fn clone(&self) -> Self {
2389 *self
2390 }
2391 }
2392 #[repr(C)]
2393 pub struct D3DDDICB_DESTROYALLOCATION2FLAGS {
2394 pub Anonymous: D3DDDICB_DESTROYALLOCATION2FLAGS_0,
2395 }
2396 impl ::core::marker::Copy for D3DDDICB_DESTROYALLOCATION2FLAGS {}
2397 impl ::core::clone::Clone for D3DDDICB_DESTROYALLOCATION2FLAGS {
2398 fn clone(&self) -> Self {
2399 *self
2400 }
2401 }
2402 #[repr(C)]
2403 pub union D3DDDICB_DESTROYALLOCATION2FLAGS_0 {
2404 pub Anonymous: D3DDDICB_DESTROYALLOCATION2FLAGS_0_0,
2405 pub Value: u32,
2406 }
2407 impl ::core::marker::Copy for D3DDDICB_DESTROYALLOCATION2FLAGS_0 {}
2408 impl ::core::clone::Clone for D3DDDICB_DESTROYALLOCATION2FLAGS_0 {
2409 fn clone(&self) -> Self {
2410 *self
2411 }
2412 }
2413 #[repr(C)]
2414 pub struct D3DDDICB_DESTROYALLOCATION2FLAGS_0_0 {
2415 pub _bitfield: u32,
2416 }
2417 impl ::core::marker::Copy for D3DDDICB_DESTROYALLOCATION2FLAGS_0_0 {}
2418 impl ::core::clone::Clone for D3DDDICB_DESTROYALLOCATION2FLAGS_0_0 {
2419 fn clone(&self) -> Self {
2420 *self
2421 }
2422 }
2423 #[repr(C)]
2424 pub struct D3DDDICB_LOCK2FLAGS {
2425 pub Anonymous: D3DDDICB_LOCK2FLAGS_0,
2426 }
2427 impl ::core::marker::Copy for D3DDDICB_LOCK2FLAGS {}
2428 impl ::core::clone::Clone for D3DDDICB_LOCK2FLAGS {
2429 fn clone(&self) -> Self {
2430 *self
2431 }
2432 }
2433 #[repr(C)]
2434 pub union D3DDDICB_LOCK2FLAGS_0 {
2435 pub Anonymous: D3DDDICB_LOCK2FLAGS_0_0,
2436 pub Value: u32,
2437 }
2438 impl ::core::marker::Copy for D3DDDICB_LOCK2FLAGS_0 {}
2439 impl ::core::clone::Clone for D3DDDICB_LOCK2FLAGS_0 {
2440 fn clone(&self) -> Self {
2441 *self
2442 }
2443 }
2444 #[repr(C)]
2445 pub struct D3DDDICB_LOCK2FLAGS_0_0 {
2446 pub _bitfield: u32,
2447 }
2448 impl ::core::marker::Copy for D3DDDICB_LOCK2FLAGS_0_0 {}
2449 impl ::core::clone::Clone for D3DDDICB_LOCK2FLAGS_0_0 {
2450 fn clone(&self) -> Self {
2451 *self
2452 }
2453 }
2454 #[repr(C)]
2455 pub struct D3DDDICB_LOCKFLAGS {
2456 pub Anonymous: D3DDDICB_LOCKFLAGS_0,
2457 }
2458 impl ::core::marker::Copy for D3DDDICB_LOCKFLAGS {}
2459 impl ::core::clone::Clone for D3DDDICB_LOCKFLAGS {
2460 fn clone(&self) -> Self {
2461 *self
2462 }
2463 }
2464 #[repr(C)]
2465 pub union D3DDDICB_LOCKFLAGS_0 {
2466 pub Anonymous: D3DDDICB_LOCKFLAGS_0_0,
2467 pub Value: u32,
2468 }
2469 impl ::core::marker::Copy for D3DDDICB_LOCKFLAGS_0 {}
2470 impl ::core::clone::Clone for D3DDDICB_LOCKFLAGS_0 {
2471 fn clone(&self) -> Self {
2472 *self
2473 }
2474 }
2475 #[repr(C)]
2476 pub struct D3DDDICB_LOCKFLAGS_0_0 {
2477 pub _bitfield: u32,
2478 }
2479 impl ::core::marker::Copy for D3DDDICB_LOCKFLAGS_0_0 {}
2480 impl ::core::clone::Clone for D3DDDICB_LOCKFLAGS_0_0 {
2481 fn clone(&self) -> Self {
2482 *self
2483 }
2484 }
2485 #[repr(C)]
2486 pub struct D3DDDICB_SIGNALFLAGS {
2487 pub Anonymous: D3DDDICB_SIGNALFLAGS_0,
2488 }
2489 impl ::core::marker::Copy for D3DDDICB_SIGNALFLAGS {}
2490 impl ::core::clone::Clone for D3DDDICB_SIGNALFLAGS {
2491 fn clone(&self) -> Self {
2492 *self
2493 }
2494 }
2495 #[repr(C)]
2496 pub union D3DDDICB_SIGNALFLAGS_0 {
2497 pub Anonymous: D3DDDICB_SIGNALFLAGS_0_0,
2498 pub Value: u32,
2499 }
2500 impl ::core::marker::Copy for D3DDDICB_SIGNALFLAGS_0 {}
2501 impl ::core::clone::Clone for D3DDDICB_SIGNALFLAGS_0 {
2502 fn clone(&self) -> Self {
2503 *self
2504 }
2505 }
2506 #[repr(C)]
2507 pub struct D3DDDICB_SIGNALFLAGS_0_0 {
2508 pub _bitfield: u32,
2509 }
2510 impl ::core::marker::Copy for D3DDDICB_SIGNALFLAGS_0_0 {}
2511 impl ::core::clone::Clone for D3DDDICB_SIGNALFLAGS_0_0 {
2512 fn clone(&self) -> Self {
2513 *self
2514 }
2515 }
2516 #[repr(C)]
2517 pub struct D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE {
2518 pub Anonymous: D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE_0,
2519 }
2520 impl ::core::marker::Copy for D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE {}
2521 impl ::core::clone::Clone for D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE {
2522 fn clone(&self) -> Self {
2523 *self
2524 }
2525 }
2526 #[repr(C)]
2527 pub union D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE_0 {
2528 pub Anonymous: D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE_0_0,
2529 pub Value: u64,
2530 }
2531 impl ::core::marker::Copy for D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE_0 {}
2532 impl ::core::clone::Clone for D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE_0 {
2533 fn clone(&self) -> Self {
2534 *self
2535 }
2536 }
2537 #[repr(C)]
2538 pub struct D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE_0_0 {
2539 pub _bitfield: u64,
2540 }
2541 impl ::core::marker::Copy for D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE_0_0 {}
2542 impl ::core::clone::Clone for D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE_0_0 {
2543 fn clone(&self) -> Self {
2544 *self
2545 }
2546 }
2547 #[repr(C)]
2548 pub struct D3DDDIRECT {
2549 pub left: i32,
2550 pub top: i32,
2551 pub right: i32,
2552 pub bottom: i32,
2553 }
2554 impl ::core::marker::Copy for D3DDDIRECT {}
2555 impl ::core::clone::Clone for D3DDDIRECT {
2556 fn clone(&self) -> Self {
2557 *self
2558 }
2559 }
2560 #[repr(C)]
2561 pub struct D3DDDI_ALLOCATIONINFO {
2562 pub hAllocation: u32,
2563 pub pSystemMem: *const ::core::ffi::c_void,
2564 pub pPrivateDriverData: *mut ::core::ffi::c_void,
2565 pub PrivateDriverDataSize: u32,
2566 pub VidPnSourceId: u32,
2567 pub Flags: D3DDDI_ALLOCATIONINFO_0,
2568 }
2569 impl ::core::marker::Copy for D3DDDI_ALLOCATIONINFO {}
2570 impl ::core::clone::Clone for D3DDDI_ALLOCATIONINFO {
2571 fn clone(&self) -> Self {
2572 *self
2573 }
2574 }
2575 #[repr(C)]
2576 pub union D3DDDI_ALLOCATIONINFO_0 {
2577 pub Anonymous: D3DDDI_ALLOCATIONINFO_0_0,
2578 pub Value: u32,
2579 }
2580 impl ::core::marker::Copy for D3DDDI_ALLOCATIONINFO_0 {}
2581 impl ::core::clone::Clone for D3DDDI_ALLOCATIONINFO_0 {
2582 fn clone(&self) -> Self {
2583 *self
2584 }
2585 }
2586 #[repr(C)]
2587 pub struct D3DDDI_ALLOCATIONINFO_0_0 {
2588 pub _bitfield: u32,
2589 }
2590 impl ::core::marker::Copy for D3DDDI_ALLOCATIONINFO_0_0 {}
2591 impl ::core::clone::Clone for D3DDDI_ALLOCATIONINFO_0_0 {
2592 fn clone(&self) -> Self {
2593 *self
2594 }
2595 }
2596 #[repr(C)]
2597 #[doc = "Required features: `\"Win32_Foundation\"`"]
2598 #[cfg(feature = "Win32_Foundation")]
2599 pub struct D3DDDI_ALLOCATIONINFO2 {
2600 pub hAllocation: u32,
2601 pub Anonymous1: D3DDDI_ALLOCATIONINFO2_0,
2602 pub pPrivateDriverData: *mut ::core::ffi::c_void,
2603 pub PrivateDriverDataSize: u32,
2604 pub VidPnSourceId: u32,
2605 pub Flags: D3DDDI_ALLOCATIONINFO2_2,
2606 pub GpuVirtualAddress: u64,
2607 pub Anonymous2: D3DDDI_ALLOCATIONINFO2_1,
2608 pub Reserved: [usize; 5],
2609 }
2610 #[cfg(feature = "Win32_Foundation")]
2611 impl ::core::marker::Copy for D3DDDI_ALLOCATIONINFO2 {}
2612 #[cfg(feature = "Win32_Foundation")]
2613 impl ::core::clone::Clone for D3DDDI_ALLOCATIONINFO2 {
2614 fn clone(&self) -> Self {
2615 *self
2616 }
2617 }
2618 #[repr(C)]
2619 #[doc = "Required features: `\"Win32_Foundation\"`"]
2620 #[cfg(feature = "Win32_Foundation")]
2621 pub union D3DDDI_ALLOCATIONINFO2_0 {
2622 pub hSection: super::super::super::Win32::Foundation::HANDLE,
2623 pub pSystemMem: *const ::core::ffi::c_void,
2624 }
2625 #[cfg(feature = "Win32_Foundation")]
2626 impl ::core::marker::Copy for D3DDDI_ALLOCATIONINFO2_0 {}
2627 #[cfg(feature = "Win32_Foundation")]
2628 impl ::core::clone::Clone for D3DDDI_ALLOCATIONINFO2_0 {
2629 fn clone(&self) -> Self {
2630 *self
2631 }
2632 }
2633 #[repr(C)]
2634 #[doc = "Required features: `\"Win32_Foundation\"`"]
2635 #[cfg(feature = "Win32_Foundation")]
2636 pub union D3DDDI_ALLOCATIONINFO2_1 {
2637 pub Priority: u32,
2638 pub Unused: usize,
2639 }
2640 #[cfg(feature = "Win32_Foundation")]
2641 impl ::core::marker::Copy for D3DDDI_ALLOCATIONINFO2_1 {}
2642 #[cfg(feature = "Win32_Foundation")]
2643 impl ::core::clone::Clone for D3DDDI_ALLOCATIONINFO2_1 {
2644 fn clone(&self) -> Self {
2645 *self
2646 }
2647 }
2648 #[repr(C)]
2649 #[doc = "Required features: `\"Win32_Foundation\"`"]
2650 #[cfg(feature = "Win32_Foundation")]
2651 pub union D3DDDI_ALLOCATIONINFO2_2 {
2652 pub Anonymous: D3DDDI_ALLOCATIONINFO2_2_0,
2653 pub Value: u32,
2654 }
2655 #[cfg(feature = "Win32_Foundation")]
2656 impl ::core::marker::Copy for D3DDDI_ALLOCATIONINFO2_2 {}
2657 #[cfg(feature = "Win32_Foundation")]
2658 impl ::core::clone::Clone for D3DDDI_ALLOCATIONINFO2_2 {
2659 fn clone(&self) -> Self {
2660 *self
2661 }
2662 }
2663 #[repr(C)]
2664 #[doc = "Required features: `\"Win32_Foundation\"`"]
2665 #[cfg(feature = "Win32_Foundation")]
2666 pub struct D3DDDI_ALLOCATIONINFO2_2_0 {
2667 pub _bitfield: u32,
2668 }
2669 #[cfg(feature = "Win32_Foundation")]
2670 impl ::core::marker::Copy for D3DDDI_ALLOCATIONINFO2_2_0 {}
2671 #[cfg(feature = "Win32_Foundation")]
2672 impl ::core::clone::Clone for D3DDDI_ALLOCATIONINFO2_2_0 {
2673 fn clone(&self) -> Self {
2674 *self
2675 }
2676 }
2677 #[repr(C)]
2678 pub struct D3DDDI_ALLOCATIONLIST {
2679 pub hAllocation: u32,
2680 pub Anonymous: D3DDDI_ALLOCATIONLIST_0,
2681 }
2682 impl ::core::marker::Copy for D3DDDI_ALLOCATIONLIST {}
2683 impl ::core::clone::Clone for D3DDDI_ALLOCATIONLIST {
2684 fn clone(&self) -> Self {
2685 *self
2686 }
2687 }
2688 #[repr(C)]
2689 pub union D3DDDI_ALLOCATIONLIST_0 {
2690 pub Anonymous: D3DDDI_ALLOCATIONLIST_0_0,
2691 pub Value: u32,
2692 }
2693 impl ::core::marker::Copy for D3DDDI_ALLOCATIONLIST_0 {}
2694 impl ::core::clone::Clone for D3DDDI_ALLOCATIONLIST_0 {
2695 fn clone(&self) -> Self {
2696 *self
2697 }
2698 }
2699 #[repr(C)]
2700 pub struct D3DDDI_ALLOCATIONLIST_0_0 {
2701 pub _bitfield: u32,
2702 }
2703 impl ::core::marker::Copy for D3DDDI_ALLOCATIONLIST_0_0 {}
2704 impl ::core::clone::Clone for D3DDDI_ALLOCATIONLIST_0_0 {
2705 fn clone(&self) -> Self {
2706 *self
2707 }
2708 }
2709 #[repr(C)]
2710 pub struct D3DDDI_CREATECONTEXTFLAGS {
2711 pub Anonymous: D3DDDI_CREATECONTEXTFLAGS_0,
2712 }
2713 impl ::core::marker::Copy for D3DDDI_CREATECONTEXTFLAGS {}
2714 impl ::core::clone::Clone for D3DDDI_CREATECONTEXTFLAGS {
2715 fn clone(&self) -> Self {
2716 *self
2717 }
2718 }
2719 #[repr(C)]
2720 pub union D3DDDI_CREATECONTEXTFLAGS_0 {
2721 pub Anonymous: D3DDDI_CREATECONTEXTFLAGS_0_0,
2722 pub Value: u32,
2723 }
2724 impl ::core::marker::Copy for D3DDDI_CREATECONTEXTFLAGS_0 {}
2725 impl ::core::clone::Clone for D3DDDI_CREATECONTEXTFLAGS_0 {
2726 fn clone(&self) -> Self {
2727 *self
2728 }
2729 }
2730 #[repr(C)]
2731 pub struct D3DDDI_CREATECONTEXTFLAGS_0_0 {
2732 pub _bitfield: u32,
2733 }
2734 impl ::core::marker::Copy for D3DDDI_CREATECONTEXTFLAGS_0_0 {}
2735 impl ::core::clone::Clone for D3DDDI_CREATECONTEXTFLAGS_0_0 {
2736 fn clone(&self) -> Self {
2737 *self
2738 }
2739 }
2740 #[repr(C)]
2741 pub struct D3DDDI_CREATEHWCONTEXTFLAGS {
2742 pub Anonymous: D3DDDI_CREATEHWCONTEXTFLAGS_0,
2743 }
2744 impl ::core::marker::Copy for D3DDDI_CREATEHWCONTEXTFLAGS {}
2745 impl ::core::clone::Clone for D3DDDI_CREATEHWCONTEXTFLAGS {
2746 fn clone(&self) -> Self {
2747 *self
2748 }
2749 }
2750 #[repr(C)]
2751 pub union D3DDDI_CREATEHWCONTEXTFLAGS_0 {
2752 pub Anonymous: D3DDDI_CREATEHWCONTEXTFLAGS_0_0,
2753 pub Value: u32,
2754 }
2755 impl ::core::marker::Copy for D3DDDI_CREATEHWCONTEXTFLAGS_0 {}
2756 impl ::core::clone::Clone for D3DDDI_CREATEHWCONTEXTFLAGS_0 {
2757 fn clone(&self) -> Self {
2758 *self
2759 }
2760 }
2761 #[repr(C)]
2762 pub struct D3DDDI_CREATEHWCONTEXTFLAGS_0_0 {
2763 pub _bitfield: u32,
2764 }
2765 impl ::core::marker::Copy for D3DDDI_CREATEHWCONTEXTFLAGS_0_0 {}
2766 impl ::core::clone::Clone for D3DDDI_CREATEHWCONTEXTFLAGS_0_0 {
2767 fn clone(&self) -> Self {
2768 *self
2769 }
2770 }
2771 #[repr(C)]
2772 pub struct D3DDDI_CREATEHWQUEUEFLAGS {
2773 pub Anonymous: D3DDDI_CREATEHWQUEUEFLAGS_0,
2774 }
2775 impl ::core::marker::Copy for D3DDDI_CREATEHWQUEUEFLAGS {}
2776 impl ::core::clone::Clone for D3DDDI_CREATEHWQUEUEFLAGS {
2777 fn clone(&self) -> Self {
2778 *self
2779 }
2780 }
2781 #[repr(C)]
2782 pub union D3DDDI_CREATEHWQUEUEFLAGS_0 {
2783 pub Anonymous: D3DDDI_CREATEHWQUEUEFLAGS_0_0,
2784 pub Value: u32,
2785 }
2786 impl ::core::marker::Copy for D3DDDI_CREATEHWQUEUEFLAGS_0 {}
2787 impl ::core::clone::Clone for D3DDDI_CREATEHWQUEUEFLAGS_0 {
2788 fn clone(&self) -> Self {
2789 *self
2790 }
2791 }
2792 #[repr(C)]
2793 pub struct D3DDDI_CREATEHWQUEUEFLAGS_0_0 {
2794 pub _bitfield: u32,
2795 }
2796 impl ::core::marker::Copy for D3DDDI_CREATEHWQUEUEFLAGS_0_0 {}
2797 impl ::core::clone::Clone for D3DDDI_CREATEHWQUEUEFLAGS_0_0 {
2798 fn clone(&self) -> Self {
2799 *self
2800 }
2801 }
2802 #[repr(C)]
2803 pub struct D3DDDI_CREATENATIVEFENCEINFO {
2804 pub InitialFenceValue: u64,
2805 pub pPrivateDriverData: *mut ::core::ffi::c_void,
2806 pub PrivateDriverDataSize: u32,
2807 pub EngineAffinity: u32,
2808 pub Flags: D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS,
2809 pub hSyncObject: u32,
2810 pub NativeFenceMapping: D3DDDI_NATIVEFENCEMAPPING,
2811 }
2812 impl ::core::marker::Copy for D3DDDI_CREATENATIVEFENCEINFO {}
2813 impl ::core::clone::Clone for D3DDDI_CREATENATIVEFENCEINFO {
2814 fn clone(&self) -> Self {
2815 *self
2816 }
2817 }
2818 #[repr(C)]
2819 pub struct D3DDDI_DESTROYPAGINGQUEUE {
2820 pub hPagingQueue: u32,
2821 }
2822 impl ::core::marker::Copy for D3DDDI_DESTROYPAGINGQUEUE {}
2823 impl ::core::clone::Clone for D3DDDI_DESTROYPAGINGQUEUE {
2824 fn clone(&self) -> Self {
2825 *self
2826 }
2827 }
2828 #[repr(C)]
2829 pub struct D3DDDI_DRIVERESCAPE_CPUEVENTUSAGE {
2830 pub EscapeType: D3DDDI_DRIVERESCAPETYPE,
2831 pub hSyncObject: u32,
2832 pub hKmdCpuEvent: u64,
2833 pub Usage: [u32; 8],
2834 }
2835 impl ::core::marker::Copy for D3DDDI_DRIVERESCAPE_CPUEVENTUSAGE {}
2836 impl ::core::clone::Clone for D3DDDI_DRIVERESCAPE_CPUEVENTUSAGE {
2837 fn clone(&self) -> Self {
2838 *self
2839 }
2840 }
2841 #[repr(C)]
2842 pub struct D3DDDI_DRIVERESCAPE_TRANSLATEALLOCATIONEHANDLE {
2843 pub EscapeType: D3DDDI_DRIVERESCAPETYPE,
2844 pub hAllocation: u32,
2845 }
2846 impl ::core::marker::Copy for D3DDDI_DRIVERESCAPE_TRANSLATEALLOCATIONEHANDLE {}
2847 impl ::core::clone::Clone for D3DDDI_DRIVERESCAPE_TRANSLATEALLOCATIONEHANDLE {
2848 fn clone(&self) -> Self {
2849 *self
2850 }
2851 }
2852 #[repr(C)]
2853 pub struct D3DDDI_DRIVERESCAPE_TRANSLATERESOURCEHANDLE {
2854 pub EscapeType: D3DDDI_DRIVERESCAPETYPE,
2855 pub hResource: u32,
2856 }
2857 impl ::core::marker::Copy for D3DDDI_DRIVERESCAPE_TRANSLATERESOURCEHANDLE {}
2858 impl ::core::clone::Clone for D3DDDI_DRIVERESCAPE_TRANSLATERESOURCEHANDLE {
2859 fn clone(&self) -> Self {
2860 *self
2861 }
2862 }
2863 #[repr(C)]
2864 pub struct D3DDDI_DXGI_RGB {
2865 pub Red: f32,
2866 pub Green: f32,
2867 pub Blue: f32,
2868 }
2869 impl ::core::marker::Copy for D3DDDI_DXGI_RGB {}
2870 impl ::core::clone::Clone for D3DDDI_DXGI_RGB {
2871 fn clone(&self) -> Self {
2872 *self
2873 }
2874 }
2875 #[repr(C)]
2876 pub struct D3DDDI_ESCAPEFLAGS {
2877 pub Anonymous: D3DDDI_ESCAPEFLAGS_0,
2878 }
2879 impl ::core::marker::Copy for D3DDDI_ESCAPEFLAGS {}
2880 impl ::core::clone::Clone for D3DDDI_ESCAPEFLAGS {
2881 fn clone(&self) -> Self {
2882 *self
2883 }
2884 }
2885 #[repr(C)]
2886 pub union D3DDDI_ESCAPEFLAGS_0 {
2887 pub Anonymous: D3DDDI_ESCAPEFLAGS_0_0,
2888 pub Value: u32,
2889 }
2890 impl ::core::marker::Copy for D3DDDI_ESCAPEFLAGS_0 {}
2891 impl ::core::clone::Clone for D3DDDI_ESCAPEFLAGS_0 {
2892 fn clone(&self) -> Self {
2893 *self
2894 }
2895 }
2896 #[repr(C)]
2897 pub struct D3DDDI_ESCAPEFLAGS_0_0 {
2898 pub _bitfield: u32,
2899 }
2900 impl ::core::marker::Copy for D3DDDI_ESCAPEFLAGS_0_0 {}
2901 impl ::core::clone::Clone for D3DDDI_ESCAPEFLAGS_0_0 {
2902 fn clone(&self) -> Self {
2903 *self
2904 }
2905 }
2906 #[repr(C)]
2907 pub struct D3DDDI_EVICT_FLAGS {
2908 pub Anonymous: D3DDDI_EVICT_FLAGS_0,
2909 }
2910 impl ::core::marker::Copy for D3DDDI_EVICT_FLAGS {}
2911 impl ::core::clone::Clone for D3DDDI_EVICT_FLAGS {
2912 fn clone(&self) -> Self {
2913 *self
2914 }
2915 }
2916 #[repr(C)]
2917 pub union D3DDDI_EVICT_FLAGS_0 {
2918 pub Anonymous: D3DDDI_EVICT_FLAGS_0_0,
2919 pub Value: u32,
2920 }
2921 impl ::core::marker::Copy for D3DDDI_EVICT_FLAGS_0 {}
2922 impl ::core::clone::Clone for D3DDDI_EVICT_FLAGS_0 {
2923 fn clone(&self) -> Self {
2924 *self
2925 }
2926 }
2927 #[repr(C)]
2928 pub struct D3DDDI_EVICT_FLAGS_0_0 {
2929 pub _bitfield: u32,
2930 }
2931 impl ::core::marker::Copy for D3DDDI_EVICT_FLAGS_0_0 {}
2932 impl ::core::clone::Clone for D3DDDI_EVICT_FLAGS_0_0 {
2933 fn clone(&self) -> Self {
2934 *self
2935 }
2936 }
2937 #[repr(C)]
2938 pub struct D3DDDI_GAMMA_RAMP_DXGI_1 {
2939 pub Scale: D3DDDI_DXGI_RGB,
2940 pub Offset: D3DDDI_DXGI_RGB,
2941 pub GammaCurve: [D3DDDI_DXGI_RGB; 1025],
2942 }
2943 impl ::core::marker::Copy for D3DDDI_GAMMA_RAMP_DXGI_1 {}
2944 impl ::core::clone::Clone for D3DDDI_GAMMA_RAMP_DXGI_1 {
2945 fn clone(&self) -> Self {
2946 *self
2947 }
2948 }
2949 #[repr(C)]
2950 pub struct D3DDDI_GAMMA_RAMP_RGB256x3x16 {
2951 pub Red: [u16; 256],
2952 pub Green: [u16; 256],
2953 pub Blue: [u16; 256],
2954 }
2955 impl ::core::marker::Copy for D3DDDI_GAMMA_RAMP_RGB256x3x16 {}
2956 impl ::core::clone::Clone for D3DDDI_GAMMA_RAMP_RGB256x3x16 {
2957 fn clone(&self) -> Self {
2958 *self
2959 }
2960 }
2961 #[repr(C)]
2962 pub struct D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA {
2963 pub hResource: u32,
2964 pub PrivateDriverDataSize: u32,
2965 pub pPrivateDriverData: *mut ::core::ffi::c_void,
2966 }
2967 impl ::core::marker::Copy for D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA {}
2968 impl ::core::clone::Clone for D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA {
2969 fn clone(&self) -> Self {
2970 *self
2971 }
2972 }
2973 #[repr(C)]
2974 pub struct D3DDDI_HDR_METADATA_HDR10 {
2975 pub RedPrimary: [u16; 2],
2976 pub GreenPrimary: [u16; 2],
2977 pub BluePrimary: [u16; 2],
2978 pub WhitePoint: [u16; 2],
2979 pub MaxMasteringLuminance: u32,
2980 pub MinMasteringLuminance: u32,
2981 pub MaxContentLightLevel: u16,
2982 pub MaxFrameAverageLightLevel: u16,
2983 }
2984 impl ::core::marker::Copy for D3DDDI_HDR_METADATA_HDR10 {}
2985 impl ::core::clone::Clone for D3DDDI_HDR_METADATA_HDR10 {
2986 fn clone(&self) -> Self {
2987 *self
2988 }
2989 }
2990 #[repr(C)]
2991 pub struct D3DDDI_HDR_METADATA_HDR10PLUS {
2992 pub Data: [u8; 72],
2993 }
2994 impl ::core::marker::Copy for D3DDDI_HDR_METADATA_HDR10PLUS {}
2995 impl ::core::clone::Clone for D3DDDI_HDR_METADATA_HDR10PLUS {
2996 fn clone(&self) -> Self {
2997 *self
2998 }
2999 }
3000 #[repr(C)]
3001 pub struct D3DDDI_KERNELOVERLAYINFO {
3002 pub hAllocation: u32,
3003 pub DstRect: D3DDDIRECT,
3004 pub SrcRect: D3DDDIRECT,
3005 pub pPrivateDriverData: *mut ::core::ffi::c_void,
3006 pub PrivateDriverDataSize: u32,
3007 }
3008 impl ::core::marker::Copy for D3DDDI_KERNELOVERLAYINFO {}
3009 impl ::core::clone::Clone for D3DDDI_KERNELOVERLAYINFO {
3010 fn clone(&self) -> Self {
3011 *self
3012 }
3013 }
3014 #[repr(C)]
3015 pub struct D3DDDI_MAKERESIDENT {
3016 pub hPagingQueue: u32,
3017 pub NumAllocations: u32,
3018 pub AllocationList: *const u32,
3019 pub PriorityList: *const u32,
3020 pub Flags: D3DDDI_MAKERESIDENT_FLAGS,
3021 pub PagingFenceValue: u64,
3022 pub NumBytesToTrim: u64,
3023 }
3024 impl ::core::marker::Copy for D3DDDI_MAKERESIDENT {}
3025 impl ::core::clone::Clone for D3DDDI_MAKERESIDENT {
3026 fn clone(&self) -> Self {
3027 *self
3028 }
3029 }
3030 #[repr(C)]
3031 pub struct D3DDDI_MAKERESIDENT_FLAGS {
3032 pub Anonymous: D3DDDI_MAKERESIDENT_FLAGS_0,
3033 }
3034 impl ::core::marker::Copy for D3DDDI_MAKERESIDENT_FLAGS {}
3035 impl ::core::clone::Clone for D3DDDI_MAKERESIDENT_FLAGS {
3036 fn clone(&self) -> Self {
3037 *self
3038 }
3039 }
3040 #[repr(C)]
3041 pub union D3DDDI_MAKERESIDENT_FLAGS_0 {
3042 pub Anonymous: D3DDDI_MAKERESIDENT_FLAGS_0_0,
3043 pub Value: u32,
3044 }
3045 impl ::core::marker::Copy for D3DDDI_MAKERESIDENT_FLAGS_0 {}
3046 impl ::core::clone::Clone for D3DDDI_MAKERESIDENT_FLAGS_0 {
3047 fn clone(&self) -> Self {
3048 *self
3049 }
3050 }
3051 #[repr(C)]
3052 pub struct D3DDDI_MAKERESIDENT_FLAGS_0_0 {
3053 pub _bitfield: u32,
3054 }
3055 impl ::core::marker::Copy for D3DDDI_MAKERESIDENT_FLAGS_0_0 {}
3056 impl ::core::clone::Clone for D3DDDI_MAKERESIDENT_FLAGS_0_0 {
3057 fn clone(&self) -> Self {
3058 *self
3059 }
3060 }
3061 #[repr(C)]
3062 pub struct D3DDDI_MAPGPUVIRTUALADDRESS {
3063 pub hPagingQueue: u32,
3064 pub BaseAddress: u64,
3065 pub MinimumAddress: u64,
3066 pub MaximumAddress: u64,
3067 pub hAllocation: u32,
3068 pub OffsetInPages: u64,
3069 pub SizeInPages: u64,
3070 pub Protection: D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE,
3071 pub DriverProtection: u64,
3072 pub Reserved0: u32,
3073 pub Reserved1: u64,
3074 pub VirtualAddress: u64,
3075 pub PagingFenceValue: u64,
3076 }
3077 impl ::core::marker::Copy for D3DDDI_MAPGPUVIRTUALADDRESS {}
3078 impl ::core::clone::Clone for D3DDDI_MAPGPUVIRTUALADDRESS {
3079 fn clone(&self) -> Self {
3080 *self
3081 }
3082 }
3083 #[repr(C)]
3084 pub struct D3DDDI_MULTISAMPLINGMETHOD {
3085 pub NumSamples: u32,
3086 pub NumQualityLevels: u32,
3087 }
3088 impl ::core::marker::Copy for D3DDDI_MULTISAMPLINGMETHOD {}
3089 impl ::core::clone::Clone for D3DDDI_MULTISAMPLINGMETHOD {
3090 fn clone(&self) -> Self {
3091 *self
3092 }
3093 }
3094 #[repr(C)]
3095 pub struct D3DDDI_NATIVEFENCEMAPPING {
3096 pub CurrentValueCpuVa: *mut ::core::ffi::c_void,
3097 pub CurrentValueGpuVa: u64,
3098 pub MonitoredValueGpuVa: u64,
3099 }
3100 impl ::core::marker::Copy for D3DDDI_NATIVEFENCEMAPPING {}
3101 impl ::core::clone::Clone for D3DDDI_NATIVEFENCEMAPPING {
3102 fn clone(&self) -> Self {
3103 *self
3104 }
3105 }
3106 #[repr(C)]
3107 pub struct D3DDDI_OFFER_FLAGS {
3108 pub Anonymous: D3DDDI_OFFER_FLAGS_0,
3109 }
3110 impl ::core::marker::Copy for D3DDDI_OFFER_FLAGS {}
3111 impl ::core::clone::Clone for D3DDDI_OFFER_FLAGS {
3112 fn clone(&self) -> Self {
3113 *self
3114 }
3115 }
3116 #[repr(C)]
3117 pub union D3DDDI_OFFER_FLAGS_0 {
3118 pub Anonymous: D3DDDI_OFFER_FLAGS_0_0,
3119 pub Value: u32,
3120 }
3121 impl ::core::marker::Copy for D3DDDI_OFFER_FLAGS_0 {}
3122 impl ::core::clone::Clone for D3DDDI_OFFER_FLAGS_0 {
3123 fn clone(&self) -> Self {
3124 *self
3125 }
3126 }
3127 #[repr(C)]
3128 pub struct D3DDDI_OFFER_FLAGS_0_0 {
3129 pub _bitfield: u32,
3130 }
3131 impl ::core::marker::Copy for D3DDDI_OFFER_FLAGS_0_0 {}
3132 impl ::core::clone::Clone for D3DDDI_OFFER_FLAGS_0_0 {
3133 fn clone(&self) -> Self {
3134 *self
3135 }
3136 }
3137 #[repr(C)]
3138 pub struct D3DDDI_OPENALLOCATIONINFO {
3139 pub hAllocation: u32,
3140 pub pPrivateDriverData: *const ::core::ffi::c_void,
3141 pub PrivateDriverDataSize: u32,
3142 }
3143 impl ::core::marker::Copy for D3DDDI_OPENALLOCATIONINFO {}
3144 impl ::core::clone::Clone for D3DDDI_OPENALLOCATIONINFO {
3145 fn clone(&self) -> Self {
3146 *self
3147 }
3148 }
3149 #[repr(C)]
3150 pub struct D3DDDI_OPENALLOCATIONINFO2 {
3151 pub hAllocation: u32,
3152 pub pPrivateDriverData: *const ::core::ffi::c_void,
3153 pub PrivateDriverDataSize: u32,
3154 pub GpuVirtualAddress: u64,
3155 pub Reserved: [usize; 6],
3156 }
3157 impl ::core::marker::Copy for D3DDDI_OPENALLOCATIONINFO2 {}
3158 impl ::core::clone::Clone for D3DDDI_OPENALLOCATIONINFO2 {
3159 fn clone(&self) -> Self {
3160 *self
3161 }
3162 }
3163 #[repr(C)]
3164 pub struct D3DDDI_PATCHLOCATIONLIST {
3165 pub AllocationIndex: u32,
3166 pub Anonymous: D3DDDI_PATCHLOCATIONLIST_0,
3167 pub DriverId: u32,
3168 pub AllocationOffset: u32,
3169 pub PatchOffset: u32,
3170 pub SplitOffset: u32,
3171 }
3172 impl ::core::marker::Copy for D3DDDI_PATCHLOCATIONLIST {}
3173 impl ::core::clone::Clone for D3DDDI_PATCHLOCATIONLIST {
3174 fn clone(&self) -> Self {
3175 *self
3176 }
3177 }
3178 #[repr(C)]
3179 pub union D3DDDI_PATCHLOCATIONLIST_0 {
3180 pub Anonymous: D3DDDI_PATCHLOCATIONLIST_0_0,
3181 pub Value: u32,
3182 }
3183 impl ::core::marker::Copy for D3DDDI_PATCHLOCATIONLIST_0 {}
3184 impl ::core::clone::Clone for D3DDDI_PATCHLOCATIONLIST_0 {
3185 fn clone(&self) -> Self {
3186 *self
3187 }
3188 }
3189 #[repr(C)]
3190 pub struct D3DDDI_PATCHLOCATIONLIST_0_0 {
3191 pub _bitfield: u32,
3192 }
3193 impl ::core::marker::Copy for D3DDDI_PATCHLOCATIONLIST_0_0 {}
3194 impl ::core::clone::Clone for D3DDDI_PATCHLOCATIONLIST_0_0 {
3195 fn clone(&self) -> Self {
3196 *self
3197 }
3198 }
3199 #[repr(C)]
3200 pub struct D3DDDI_QUERYREGISTRY_FLAGS {
3201 pub Anonymous: D3DDDI_QUERYREGISTRY_FLAGS_0,
3202 }
3203 impl ::core::marker::Copy for D3DDDI_QUERYREGISTRY_FLAGS {}
3204 impl ::core::clone::Clone for D3DDDI_QUERYREGISTRY_FLAGS {
3205 fn clone(&self) -> Self {
3206 *self
3207 }
3208 }
3209 #[repr(C)]
3210 pub union D3DDDI_QUERYREGISTRY_FLAGS_0 {
3211 pub Anonymous: D3DDDI_QUERYREGISTRY_FLAGS_0_0,
3212 pub Value: u32,
3213 }
3214 impl ::core::marker::Copy for D3DDDI_QUERYREGISTRY_FLAGS_0 {}
3215 impl ::core::clone::Clone for D3DDDI_QUERYREGISTRY_FLAGS_0 {
3216 fn clone(&self) -> Self {
3217 *self
3218 }
3219 }
3220 #[repr(C)]
3221 pub struct D3DDDI_QUERYREGISTRY_FLAGS_0_0 {
3222 pub _bitfield: u32,
3223 }
3224 impl ::core::marker::Copy for D3DDDI_QUERYREGISTRY_FLAGS_0_0 {}
3225 impl ::core::clone::Clone for D3DDDI_QUERYREGISTRY_FLAGS_0_0 {
3226 fn clone(&self) -> Self {
3227 *self
3228 }
3229 }
3230 #[repr(C)]
3231 pub struct D3DDDI_QUERYREGISTRY_INFO {
3232 pub QueryType: D3DDDI_QUERYREGISTRY_TYPE,
3233 pub QueryFlags: D3DDDI_QUERYREGISTRY_FLAGS,
3234 pub ValueName: [u16; 260],
3235 pub ValueType: u32,
3236 pub PhysicalAdapterIndex: u32,
3237 pub OutputValueSize: u32,
3238 pub Status: D3DDDI_QUERYREGISTRY_STATUS,
3239 pub Anonymous: D3DDDI_QUERYREGISTRY_INFO_0,
3240 }
3241 impl ::core::marker::Copy for D3DDDI_QUERYREGISTRY_INFO {}
3242 impl ::core::clone::Clone for D3DDDI_QUERYREGISTRY_INFO {
3243 fn clone(&self) -> Self {
3244 *self
3245 }
3246 }
3247 #[repr(C)]
3248 pub union D3DDDI_QUERYREGISTRY_INFO_0 {
3249 pub OutputDword: u32,
3250 pub OutputQword: u64,
3251 pub OutputString: [u16; 1],
3252 pub OutputBinary: [u8; 1],
3253 }
3254 impl ::core::marker::Copy for D3DDDI_QUERYREGISTRY_INFO_0 {}
3255 impl ::core::clone::Clone for D3DDDI_QUERYREGISTRY_INFO_0 {
3256 fn clone(&self) -> Self {
3257 *self
3258 }
3259 }
3260 #[repr(C)]
3261 pub struct D3DDDI_RATIONAL {
3262 pub Numerator: u32,
3263 pub Denominator: u32,
3264 }
3265 impl ::core::marker::Copy for D3DDDI_RATIONAL {}
3266 impl ::core::clone::Clone for D3DDDI_RATIONAL {
3267 fn clone(&self) -> Self {
3268 *self
3269 }
3270 }
3271 #[repr(C)]
3272 pub struct D3DDDI_RESERVEGPUVIRTUALADDRESS {
3273 pub Anonymous1: D3DDDI_RESERVEGPUVIRTUALADDRESS_0,
3274 pub BaseAddress: u64,
3275 pub MinimumAddress: u64,
3276 pub MaximumAddress: u64,
3277 pub Size: u64,
3278 pub Anonymous2: D3DDDI_RESERVEGPUVIRTUALADDRESS_1,
3279 pub Anonymous3: D3DDDI_RESERVEGPUVIRTUALADDRESS_2,
3280 pub VirtualAddress: u64,
3281 pub Anonymous4: D3DDDI_RESERVEGPUVIRTUALADDRESS_3,
3282 }
3283 impl ::core::marker::Copy for D3DDDI_RESERVEGPUVIRTUALADDRESS {}
3284 impl ::core::clone::Clone for D3DDDI_RESERVEGPUVIRTUALADDRESS {
3285 fn clone(&self) -> Self {
3286 *self
3287 }
3288 }
3289 #[repr(C)]
3290 pub union D3DDDI_RESERVEGPUVIRTUALADDRESS_0 {
3291 pub hPagingQueue: u32,
3292 pub hAdapter: u32,
3293 }
3294 impl ::core::marker::Copy for D3DDDI_RESERVEGPUVIRTUALADDRESS_0 {}
3295 impl ::core::clone::Clone for D3DDDI_RESERVEGPUVIRTUALADDRESS_0 {
3296 fn clone(&self) -> Self {
3297 *self
3298 }
3299 }
3300 #[repr(C)]
3301 pub union D3DDDI_RESERVEGPUVIRTUALADDRESS_1 {
3302 pub ReservationType: D3DDDIGPUVIRTUALADDRESS_RESERVATION_TYPE,
3303 pub Reserved0: u32,
3304 }
3305 impl ::core::marker::Copy for D3DDDI_RESERVEGPUVIRTUALADDRESS_1 {}
3306 impl ::core::clone::Clone for D3DDDI_RESERVEGPUVIRTUALADDRESS_1 {
3307 fn clone(&self) -> Self {
3308 *self
3309 }
3310 }
3311 #[repr(C)]
3312 pub union D3DDDI_RESERVEGPUVIRTUALADDRESS_2 {
3313 pub DriverProtection: u64,
3314 pub Reserved1: u64,
3315 }
3316 impl ::core::marker::Copy for D3DDDI_RESERVEGPUVIRTUALADDRESS_2 {}
3317 impl ::core::clone::Clone for D3DDDI_RESERVEGPUVIRTUALADDRESS_2 {
3318 fn clone(&self) -> Self {
3319 *self
3320 }
3321 }
3322 #[repr(C)]
3323 pub union D3DDDI_RESERVEGPUVIRTUALADDRESS_3 {
3324 pub PagingFenceValue: u64,
3325 pub Reserved2: u64,
3326 }
3327 impl ::core::marker::Copy for D3DDDI_RESERVEGPUVIRTUALADDRESS_3 {}
3328 impl ::core::clone::Clone for D3DDDI_RESERVEGPUVIRTUALADDRESS_3 {
3329 fn clone(&self) -> Self {
3330 *self
3331 }
3332 }
3333 #[repr(C)]
3334 pub struct D3DDDI_RESOURCEFLAGS {
3335 pub Anonymous: D3DDDI_RESOURCEFLAGS_0,
3336 }
3337 impl ::core::marker::Copy for D3DDDI_RESOURCEFLAGS {}
3338 impl ::core::clone::Clone for D3DDDI_RESOURCEFLAGS {
3339 fn clone(&self) -> Self {
3340 *self
3341 }
3342 }
3343 #[repr(C)]
3344 pub union D3DDDI_RESOURCEFLAGS_0 {
3345 pub Anonymous: D3DDDI_RESOURCEFLAGS_0_0,
3346 pub Value: u32,
3347 }
3348 impl ::core::marker::Copy for D3DDDI_RESOURCEFLAGS_0 {}
3349 impl ::core::clone::Clone for D3DDDI_RESOURCEFLAGS_0 {
3350 fn clone(&self) -> Self {
3351 *self
3352 }
3353 }
3354 #[repr(C)]
3355 pub struct D3DDDI_RESOURCEFLAGS_0_0 {
3356 pub _bitfield: u32,
3357 }
3358 impl ::core::marker::Copy for D3DDDI_RESOURCEFLAGS_0_0 {}
3359 impl ::core::clone::Clone for D3DDDI_RESOURCEFLAGS_0_0 {
3360 fn clone(&self) -> Self {
3361 *self
3362 }
3363 }
3364 #[repr(C)]
3365 pub struct D3DDDI_RESOURCEFLAGS2 {
3366 pub Anonymous: D3DDDI_RESOURCEFLAGS2_0,
3367 }
3368 impl ::core::marker::Copy for D3DDDI_RESOURCEFLAGS2 {}
3369 impl ::core::clone::Clone for D3DDDI_RESOURCEFLAGS2 {
3370 fn clone(&self) -> Self {
3371 *self
3372 }
3373 }
3374 #[repr(C)]
3375 pub union D3DDDI_RESOURCEFLAGS2_0 {
3376 pub Anonymous: D3DDDI_RESOURCEFLAGS2_0_0,
3377 pub Value: u32,
3378 }
3379 impl ::core::marker::Copy for D3DDDI_RESOURCEFLAGS2_0 {}
3380 impl ::core::clone::Clone for D3DDDI_RESOURCEFLAGS2_0 {
3381 fn clone(&self) -> Self {
3382 *self
3383 }
3384 }
3385 #[repr(C)]
3386 pub struct D3DDDI_RESOURCEFLAGS2_0_0 {
3387 pub _bitfield: u32,
3388 }
3389 impl ::core::marker::Copy for D3DDDI_RESOURCEFLAGS2_0_0 {}
3390 impl ::core::clone::Clone for D3DDDI_RESOURCEFLAGS2_0_0 {
3391 fn clone(&self) -> Self {
3392 *self
3393 }
3394 }
3395 #[repr(C)]
3396 pub struct D3DDDI_SEGMENTPREFERENCE {
3397 pub Anonymous: D3DDDI_SEGMENTPREFERENCE_0,
3398 }
3399 impl ::core::marker::Copy for D3DDDI_SEGMENTPREFERENCE {}
3400 impl ::core::clone::Clone for D3DDDI_SEGMENTPREFERENCE {
3401 fn clone(&self) -> Self {
3402 *self
3403 }
3404 }
3405 #[repr(C)]
3406 pub union D3DDDI_SEGMENTPREFERENCE_0 {
3407 pub Anonymous: D3DDDI_SEGMENTPREFERENCE_0_0,
3408 pub Value: u32,
3409 }
3410 impl ::core::marker::Copy for D3DDDI_SEGMENTPREFERENCE_0 {}
3411 impl ::core::clone::Clone for D3DDDI_SEGMENTPREFERENCE_0 {
3412 fn clone(&self) -> Self {
3413 *self
3414 }
3415 }
3416 #[repr(C)]
3417 pub struct D3DDDI_SEGMENTPREFERENCE_0_0 {
3418 pub _bitfield: u32,
3419 }
3420 impl ::core::marker::Copy for D3DDDI_SEGMENTPREFERENCE_0_0 {}
3421 impl ::core::clone::Clone for D3DDDI_SEGMENTPREFERENCE_0_0 {
3422 fn clone(&self) -> Self {
3423 *self
3424 }
3425 }
3426 #[repr(C)]
3427 pub struct D3DDDI_SURFACEINFO {
3428 pub Width: u32,
3429 pub Height: u32,
3430 pub Depth: u32,
3431 pub pSysMem: *const ::core::ffi::c_void,
3432 pub SysMemPitch: u32,
3433 pub SysMemSlicePitch: u32,
3434 }
3435 impl ::core::marker::Copy for D3DDDI_SURFACEINFO {}
3436 impl ::core::clone::Clone for D3DDDI_SURFACEINFO {
3437 fn clone(&self) -> Self {
3438 *self
3439 }
3440 }
3441 #[repr(C)]
3442 #[doc = "Required features: `\"Win32_Foundation\"`"]
3443 #[cfg(feature = "Win32_Foundation")]
3444 pub struct D3DDDI_SYNCHRONIZATIONOBJECTINFO {
3445 pub Type: D3DDDI_SYNCHRONIZATIONOBJECT_TYPE,
3446 pub Anonymous: D3DDDI_SYNCHRONIZATIONOBJECTINFO_0,
3447 }
3448 #[cfg(feature = "Win32_Foundation")]
3449 impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO {}
3450 #[cfg(feature = "Win32_Foundation")]
3451 impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO {
3452 fn clone(&self) -> Self {
3453 *self
3454 }
3455 }
3456 #[repr(C)]
3457 #[doc = "Required features: `\"Win32_Foundation\"`"]
3458 #[cfg(feature = "Win32_Foundation")]
3459 pub union D3DDDI_SYNCHRONIZATIONOBJECTINFO_0 {
3460 pub SynchronizationMutex: D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_2,
3461 pub Semaphore: D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_1,
3462 pub Reserved: D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_0,
3463 }
3464 #[cfg(feature = "Win32_Foundation")]
3465 impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0 {}
3466 #[cfg(feature = "Win32_Foundation")]
3467 impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0 {
3468 fn clone(&self) -> Self {
3469 *self
3470 }
3471 }
3472 #[repr(C)]
3473 #[doc = "Required features: `\"Win32_Foundation\"`"]
3474 #[cfg(feature = "Win32_Foundation")]
3475 pub struct D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_0 {
3476 pub Reserved: [u32; 16],
3477 }
3478 #[cfg(feature = "Win32_Foundation")]
3479 impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_0 {}
3480 #[cfg(feature = "Win32_Foundation")]
3481 impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_0 {
3482 fn clone(&self) -> Self {
3483 *self
3484 }
3485 }
3486 #[repr(C)]
3487 #[doc = "Required features: `\"Win32_Foundation\"`"]
3488 #[cfg(feature = "Win32_Foundation")]
3489 pub struct D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_1 {
3490 pub MaxCount: u32,
3491 pub InitialCount: u32,
3492 }
3493 #[cfg(feature = "Win32_Foundation")]
3494 impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_1 {}
3495 #[cfg(feature = "Win32_Foundation")]
3496 impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_1 {
3497 fn clone(&self) -> Self {
3498 *self
3499 }
3500 }
3501 #[repr(C)]
3502 #[doc = "Required features: `\"Win32_Foundation\"`"]
3503 #[cfg(feature = "Win32_Foundation")]
3504 pub struct D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_2 {
3505 pub InitialState: super::super::super::Win32::Foundation::BOOL,
3506 }
3507 #[cfg(feature = "Win32_Foundation")]
3508 impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_2 {}
3509 #[cfg(feature = "Win32_Foundation")]
3510 impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_2 {
3511 fn clone(&self) -> Self {
3512 *self
3513 }
3514 }
3515 #[repr(C)]
3516 #[doc = "Required features: `\"Win32_Foundation\"`"]
3517 #[cfg(feature = "Win32_Foundation")]
3518 pub struct D3DDDI_SYNCHRONIZATIONOBJECTINFO2 {
3519 pub Type: D3DDDI_SYNCHRONIZATIONOBJECT_TYPE,
3520 pub Flags: D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS,
3521 pub Anonymous: D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0,
3522 pub SharedHandle: u32,
3523 }
3524 #[cfg(feature = "Win32_Foundation")]
3525 impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO2 {}
3526 #[cfg(feature = "Win32_Foundation")]
3527 impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO2 {
3528 fn clone(&self) -> Self {
3529 *self
3530 }
3531 }
3532 #[repr(C)]
3533 #[doc = "Required features: `\"Win32_Foundation\"`"]
3534 #[cfg(feature = "Win32_Foundation")]
3535 pub union D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0 {
3536 pub SynchronizationMutex: D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_6,
3537 pub Semaphore: D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_5,
3538 pub Fence: D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_1,
3539 pub CPUNotification: D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_0,
3540 pub MonitoredFence: D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_2,
3541 pub PeriodicMonitoredFence: D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_3,
3542 pub Reserved: D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_4,
3543 }
3544 #[cfg(feature = "Win32_Foundation")]
3545 impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0 {}
3546 #[cfg(feature = "Win32_Foundation")]
3547 impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0 {
3548 fn clone(&self) -> Self {
3549 *self
3550 }
3551 }
3552 #[repr(C)]
3553 #[doc = "Required features: `\"Win32_Foundation\"`"]
3554 #[cfg(feature = "Win32_Foundation")]
3555 pub struct D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_0 {
3556 pub Event: super::super::super::Win32::Foundation::HANDLE,
3557 }
3558 #[cfg(feature = "Win32_Foundation")]
3559 impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_0 {}
3560 #[cfg(feature = "Win32_Foundation")]
3561 impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_0 {
3562 fn clone(&self) -> Self {
3563 *self
3564 }
3565 }
3566 #[repr(C)]
3567 #[doc = "Required features: `\"Win32_Foundation\"`"]
3568 #[cfg(feature = "Win32_Foundation")]
3569 pub struct D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_1 {
3570 pub FenceValue: u64,
3571 }
3572 #[cfg(feature = "Win32_Foundation")]
3573 impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_1 {}
3574 #[cfg(feature = "Win32_Foundation")]
3575 impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_1 {
3576 fn clone(&self) -> Self {
3577 *self
3578 }
3579 }
3580 #[repr(C)]
3581 #[doc = "Required features: `\"Win32_Foundation\"`"]
3582 #[cfg(feature = "Win32_Foundation")]
3583 pub struct D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_2 {
3584 pub InitialFenceValue: u64,
3585 pub FenceValueCPUVirtualAddress: *mut ::core::ffi::c_void,
3586 pub FenceValueGPUVirtualAddress: u64,
3587 pub EngineAffinity: u32,
3588 pub Padding: u32,
3589 }
3590 #[cfg(feature = "Win32_Foundation")]
3591 impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_2 {}
3592 #[cfg(feature = "Win32_Foundation")]
3593 impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_2 {
3594 fn clone(&self) -> Self {
3595 *self
3596 }
3597 }
3598 #[repr(C)]
3599 #[doc = "Required features: `\"Win32_Foundation\"`"]
3600 #[cfg(feature = "Win32_Foundation")]
3601 pub struct D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_3 {
3602 pub hAdapter: u32,
3603 pub VidPnTargetId: u32,
3604 pub Time: u64,
3605 pub FenceValueCPUVirtualAddress: *mut ::core::ffi::c_void,
3606 pub FenceValueGPUVirtualAddress: u64,
3607 pub EngineAffinity: u32,
3608 pub Padding: u32,
3609 }
3610 #[cfg(feature = "Win32_Foundation")]
3611 impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_3 {}
3612 #[cfg(feature = "Win32_Foundation")]
3613 impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_3 {
3614 fn clone(&self) -> Self {
3615 *self
3616 }
3617 }
3618 #[repr(C)]
3619 #[doc = "Required features: `\"Win32_Foundation\"`"]
3620 #[cfg(feature = "Win32_Foundation")]
3621 pub struct D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_4 {
3622 pub Reserved: [u64; 8],
3623 }
3624 #[cfg(feature = "Win32_Foundation")]
3625 impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_4 {}
3626 #[cfg(feature = "Win32_Foundation")]
3627 impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_4 {
3628 fn clone(&self) -> Self {
3629 *self
3630 }
3631 }
3632 #[repr(C)]
3633 #[doc = "Required features: `\"Win32_Foundation\"`"]
3634 #[cfg(feature = "Win32_Foundation")]
3635 pub struct D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_5 {
3636 pub MaxCount: u32,
3637 pub InitialCount: u32,
3638 }
3639 #[cfg(feature = "Win32_Foundation")]
3640 impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_5 {}
3641 #[cfg(feature = "Win32_Foundation")]
3642 impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_5 {
3643 fn clone(&self) -> Self {
3644 *self
3645 }
3646 }
3647 #[repr(C)]
3648 #[doc = "Required features: `\"Win32_Foundation\"`"]
3649 #[cfg(feature = "Win32_Foundation")]
3650 pub struct D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_6 {
3651 pub InitialState: super::super::super::Win32::Foundation::BOOL,
3652 }
3653 #[cfg(feature = "Win32_Foundation")]
3654 impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_6 {}
3655 #[cfg(feature = "Win32_Foundation")]
3656 impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_6 {
3657 fn clone(&self) -> Self {
3658 *self
3659 }
3660 }
3661 #[repr(C)]
3662 pub struct D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS {
3663 pub Anonymous: D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS_0,
3664 }
3665 impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS {}
3666 impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS {
3667 fn clone(&self) -> Self {
3668 *self
3669 }
3670 }
3671 #[repr(C)]
3672 pub union D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS_0 {
3673 pub Anonymous: D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS_0_0,
3674 pub Value: u32,
3675 }
3676 impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS_0 {}
3677 impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS_0 {
3678 fn clone(&self) -> Self {
3679 *self
3680 }
3681 }
3682 #[repr(C)]
3683 pub struct D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS_0_0 {
3684 pub _bitfield: u32,
3685 }
3686 impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS_0_0 {}
3687 impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS_0_0 {
3688 fn clone(&self) -> Self {
3689 *self
3690 }
3691 }
3692 #[repr(C)]
3693 pub struct D3DDDI_TRIMRESIDENCYSET_FLAGS {
3694 pub Anonymous: D3DDDI_TRIMRESIDENCYSET_FLAGS_0,
3695 }
3696 impl ::core::marker::Copy for D3DDDI_TRIMRESIDENCYSET_FLAGS {}
3697 impl ::core::clone::Clone for D3DDDI_TRIMRESIDENCYSET_FLAGS {
3698 fn clone(&self) -> Self {
3699 *self
3700 }
3701 }
3702 #[repr(C)]
3703 pub union D3DDDI_TRIMRESIDENCYSET_FLAGS_0 {
3704 pub Anonymous: D3DDDI_TRIMRESIDENCYSET_FLAGS_0_0,
3705 pub Value: u32,
3706 }
3707 impl ::core::marker::Copy for D3DDDI_TRIMRESIDENCYSET_FLAGS_0 {}
3708 impl ::core::clone::Clone for D3DDDI_TRIMRESIDENCYSET_FLAGS_0 {
3709 fn clone(&self) -> Self {
3710 *self
3711 }
3712 }
3713 #[repr(C)]
3714 pub struct D3DDDI_TRIMRESIDENCYSET_FLAGS_0_0 {
3715 pub _bitfield: u32,
3716 }
3717 impl ::core::marker::Copy for D3DDDI_TRIMRESIDENCYSET_FLAGS_0_0 {}
3718 impl ::core::clone::Clone for D3DDDI_TRIMRESIDENCYSET_FLAGS_0_0 {
3719 fn clone(&self) -> Self {
3720 *self
3721 }
3722 }
3723 #[repr(C)]
3724 pub struct D3DDDI_UPDATEALLOCPROPERTY {
3725 pub hPagingQueue: u32,
3726 pub hAllocation: u32,
3727 pub SupportedSegmentSet: u32,
3728 pub PreferredSegment: D3DDDI_SEGMENTPREFERENCE,
3729 pub Flags: D3DDDI_UPDATEALLOCPROPERTY_FLAGS,
3730 pub PagingFenceValue: u64,
3731 pub Anonymous: D3DDDI_UPDATEALLOCPROPERTY_0,
3732 }
3733 impl ::core::marker::Copy for D3DDDI_UPDATEALLOCPROPERTY {}
3734 impl ::core::clone::Clone for D3DDDI_UPDATEALLOCPROPERTY {
3735 fn clone(&self) -> Self {
3736 *self
3737 }
3738 }
3739 #[repr(C)]
3740 pub union D3DDDI_UPDATEALLOCPROPERTY_0 {
3741 pub Anonymous: D3DDDI_UPDATEALLOCPROPERTY_0_0,
3742 pub PropertyMaskValue: u32,
3743 }
3744 impl ::core::marker::Copy for D3DDDI_UPDATEALLOCPROPERTY_0 {}
3745 impl ::core::clone::Clone for D3DDDI_UPDATEALLOCPROPERTY_0 {
3746 fn clone(&self) -> Self {
3747 *self
3748 }
3749 }
3750 #[repr(C)]
3751 pub struct D3DDDI_UPDATEALLOCPROPERTY_0_0 {
3752 pub _bitfield: u32,
3753 }
3754 impl ::core::marker::Copy for D3DDDI_UPDATEALLOCPROPERTY_0_0 {}
3755 impl ::core::clone::Clone for D3DDDI_UPDATEALLOCPROPERTY_0_0 {
3756 fn clone(&self) -> Self {
3757 *self
3758 }
3759 }
3760 #[repr(C)]
3761 pub struct D3DDDI_UPDATEALLOCPROPERTY_FLAGS {
3762 pub Anonymous: D3DDDI_UPDATEALLOCPROPERTY_FLAGS_0,
3763 }
3764 impl ::core::marker::Copy for D3DDDI_UPDATEALLOCPROPERTY_FLAGS {}
3765 impl ::core::clone::Clone for D3DDDI_UPDATEALLOCPROPERTY_FLAGS {
3766 fn clone(&self) -> Self {
3767 *self
3768 }
3769 }
3770 #[repr(C)]
3771 pub union D3DDDI_UPDATEALLOCPROPERTY_FLAGS_0 {
3772 pub Anonymous: D3DDDI_UPDATEALLOCPROPERTY_FLAGS_0_0,
3773 pub Value: u32,
3774 }
3775 impl ::core::marker::Copy for D3DDDI_UPDATEALLOCPROPERTY_FLAGS_0 {}
3776 impl ::core::clone::Clone for D3DDDI_UPDATEALLOCPROPERTY_FLAGS_0 {
3777 fn clone(&self) -> Self {
3778 *self
3779 }
3780 }
3781 #[repr(C)]
3782 pub struct D3DDDI_UPDATEALLOCPROPERTY_FLAGS_0_0 {
3783 pub _bitfield: u32,
3784 }
3785 impl ::core::marker::Copy for D3DDDI_UPDATEALLOCPROPERTY_FLAGS_0_0 {}
3786 impl ::core::clone::Clone for D3DDDI_UPDATEALLOCPROPERTY_FLAGS_0_0 {
3787 fn clone(&self) -> Self {
3788 *self
3789 }
3790 }
3791 #[repr(C)]
3792 pub struct D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION {
3793 pub OperationType: D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_TYPE,
3794 pub Anonymous: D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0,
3795 }
3796 impl ::core::marker::Copy for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION {}
3797 impl ::core::clone::Clone for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION {
3798 fn clone(&self) -> Self {
3799 *self
3800 }
3801 }
3802 #[repr(C)]
3803 pub union D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0 {
3804 pub Map: D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_2,
3805 pub MapProtect: D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_1,
3806 pub Unmap: D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_3,
3807 pub Copy: D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_0,
3808 }
3809 impl ::core::marker::Copy for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0 {}
3810 impl ::core::clone::Clone for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0 {
3811 fn clone(&self) -> Self {
3812 *self
3813 }
3814 }
3815 #[repr(C)]
3816 pub struct D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_0 {
3817 pub SourceAddress: u64,
3818 pub SizeInBytes: u64,
3819 pub DestAddress: u64,
3820 }
3821 impl ::core::marker::Copy for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_0 {}
3822 impl ::core::clone::Clone for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_0 {
3823 fn clone(&self) -> Self {
3824 *self
3825 }
3826 }
3827 #[repr(C)]
3828 pub struct D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_1 {
3829 pub BaseAddress: u64,
3830 pub SizeInBytes: u64,
3831 pub hAllocation: u32,
3832 pub AllocationOffsetInBytes: u64,
3833 pub AllocationSizeInBytes: u64,
3834 pub Protection: D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE,
3835 pub DriverProtection: u64,
3836 }
3837 impl ::core::marker::Copy for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_1 {}
3838 impl ::core::clone::Clone for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_1 {
3839 fn clone(&self) -> Self {
3840 *self
3841 }
3842 }
3843 #[repr(C)]
3844 pub struct D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_2 {
3845 pub BaseAddress: u64,
3846 pub SizeInBytes: u64,
3847 pub hAllocation: u32,
3848 pub AllocationOffsetInBytes: u64,
3849 pub AllocationSizeInBytes: u64,
3850 }
3851 impl ::core::marker::Copy for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_2 {}
3852 impl ::core::clone::Clone for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_2 {
3853 fn clone(&self) -> Self {
3854 *self
3855 }
3856 }
3857 #[repr(C)]
3858 pub struct D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_3 {
3859 pub BaseAddress: u64,
3860 pub SizeInBytes: u64,
3861 pub Protection: D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE,
3862 }
3863 impl ::core::marker::Copy for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_3 {}
3864 impl ::core::clone::Clone for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_3 {
3865 fn clone(&self) -> Self {
3866 *self
3867 }
3868 }
3869 #[repr(C)]
3870 pub struct D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS {
3871 pub Anonymous: D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS_0,
3872 }
3873 impl ::core::marker::Copy for D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS {}
3874 impl ::core::clone::Clone for D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS {
3875 fn clone(&self) -> Self {
3876 *self
3877 }
3878 }
3879 #[repr(C)]
3880 pub union D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS_0 {
3881 pub Anonymous: D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS_0_0,
3882 pub Value: u32,
3883 }
3884 impl ::core::marker::Copy for D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS_0 {}
3885 impl ::core::clone::Clone for D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS_0 {
3886 fn clone(&self) -> Self {
3887 *self
3888 }
3889 }
3890 #[repr(C)]
3891 pub struct D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS_0_0 {
3892 pub _bitfield: u32,
3893 }
3894 impl ::core::marker::Copy for D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS_0_0 {}
3895 impl ::core::clone::Clone for D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS_0_0 {
3896 fn clone(&self) -> Self {
3897 *self
3898 }
3899 }
3900 #[repr(C)]
3901 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`"]
3902 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
3903 pub struct D3DDEVICEDESC_V1 {
3904 pub dwSize: u32,
3905 pub dwFlags: u32,
3906 pub dcmColorModel: u32,
3907 pub dwDevCaps: u32,
3908 pub dtcTransformCaps: super::super::super::Win32::Graphics::Direct3D9::D3DTRANSFORMCAPS,
3909 pub bClipping: super::super::super::Win32::Foundation::BOOL,
3910 pub dlcLightingCaps: super::super::super::Win32::Graphics::Direct3D9::D3DLIGHTINGCAPS,
3911 pub dpcLineCaps: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMCAPS,
3912 pub dpcTriCaps: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMCAPS,
3913 pub dwDeviceRenderBitDepth: u32,
3914 pub dwDeviceZBufferBitDepth: u32,
3915 pub dwMaxBufferSize: u32,
3916 pub dwMaxVertexCount: u32,
3917 }
3918 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
3919 impl ::core::marker::Copy for D3DDEVICEDESC_V1 {}
3920 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
3921 impl ::core::clone::Clone for D3DDEVICEDESC_V1 {
3922 fn clone(&self) -> Self {
3923 *self
3924 }
3925 }
3926 #[repr(C)]
3927 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`"]
3928 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
3929 pub struct D3DDEVICEDESC_V2 {
3930 pub dwSize: u32,
3931 pub dwFlags: u32,
3932 pub dcmColorModel: u32,
3933 pub dwDevCaps: u32,
3934 pub dtcTransformCaps: super::super::super::Win32::Graphics::Direct3D9::D3DTRANSFORMCAPS,
3935 pub bClipping: super::super::super::Win32::Foundation::BOOL,
3936 pub dlcLightingCaps: super::super::super::Win32::Graphics::Direct3D9::D3DLIGHTINGCAPS,
3937 pub dpcLineCaps: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMCAPS,
3938 pub dpcTriCaps: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMCAPS,
3939 pub dwDeviceRenderBitDepth: u32,
3940 pub dwDeviceZBufferBitDepth: u32,
3941 pub dwMaxBufferSize: u32,
3942 pub dwMaxVertexCount: u32,
3943 pub dwMinTextureWidth: u32,
3944 pub dwMinTextureHeight: u32,
3945 pub dwMaxTextureWidth: u32,
3946 pub dwMaxTextureHeight: u32,
3947 pub dwMinStippleWidth: u32,
3948 pub dwMaxStippleWidth: u32,
3949 pub dwMinStippleHeight: u32,
3950 pub dwMaxStippleHeight: u32,
3951 }
3952 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
3953 impl ::core::marker::Copy for D3DDEVICEDESC_V2 {}
3954 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
3955 impl ::core::clone::Clone for D3DDEVICEDESC_V2 {
3956 fn clone(&self) -> Self {
3957 *self
3958 }
3959 }
3960 #[repr(C)]
3961 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`"]
3962 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
3963 pub struct D3DDEVICEDESC_V3 {
3964 pub dwSize: u32,
3965 pub dwFlags: u32,
3966 pub dcmColorModel: u32,
3967 pub dwDevCaps: u32,
3968 pub dtcTransformCaps: super::super::super::Win32::Graphics::Direct3D9::D3DTRANSFORMCAPS,
3969 pub bClipping: super::super::super::Win32::Foundation::BOOL,
3970 pub dlcLightingCaps: super::super::super::Win32::Graphics::Direct3D9::D3DLIGHTINGCAPS,
3971 pub dpcLineCaps: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMCAPS,
3972 pub dpcTriCaps: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMCAPS,
3973 pub dwDeviceRenderBitDepth: u32,
3974 pub dwDeviceZBufferBitDepth: u32,
3975 pub dwMaxBufferSize: u32,
3976 pub dwMaxVertexCount: u32,
3977 pub dwMinTextureWidth: u32,
3978 pub dwMinTextureHeight: u32,
3979 pub dwMaxTextureWidth: u32,
3980 pub dwMaxTextureHeight: u32,
3981 pub dwMinStippleWidth: u32,
3982 pub dwMaxStippleWidth: u32,
3983 pub dwMinStippleHeight: u32,
3984 pub dwMaxStippleHeight: u32,
3985 pub dwMaxTextureRepeat: u32,
3986 pub dwMaxTextureAspectRatio: u32,
3987 pub dwMaxAnisotropy: u32,
3988 pub dvGuardBandLeft: f32,
3989 pub dvGuardBandTop: f32,
3990 pub dvGuardBandRight: f32,
3991 pub dvGuardBandBottom: f32,
3992 pub dvExtentsAdjust: f32,
3993 pub dwStencilCaps: u32,
3994 pub dwFVFCaps: u32,
3995 pub dwTextureOpCaps: u32,
3996 pub wMaxTextureBlendStages: u16,
3997 pub wMaxSimultaneousTextures: u16,
3998 }
3999 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
4000 impl ::core::marker::Copy for D3DDEVICEDESC_V3 {}
4001 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
4002 impl ::core::clone::Clone for D3DDEVICEDESC_V3 {
4003 fn clone(&self) -> Self {
4004 *self
4005 }
4006 }
4007 #[repr(C)]
4008 pub struct D3DGPU_PHYSICAL_ADDRESS {
4009 pub SegmentId: u32,
4010 pub Padding: u32,
4011 pub SegmentOffset: u64,
4012 }
4013 impl ::core::marker::Copy for D3DGPU_PHYSICAL_ADDRESS {}
4014 impl ::core::clone::Clone for D3DGPU_PHYSICAL_ADDRESS {
4015 fn clone(&self) -> Self {
4016 *self
4017 }
4018 }
4019 #[repr(C)]
4020 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
4021 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4022 pub struct D3DHAL_CALLBACKS {
4023 pub dwSize: u32,
4024 pub ContextCreate: LPD3DHAL_CONTEXTCREATECB,
4025 pub ContextDestroy: LPD3DHAL_CONTEXTDESTROYCB,
4026 pub ContextDestroyAll: LPD3DHAL_CONTEXTDESTROYALLCB,
4027 pub SceneCapture: LPD3DHAL_SCENECAPTURECB,
4028 pub lpReserved10: *mut ::core::ffi::c_void,
4029 pub lpReserved11: *mut ::core::ffi::c_void,
4030 pub RenderState: LPD3DHAL_RENDERSTATECB,
4031 pub RenderPrimitive: LPD3DHAL_RENDERPRIMITIVECB,
4032 pub dwReserved: u32,
4033 pub TextureCreate: LPD3DHAL_TEXTURECREATECB,
4034 pub TextureDestroy: LPD3DHAL_TEXTUREDESTROYCB,
4035 pub TextureSwap: LPD3DHAL_TEXTURESWAPCB,
4036 pub TextureGetSurf: LPD3DHAL_TEXTUREGETSURFCB,
4037 pub lpReserved12: *mut ::core::ffi::c_void,
4038 pub lpReserved13: *mut ::core::ffi::c_void,
4039 pub lpReserved14: *mut ::core::ffi::c_void,
4040 pub lpReserved15: *mut ::core::ffi::c_void,
4041 pub lpReserved16: *mut ::core::ffi::c_void,
4042 pub lpReserved17: *mut ::core::ffi::c_void,
4043 pub lpReserved18: *mut ::core::ffi::c_void,
4044 pub lpReserved19: *mut ::core::ffi::c_void,
4045 pub lpReserved20: *mut ::core::ffi::c_void,
4046 pub lpReserved21: *mut ::core::ffi::c_void,
4047 pub GetState: LPD3DHAL_GETSTATECB,
4048 pub dwReserved0: u32,
4049 pub dwReserved1: u32,
4050 pub dwReserved2: u32,
4051 pub dwReserved3: u32,
4052 pub dwReserved4: u32,
4053 pub dwReserved5: u32,
4054 pub dwReserved6: u32,
4055 pub dwReserved7: u32,
4056 pub dwReserved8: u32,
4057 pub dwReserved9: u32,
4058 }
4059 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4060 impl ::core::marker::Copy for D3DHAL_CALLBACKS {}
4061 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4062 impl ::core::clone::Clone for D3DHAL_CALLBACKS {
4063 fn clone(&self) -> Self {
4064 *self
4065 }
4066 }
4067 #[repr(C)]
4068 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
4069 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4070 pub struct D3DHAL_CALLBACKS2 {
4071 pub dwSize: u32,
4072 pub dwFlags: u32,
4073 pub SetRenderTarget: LPD3DHAL_SETRENDERTARGETCB,
4074 pub Clear: LPD3DHAL_CLEARCB,
4075 pub DrawOnePrimitive: LPD3DHAL_DRAWONEPRIMITIVECB,
4076 pub DrawOneIndexedPrimitive: LPD3DHAL_DRAWONEINDEXEDPRIMITIVECB,
4077 pub DrawPrimitives: LPD3DHAL_DRAWPRIMITIVESCB,
4078 }
4079 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4080 impl ::core::marker::Copy for D3DHAL_CALLBACKS2 {}
4081 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4082 impl ::core::clone::Clone for D3DHAL_CALLBACKS2 {
4083 fn clone(&self) -> Self {
4084 *self
4085 }
4086 }
4087 #[repr(C)]
4088 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
4089 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4090 pub struct D3DHAL_CALLBACKS3 {
4091 pub dwSize: u32,
4092 pub dwFlags: u32,
4093 pub Clear2: LPD3DHAL_CLEAR2CB,
4094 pub lpvReserved: *mut ::core::ffi::c_void,
4095 pub ValidateTextureStageState: LPD3DHAL_VALIDATETEXTURESTAGESTATECB,
4096 pub DrawPrimitives2: LPD3DHAL_DRAWPRIMITIVES2CB,
4097 }
4098 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4099 impl ::core::marker::Copy for D3DHAL_CALLBACKS3 {}
4100 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4101 impl ::core::clone::Clone for D3DHAL_CALLBACKS3 {
4102 fn clone(&self) -> Self {
4103 *self
4104 }
4105 }
4106 #[repr(C)]
4107 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
4108 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4109 pub struct D3DHAL_CLEAR2DATA {
4110 pub dwhContext: usize,
4111 pub dwFlags: u32,
4112 pub dwFillColor: u32,
4113 pub dvFillDepth: f32,
4114 pub dwFillStencil: u32,
4115 pub lpRects: *mut super::super::super::Win32::Graphics::Direct3D9::D3DRECT,
4116 pub dwNumRects: u32,
4117 pub ddrval: ::windows_sys::core::HRESULT,
4118 }
4119 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4120 impl ::core::marker::Copy for D3DHAL_CLEAR2DATA {}
4121 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4122 impl ::core::clone::Clone for D3DHAL_CLEAR2DATA {
4123 fn clone(&self) -> Self {
4124 *self
4125 }
4126 }
4127 #[repr(C)]
4128 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
4129 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4130 pub struct D3DHAL_CLEARDATA {
4131 pub dwhContext: usize,
4132 pub dwFlags: u32,
4133 pub dwFillColor: u32,
4134 pub dwFillDepth: u32,
4135 pub lpRects: *mut super::super::super::Win32::Graphics::Direct3D9::D3DRECT,
4136 pub dwNumRects: u32,
4137 pub ddrval: ::windows_sys::core::HRESULT,
4138 }
4139 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4140 impl ::core::marker::Copy for D3DHAL_CLEARDATA {}
4141 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4142 impl ::core::clone::Clone for D3DHAL_CLEARDATA {
4143 fn clone(&self) -> Self {
4144 *self
4145 }
4146 }
4147 #[repr(C)]
4148 pub struct D3DHAL_CLIPPEDTRIANGLEFAN {
4149 pub FirstVertexOffset: u32,
4150 pub dwEdgeFlags: u32,
4151 pub PrimitiveCount: u32,
4152 }
4153 impl ::core::marker::Copy for D3DHAL_CLIPPEDTRIANGLEFAN {}
4154 impl ::core::clone::Clone for D3DHAL_CLIPPEDTRIANGLEFAN {
4155 fn clone(&self) -> Self {
4156 *self
4157 }
4158 }
4159 #[repr(C)]
4160 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
4161 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4162 pub struct D3DHAL_CONTEXTCREATEDATA {
4163 pub Anonymous1: D3DHAL_CONTEXTCREATEDATA_0,
4164 pub Anonymous2: D3DHAL_CONTEXTCREATEDATA_1,
4165 pub Anonymous3: D3DHAL_CONTEXTCREATEDATA_2,
4166 pub Anonymous4: D3DHAL_CONTEXTCREATEDATA_3,
4167 pub dwhContext: usize,
4168 pub ddrval: ::windows_sys::core::HRESULT,
4169 }
4170 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4171 impl ::core::marker::Copy for D3DHAL_CONTEXTCREATEDATA {}
4172 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4173 impl ::core::clone::Clone for D3DHAL_CONTEXTCREATEDATA {
4174 fn clone(&self) -> Self {
4175 *self
4176 }
4177 }
4178 #[repr(C)]
4179 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
4180 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4181 pub union D3DHAL_CONTEXTCREATEDATA_0 {
4182 pub lpDDGbl: *mut super::super::super::Win32::Graphics::DirectDraw::DDRAWI_DIRECTDRAW_GBL,
4183 pub lpDDLcl: *mut super::super::super::Win32::Graphics::DirectDraw::DDRAWI_DIRECTDRAW_LCL,
4184 }
4185 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4186 impl ::core::marker::Copy for D3DHAL_CONTEXTCREATEDATA_0 {}
4187 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4188 impl ::core::clone::Clone for D3DHAL_CONTEXTCREATEDATA_0 {
4189 fn clone(&self) -> Self {
4190 *self
4191 }
4192 }
4193 #[repr(C)]
4194 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
4195 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4196 pub union D3DHAL_CONTEXTCREATEDATA_1 {
4197 pub lpDDS: super::super::super::Win32::Graphics::DirectDraw::IDirectDrawSurface,
4198 pub lpDDSLcl: *mut super::super::super::Win32::Graphics::DirectDraw::DDRAWI_DDRAWSURFACE_LCL,
4199 }
4200 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4201 impl ::core::marker::Copy for D3DHAL_CONTEXTCREATEDATA_1 {}
4202 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4203 impl ::core::clone::Clone for D3DHAL_CONTEXTCREATEDATA_1 {
4204 fn clone(&self) -> Self {
4205 *self
4206 }
4207 }
4208 #[repr(C)]
4209 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
4210 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4211 pub union D3DHAL_CONTEXTCREATEDATA_2 {
4212 pub lpDDSZ: super::super::super::Win32::Graphics::DirectDraw::IDirectDrawSurface,
4213 pub lpDDSZLcl: *mut super::super::super::Win32::Graphics::DirectDraw::DDRAWI_DDRAWSURFACE_LCL,
4214 }
4215 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4216 impl ::core::marker::Copy for D3DHAL_CONTEXTCREATEDATA_2 {}
4217 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4218 impl ::core::clone::Clone for D3DHAL_CONTEXTCREATEDATA_2 {
4219 fn clone(&self) -> Self {
4220 *self
4221 }
4222 }
4223 #[repr(C)]
4224 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
4225 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4226 pub union D3DHAL_CONTEXTCREATEDATA_3 {
4227 pub dwPID: u32,
4228 pub dwrstates: usize,
4229 }
4230 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4231 impl ::core::marker::Copy for D3DHAL_CONTEXTCREATEDATA_3 {}
4232 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
4233 impl ::core::clone::Clone for D3DHAL_CONTEXTCREATEDATA_3 {
4234 fn clone(&self) -> Self {
4235 *self
4236 }
4237 }
4238 #[repr(C)]
4239 pub struct D3DHAL_CONTEXTDESTROYALLDATA {
4240 pub dwPID: u32,
4241 pub ddrval: ::windows_sys::core::HRESULT,
4242 }
4243 impl ::core::marker::Copy for D3DHAL_CONTEXTDESTROYALLDATA {}
4244 impl ::core::clone::Clone for D3DHAL_CONTEXTDESTROYALLDATA {
4245 fn clone(&self) -> Self {
4246 *self
4247 }
4248 }
4249 #[repr(C)]
4250 pub struct D3DHAL_CONTEXTDESTROYDATA {
4251 pub dwhContext: usize,
4252 pub ddrval: ::windows_sys::core::HRESULT,
4253 }
4254 impl ::core::marker::Copy for D3DHAL_CONTEXTDESTROYDATA {}
4255 impl ::core::clone::Clone for D3DHAL_CONTEXTDESTROYDATA {
4256 fn clone(&self) -> Self {
4257 *self
4258 }
4259 }
4260 #[repr(C)]
4261 pub struct D3DHAL_D3DDX6EXTENDEDCAPS {
4262 pub dwSize: u32,
4263 pub dwMinTextureWidth: u32,
4264 pub dwMaxTextureWidth: u32,
4265 pub dwMinTextureHeight: u32,
4266 pub dwMaxTextureHeight: u32,
4267 pub dwMinStippleWidth: u32,
4268 pub dwMaxStippleWidth: u32,
4269 pub dwMinStippleHeight: u32,
4270 pub dwMaxStippleHeight: u32,
4271 pub dwMaxTextureRepeat: u32,
4272 pub dwMaxTextureAspectRatio: u32,
4273 pub dwMaxAnisotropy: u32,
4274 pub dvGuardBandLeft: f32,
4275 pub dvGuardBandTop: f32,
4276 pub dvGuardBandRight: f32,
4277 pub dvGuardBandBottom: f32,
4278 pub dvExtentsAdjust: f32,
4279 pub dwStencilCaps: u32,
4280 pub dwFVFCaps: u32,
4281 pub dwTextureOpCaps: u32,
4282 pub wMaxTextureBlendStages: u16,
4283 pub wMaxSimultaneousTextures: u16,
4284 }
4285 impl ::core::marker::Copy for D3DHAL_D3DDX6EXTENDEDCAPS {}
4286 impl ::core::clone::Clone for D3DHAL_D3DDX6EXTENDEDCAPS {
4287 fn clone(&self) -> Self {
4288 *self
4289 }
4290 }
4291 #[repr(C)]
4292 pub struct D3DHAL_D3DEXTENDEDCAPS {
4293 pub dwSize: u32,
4294 pub dwMinTextureWidth: u32,
4295 pub dwMaxTextureWidth: u32,
4296 pub dwMinTextureHeight: u32,
4297 pub dwMaxTextureHeight: u32,
4298 pub dwMinStippleWidth: u32,
4299 pub dwMaxStippleWidth: u32,
4300 pub dwMinStippleHeight: u32,
4301 pub dwMaxStippleHeight: u32,
4302 pub dwMaxTextureRepeat: u32,
4303 pub dwMaxTextureAspectRatio: u32,
4304 pub dwMaxAnisotropy: u32,
4305 pub dvGuardBandLeft: f32,
4306 pub dvGuardBandTop: f32,
4307 pub dvGuardBandRight: f32,
4308 pub dvGuardBandBottom: f32,
4309 pub dvExtentsAdjust: f32,
4310 pub dwStencilCaps: u32,
4311 pub dwFVFCaps: u32,
4312 pub dwTextureOpCaps: u32,
4313 pub wMaxTextureBlendStages: u16,
4314 pub wMaxSimultaneousTextures: u16,
4315 pub dwMaxActiveLights: u32,
4316 pub dvMaxVertexW: f32,
4317 pub wMaxUserClipPlanes: u16,
4318 pub wMaxVertexBlendMatrices: u16,
4319 pub dwVertexProcessingCaps: u32,
4320 pub dwReserved1: u32,
4321 pub dwReserved2: u32,
4322 pub dwReserved3: u32,
4323 pub dwReserved4: u32,
4324 }
4325 impl ::core::marker::Copy for D3DHAL_D3DEXTENDEDCAPS {}
4326 impl ::core::clone::Clone for D3DHAL_D3DEXTENDEDCAPS {
4327 fn clone(&self) -> Self {
4328 *self
4329 }
4330 }
4331 #[repr(C)]
4332 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
4333 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4334 pub struct D3DHAL_DP2ADDDIRTYBOX {
4335 pub dwSurface: u32,
4336 pub DirtyBox: super::super::super::Win32::Graphics::Direct3D9::D3DBOX,
4337 }
4338 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4339 impl ::core::marker::Copy for D3DHAL_DP2ADDDIRTYBOX {}
4340 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4341 impl ::core::clone::Clone for D3DHAL_DP2ADDDIRTYBOX {
4342 fn clone(&self) -> Self {
4343 *self
4344 }
4345 }
4346 #[repr(C)]
4347 #[doc = "Required features: `\"Win32_Foundation\"`"]
4348 #[cfg(feature = "Win32_Foundation")]
4349 pub struct D3DHAL_DP2ADDDIRTYRECT {
4350 pub dwSurface: u32,
4351 pub rDirtyArea: super::super::super::Win32::Foundation::RECTL,
4352 }
4353 #[cfg(feature = "Win32_Foundation")]
4354 impl ::core::marker::Copy for D3DHAL_DP2ADDDIRTYRECT {}
4355 #[cfg(feature = "Win32_Foundation")]
4356 impl ::core::clone::Clone for D3DHAL_DP2ADDDIRTYRECT {
4357 fn clone(&self) -> Self {
4358 *self
4359 }
4360 }
4361 #[repr(C)]
4362 #[doc = "Required features: `\"Win32_Foundation\"`"]
4363 #[cfg(feature = "Win32_Foundation")]
4364 pub struct D3DHAL_DP2BLT {
4365 pub dwSource: u32,
4366 pub rSource: super::super::super::Win32::Foundation::RECTL,
4367 pub dwSourceMipLevel: u32,
4368 pub dwDest: u32,
4369 pub rDest: super::super::super::Win32::Foundation::RECTL,
4370 pub dwDestMipLevel: u32,
4371 pub Flags: u32,
4372 }
4373 #[cfg(feature = "Win32_Foundation")]
4374 impl ::core::marker::Copy for D3DHAL_DP2BLT {}
4375 #[cfg(feature = "Win32_Foundation")]
4376 impl ::core::clone::Clone for D3DHAL_DP2BLT {
4377 fn clone(&self) -> Self {
4378 *self
4379 }
4380 }
4381 #[repr(C)]
4382 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
4383 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4384 pub struct D3DHAL_DP2BUFFERBLT {
4385 pub dwDDDestSurface: u32,
4386 pub dwDDSrcSurface: u32,
4387 pub dwOffset: u32,
4388 pub rSrc: super::super::super::Win32::Graphics::Direct3D9::D3DRANGE,
4389 pub dwFlags: u32,
4390 }
4391 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4392 impl ::core::marker::Copy for D3DHAL_DP2BUFFERBLT {}
4393 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4394 impl ::core::clone::Clone for D3DHAL_DP2BUFFERBLT {
4395 fn clone(&self) -> Self {
4396 *self
4397 }
4398 }
4399 #[repr(C)]
4400 #[doc = "Required features: `\"Win32_Foundation\"`"]
4401 #[cfg(feature = "Win32_Foundation")]
4402 pub struct D3DHAL_DP2CLEAR {
4403 pub dwFlags: u32,
4404 pub dwFillColor: u32,
4405 pub dvFillDepth: f32,
4406 pub dwFillStencil: u32,
4407 pub Rects: [super::super::super::Win32::Foundation::RECT; 1],
4408 }
4409 #[cfg(feature = "Win32_Foundation")]
4410 impl ::core::marker::Copy for D3DHAL_DP2CLEAR {}
4411 #[cfg(feature = "Win32_Foundation")]
4412 impl ::core::clone::Clone for D3DHAL_DP2CLEAR {
4413 fn clone(&self) -> Self {
4414 *self
4415 }
4416 }
4417 #[repr(C)]
4418 #[doc = "Required features: `\"Win32_Foundation\"`"]
4419 #[cfg(feature = "Win32_Foundation")]
4420 pub struct D3DHAL_DP2COLORFILL {
4421 pub dwSurface: u32,
4422 pub rRect: super::super::super::Win32::Foundation::RECTL,
4423 pub Color: u32,
4424 }
4425 #[cfg(feature = "Win32_Foundation")]
4426 impl ::core::marker::Copy for D3DHAL_DP2COLORFILL {}
4427 #[cfg(feature = "Win32_Foundation")]
4428 impl ::core::clone::Clone for D3DHAL_DP2COLORFILL {
4429 fn clone(&self) -> Self {
4430 *self
4431 }
4432 }
4433 #[repr(C)]
4434 pub struct D3DHAL_DP2COMMAND {
4435 pub bCommand: u8,
4436 pub bReserved: u8,
4437 pub Anonymous: D3DHAL_DP2COMMAND_0,
4438 }
4439 impl ::core::marker::Copy for D3DHAL_DP2COMMAND {}
4440 impl ::core::clone::Clone for D3DHAL_DP2COMMAND {
4441 fn clone(&self) -> Self {
4442 *self
4443 }
4444 }
4445 #[repr(C)]
4446 pub union D3DHAL_DP2COMMAND_0 {
4447 pub wPrimitiveCount: u16,
4448 pub wStateCount: u16,
4449 }
4450 impl ::core::marker::Copy for D3DHAL_DP2COMMAND_0 {}
4451 impl ::core::clone::Clone for D3DHAL_DP2COMMAND_0 {
4452 fn clone(&self) -> Self {
4453 *self
4454 }
4455 }
4456 #[repr(C)]
4457 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
4458 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4459 pub struct D3DHAL_DP2COMPOSERECTS {
4460 pub SrcSurfaceHandle: u32,
4461 pub DstSurfaceHandle: u32,
4462 pub SrcRectDescsVBHandle: u32,
4463 pub NumRects: u32,
4464 pub DstRectDescsVBHandle: u32,
4465 pub Operation: super::super::super::Win32::Graphics::Direct3D9::D3DCOMPOSERECTSOP,
4466 pub XOffset: i32,
4467 pub YOffset: i32,
4468 }
4469 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4470 impl ::core::marker::Copy for D3DHAL_DP2COMPOSERECTS {}
4471 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4472 impl ::core::clone::Clone for D3DHAL_DP2COMPOSERECTS {
4473 fn clone(&self) -> Self {
4474 *self
4475 }
4476 }
4477 #[repr(C)]
4478 pub struct D3DHAL_DP2CREATELIGHT {
4479 pub dwIndex: u32,
4480 }
4481 impl ::core::marker::Copy for D3DHAL_DP2CREATELIGHT {}
4482 impl ::core::clone::Clone for D3DHAL_DP2CREATELIGHT {
4483 fn clone(&self) -> Self {
4484 *self
4485 }
4486 }
4487 #[repr(C)]
4488 pub struct D3DHAL_DP2CREATEPIXELSHADER {
4489 pub dwHandle: u32,
4490 pub dwCodeSize: u32,
4491 }
4492 impl ::core::marker::Copy for D3DHAL_DP2CREATEPIXELSHADER {}
4493 impl ::core::clone::Clone for D3DHAL_DP2CREATEPIXELSHADER {
4494 fn clone(&self) -> Self {
4495 *self
4496 }
4497 }
4498 #[repr(C)]
4499 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
4500 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4501 pub struct D3DHAL_DP2CREATEQUERY {
4502 pub dwQueryID: u32,
4503 pub QueryType: super::super::super::Win32::Graphics::Direct3D9::D3DQUERYTYPE,
4504 }
4505 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4506 impl ::core::marker::Copy for D3DHAL_DP2CREATEQUERY {}
4507 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4508 impl ::core::clone::Clone for D3DHAL_DP2CREATEQUERY {
4509 fn clone(&self) -> Self {
4510 *self
4511 }
4512 }
4513 #[repr(C)]
4514 pub struct D3DHAL_DP2CREATEVERTEXSHADER {
4515 pub dwHandle: u32,
4516 pub dwDeclSize: u32,
4517 pub dwCodeSize: u32,
4518 }
4519 impl ::core::marker::Copy for D3DHAL_DP2CREATEVERTEXSHADER {}
4520 impl ::core::clone::Clone for D3DHAL_DP2CREATEVERTEXSHADER {
4521 fn clone(&self) -> Self {
4522 *self
4523 }
4524 }
4525 #[repr(C)]
4526 pub struct D3DHAL_DP2CREATEVERTEXSHADERDECL {
4527 pub dwHandle: u32,
4528 pub dwNumVertexElements: u32,
4529 }
4530 impl ::core::marker::Copy for D3DHAL_DP2CREATEVERTEXSHADERDECL {}
4531 impl ::core::clone::Clone for D3DHAL_DP2CREATEVERTEXSHADERDECL {
4532 fn clone(&self) -> Self {
4533 *self
4534 }
4535 }
4536 #[repr(C)]
4537 pub struct D3DHAL_DP2CREATEVERTEXSHADERFUNC {
4538 pub dwHandle: u32,
4539 pub dwSize: u32,
4540 }
4541 impl ::core::marker::Copy for D3DHAL_DP2CREATEVERTEXSHADERFUNC {}
4542 impl ::core::clone::Clone for D3DHAL_DP2CREATEVERTEXSHADERFUNC {
4543 fn clone(&self) -> Self {
4544 *self
4545 }
4546 }
4547 #[repr(C)]
4548 pub struct D3DHAL_DP2DELETEQUERY {
4549 pub dwQueryID: u32,
4550 }
4551 impl ::core::marker::Copy for D3DHAL_DP2DELETEQUERY {}
4552 impl ::core::clone::Clone for D3DHAL_DP2DELETEQUERY {
4553 fn clone(&self) -> Self {
4554 *self
4555 }
4556 }
4557 #[repr(C)]
4558 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
4559 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4560 pub struct D3DHAL_DP2DRAWINDEXEDPRIMITIVE {
4561 pub primType: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMITIVETYPE,
4562 pub BaseVertexIndex: i32,
4563 pub MinIndex: u32,
4564 pub NumVertices: u32,
4565 pub StartIndex: u32,
4566 pub PrimitiveCount: u32,
4567 }
4568 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4569 impl ::core::marker::Copy for D3DHAL_DP2DRAWINDEXEDPRIMITIVE {}
4570 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4571 impl ::core::clone::Clone for D3DHAL_DP2DRAWINDEXEDPRIMITIVE {
4572 fn clone(&self) -> Self {
4573 *self
4574 }
4575 }
4576 #[repr(C)]
4577 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
4578 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4579 pub struct D3DHAL_DP2DRAWINDEXEDPRIMITIVE2 {
4580 pub primType: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMITIVETYPE,
4581 pub BaseVertexOffset: i32,
4582 pub MinIndex: u32,
4583 pub NumVertices: u32,
4584 pub StartIndexOffset: u32,
4585 pub PrimitiveCount: u32,
4586 }
4587 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4588 impl ::core::marker::Copy for D3DHAL_DP2DRAWINDEXEDPRIMITIVE2 {}
4589 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4590 impl ::core::clone::Clone for D3DHAL_DP2DRAWINDEXEDPRIMITIVE2 {
4591 fn clone(&self) -> Self {
4592 *self
4593 }
4594 }
4595 #[repr(C)]
4596 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
4597 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4598 pub struct D3DHAL_DP2DRAWPRIMITIVE {
4599 pub primType: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMITIVETYPE,
4600 pub VStart: u32,
4601 pub PrimitiveCount: u32,
4602 }
4603 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4604 impl ::core::marker::Copy for D3DHAL_DP2DRAWPRIMITIVE {}
4605 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4606 impl ::core::clone::Clone for D3DHAL_DP2DRAWPRIMITIVE {
4607 fn clone(&self) -> Self {
4608 *self
4609 }
4610 }
4611 #[repr(C)]
4612 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
4613 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4614 pub struct D3DHAL_DP2DRAWPRIMITIVE2 {
4615 pub primType: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMITIVETYPE,
4616 pub FirstVertexOffset: u32,
4617 pub PrimitiveCount: u32,
4618 }
4619 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4620 impl ::core::marker::Copy for D3DHAL_DP2DRAWPRIMITIVE2 {}
4621 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4622 impl ::core::clone::Clone for D3DHAL_DP2DRAWPRIMITIVE2 {
4623 fn clone(&self) -> Self {
4624 *self
4625 }
4626 }
4627 #[repr(C)]
4628 pub struct D3DHAL_DP2DRAWRECTPATCH {
4629 pub Handle: u32,
4630 pub Flags: u32,
4631 }
4632 impl ::core::marker::Copy for D3DHAL_DP2DRAWRECTPATCH {}
4633 impl ::core::clone::Clone for D3DHAL_DP2DRAWRECTPATCH {
4634 fn clone(&self) -> Self {
4635 *self
4636 }
4637 }
4638 #[repr(C)]
4639 pub struct D3DHAL_DP2DRAWTRIPATCH {
4640 pub Handle: u32,
4641 pub Flags: u32,
4642 }
4643 impl ::core::marker::Copy for D3DHAL_DP2DRAWTRIPATCH {}
4644 impl ::core::clone::Clone for D3DHAL_DP2DRAWTRIPATCH {
4645 fn clone(&self) -> Self {
4646 *self
4647 }
4648 }
4649 #[repr(C)]
4650 pub struct D3DHAL_DP2EXT {
4651 pub dwExtToken: u32,
4652 pub dwSize: u32,
4653 }
4654 impl ::core::marker::Copy for D3DHAL_DP2EXT {}
4655 impl ::core::clone::Clone for D3DHAL_DP2EXT {
4656 fn clone(&self) -> Self {
4657 *self
4658 }
4659 }
4660 #[repr(C)]
4661 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
4662 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4663 pub struct D3DHAL_DP2GENERATEMIPSUBLEVELS {
4664 pub hSurface: u32,
4665 pub Filter: super::super::super::Win32::Graphics::Direct3D9::D3DTEXTUREFILTERTYPE,
4666 }
4667 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4668 impl ::core::marker::Copy for D3DHAL_DP2GENERATEMIPSUBLEVELS {}
4669 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4670 impl ::core::clone::Clone for D3DHAL_DP2GENERATEMIPSUBLEVELS {
4671 fn clone(&self) -> Self {
4672 *self
4673 }
4674 }
4675 #[repr(C)]
4676 pub struct D3DHAL_DP2INDEXEDLINELIST {
4677 pub wV1: u16,
4678 pub wV2: u16,
4679 }
4680 impl ::core::marker::Copy for D3DHAL_DP2INDEXEDLINELIST {}
4681 impl ::core::clone::Clone for D3DHAL_DP2INDEXEDLINELIST {
4682 fn clone(&self) -> Self {
4683 *self
4684 }
4685 }
4686 #[repr(C)]
4687 pub struct D3DHAL_DP2INDEXEDLINESTRIP {
4688 pub wV: [u16; 2],
4689 }
4690 impl ::core::marker::Copy for D3DHAL_DP2INDEXEDLINESTRIP {}
4691 impl ::core::clone::Clone for D3DHAL_DP2INDEXEDLINESTRIP {
4692 fn clone(&self) -> Self {
4693 *self
4694 }
4695 }
4696 #[repr(C)]
4697 pub struct D3DHAL_DP2INDEXEDTRIANGLEFAN {
4698 pub wV: [u16; 3],
4699 }
4700 impl ::core::marker::Copy for D3DHAL_DP2INDEXEDTRIANGLEFAN {}
4701 impl ::core::clone::Clone for D3DHAL_DP2INDEXEDTRIANGLEFAN {
4702 fn clone(&self) -> Self {
4703 *self
4704 }
4705 }
4706 #[repr(C)]
4707 pub struct D3DHAL_DP2INDEXEDTRIANGLELIST {
4708 pub wV1: u16,
4709 pub wV2: u16,
4710 pub wV3: u16,
4711 pub wFlags: u16,
4712 }
4713 impl ::core::marker::Copy for D3DHAL_DP2INDEXEDTRIANGLELIST {}
4714 impl ::core::clone::Clone for D3DHAL_DP2INDEXEDTRIANGLELIST {
4715 fn clone(&self) -> Self {
4716 *self
4717 }
4718 }
4719 #[repr(C)]
4720 pub struct D3DHAL_DP2INDEXEDTRIANGLELIST2 {
4721 pub wV1: u16,
4722 pub wV2: u16,
4723 pub wV3: u16,
4724 }
4725 impl ::core::marker::Copy for D3DHAL_DP2INDEXEDTRIANGLELIST2 {}
4726 impl ::core::clone::Clone for D3DHAL_DP2INDEXEDTRIANGLELIST2 {
4727 fn clone(&self) -> Self {
4728 *self
4729 }
4730 }
4731 #[repr(C)]
4732 pub struct D3DHAL_DP2INDEXEDTRIANGLESTRIP {
4733 pub wV: [u16; 3],
4734 }
4735 impl ::core::marker::Copy for D3DHAL_DP2INDEXEDTRIANGLESTRIP {}
4736 impl ::core::clone::Clone for D3DHAL_DP2INDEXEDTRIANGLESTRIP {
4737 fn clone(&self) -> Self {
4738 *self
4739 }
4740 }
4741 #[repr(C)]
4742 pub struct D3DHAL_DP2ISSUEQUERY {
4743 pub dwQueryID: u32,
4744 pub dwFlags: u32,
4745 }
4746 impl ::core::marker::Copy for D3DHAL_DP2ISSUEQUERY {}
4747 impl ::core::clone::Clone for D3DHAL_DP2ISSUEQUERY {
4748 fn clone(&self) -> Self {
4749 *self
4750 }
4751 }
4752 #[repr(C)]
4753 pub struct D3DHAL_DP2LINELIST {
4754 pub wVStart: u16,
4755 }
4756 impl ::core::marker::Copy for D3DHAL_DP2LINELIST {}
4757 impl ::core::clone::Clone for D3DHAL_DP2LINELIST {
4758 fn clone(&self) -> Self {
4759 *self
4760 }
4761 }
4762 #[repr(C)]
4763 pub struct D3DHAL_DP2LINESTRIP {
4764 pub wVStart: u16,
4765 }
4766 impl ::core::marker::Copy for D3DHAL_DP2LINESTRIP {}
4767 impl ::core::clone::Clone for D3DHAL_DP2LINESTRIP {
4768 fn clone(&self) -> Self {
4769 *self
4770 }
4771 }
4772 #[repr(C)]
4773 #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct3D9\"`"]
4774 #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
4775 pub struct D3DHAL_DP2MULTIPLYTRANSFORM {
4776 pub xfrmType: super::super::super::Win32::Graphics::Direct3D9::D3DTRANSFORMSTATETYPE,
4777 pub matrix: super::super::super::Foundation::Numerics::Matrix4x4,
4778 }
4779 #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
4780 impl ::core::marker::Copy for D3DHAL_DP2MULTIPLYTRANSFORM {}
4781 #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
4782 impl ::core::clone::Clone for D3DHAL_DP2MULTIPLYTRANSFORM {
4783 fn clone(&self) -> Self {
4784 *self
4785 }
4786 }
4787 #[repr(C)]
4788 pub struct D3DHAL_DP2PIXELSHADER {
4789 pub dwHandle: u32,
4790 }
4791 impl ::core::marker::Copy for D3DHAL_DP2PIXELSHADER {}
4792 impl ::core::clone::Clone for D3DHAL_DP2PIXELSHADER {
4793 fn clone(&self) -> Self {
4794 *self
4795 }
4796 }
4797 #[repr(C)]
4798 pub struct D3DHAL_DP2POINTS {
4799 pub wCount: u16,
4800 pub wVStart: u16,
4801 }
4802 impl ::core::marker::Copy for D3DHAL_DP2POINTS {}
4803 impl ::core::clone::Clone for D3DHAL_DP2POINTS {
4804 fn clone(&self) -> Self {
4805 *self
4806 }
4807 }
4808 #[repr(C)]
4809 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
4810 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4811 pub struct D3DHAL_DP2RENDERSTATE {
4812 pub RenderState: super::super::super::Win32::Graphics::Direct3D9::D3DRENDERSTATETYPE,
4813 pub Anonymous: D3DHAL_DP2RENDERSTATE_0,
4814 }
4815 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4816 impl ::core::marker::Copy for D3DHAL_DP2RENDERSTATE {}
4817 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4818 impl ::core::clone::Clone for D3DHAL_DP2RENDERSTATE {
4819 fn clone(&self) -> Self {
4820 *self
4821 }
4822 }
4823 #[repr(C)]
4824 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
4825 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4826 pub union D3DHAL_DP2RENDERSTATE_0 {
4827 pub dvState: f32,
4828 pub dwState: u32,
4829 }
4830 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4831 impl ::core::marker::Copy for D3DHAL_DP2RENDERSTATE_0 {}
4832 #[cfg(feature = "Win32_Graphics_Direct3D9")]
4833 impl ::core::clone::Clone for D3DHAL_DP2RENDERSTATE_0 {
4834 fn clone(&self) -> Self {
4835 *self
4836 }
4837 }
4838 #[repr(C)]
4839 pub struct D3DHAL_DP2RESPONSE {
4840 pub bCommand: u8,
4841 pub bReserved: u8,
4842 pub wStateCount: u16,
4843 pub dwTotalSize: u32,
4844 }
4845 impl ::core::marker::Copy for D3DHAL_DP2RESPONSE {}
4846 impl ::core::clone::Clone for D3DHAL_DP2RESPONSE {
4847 fn clone(&self) -> Self {
4848 *self
4849 }
4850 }
4851 #[repr(C)]
4852 pub struct D3DHAL_DP2RESPONSEQUERY {
4853 pub dwQueryID: u32,
4854 pub dwSize: u32,
4855 }
4856 impl ::core::marker::Copy for D3DHAL_DP2RESPONSEQUERY {}
4857 impl ::core::clone::Clone for D3DHAL_DP2RESPONSEQUERY {
4858 fn clone(&self) -> Self {
4859 *self
4860 }
4861 }
4862 #[repr(C)]
4863 pub struct D3DHAL_DP2SETCLIPPLANE {
4864 pub dwIndex: u32,
4865 pub plane: [f32; 4],
4866 }
4867 impl ::core::marker::Copy for D3DHAL_DP2SETCLIPPLANE {}
4868 impl ::core::clone::Clone for D3DHAL_DP2SETCLIPPLANE {
4869 fn clone(&self) -> Self {
4870 *self
4871 }
4872 }
4873 #[repr(C)]
4874 pub struct D3DHAL_DP2SETCONVOLUTIONKERNELMONO {
4875 pub dwWidth: u32,
4876 pub dwHeight: u32,
4877 pub dwFlags: u32,
4878 }
4879 impl ::core::marker::Copy for D3DHAL_DP2SETCONVOLUTIONKERNELMONO {}
4880 impl ::core::clone::Clone for D3DHAL_DP2SETCONVOLUTIONKERNELMONO {
4881 fn clone(&self) -> Self {
4882 *self
4883 }
4884 }
4885 #[repr(C)]
4886 pub struct D3DHAL_DP2SETDEPTHSTENCIL {
4887 pub hZBuffer: u32,
4888 }
4889 impl ::core::marker::Copy for D3DHAL_DP2SETDEPTHSTENCIL {}
4890 impl ::core::clone::Clone for D3DHAL_DP2SETDEPTHSTENCIL {
4891 fn clone(&self) -> Self {
4892 *self
4893 }
4894 }
4895 #[repr(C)]
4896 pub struct D3DHAL_DP2SETINDICES {
4897 pub dwVBHandle: u32,
4898 pub dwStride: u32,
4899 }
4900 impl ::core::marker::Copy for D3DHAL_DP2SETINDICES {}
4901 impl ::core::clone::Clone for D3DHAL_DP2SETINDICES {
4902 fn clone(&self) -> Self {
4903 *self
4904 }
4905 }
4906 #[repr(C)]
4907 pub struct D3DHAL_DP2SETLIGHT {
4908 pub dwIndex: u32,
4909 pub dwDataType: u32,
4910 }
4911 impl ::core::marker::Copy for D3DHAL_DP2SETLIGHT {}
4912 impl ::core::clone::Clone for D3DHAL_DP2SETLIGHT {
4913 fn clone(&self) -> Self {
4914 *self
4915 }
4916 }
4917 #[repr(C)]
4918 pub struct D3DHAL_DP2SETPALETTE {
4919 pub dwPaletteHandle: u32,
4920 pub dwPaletteFlags: u32,
4921 pub dwSurfaceHandle: u32,
4922 }
4923 impl ::core::marker::Copy for D3DHAL_DP2SETPALETTE {}
4924 impl ::core::clone::Clone for D3DHAL_DP2SETPALETTE {
4925 fn clone(&self) -> Self {
4926 *self
4927 }
4928 }
4929 #[repr(C)]
4930 pub struct D3DHAL_DP2SETPIXELSHADERCONST {
4931 pub dwRegister: u32,
4932 pub dwCount: u32,
4933 }
4934 impl ::core::marker::Copy for D3DHAL_DP2SETPIXELSHADERCONST {}
4935 impl ::core::clone::Clone for D3DHAL_DP2SETPIXELSHADERCONST {
4936 fn clone(&self) -> Self {
4937 *self
4938 }
4939 }
4940 #[repr(C)]
4941 pub struct D3DHAL_DP2SETPRIORITY {
4942 pub dwDDSurface: u32,
4943 pub dwPriority: u32,
4944 }
4945 impl ::core::marker::Copy for D3DHAL_DP2SETPRIORITY {}
4946 impl ::core::clone::Clone for D3DHAL_DP2SETPRIORITY {
4947 fn clone(&self) -> Self {
4948 *self
4949 }
4950 }
4951 #[repr(C)]
4952 pub struct D3DHAL_DP2SETRENDERTARGET {
4953 pub hRenderTarget: u32,
4954 pub hZBuffer: u32,
4955 }
4956 impl ::core::marker::Copy for D3DHAL_DP2SETRENDERTARGET {}
4957 impl ::core::clone::Clone for D3DHAL_DP2SETRENDERTARGET {
4958 fn clone(&self) -> Self {
4959 *self
4960 }
4961 }
4962 #[repr(C)]
4963 pub struct D3DHAL_DP2SETRENDERTARGET2 {
4964 pub RTIndex: u32,
4965 pub hRenderTarget: u32,
4966 }
4967 impl ::core::marker::Copy for D3DHAL_DP2SETRENDERTARGET2 {}
4968 impl ::core::clone::Clone for D3DHAL_DP2SETRENDERTARGET2 {
4969 fn clone(&self) -> Self {
4970 *self
4971 }
4972 }
4973 #[repr(C)]
4974 pub struct D3DHAL_DP2SETSTREAMSOURCE {
4975 pub dwStream: u32,
4976 pub dwVBHandle: u32,
4977 pub dwStride: u32,
4978 }
4979 impl ::core::marker::Copy for D3DHAL_DP2SETSTREAMSOURCE {}
4980 impl ::core::clone::Clone for D3DHAL_DP2SETSTREAMSOURCE {
4981 fn clone(&self) -> Self {
4982 *self
4983 }
4984 }
4985 #[repr(C)]
4986 pub struct D3DHAL_DP2SETSTREAMSOURCE2 {
4987 pub dwStream: u32,
4988 pub dwVBHandle: u32,
4989 pub dwOffset: u32,
4990 pub dwStride: u32,
4991 }
4992 impl ::core::marker::Copy for D3DHAL_DP2SETSTREAMSOURCE2 {}
4993 impl ::core::clone::Clone for D3DHAL_DP2SETSTREAMSOURCE2 {
4994 fn clone(&self) -> Self {
4995 *self
4996 }
4997 }
4998 #[repr(C)]
4999 pub struct D3DHAL_DP2SETSTREAMSOURCEFREQ {
5000 pub dwStream: u32,
5001 pub dwDivider: u32,
5002 }
5003 impl ::core::marker::Copy for D3DHAL_DP2SETSTREAMSOURCEFREQ {}
5004 impl ::core::clone::Clone for D3DHAL_DP2SETSTREAMSOURCEFREQ {
5005 fn clone(&self) -> Self {
5006 *self
5007 }
5008 }
5009 #[repr(C)]
5010 pub struct D3DHAL_DP2SETSTREAMSOURCEUM {
5011 pub dwStream: u32,
5012 pub dwStride: u32,
5013 }
5014 impl ::core::marker::Copy for D3DHAL_DP2SETSTREAMSOURCEUM {}
5015 impl ::core::clone::Clone for D3DHAL_DP2SETSTREAMSOURCEUM {
5016 fn clone(&self) -> Self {
5017 *self
5018 }
5019 }
5020 #[repr(C)]
5021 pub struct D3DHAL_DP2SETTEXLOD {
5022 pub dwDDSurface: u32,
5023 pub dwLOD: u32,
5024 }
5025 impl ::core::marker::Copy for D3DHAL_DP2SETTEXLOD {}
5026 impl ::core::clone::Clone for D3DHAL_DP2SETTEXLOD {
5027 fn clone(&self) -> Self {
5028 *self
5029 }
5030 }
5031 #[repr(C)]
5032 #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct3D9\"`"]
5033 #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
5034 pub struct D3DHAL_DP2SETTRANSFORM {
5035 pub xfrmType: super::super::super::Win32::Graphics::Direct3D9::D3DTRANSFORMSTATETYPE,
5036 pub matrix: super::super::super::Foundation::Numerics::Matrix4x4,
5037 }
5038 #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
5039 impl ::core::marker::Copy for D3DHAL_DP2SETTRANSFORM {}
5040 #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
5041 impl ::core::clone::Clone for D3DHAL_DP2SETTRANSFORM {
5042 fn clone(&self) -> Self {
5043 *self
5044 }
5045 }
5046 #[repr(C)]
5047 pub struct D3DHAL_DP2SETVERTEXSHADERCONST {
5048 pub dwRegister: u32,
5049 pub dwCount: u32,
5050 }
5051 impl ::core::marker::Copy for D3DHAL_DP2SETVERTEXSHADERCONST {}
5052 impl ::core::clone::Clone for D3DHAL_DP2SETVERTEXSHADERCONST {
5053 fn clone(&self) -> Self {
5054 *self
5055 }
5056 }
5057 #[repr(C)]
5058 pub struct D3DHAL_DP2STARTVERTEX {
5059 pub wVStart: u16,
5060 }
5061 impl ::core::marker::Copy for D3DHAL_DP2STARTVERTEX {}
5062 impl ::core::clone::Clone for D3DHAL_DP2STARTVERTEX {
5063 fn clone(&self) -> Self {
5064 *self
5065 }
5066 }
5067 #[repr(C)]
5068 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
5069 #[cfg(feature = "Win32_Graphics_Direct3D9")]
5070 pub struct D3DHAL_DP2STATESET {
5071 pub dwOperation: u32,
5072 pub dwParam: u32,
5073 pub sbType: super::super::super::Win32::Graphics::Direct3D9::D3DSTATEBLOCKTYPE,
5074 }
5075 #[cfg(feature = "Win32_Graphics_Direct3D9")]
5076 impl ::core::marker::Copy for D3DHAL_DP2STATESET {}
5077 #[cfg(feature = "Win32_Graphics_Direct3D9")]
5078 impl ::core::clone::Clone for D3DHAL_DP2STATESET {
5079 fn clone(&self) -> Self {
5080 *self
5081 }
5082 }
5083 #[repr(C)]
5084 #[doc = "Required features: `\"Win32_Foundation\"`"]
5085 #[cfg(feature = "Win32_Foundation")]
5086 pub struct D3DHAL_DP2SURFACEBLT {
5087 pub dwSource: u32,
5088 pub rSource: super::super::super::Win32::Foundation::RECTL,
5089 pub dwSourceMipLevel: u32,
5090 pub dwDest: u32,
5091 pub rDest: super::super::super::Win32::Foundation::RECTL,
5092 pub dwDestMipLevel: u32,
5093 pub Flags: u32,
5094 }
5095 #[cfg(feature = "Win32_Foundation")]
5096 impl ::core::marker::Copy for D3DHAL_DP2SURFACEBLT {}
5097 #[cfg(feature = "Win32_Foundation")]
5098 impl ::core::clone::Clone for D3DHAL_DP2SURFACEBLT {
5099 fn clone(&self) -> Self {
5100 *self
5101 }
5102 }
5103 #[repr(C)]
5104 #[doc = "Required features: `\"Win32_Foundation\"`"]
5105 #[cfg(feature = "Win32_Foundation")]
5106 pub struct D3DHAL_DP2TEXBLT {
5107 pub dwDDDestSurface: u32,
5108 pub dwDDSrcSurface: u32,
5109 pub pDest: super::super::super::Win32::Foundation::POINT,
5110 pub rSrc: super::super::super::Win32::Foundation::RECTL,
5111 pub dwFlags: u32,
5112 }
5113 #[cfg(feature = "Win32_Foundation")]
5114 impl ::core::marker::Copy for D3DHAL_DP2TEXBLT {}
5115 #[cfg(feature = "Win32_Foundation")]
5116 impl ::core::clone::Clone for D3DHAL_DP2TEXBLT {
5117 fn clone(&self) -> Self {
5118 *self
5119 }
5120 }
5121 #[repr(C)]
5122 pub struct D3DHAL_DP2TEXTURESTAGESTATE {
5123 pub wStage: u16,
5124 pub TSState: u16,
5125 pub dwValue: u32,
5126 }
5127 impl ::core::marker::Copy for D3DHAL_DP2TEXTURESTAGESTATE {}
5128 impl ::core::clone::Clone for D3DHAL_DP2TEXTURESTAGESTATE {
5129 fn clone(&self) -> Self {
5130 *self
5131 }
5132 }
5133 #[repr(C)]
5134 pub struct D3DHAL_DP2TRIANGLEFAN {
5135 pub wVStart: u16,
5136 }
5137 impl ::core::marker::Copy for D3DHAL_DP2TRIANGLEFAN {}
5138 impl ::core::clone::Clone for D3DHAL_DP2TRIANGLEFAN {
5139 fn clone(&self) -> Self {
5140 *self
5141 }
5142 }
5143 #[repr(C)]
5144 pub struct D3DHAL_DP2TRIANGLEFAN_IMM {
5145 pub dwEdgeFlags: u32,
5146 }
5147 impl ::core::marker::Copy for D3DHAL_DP2TRIANGLEFAN_IMM {}
5148 impl ::core::clone::Clone for D3DHAL_DP2TRIANGLEFAN_IMM {
5149 fn clone(&self) -> Self {
5150 *self
5151 }
5152 }
5153 #[repr(C)]
5154 pub struct D3DHAL_DP2TRIANGLELIST {
5155 pub wVStart: u16,
5156 }
5157 impl ::core::marker::Copy for D3DHAL_DP2TRIANGLELIST {}
5158 impl ::core::clone::Clone for D3DHAL_DP2TRIANGLELIST {
5159 fn clone(&self) -> Self {
5160 *self
5161 }
5162 }
5163 #[repr(C)]
5164 pub struct D3DHAL_DP2TRIANGLESTRIP {
5165 pub wVStart: u16,
5166 }
5167 impl ::core::marker::Copy for D3DHAL_DP2TRIANGLESTRIP {}
5168 impl ::core::clone::Clone for D3DHAL_DP2TRIANGLESTRIP {
5169 fn clone(&self) -> Self {
5170 *self
5171 }
5172 }
5173 #[repr(C)]
5174 pub struct D3DHAL_DP2UPDATEPALETTE {
5175 pub dwPaletteHandle: u32,
5176 pub wStartIndex: u16,
5177 pub wNumEntries: u16,
5178 }
5179 impl ::core::marker::Copy for D3DHAL_DP2UPDATEPALETTE {}
5180 impl ::core::clone::Clone for D3DHAL_DP2UPDATEPALETTE {
5181 fn clone(&self) -> Self {
5182 *self
5183 }
5184 }
5185 #[repr(C)]
5186 pub struct D3DHAL_DP2VERTEXSHADER {
5187 pub dwHandle: u32,
5188 }
5189 impl ::core::marker::Copy for D3DHAL_DP2VERTEXSHADER {}
5190 impl ::core::clone::Clone for D3DHAL_DP2VERTEXSHADER {
5191 fn clone(&self) -> Self {
5192 *self
5193 }
5194 }
5195 #[repr(C)]
5196 pub struct D3DHAL_DP2VIEWPORTINFO {
5197 pub dwX: u32,
5198 pub dwY: u32,
5199 pub dwWidth: u32,
5200 pub dwHeight: u32,
5201 }
5202 impl ::core::marker::Copy for D3DHAL_DP2VIEWPORTINFO {}
5203 impl ::core::clone::Clone for D3DHAL_DP2VIEWPORTINFO {
5204 fn clone(&self) -> Self {
5205 *self
5206 }
5207 }
5208 #[repr(C)]
5209 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
5210 #[cfg(feature = "Win32_Graphics_Direct3D9")]
5211 pub struct D3DHAL_DP2VOLUMEBLT {
5212 pub dwDDDestSurface: u32,
5213 pub dwDDSrcSurface: u32,
5214 pub dwDestX: u32,
5215 pub dwDestY: u32,
5216 pub dwDestZ: u32,
5217 pub srcBox: super::super::super::Win32::Graphics::Direct3D9::D3DBOX,
5218 pub dwFlags: u32,
5219 }
5220 #[cfg(feature = "Win32_Graphics_Direct3D9")]
5221 impl ::core::marker::Copy for D3DHAL_DP2VOLUMEBLT {}
5222 #[cfg(feature = "Win32_Graphics_Direct3D9")]
5223 impl ::core::clone::Clone for D3DHAL_DP2VOLUMEBLT {
5224 fn clone(&self) -> Self {
5225 *self
5226 }
5227 }
5228 #[repr(C)]
5229 pub struct D3DHAL_DP2WINFO {
5230 pub dvWNear: f32,
5231 pub dvWFar: f32,
5232 }
5233 impl ::core::marker::Copy for D3DHAL_DP2WINFO {}
5234 impl ::core::clone::Clone for D3DHAL_DP2WINFO {
5235 fn clone(&self) -> Self {
5236 *self
5237 }
5238 }
5239 #[repr(C)]
5240 pub struct D3DHAL_DP2ZRANGE {
5241 pub dvMinZ: f32,
5242 pub dvMaxZ: f32,
5243 }
5244 impl ::core::marker::Copy for D3DHAL_DP2ZRANGE {}
5245 impl ::core::clone::Clone for D3DHAL_DP2ZRANGE {
5246 fn clone(&self) -> Self {
5247 *self
5248 }
5249 }
5250 #[repr(C)]
5251 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
5252 #[cfg(feature = "Win32_Graphics_Direct3D9")]
5253 pub struct D3DHAL_DRAWONEINDEXEDPRIMITIVEDATA {
5254 pub dwhContext: usize,
5255 pub dwFlags: u32,
5256 pub PrimitiveType: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMITIVETYPE,
5257 pub Anonymous: D3DHAL_DRAWONEINDEXEDPRIMITIVEDATA_0,
5258 pub lpvVertices: *mut ::core::ffi::c_void,
5259 pub dwNumVertices: u32,
5260 pub lpwIndices: *mut u16,
5261 pub dwNumIndices: u32,
5262 pub ddrval: ::windows_sys::core::HRESULT,
5263 }
5264 #[cfg(feature = "Win32_Graphics_Direct3D9")]
5265 impl ::core::marker::Copy for D3DHAL_DRAWONEINDEXEDPRIMITIVEDATA {}
5266 #[cfg(feature = "Win32_Graphics_Direct3D9")]
5267 impl ::core::clone::Clone for D3DHAL_DRAWONEINDEXEDPRIMITIVEDATA {
5268 fn clone(&self) -> Self {
5269 *self
5270 }
5271 }
5272 #[repr(C)]
5273 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
5274 #[cfg(feature = "Win32_Graphics_Direct3D9")]
5275 pub union D3DHAL_DRAWONEINDEXEDPRIMITIVEDATA_0 {
5276 pub VertexType: super::super::super::Win32::Graphics::Direct3D9::D3DVERTEXTYPE,
5277 pub dwFVFControl: u32,
5278 }
5279 #[cfg(feature = "Win32_Graphics_Direct3D9")]
5280 impl ::core::marker::Copy for D3DHAL_DRAWONEINDEXEDPRIMITIVEDATA_0 {}
5281 #[cfg(feature = "Win32_Graphics_Direct3D9")]
5282 impl ::core::clone::Clone for D3DHAL_DRAWONEINDEXEDPRIMITIVEDATA_0 {
5283 fn clone(&self) -> Self {
5284 *self
5285 }
5286 }
5287 #[repr(C)]
5288 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
5289 #[cfg(feature = "Win32_Graphics_Direct3D9")]
5290 pub struct D3DHAL_DRAWONEPRIMITIVEDATA {
5291 pub dwhContext: usize,
5292 pub dwFlags: u32,
5293 pub PrimitiveType: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMITIVETYPE,
5294 pub Anonymous: D3DHAL_DRAWONEPRIMITIVEDATA_0,
5295 pub lpvVertices: *mut ::core::ffi::c_void,
5296 pub dwNumVertices: u32,
5297 pub dwReserved: u32,
5298 pub ddrval: ::windows_sys::core::HRESULT,
5299 }
5300 #[cfg(feature = "Win32_Graphics_Direct3D9")]
5301 impl ::core::marker::Copy for D3DHAL_DRAWONEPRIMITIVEDATA {}
5302 #[cfg(feature = "Win32_Graphics_Direct3D9")]
5303 impl ::core::clone::Clone for D3DHAL_DRAWONEPRIMITIVEDATA {
5304 fn clone(&self) -> Self {
5305 *self
5306 }
5307 }
5308 #[repr(C)]
5309 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
5310 #[cfg(feature = "Win32_Graphics_Direct3D9")]
5311 pub union D3DHAL_DRAWONEPRIMITIVEDATA_0 {
5312 pub VertexType: super::super::super::Win32::Graphics::Direct3D9::D3DVERTEXTYPE,
5313 pub dwFVFControl: u32,
5314 }
5315 #[cfg(feature = "Win32_Graphics_Direct3D9")]
5316 impl ::core::marker::Copy for D3DHAL_DRAWONEPRIMITIVEDATA_0 {}
5317 #[cfg(feature = "Win32_Graphics_Direct3D9")]
5318 impl ::core::clone::Clone for D3DHAL_DRAWONEPRIMITIVEDATA_0 {
5319 fn clone(&self) -> Self {
5320 *self
5321 }
5322 }
5323 #[repr(C)]
5324 pub struct D3DHAL_DRAWPRIMCOUNTS {
5325 pub wNumStateChanges: u16,
5326 pub wPrimitiveType: u16,
5327 pub wVertexType: u16,
5328 pub wNumVertices: u16,
5329 }
5330 impl ::core::marker::Copy for D3DHAL_DRAWPRIMCOUNTS {}
5331 impl ::core::clone::Clone for D3DHAL_DRAWPRIMCOUNTS {
5332 fn clone(&self) -> Self {
5333 *self
5334 }
5335 }
5336 #[repr(C)]
5337 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
5338 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
5339 pub struct D3DHAL_DRAWPRIMITIVES2DATA {
5340 pub dwhContext: usize,
5341 pub dwFlags: u32,
5342 pub dwVertexType: u32,
5343 pub lpDDCommands: *mut super::super::super::Win32::Graphics::DirectDraw::DDRAWI_DDRAWSURFACE_LCL,
5344 pub dwCommandOffset: u32,
5345 pub dwCommandLength: u32,
5346 pub Anonymous1: D3DHAL_DRAWPRIMITIVES2DATA_0,
5347 pub dwVertexOffset: u32,
5348 pub dwVertexLength: u32,
5349 pub dwReqVertexBufSize: u32,
5350 pub dwReqCommandBufSize: u32,
5351 pub lpdwRStates: *mut u32,
5352 pub Anonymous2: D3DHAL_DRAWPRIMITIVES2DATA_1,
5353 pub dwErrorOffset: u32,
5354 }
5355 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
5356 impl ::core::marker::Copy for D3DHAL_DRAWPRIMITIVES2DATA {}
5357 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
5358 impl ::core::clone::Clone for D3DHAL_DRAWPRIMITIVES2DATA {
5359 fn clone(&self) -> Self {
5360 *self
5361 }
5362 }
5363 #[repr(C)]
5364 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
5365 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
5366 pub union D3DHAL_DRAWPRIMITIVES2DATA_0 {
5367 pub lpDDVertex: *mut super::super::super::Win32::Graphics::DirectDraw::DDRAWI_DDRAWSURFACE_LCL,
5368 pub lpVertices: *mut ::core::ffi::c_void,
5369 }
5370 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
5371 impl ::core::marker::Copy for D3DHAL_DRAWPRIMITIVES2DATA_0 {}
5372 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
5373 impl ::core::clone::Clone for D3DHAL_DRAWPRIMITIVES2DATA_0 {
5374 fn clone(&self) -> Self {
5375 *self
5376 }
5377 }
5378 #[repr(C)]
5379 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
5380 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
5381 pub union D3DHAL_DRAWPRIMITIVES2DATA_1 {
5382 pub dwVertexSize: u32,
5383 pub ddrval: ::windows_sys::core::HRESULT,
5384 }
5385 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
5386 impl ::core::marker::Copy for D3DHAL_DRAWPRIMITIVES2DATA_1 {}
5387 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
5388 impl ::core::clone::Clone for D3DHAL_DRAWPRIMITIVES2DATA_1 {
5389 fn clone(&self) -> Self {
5390 *self
5391 }
5392 }
5393 #[repr(C)]
5394 pub struct D3DHAL_DRAWPRIMITIVESDATA {
5395 pub dwhContext: usize,
5396 pub dwFlags: u32,
5397 pub lpvData: *mut ::core::ffi::c_void,
5398 pub dwFVFControl: u32,
5399 pub ddrval: ::windows_sys::core::HRESULT,
5400 }
5401 impl ::core::marker::Copy for D3DHAL_DRAWPRIMITIVESDATA {}
5402 impl ::core::clone::Clone for D3DHAL_DRAWPRIMITIVESDATA {
5403 fn clone(&self) -> Self {
5404 *self
5405 }
5406 }
5407 #[repr(C)]
5408 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
5409 #[cfg(feature = "Win32_Graphics_Direct3D9")]
5410 pub struct D3DHAL_GETSTATEDATA {
5411 pub dwhContext: usize,
5412 pub dwWhich: u32,
5413 pub ddState: super::super::super::Win32::Graphics::Direct3D9::D3DSTATE,
5414 pub ddrval: ::windows_sys::core::HRESULT,
5415 }
5416 #[cfg(feature = "Win32_Graphics_Direct3D9")]
5417 impl ::core::marker::Copy for D3DHAL_GETSTATEDATA {}
5418 #[cfg(feature = "Win32_Graphics_Direct3D9")]
5419 impl ::core::clone::Clone for D3DHAL_GETSTATEDATA {
5420 fn clone(&self) -> Self {
5421 *self
5422 }
5423 }
5424 #[repr(C)]
5425 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_DirectDraw\"`"]
5426 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
5427 pub struct D3DHAL_GLOBALDRIVERDATA {
5428 pub dwSize: u32,
5429 pub hwCaps: D3DDEVICEDESC_V1,
5430 pub dwNumVertices: u32,
5431 pub dwNumClipVertices: u32,
5432 pub dwNumTextureFormats: u32,
5433 pub lpTextureFormats: *mut super::super::super::Win32::Graphics::DirectDraw::DDSURFACEDESC,
5434 }
5435 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
5436 impl ::core::marker::Copy for D3DHAL_GLOBALDRIVERDATA {}
5437 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
5438 impl ::core::clone::Clone for D3DHAL_GLOBALDRIVERDATA {
5439 fn clone(&self) -> Self {
5440 *self
5441 }
5442 }
5443 #[repr(C)]
5444 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_DirectDraw\"`"]
5445 #[cfg(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
5446 pub struct D3DHAL_RENDERPRIMITIVEDATA {
5447 pub dwhContext: usize,
5448 pub dwOffset: u32,
5449 pub dwStatus: u32,
5450 pub lpExeBuf: super::super::super::Win32::Graphics::DirectDraw::IDirectDrawSurface,
5451 pub dwTLOffset: u32,
5452 pub lpTLBuf: super::super::super::Win32::Graphics::DirectDraw::IDirectDrawSurface,
5453 pub diInstruction: super::super::super::Win32::Graphics::Direct3D9::D3DINSTRUCTION,
5454 pub ddrval: ::windows_sys::core::HRESULT,
5455 }
5456 #[cfg(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
5457 impl ::core::marker::Copy for D3DHAL_RENDERPRIMITIVEDATA {}
5458 #[cfg(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
5459 impl ::core::clone::Clone for D3DHAL_RENDERPRIMITIVEDATA {
5460 fn clone(&self) -> Self {
5461 *self
5462 }
5463 }
5464 #[repr(C)]
5465 #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"]
5466 #[cfg(feature = "Win32_Graphics_DirectDraw")]
5467 pub struct D3DHAL_RENDERSTATEDATA {
5468 pub dwhContext: usize,
5469 pub dwOffset: u32,
5470 pub dwCount: u32,
5471 pub lpExeBuf: super::super::super::Win32::Graphics::DirectDraw::IDirectDrawSurface,
5472 pub ddrval: ::windows_sys::core::HRESULT,
5473 }
5474 #[cfg(feature = "Win32_Graphics_DirectDraw")]
5475 impl ::core::marker::Copy for D3DHAL_RENDERSTATEDATA {}
5476 #[cfg(feature = "Win32_Graphics_DirectDraw")]
5477 impl ::core::clone::Clone for D3DHAL_RENDERSTATEDATA {
5478 fn clone(&self) -> Self {
5479 *self
5480 }
5481 }
5482 #[repr(C)]
5483 pub struct D3DHAL_SCENECAPTUREDATA {
5484 pub dwhContext: usize,
5485 pub dwFlag: u32,
5486 pub ddrval: ::windows_sys::core::HRESULT,
5487 }
5488 impl ::core::marker::Copy for D3DHAL_SCENECAPTUREDATA {}
5489 impl ::core::clone::Clone for D3DHAL_SCENECAPTUREDATA {
5490 fn clone(&self) -> Self {
5491 *self
5492 }
5493 }
5494 #[repr(C)]
5495 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
5496 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
5497 pub struct D3DHAL_SETRENDERTARGETDATA {
5498 pub dwhContext: usize,
5499 pub Anonymous1: D3DHAL_SETRENDERTARGETDATA_0,
5500 pub Anonymous2: D3DHAL_SETRENDERTARGETDATA_1,
5501 pub ddrval: ::windows_sys::core::HRESULT,
5502 }
5503 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
5504 impl ::core::marker::Copy for D3DHAL_SETRENDERTARGETDATA {}
5505 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
5506 impl ::core::clone::Clone for D3DHAL_SETRENDERTARGETDATA {
5507 fn clone(&self) -> Self {
5508 *self
5509 }
5510 }
5511 #[repr(C)]
5512 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
5513 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
5514 pub union D3DHAL_SETRENDERTARGETDATA_0 {
5515 pub lpDDS: super::super::super::Win32::Graphics::DirectDraw::IDirectDrawSurface,
5516 pub lpDDSLcl: *mut super::super::super::Win32::Graphics::DirectDraw::DDRAWI_DDRAWSURFACE_LCL,
5517 }
5518 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
5519 impl ::core::marker::Copy for D3DHAL_SETRENDERTARGETDATA_0 {}
5520 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
5521 impl ::core::clone::Clone for D3DHAL_SETRENDERTARGETDATA_0 {
5522 fn clone(&self) -> Self {
5523 *self
5524 }
5525 }
5526 #[repr(C)]
5527 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
5528 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
5529 pub union D3DHAL_SETRENDERTARGETDATA_1 {
5530 pub lpDDSZ: super::super::super::Win32::Graphics::DirectDraw::IDirectDrawSurface,
5531 pub lpDDSZLcl: *mut super::super::super::Win32::Graphics::DirectDraw::DDRAWI_DDRAWSURFACE_LCL,
5532 }
5533 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
5534 impl ::core::marker::Copy for D3DHAL_SETRENDERTARGETDATA_1 {}
5535 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
5536 impl ::core::clone::Clone for D3DHAL_SETRENDERTARGETDATA_1 {
5537 fn clone(&self) -> Self {
5538 *self
5539 }
5540 }
5541 #[repr(C)]
5542 #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"]
5543 #[cfg(feature = "Win32_Graphics_DirectDraw")]
5544 pub struct D3DHAL_TEXTURECREATEDATA {
5545 pub dwhContext: usize,
5546 pub lpDDS: super::super::super::Win32::Graphics::DirectDraw::IDirectDrawSurface,
5547 pub dwHandle: u32,
5548 pub ddrval: ::windows_sys::core::HRESULT,
5549 }
5550 #[cfg(feature = "Win32_Graphics_DirectDraw")]
5551 impl ::core::marker::Copy for D3DHAL_TEXTURECREATEDATA {}
5552 #[cfg(feature = "Win32_Graphics_DirectDraw")]
5553 impl ::core::clone::Clone for D3DHAL_TEXTURECREATEDATA {
5554 fn clone(&self) -> Self {
5555 *self
5556 }
5557 }
5558 #[repr(C)]
5559 pub struct D3DHAL_TEXTUREDESTROYDATA {
5560 pub dwhContext: usize,
5561 pub dwHandle: u32,
5562 pub ddrval: ::windows_sys::core::HRESULT,
5563 }
5564 impl ::core::marker::Copy for D3DHAL_TEXTUREDESTROYDATA {}
5565 impl ::core::clone::Clone for D3DHAL_TEXTUREDESTROYDATA {
5566 fn clone(&self) -> Self {
5567 *self
5568 }
5569 }
5570 #[repr(C)]
5571 pub struct D3DHAL_TEXTUREGETSURFDATA {
5572 pub dwhContext: usize,
5573 pub lpDDS: usize,
5574 pub dwHandle: u32,
5575 pub ddrval: ::windows_sys::core::HRESULT,
5576 }
5577 impl ::core::marker::Copy for D3DHAL_TEXTUREGETSURFDATA {}
5578 impl ::core::clone::Clone for D3DHAL_TEXTUREGETSURFDATA {
5579 fn clone(&self) -> Self {
5580 *self
5581 }
5582 }
5583 #[repr(C)]
5584 pub struct D3DHAL_TEXTURESWAPDATA {
5585 pub dwhContext: usize,
5586 pub dwHandle1: u32,
5587 pub dwHandle2: u32,
5588 pub ddrval: ::windows_sys::core::HRESULT,
5589 }
5590 impl ::core::marker::Copy for D3DHAL_TEXTURESWAPDATA {}
5591 impl ::core::clone::Clone for D3DHAL_TEXTURESWAPDATA {
5592 fn clone(&self) -> Self {
5593 *self
5594 }
5595 }
5596 #[repr(C)]
5597 pub struct D3DHAL_VALIDATETEXTURESTAGESTATEDATA {
5598 pub dwhContext: usize,
5599 pub dwFlags: u32,
5600 pub dwReserved: usize,
5601 pub dwNumPasses: u32,
5602 pub ddrval: ::windows_sys::core::HRESULT,
5603 }
5604 impl ::core::marker::Copy for D3DHAL_VALIDATETEXTURESTAGESTATEDATA {}
5605 impl ::core::clone::Clone for D3DHAL_VALIDATETEXTURESTAGESTATEDATA {
5606 fn clone(&self) -> Self {
5607 *self
5608 }
5609 }
5610 #[repr(C)]
5611 pub struct D3DKMDT_2DREGION {
5612 pub cx: u32,
5613 pub cy: u32,
5614 }
5615 impl ::core::marker::Copy for D3DKMDT_2DREGION {}
5616 impl ::core::clone::Clone for D3DKMDT_2DREGION {
5617 fn clone(&self) -> Self {
5618 *self
5619 }
5620 }
5621 #[repr(C)]
5622 pub struct D3DKMDT_3x4_COLORSPACE_TRANSFORM {
5623 pub ColorMatrix3x4: [f32; 12],
5624 pub ScalarMultiplier: f32,
5625 pub LookupTable1D: [D3DDDI_DXGI_RGB; 4096],
5626 }
5627 impl ::core::marker::Copy for D3DKMDT_3x4_COLORSPACE_TRANSFORM {}
5628 impl ::core::clone::Clone for D3DKMDT_3x4_COLORSPACE_TRANSFORM {
5629 fn clone(&self) -> Self {
5630 *self
5631 }
5632 }
5633 #[repr(C)]
5634 pub struct D3DKMDT_COLORSPACE_TRANSFORM_MATRIX_V2 {
5635 pub StageControlLookupTable1DDegamma: D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL,
5636 pub LookupTable1DDegamma: [D3DDDI_DXGI_RGB; 4096],
5637 pub StageControlColorMatrix3x3: D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL,
5638 pub ColorMatrix3x3: [f32; 9],
5639 pub StageControlLookupTable1DRegamma: D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL,
5640 pub LookupTable1DRegamma: [D3DDDI_DXGI_RGB; 4096],
5641 }
5642 impl ::core::marker::Copy for D3DKMDT_COLORSPACE_TRANSFORM_MATRIX_V2 {}
5643 impl ::core::clone::Clone for D3DKMDT_COLORSPACE_TRANSFORM_MATRIX_V2 {
5644 fn clone(&self) -> Self {
5645 *self
5646 }
5647 }
5648 #[repr(C)]
5649 pub struct D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES {
5650 pub FirstChannel: u32,
5651 pub SecondChannel: u32,
5652 pub ThirdChannel: u32,
5653 pub FourthChannel: u32,
5654 }
5655 impl ::core::marker::Copy for D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES {}
5656 impl ::core::clone::Clone for D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES {
5657 fn clone(&self) -> Self {
5658 *self
5659 }
5660 }
5661 #[repr(C)]
5662 pub struct D3DKMDT_DISPLAYMODE_FLAGS {
5663 pub _bitfield1: u32,
5664 pub _bitfield2: u32,
5665 }
5666 impl ::core::marker::Copy for D3DKMDT_DISPLAYMODE_FLAGS {}
5667 impl ::core::clone::Clone for D3DKMDT_DISPLAYMODE_FLAGS {
5668 fn clone(&self) -> Self {
5669 *self
5670 }
5671 }
5672 #[repr(C)]
5673 pub struct D3DKMDT_FREQUENCY_RANGE {
5674 pub MinVSyncFreq: D3DDDI_RATIONAL,
5675 pub MaxVSyncFreq: D3DDDI_RATIONAL,
5676 pub MinHSyncFreq: D3DDDI_RATIONAL,
5677 pub MaxHSyncFreq: D3DDDI_RATIONAL,
5678 }
5679 impl ::core::marker::Copy for D3DKMDT_FREQUENCY_RANGE {}
5680 impl ::core::clone::Clone for D3DKMDT_FREQUENCY_RANGE {
5681 fn clone(&self) -> Self {
5682 *self
5683 }
5684 }
5685 #[repr(C)]
5686 pub struct D3DKMDT_GAMMA_RAMP {
5687 pub Type: D3DDDI_GAMMARAMP_TYPE,
5688 pub DataSize: usize,
5689 pub Data: D3DKMDT_GAMMA_RAMP_0,
5690 }
5691 impl ::core::marker::Copy for D3DKMDT_GAMMA_RAMP {}
5692 impl ::core::clone::Clone for D3DKMDT_GAMMA_RAMP {
5693 fn clone(&self) -> Self {
5694 *self
5695 }
5696 }
5697 #[repr(C)]
5698 pub union D3DKMDT_GAMMA_RAMP_0 {
5699 pub pRgb256x3x16: *mut D3DDDI_GAMMA_RAMP_RGB256x3x16,
5700 pub pDxgi1: *mut D3DDDI_GAMMA_RAMP_DXGI_1,
5701 pub p3x4: *mut D3DKMDT_3x4_COLORSPACE_TRANSFORM,
5702 pub pMatrixV2: *mut D3DKMDT_COLORSPACE_TRANSFORM_MATRIX_V2,
5703 pub pRaw: *mut ::core::ffi::c_void,
5704 }
5705 impl ::core::marker::Copy for D3DKMDT_GAMMA_RAMP_0 {}
5706 impl ::core::clone::Clone for D3DKMDT_GAMMA_RAMP_0 {
5707 fn clone(&self) -> Self {
5708 *self
5709 }
5710 }
5711 #[repr(C)]
5712 pub struct D3DKMDT_GDISURFACEDATA {
5713 pub Width: u32,
5714 pub Height: u32,
5715 pub Format: D3DDDIFORMAT,
5716 pub Type: D3DKMDT_GDISURFACETYPE,
5717 pub Flags: D3DKMDT_GDISURFACEFLAGS,
5718 pub Pitch: u32,
5719 }
5720 impl ::core::marker::Copy for D3DKMDT_GDISURFACEDATA {}
5721 impl ::core::clone::Clone for D3DKMDT_GDISURFACEDATA {
5722 fn clone(&self) -> Self {
5723 *self
5724 }
5725 }
5726 #[repr(C)]
5727 pub struct D3DKMDT_GDISURFACEFLAGS {
5728 pub Anonymous: D3DKMDT_GDISURFACEFLAGS_0,
5729 }
5730 impl ::core::marker::Copy for D3DKMDT_GDISURFACEFLAGS {}
5731 impl ::core::clone::Clone for D3DKMDT_GDISURFACEFLAGS {
5732 fn clone(&self) -> Self {
5733 *self
5734 }
5735 }
5736 #[repr(C)]
5737 pub union D3DKMDT_GDISURFACEFLAGS_0 {
5738 pub Anonymous: D3DKMDT_GDISURFACEFLAGS_0_0,
5739 pub Value: u32,
5740 }
5741 impl ::core::marker::Copy for D3DKMDT_GDISURFACEFLAGS_0 {}
5742 impl ::core::clone::Clone for D3DKMDT_GDISURFACEFLAGS_0 {
5743 fn clone(&self) -> Self {
5744 *self
5745 }
5746 }
5747 #[repr(C)]
5748 pub struct D3DKMDT_GDISURFACEFLAGS_0_0 {
5749 pub _bitfield: u32,
5750 }
5751 impl ::core::marker::Copy for D3DKMDT_GDISURFACEFLAGS_0_0 {}
5752 impl ::core::clone::Clone for D3DKMDT_GDISURFACEFLAGS_0_0 {
5753 fn clone(&self) -> Self {
5754 *self
5755 }
5756 }
5757 #[repr(C)]
5758 pub struct D3DKMDT_GRAPHICS_RENDERING_FORMAT {
5759 pub PrimSurfSize: D3DKMDT_2DREGION,
5760 pub VisibleRegionSize: D3DKMDT_2DREGION,
5761 pub Stride: u32,
5762 pub PixelFormat: D3DDDIFORMAT,
5763 pub ColorBasis: D3DKMDT_COLOR_BASIS,
5764 pub PixelValueAccessMode: D3DKMDT_PIXEL_VALUE_ACCESS_MODE,
5765 }
5766 impl ::core::marker::Copy for D3DKMDT_GRAPHICS_RENDERING_FORMAT {}
5767 impl ::core::clone::Clone for D3DKMDT_GRAPHICS_RENDERING_FORMAT {
5768 fn clone(&self) -> Self {
5769 *self
5770 }
5771 }
5772 #[repr(C)]
5773 pub struct D3DKMDT_MONITOR_DESCRIPTOR {
5774 pub Id: u32,
5775 pub Type: D3DKMDT_MONITOR_DESCRIPTOR_TYPE,
5776 pub DataSize: usize,
5777 pub pData: *mut ::core::ffi::c_void,
5778 pub Origin: D3DKMDT_MONITOR_CAPABILITIES_ORIGIN,
5779 }
5780 impl ::core::marker::Copy for D3DKMDT_MONITOR_DESCRIPTOR {}
5781 impl ::core::clone::Clone for D3DKMDT_MONITOR_DESCRIPTOR {
5782 fn clone(&self) -> Self {
5783 *self
5784 }
5785 }
5786 #[repr(C)]
5787 pub struct D3DKMDT_MONITOR_FREQUENCY_RANGE {
5788 pub Origin: D3DKMDT_MONITOR_CAPABILITIES_ORIGIN,
5789 pub RangeLimits: D3DKMDT_FREQUENCY_RANGE,
5790 pub ConstraintType: D3DKMDT_MONITOR_FREQUENCY_RANGE_CONSTRAINT,
5791 pub Constraint: D3DKMDT_MONITOR_FREQUENCY_RANGE_0,
5792 }
5793 impl ::core::marker::Copy for D3DKMDT_MONITOR_FREQUENCY_RANGE {}
5794 impl ::core::clone::Clone for D3DKMDT_MONITOR_FREQUENCY_RANGE {
5795 fn clone(&self) -> Self {
5796 *self
5797 }
5798 }
5799 #[repr(C)]
5800 pub union D3DKMDT_MONITOR_FREQUENCY_RANGE_0 {
5801 pub ActiveSize: D3DKMDT_2DREGION,
5802 pub MaxPixelRate: usize,
5803 }
5804 impl ::core::marker::Copy for D3DKMDT_MONITOR_FREQUENCY_RANGE_0 {}
5805 impl ::core::clone::Clone for D3DKMDT_MONITOR_FREQUENCY_RANGE_0 {
5806 fn clone(&self) -> Self {
5807 *self
5808 }
5809 }
5810 #[repr(C)]
5811 pub struct D3DKMDT_MONITOR_SOURCE_MODE {
5812 pub Id: u32,
5813 pub VideoSignalInfo: D3DKMDT_VIDEO_SIGNAL_INFO,
5814 pub ColorBasis: D3DKMDT_COLOR_BASIS,
5815 pub ColorCoeffDynamicRanges: D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES,
5816 pub Origin: D3DKMDT_MONITOR_CAPABILITIES_ORIGIN,
5817 pub Preference: D3DKMDT_MODE_PREFERENCE,
5818 }
5819 impl ::core::marker::Copy for D3DKMDT_MONITOR_SOURCE_MODE {}
5820 impl ::core::clone::Clone for D3DKMDT_MONITOR_SOURCE_MODE {
5821 fn clone(&self) -> Self {
5822 *self
5823 }
5824 }
5825 #[repr(C)]
5826 pub struct D3DKMDT_PALETTEDATA {
5827 pub Red: u8,
5828 pub Green: u8,
5829 pub Blue: u8,
5830 pub Unused: u8,
5831 }
5832 impl ::core::marker::Copy for D3DKMDT_PALETTEDATA {}
5833 impl ::core::clone::Clone for D3DKMDT_PALETTEDATA {
5834 fn clone(&self) -> Self {
5835 *self
5836 }
5837 }
5838 #[repr(C)]
5839 pub struct D3DKMDT_PREEMPTION_CAPS {
5840 pub GraphicsPreemptionGranularity: D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY,
5841 pub ComputePreemptionGranularity: D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY,
5842 }
5843 impl ::core::marker::Copy for D3DKMDT_PREEMPTION_CAPS {}
5844 impl ::core::clone::Clone for D3DKMDT_PREEMPTION_CAPS {
5845 fn clone(&self) -> Self {
5846 *self
5847 }
5848 }
5849 #[repr(C)]
5850 pub struct D3DKMDT_SHADOWSURFACEDATA {
5851 pub Width: u32,
5852 pub Height: u32,
5853 pub Format: D3DDDIFORMAT,
5854 pub Pitch: u32,
5855 }
5856 impl ::core::marker::Copy for D3DKMDT_SHADOWSURFACEDATA {}
5857 impl ::core::clone::Clone for D3DKMDT_SHADOWSURFACEDATA {
5858 fn clone(&self) -> Self {
5859 *self
5860 }
5861 }
5862 #[repr(C)]
5863 pub struct D3DKMDT_SHAREDPRIMARYSURFACEDATA {
5864 pub Width: u32,
5865 pub Height: u32,
5866 pub Format: D3DDDIFORMAT,
5867 pub RefreshRate: D3DDDI_RATIONAL,
5868 pub VidPnSourceId: u32,
5869 }
5870 impl ::core::marker::Copy for D3DKMDT_SHAREDPRIMARYSURFACEDATA {}
5871 impl ::core::clone::Clone for D3DKMDT_SHAREDPRIMARYSURFACEDATA {
5872 fn clone(&self) -> Self {
5873 *self
5874 }
5875 }
5876 #[repr(C)]
5877 pub struct D3DKMDT_STAGINGSURFACEDATA {
5878 pub Width: u32,
5879 pub Height: u32,
5880 pub Pitch: u32,
5881 }
5882 impl ::core::marker::Copy for D3DKMDT_STAGINGSURFACEDATA {}
5883 impl ::core::clone::Clone for D3DKMDT_STAGINGSURFACEDATA {
5884 fn clone(&self) -> Self {
5885 *self
5886 }
5887 }
5888 #[repr(C)]
5889 pub struct D3DKMDT_VIDEO_PRESENT_SOURCE {
5890 pub Id: u32,
5891 pub dwReserved: u32,
5892 }
5893 impl ::core::marker::Copy for D3DKMDT_VIDEO_PRESENT_SOURCE {}
5894 impl ::core::clone::Clone for D3DKMDT_VIDEO_PRESENT_SOURCE {
5895 fn clone(&self) -> Self {
5896 *self
5897 }
5898 }
5899 #[repr(C)]
5900 #[doc = "Required features: `\"Win32_Foundation\"`"]
5901 #[cfg(feature = "Win32_Foundation")]
5902 pub struct D3DKMDT_VIDEO_PRESENT_TARGET {
5903 pub Id: u32,
5904 pub VideoOutputTechnology: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY,
5905 pub VideoOutputHpdAwareness: DXGK_CHILD_DEVICE_HPD_AWARENESS,
5906 pub MonitorOrientationAwareness: D3DKMDT_MONITOR_ORIENTATION_AWARENESS,
5907 pub SupportsSdtvModes: super::super::super::Win32::Foundation::BOOLEAN,
5908 }
5909 #[cfg(feature = "Win32_Foundation")]
5910 impl ::core::marker::Copy for D3DKMDT_VIDEO_PRESENT_TARGET {}
5911 #[cfg(feature = "Win32_Foundation")]
5912 impl ::core::clone::Clone for D3DKMDT_VIDEO_PRESENT_TARGET {
5913 fn clone(&self) -> Self {
5914 *self
5915 }
5916 }
5917 #[repr(C)]
5918 pub struct D3DKMDT_VIDEO_SIGNAL_INFO {
5919 pub VideoStandard: D3DKMDT_VIDEO_SIGNAL_STANDARD,
5920 pub TotalSize: D3DKMDT_2DREGION,
5921 pub ActiveSize: D3DKMDT_2DREGION,
5922 pub VSyncFreq: D3DDDI_RATIONAL,
5923 pub HSyncFreq: D3DDDI_RATIONAL,
5924 pub PixelRate: usize,
5925 pub Anonymous: D3DKMDT_VIDEO_SIGNAL_INFO_0,
5926 }
5927 impl ::core::marker::Copy for D3DKMDT_VIDEO_SIGNAL_INFO {}
5928 impl ::core::clone::Clone for D3DKMDT_VIDEO_SIGNAL_INFO {
5929 fn clone(&self) -> Self {
5930 *self
5931 }
5932 }
5933 #[repr(C)]
5934 pub union D3DKMDT_VIDEO_SIGNAL_INFO_0 {
5935 pub AdditionalSignalInfo: D3DKMDT_VIDEO_SIGNAL_INFO_0_0,
5936 pub ScanLineOrdering: D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING,
5937 }
5938 impl ::core::marker::Copy for D3DKMDT_VIDEO_SIGNAL_INFO_0 {}
5939 impl ::core::clone::Clone for D3DKMDT_VIDEO_SIGNAL_INFO_0 {
5940 fn clone(&self) -> Self {
5941 *self
5942 }
5943 }
5944 #[repr(C)]
5945 pub struct D3DKMDT_VIDEO_SIGNAL_INFO_0_0 {
5946 pub _bitfield: i32,
5947 }
5948 impl ::core::marker::Copy for D3DKMDT_VIDEO_SIGNAL_INFO_0_0 {}
5949 impl ::core::clone::Clone for D3DKMDT_VIDEO_SIGNAL_INFO_0_0 {
5950 fn clone(&self) -> Self {
5951 *self
5952 }
5953 }
5954 #[repr(C)]
5955 pub struct D3DKMDT_VIDPN_HW_CAPABILITY {
5956 pub _bitfield: u32,
5957 }
5958 impl ::core::marker::Copy for D3DKMDT_VIDPN_HW_CAPABILITY {}
5959 impl ::core::clone::Clone for D3DKMDT_VIDPN_HW_CAPABILITY {
5960 fn clone(&self) -> Self {
5961 *self
5962 }
5963 }
5964 #[repr(C)]
5965 pub struct D3DKMDT_VIDPN_PRESENT_PATH {
5966 pub VidPnSourceId: u32,
5967 pub VidPnTargetId: u32,
5968 pub ImportanceOrdinal: D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE,
5969 pub ContentTransformation: D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION,
5970 pub VisibleFromActiveTLOffset: D3DKMDT_2DREGION,
5971 pub VisibleFromActiveBROffset: D3DKMDT_2DREGION,
5972 pub VidPnTargetColorBasis: D3DKMDT_COLOR_BASIS,
5973 pub VidPnTargetColorCoeffDynamicRanges: D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES,
5974 pub Content: D3DKMDT_VIDPN_PRESENT_PATH_CONTENT,
5975 pub CopyProtection: D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION,
5976 pub GammaRamp: D3DKMDT_GAMMA_RAMP,
5977 }
5978 impl ::core::marker::Copy for D3DKMDT_VIDPN_PRESENT_PATH {}
5979 impl ::core::clone::Clone for D3DKMDT_VIDPN_PRESENT_PATH {
5980 fn clone(&self) -> Self {
5981 *self
5982 }
5983 }
5984 #[repr(C)]
5985 pub struct D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION {
5986 pub CopyProtectionType: D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_TYPE,
5987 pub APSTriggerBits: u32,
5988 pub OEMCopyProtection: [u8; 256],
5989 pub CopyProtectionSupport: D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT,
5990 }
5991 impl ::core::marker::Copy for D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION {}
5992 impl ::core::clone::Clone for D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION {
5993 fn clone(&self) -> Self {
5994 *self
5995 }
5996 }
5997 #[repr(C)]
5998 pub struct D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT {
5999 pub _bitfield: u32,
6000 }
6001 impl ::core::marker::Copy for D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT {}
6002 impl ::core::clone::Clone for D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT {
6003 fn clone(&self) -> Self {
6004 *self
6005 }
6006 }
6007 #[repr(C)]
6008 pub struct D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT {
6009 pub _bitfield: u32,
6010 }
6011 impl ::core::marker::Copy for D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT {}
6012 impl ::core::clone::Clone for D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT {
6013 fn clone(&self) -> Self {
6014 *self
6015 }
6016 }
6017 #[repr(C)]
6018 pub struct D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT {
6019 pub _bitfield: u32,
6020 }
6021 impl ::core::marker::Copy for D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT {}
6022 impl ::core::clone::Clone for D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT {
6023 fn clone(&self) -> Self {
6024 *self
6025 }
6026 }
6027 #[repr(C)]
6028 pub struct D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION {
6029 pub Scaling: D3DKMDT_VIDPN_PRESENT_PATH_SCALING,
6030 pub ScalingSupport: D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT,
6031 pub Rotation: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION,
6032 pub RotationSupport: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT,
6033 }
6034 impl ::core::marker::Copy for D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION {}
6035 impl ::core::clone::Clone for D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION {
6036 fn clone(&self) -> Self {
6037 *self
6038 }
6039 }
6040 #[repr(C)]
6041 pub struct D3DKMDT_VIDPN_SOURCE_MODE {
6042 pub Id: u32,
6043 pub Type: D3DKMDT_VIDPN_SOURCE_MODE_TYPE,
6044 pub Format: D3DKMDT_VIDPN_SOURCE_MODE_0,
6045 }
6046 impl ::core::marker::Copy for D3DKMDT_VIDPN_SOURCE_MODE {}
6047 impl ::core::clone::Clone for D3DKMDT_VIDPN_SOURCE_MODE {
6048 fn clone(&self) -> Self {
6049 *self
6050 }
6051 }
6052 #[repr(C)]
6053 pub union D3DKMDT_VIDPN_SOURCE_MODE_0 {
6054 pub Graphics: D3DKMDT_GRAPHICS_RENDERING_FORMAT,
6055 pub Text: D3DKMDT_TEXT_RENDERING_FORMAT,
6056 }
6057 impl ::core::marker::Copy for D3DKMDT_VIDPN_SOURCE_MODE_0 {}
6058 impl ::core::clone::Clone for D3DKMDT_VIDPN_SOURCE_MODE_0 {
6059 fn clone(&self) -> Self {
6060 *self
6061 }
6062 }
6063 #[repr(C)]
6064 pub struct D3DKMDT_VIDPN_TARGET_MODE {
6065 pub Id: u32,
6066 pub VideoSignalInfo: D3DKMDT_VIDEO_SIGNAL_INFO,
6067 pub Anonymous: D3DKMDT_VIDPN_TARGET_MODE_0,
6068 pub MinimumVSyncFreq: D3DDDI_RATIONAL,
6069 }
6070 impl ::core::marker::Copy for D3DKMDT_VIDPN_TARGET_MODE {}
6071 impl ::core::clone::Clone for D3DKMDT_VIDPN_TARGET_MODE {
6072 fn clone(&self) -> Self {
6073 *self
6074 }
6075 }
6076 #[repr(C)]
6077 pub union D3DKMDT_VIDPN_TARGET_MODE_0 {
6078 pub WireFormatAndPreference: D3DKMDT_WIRE_FORMAT_AND_PREFERENCE,
6079 pub Anonymous: D3DKMDT_VIDPN_TARGET_MODE_0_0,
6080 }
6081 impl ::core::marker::Copy for D3DKMDT_VIDPN_TARGET_MODE_0 {}
6082 impl ::core::clone::Clone for D3DKMDT_VIDPN_TARGET_MODE_0 {
6083 fn clone(&self) -> Self {
6084 *self
6085 }
6086 }
6087 #[repr(C)]
6088 pub struct D3DKMDT_VIDPN_TARGET_MODE_0_0 {
6089 pub _bitfield: i32,
6090 }
6091 impl ::core::marker::Copy for D3DKMDT_VIDPN_TARGET_MODE_0_0 {}
6092 impl ::core::clone::Clone for D3DKMDT_VIDPN_TARGET_MODE_0_0 {
6093 fn clone(&self) -> Self {
6094 *self
6095 }
6096 }
6097 #[repr(C)]
6098 pub struct D3DKMDT_VIRTUALGPUSURFACEDATA {
6099 pub Size: u64,
6100 pub Alignment: u32,
6101 pub DriverSegmentId: u32,
6102 pub PrivateDriverData: u32,
6103 }
6104 impl ::core::marker::Copy for D3DKMDT_VIRTUALGPUSURFACEDATA {}
6105 impl ::core::clone::Clone for D3DKMDT_VIRTUALGPUSURFACEDATA {
6106 fn clone(&self) -> Self {
6107 *self
6108 }
6109 }
6110 #[repr(C)]
6111 pub union D3DKMDT_WIRE_FORMAT_AND_PREFERENCE {
6112 pub Anonymous: D3DKMDT_WIRE_FORMAT_AND_PREFERENCE_0,
6113 pub Value: u32,
6114 }
6115 impl ::core::marker::Copy for D3DKMDT_WIRE_FORMAT_AND_PREFERENCE {}
6116 impl ::core::clone::Clone for D3DKMDT_WIRE_FORMAT_AND_PREFERENCE {
6117 fn clone(&self) -> Self {
6118 *self
6119 }
6120 }
6121 #[repr(C)]
6122 pub struct D3DKMDT_WIRE_FORMAT_AND_PREFERENCE_0 {
6123 pub _bitfield: i32,
6124 }
6125 impl ::core::marker::Copy for D3DKMDT_WIRE_FORMAT_AND_PREFERENCE_0 {}
6126 impl ::core::clone::Clone for D3DKMDT_WIRE_FORMAT_AND_PREFERENCE_0 {
6127 fn clone(&self) -> Self {
6128 *self
6129 }
6130 }
6131 #[repr(C)]
6132 pub struct D3DKMT_ACQUIREKEYEDMUTEX {
6133 pub hKeyedMutex: u32,
6134 pub Key: u64,
6135 pub pTimeout: *mut i64,
6136 pub FenceValue: u64,
6137 }
6138 impl ::core::marker::Copy for D3DKMT_ACQUIREKEYEDMUTEX {}
6139 impl ::core::clone::Clone for D3DKMT_ACQUIREKEYEDMUTEX {
6140 fn clone(&self) -> Self {
6141 *self
6142 }
6143 }
6144 #[repr(C)]
6145 pub struct D3DKMT_ACQUIREKEYEDMUTEX2 {
6146 pub hKeyedMutex: u32,
6147 pub Key: u64,
6148 pub pTimeout: *mut i64,
6149 pub FenceValue: u64,
6150 pub pPrivateRuntimeData: *mut ::core::ffi::c_void,
6151 pub PrivateRuntimeDataSize: u32,
6152 }
6153 impl ::core::marker::Copy for D3DKMT_ACQUIREKEYEDMUTEX2 {}
6154 impl ::core::clone::Clone for D3DKMT_ACQUIREKEYEDMUTEX2 {
6155 fn clone(&self) -> Self {
6156 *self
6157 }
6158 }
6159 #[repr(C)]
6160 #[doc = "Required features: `\"Win32_Foundation\"`"]
6161 #[cfg(feature = "Win32_Foundation")]
6162 pub struct D3DKMT_ACTIVATE_SPECIFIC_DIAG_ESCAPE {
6163 pub Type: D3DKMT_ACTIVATE_SPECIFIC_DIAG_TYPE,
6164 pub Activate: super::super::super::Win32::Foundation::BOOL,
6165 }
6166 #[cfg(feature = "Win32_Foundation")]
6167 impl ::core::marker::Copy for D3DKMT_ACTIVATE_SPECIFIC_DIAG_ESCAPE {}
6168 #[cfg(feature = "Win32_Foundation")]
6169 impl ::core::clone::Clone for D3DKMT_ACTIVATE_SPECIFIC_DIAG_ESCAPE {
6170 fn clone(&self) -> Self {
6171 *self
6172 }
6173 }
6174 #[repr(C)]
6175 pub struct D3DKMT_ADAPTERADDRESS {
6176 pub BusNumber: u32,
6177 pub DeviceNumber: u32,
6178 pub FunctionNumber: u32,
6179 }
6180 impl ::core::marker::Copy for D3DKMT_ADAPTERADDRESS {}
6181 impl ::core::clone::Clone for D3DKMT_ADAPTERADDRESS {
6182 fn clone(&self) -> Self {
6183 *self
6184 }
6185 }
6186 #[repr(C)]
6187 #[doc = "Required features: `\"Win32_Foundation\"`"]
6188 #[cfg(feature = "Win32_Foundation")]
6189 pub struct D3DKMT_ADAPTERINFO {
6190 pub hAdapter: u32,
6191 pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
6192 pub NumOfSources: u32,
6193 pub bPrecisePresentRegionsPreferred: super::super::super::Win32::Foundation::BOOL,
6194 }
6195 #[cfg(feature = "Win32_Foundation")]
6196 impl ::core::marker::Copy for D3DKMT_ADAPTERINFO {}
6197 #[cfg(feature = "Win32_Foundation")]
6198 impl ::core::clone::Clone for D3DKMT_ADAPTERINFO {
6199 fn clone(&self) -> Self {
6200 *self
6201 }
6202 }
6203 #[repr(C)]
6204 pub struct D3DKMT_ADAPTERREGISTRYINFO {
6205 pub AdapterString: [u16; 260],
6206 pub BiosString: [u16; 260],
6207 pub DacType: [u16; 260],
6208 pub ChipType: [u16; 260],
6209 }
6210 impl ::core::marker::Copy for D3DKMT_ADAPTERREGISTRYINFO {}
6211 impl ::core::clone::Clone for D3DKMT_ADAPTERREGISTRYINFO {
6212 fn clone(&self) -> Self {
6213 *self
6214 }
6215 }
6216 #[repr(C)]
6217 pub struct D3DKMT_ADAPTERTYPE {
6218 pub Anonymous: D3DKMT_ADAPTERTYPE_0,
6219 }
6220 impl ::core::marker::Copy for D3DKMT_ADAPTERTYPE {}
6221 impl ::core::clone::Clone for D3DKMT_ADAPTERTYPE {
6222 fn clone(&self) -> Self {
6223 *self
6224 }
6225 }
6226 #[repr(C)]
6227 pub union D3DKMT_ADAPTERTYPE_0 {
6228 pub Anonymous: D3DKMT_ADAPTERTYPE_0_0,
6229 pub Value: u32,
6230 }
6231 impl ::core::marker::Copy for D3DKMT_ADAPTERTYPE_0 {}
6232 impl ::core::clone::Clone for D3DKMT_ADAPTERTYPE_0 {
6233 fn clone(&self) -> Self {
6234 *self
6235 }
6236 }
6237 #[repr(C)]
6238 pub struct D3DKMT_ADAPTERTYPE_0_0 {
6239 pub _bitfield: u32,
6240 }
6241 impl ::core::marker::Copy for D3DKMT_ADAPTERTYPE_0_0 {}
6242 impl ::core::clone::Clone for D3DKMT_ADAPTERTYPE_0_0 {
6243 fn clone(&self) -> Self {
6244 *self
6245 }
6246 }
6247 #[repr(C)]
6248 pub struct D3DKMT_ADAPTER_PERFDATA {
6249 pub PhysicalAdapterIndex: u32,
6250 pub MemoryFrequency: u64,
6251 pub MaxMemoryFrequency: u64,
6252 pub MaxMemoryFrequencyOC: u64,
6253 pub MemoryBandwidth: u64,
6254 pub PCIEBandwidth: u64,
6255 pub FanRPM: u32,
6256 pub Power: u32,
6257 pub Temperature: u32,
6258 pub PowerStateOverride: u8,
6259 }
6260 impl ::core::marker::Copy for D3DKMT_ADAPTER_PERFDATA {}
6261 impl ::core::clone::Clone for D3DKMT_ADAPTER_PERFDATA {
6262 fn clone(&self) -> Self {
6263 *self
6264 }
6265 }
6266 #[repr(C)]
6267 pub struct D3DKMT_ADAPTER_PERFDATACAPS {
6268 pub PhysicalAdapterIndex: u32,
6269 pub MaxMemoryBandwidth: u64,
6270 pub MaxPCIEBandwidth: u64,
6271 pub MaxFanRPM: u32,
6272 pub TemperatureMax: u32,
6273 pub TemperatureWarning: u32,
6274 }
6275 impl ::core::marker::Copy for D3DKMT_ADAPTER_PERFDATACAPS {}
6276 impl ::core::clone::Clone for D3DKMT_ADAPTER_PERFDATACAPS {
6277 fn clone(&self) -> Self {
6278 *self
6279 }
6280 }
6281 #[repr(C)]
6282 pub struct D3DKMT_ADAPTER_VERIFIER_OPTION {
6283 pub Type: D3DKMT_ADAPTER_VERIFIER_OPTION_TYPE,
6284 pub Mode: D3DKMT_VERIFIER_OPTION_MODE,
6285 pub Data: D3DKMT_ADAPTER_VERIFIER_OPTION_DATA,
6286 }
6287 impl ::core::marker::Copy for D3DKMT_ADAPTER_VERIFIER_OPTION {}
6288 impl ::core::clone::Clone for D3DKMT_ADAPTER_VERIFIER_OPTION {
6289 fn clone(&self) -> Self {
6290 *self
6291 }
6292 }
6293 #[repr(C)]
6294 pub union D3DKMT_ADAPTER_VERIFIER_OPTION_DATA {
6295 pub VidMmFlags: D3DKMT_ADAPTER_VERIFIER_VIDMM_FLAGS,
6296 pub VidMmTrimInterval: D3DKMT_ADAPTER_VERIFIER_VIDMM_TRIM_INTERVAL,
6297 }
6298 impl ::core::marker::Copy for D3DKMT_ADAPTER_VERIFIER_OPTION_DATA {}
6299 impl ::core::clone::Clone for D3DKMT_ADAPTER_VERIFIER_OPTION_DATA {
6300 fn clone(&self) -> Self {
6301 *self
6302 }
6303 }
6304 #[repr(C)]
6305 pub union D3DKMT_ADAPTER_VERIFIER_VIDMM_FLAGS {
6306 pub Anonymous: D3DKMT_ADAPTER_VERIFIER_VIDMM_FLAGS_0,
6307 pub Value: u32,
6308 }
6309 impl ::core::marker::Copy for D3DKMT_ADAPTER_VERIFIER_VIDMM_FLAGS {}
6310 impl ::core::clone::Clone for D3DKMT_ADAPTER_VERIFIER_VIDMM_FLAGS {
6311 fn clone(&self) -> Self {
6312 *self
6313 }
6314 }
6315 #[repr(C)]
6316 pub struct D3DKMT_ADAPTER_VERIFIER_VIDMM_FLAGS_0 {
6317 pub _bitfield: u32,
6318 }
6319 impl ::core::marker::Copy for D3DKMT_ADAPTER_VERIFIER_VIDMM_FLAGS_0 {}
6320 impl ::core::clone::Clone for D3DKMT_ADAPTER_VERIFIER_VIDMM_FLAGS_0 {
6321 fn clone(&self) -> Self {
6322 *self
6323 }
6324 }
6325 #[repr(C)]
6326 pub struct D3DKMT_ADAPTER_VERIFIER_VIDMM_TRIM_INTERVAL {
6327 pub MinimumTrimInterval: u64,
6328 pub MaximumTrimInterval: u64,
6329 pub IdleTrimInterval: u64,
6330 }
6331 impl ::core::marker::Copy for D3DKMT_ADAPTER_VERIFIER_VIDMM_TRIM_INTERVAL {}
6332 impl ::core::clone::Clone for D3DKMT_ADAPTER_VERIFIER_VIDMM_TRIM_INTERVAL {
6333 fn clone(&self) -> Self {
6334 *self
6335 }
6336 }
6337 #[repr(C)]
6338 pub struct D3DKMT_ADJUSTFULLSCREENGAMMA {
6339 pub hAdapter: u32,
6340 pub VidPnSourceId: u32,
6341 pub Scale: D3DDDI_DXGI_RGB,
6342 pub Offset: D3DDDI_DXGI_RGB,
6343 }
6344 impl ::core::marker::Copy for D3DKMT_ADJUSTFULLSCREENGAMMA {}
6345 impl ::core::clone::Clone for D3DKMT_ADJUSTFULLSCREENGAMMA {
6346 fn clone(&self) -> Self {
6347 *self
6348 }
6349 }
6350 #[repr(C)]
6351 pub struct D3DKMT_AUXILIARYPRESENTINFO {
6352 pub size: u32,
6353 pub r#type: D3DKMT_AUXILIARYPRESENTINFO_TYPE,
6354 }
6355 impl ::core::marker::Copy for D3DKMT_AUXILIARYPRESENTINFO {}
6356 impl ::core::clone::Clone for D3DKMT_AUXILIARYPRESENTINFO {
6357 fn clone(&self) -> Self {
6358 *self
6359 }
6360 }
6361 #[repr(C)]
6362 #[doc = "Required features: `\"Win32_Foundation\"`"]
6363 #[cfg(feature = "Win32_Foundation")]
6364 pub struct D3DKMT_BDDFALLBACK_CTL {
6365 pub ForceBddHeadlessNextFallback: super::super::super::Win32::Foundation::BOOLEAN,
6366 }
6367 #[cfg(feature = "Win32_Foundation")]
6368 impl ::core::marker::Copy for D3DKMT_BDDFALLBACK_CTL {}
6369 #[cfg(feature = "Win32_Foundation")]
6370 impl ::core::clone::Clone for D3DKMT_BDDFALLBACK_CTL {
6371 fn clone(&self) -> Self {
6372 *self
6373 }
6374 }
6375 #[repr(C)]
6376 pub struct D3DKMT_BLOCKLIST_INFO {
6377 pub Size: u32,
6378 pub BlockList: [u16; 1],
6379 }
6380 impl ::core::marker::Copy for D3DKMT_BLOCKLIST_INFO {}
6381 impl ::core::clone::Clone for D3DKMT_BLOCKLIST_INFO {
6382 fn clone(&self) -> Self {
6383 *self
6384 }
6385 }
6386 #[repr(C)]
6387 #[doc = "Required features: `\"Win32_Foundation\"`"]
6388 #[cfg(feature = "Win32_Foundation")]
6389 pub struct D3DKMT_BLTMODEL_PRESENTHISTORYTOKEN {
6390 pub hLogicalSurface: u64,
6391 pub hPhysicalSurface: u64,
6392 pub EventId: u64,
6393 pub DirtyRegions: D3DKMT_DIRTYREGIONS,
6394 }
6395 #[cfg(feature = "Win32_Foundation")]
6396 impl ::core::marker::Copy for D3DKMT_BLTMODEL_PRESENTHISTORYTOKEN {}
6397 #[cfg(feature = "Win32_Foundation")]
6398 impl ::core::clone::Clone for D3DKMT_BLTMODEL_PRESENTHISTORYTOKEN {
6399 fn clone(&self) -> Self {
6400 *self
6401 }
6402 }
6403 #[repr(C)]
6404 #[doc = "Required features: `\"Win32_Foundation\"`"]
6405 #[cfg(feature = "Win32_Foundation")]
6406 pub struct D3DKMT_BRIGHTNESS_INFO {
6407 pub Type: D3DKMT_BRIGHTNESS_INFO_TYPE,
6408 pub ChildUid: u32,
6409 pub Anonymous: D3DKMT_BRIGHTNESS_INFO_0,
6410 }
6411 #[cfg(feature = "Win32_Foundation")]
6412 impl ::core::marker::Copy for D3DKMT_BRIGHTNESS_INFO {}
6413 #[cfg(feature = "Win32_Foundation")]
6414 impl ::core::clone::Clone for D3DKMT_BRIGHTNESS_INFO {
6415 fn clone(&self) -> Self {
6416 *self
6417 }
6418 }
6419 #[repr(C)]
6420 #[doc = "Required features: `\"Win32_Foundation\"`"]
6421 #[cfg(feature = "Win32_Foundation")]
6422 pub union D3DKMT_BRIGHTNESS_INFO_0 {
6423 pub PossibleLevels: D3DKMT_BRIGHTNESS_POSSIBLE_LEVELS,
6424 pub Brightness: u8,
6425 pub BrightnessCaps: DXGK_BRIGHTNESS_CAPS,
6426 pub BrightnessState: DXGK_BRIGHTNESS_STATE,
6427 pub OptimizationLevel: DXGK_BACKLIGHT_OPTIMIZATION_LEVEL,
6428 pub ReductionInfo: DXGK_BACKLIGHT_INFO,
6429 pub VerboseLogging: super::super::super::Win32::Foundation::BOOLEAN,
6430 pub NitRanges: DXGK_BRIGHTNESS_GET_NIT_RANGES_OUT,
6431 pub GetBrightnessMillinits: DXGK_BRIGHTNESS_GET_OUT,
6432 pub SetBrightnessMillinits: DXGK_BRIGHTNESS_SET_IN,
6433 }
6434 #[cfg(feature = "Win32_Foundation")]
6435 impl ::core::marker::Copy for D3DKMT_BRIGHTNESS_INFO_0 {}
6436 #[cfg(feature = "Win32_Foundation")]
6437 impl ::core::clone::Clone for D3DKMT_BRIGHTNESS_INFO_0 {
6438 fn clone(&self) -> Self {
6439 *self
6440 }
6441 }
6442 #[repr(C)]
6443 pub struct D3DKMT_BRIGHTNESS_POSSIBLE_LEVELS {
6444 pub LevelCount: u8,
6445 pub BrightnessLevels: [u8; 256],
6446 }
6447 impl ::core::marker::Copy for D3DKMT_BRIGHTNESS_POSSIBLE_LEVELS {}
6448 impl ::core::clone::Clone for D3DKMT_BRIGHTNESS_POSSIBLE_LEVELS {
6449 fn clone(&self) -> Self {
6450 *self
6451 }
6452 }
6453 #[repr(C)]
6454 pub struct D3DKMT_BUDGETCHANGENOTIFICATION {
6455 pub Context: *mut ::core::ffi::c_void,
6456 pub Budget: u64,
6457 }
6458 impl ::core::marker::Copy for D3DKMT_BUDGETCHANGENOTIFICATION {}
6459 impl ::core::clone::Clone for D3DKMT_BUDGETCHANGENOTIFICATION {
6460 fn clone(&self) -> Self {
6461 *self
6462 }
6463 }
6464 #[repr(C)]
6465 #[doc = "Required features: `\"Win32_Foundation\"`"]
6466 #[cfg(feature = "Win32_Foundation")]
6467 pub struct D3DKMT_CANCEL_PRESENTS {
6468 pub cbSize: u32,
6469 pub hDevice: u32,
6470 pub Flags: D3DKMT_CANCEL_PRESENTS_FLAGS,
6471 pub Operation: D3DKMT_CANCEL_PRESENTS_OPERATION,
6472 pub CancelFromPresentId: u64,
6473 pub CompSurfaceLuid: super::super::super::Win32::Foundation::LUID,
6474 pub BindId: u64,
6475 }
6476 #[cfg(feature = "Win32_Foundation")]
6477 impl ::core::marker::Copy for D3DKMT_CANCEL_PRESENTS {}
6478 #[cfg(feature = "Win32_Foundation")]
6479 impl ::core::clone::Clone for D3DKMT_CANCEL_PRESENTS {
6480 fn clone(&self) -> Self {
6481 *self
6482 }
6483 }
6484 #[repr(C)]
6485 pub struct D3DKMT_CANCEL_PRESENTS_FLAGS {
6486 pub Anonymous: D3DKMT_CANCEL_PRESENTS_FLAGS_0,
6487 }
6488 impl ::core::marker::Copy for D3DKMT_CANCEL_PRESENTS_FLAGS {}
6489 impl ::core::clone::Clone for D3DKMT_CANCEL_PRESENTS_FLAGS {
6490 fn clone(&self) -> Self {
6491 *self
6492 }
6493 }
6494 #[repr(C)]
6495 pub union D3DKMT_CANCEL_PRESENTS_FLAGS_0 {
6496 pub ReprogramInterrupt: D3DKMT_CANCEL_PRESENTS_FLAGS_0_0,
6497 pub Value: u32,
6498 }
6499 impl ::core::marker::Copy for D3DKMT_CANCEL_PRESENTS_FLAGS_0 {}
6500 impl ::core::clone::Clone for D3DKMT_CANCEL_PRESENTS_FLAGS_0 {
6501 fn clone(&self) -> Self {
6502 *self
6503 }
6504 }
6505 #[repr(C)]
6506 pub struct D3DKMT_CANCEL_PRESENTS_FLAGS_0_0 {
6507 pub _bitfield: u32,
6508 }
6509 impl ::core::marker::Copy for D3DKMT_CANCEL_PRESENTS_FLAGS_0_0 {}
6510 impl ::core::clone::Clone for D3DKMT_CANCEL_PRESENTS_FLAGS_0_0 {
6511 fn clone(&self) -> Self {
6512 *self
6513 }
6514 }
6515 #[repr(C)]
6516 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
6517 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
6518 pub struct D3DKMT_CHANGESURFACEPOINTER {
6519 pub hDC: super::super::super::Win32::Graphics::Gdi::HDC,
6520 pub hBitmap: super::super::super::Win32::Foundation::HANDLE,
6521 pub pSurfacePointer: *mut ::core::ffi::c_void,
6522 pub Width: u32,
6523 pub Height: u32,
6524 pub Pitch: u32,
6525 }
6526 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
6527 impl ::core::marker::Copy for D3DKMT_CHANGESURFACEPOINTER {}
6528 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
6529 impl ::core::clone::Clone for D3DKMT_CHANGESURFACEPOINTER {
6530 fn clone(&self) -> Self {
6531 *self
6532 }
6533 }
6534 #[repr(C)]
6535 #[doc = "Required features: `\"Win32_Foundation\"`"]
6536 #[cfg(feature = "Win32_Foundation")]
6537 pub struct D3DKMT_CHANGEVIDEOMEMORYRESERVATION {
6538 pub hProcess: super::super::super::Win32::Foundation::HANDLE,
6539 pub hAdapter: u32,
6540 pub MemorySegmentGroup: D3DKMT_MEMORY_SEGMENT_GROUP,
6541 pub Reservation: u64,
6542 pub PhysicalAdapterIndex: u32,
6543 }
6544 #[cfg(feature = "Win32_Foundation")]
6545 impl ::core::marker::Copy for D3DKMT_CHANGEVIDEOMEMORYRESERVATION {}
6546 #[cfg(feature = "Win32_Foundation")]
6547 impl ::core::clone::Clone for D3DKMT_CHANGEVIDEOMEMORYRESERVATION {
6548 fn clone(&self) -> Self {
6549 *self
6550 }
6551 }
6552 #[repr(C)]
6553 pub struct D3DKMT_CHECKMONITORPOWERSTATE {
6554 pub hAdapter: u32,
6555 pub VidPnSourceId: u32,
6556 }
6557 impl ::core::marker::Copy for D3DKMT_CHECKMONITORPOWERSTATE {}
6558 impl ::core::clone::Clone for D3DKMT_CHECKMONITORPOWERSTATE {
6559 fn clone(&self) -> Self {
6560 *self
6561 }
6562 }
6563 #[repr(C)]
6564 #[doc = "Required features: `\"Win32_Foundation\"`"]
6565 #[cfg(feature = "Win32_Foundation")]
6566 pub struct D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT {
6567 pub hDevice: u32,
6568 pub PlaneCount: u32,
6569 pub pOverlayPlanes: *mut D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE,
6570 pub Supported: super::super::super::Win32::Foundation::BOOL,
6571 pub ReturnInfo: D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO,
6572 }
6573 #[cfg(feature = "Win32_Foundation")]
6574 impl ::core::marker::Copy for D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT {}
6575 #[cfg(feature = "Win32_Foundation")]
6576 impl ::core::clone::Clone for D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT {
6577 fn clone(&self) -> Self {
6578 *self
6579 }
6580 }
6581 #[repr(C)]
6582 #[doc = "Required features: `\"Win32_Foundation\"`"]
6583 #[cfg(feature = "Win32_Foundation")]
6584 pub struct D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT2 {
6585 pub hAdapter: u32,
6586 pub hDevice: u32,
6587 pub PlaneCount: u32,
6588 pub pOverlayPlanes: *mut D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE2,
6589 pub Supported: super::super::super::Win32::Foundation::BOOL,
6590 pub ReturnInfo: D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO,
6591 }
6592 #[cfg(feature = "Win32_Foundation")]
6593 impl ::core::marker::Copy for D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT2 {}
6594 #[cfg(feature = "Win32_Foundation")]
6595 impl ::core::clone::Clone for D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT2 {
6596 fn clone(&self) -> Self {
6597 *self
6598 }
6599 }
6600 #[repr(C)]
6601 #[doc = "Required features: `\"Win32_Foundation\"`"]
6602 #[cfg(feature = "Win32_Foundation")]
6603 pub struct D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT3 {
6604 pub hAdapter: u32,
6605 pub hDevice: u32,
6606 pub PlaneCount: u32,
6607 pub ppOverlayPlanes: *mut *mut D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE3,
6608 pub PostCompositionCount: u32,
6609 pub ppPostComposition: *mut *mut D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_WITH_SOURCE,
6610 pub Supported: super::super::super::Win32::Foundation::BOOL,
6611 pub ReturnInfo: D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO,
6612 }
6613 #[cfg(feature = "Win32_Foundation")]
6614 impl ::core::marker::Copy for D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT3 {}
6615 #[cfg(feature = "Win32_Foundation")]
6616 impl ::core::clone::Clone for D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT3 {
6617 fn clone(&self) -> Self {
6618 *self
6619 }
6620 }
6621 #[repr(C)]
6622 #[doc = "Required features: `\"Win32_Foundation\"`"]
6623 #[cfg(feature = "Win32_Foundation")]
6624 pub struct D3DKMT_CHECKOCCLUSION {
6625 pub hWindow: super::super::super::Win32::Foundation::HWND,
6626 }
6627 #[cfg(feature = "Win32_Foundation")]
6628 impl ::core::marker::Copy for D3DKMT_CHECKOCCLUSION {}
6629 #[cfg(feature = "Win32_Foundation")]
6630 impl ::core::clone::Clone for D3DKMT_CHECKOCCLUSION {
6631 fn clone(&self) -> Self {
6632 *self
6633 }
6634 }
6635 #[repr(C)]
6636 pub struct D3DKMT_CHECKSHAREDRESOURCEACCESS {
6637 pub hResource: u32,
6638 pub ClientPid: u32,
6639 }
6640 impl ::core::marker::Copy for D3DKMT_CHECKSHAREDRESOURCEACCESS {}
6641 impl ::core::clone::Clone for D3DKMT_CHECKSHAREDRESOURCEACCESS {
6642 fn clone(&self) -> Self {
6643 *self
6644 }
6645 }
6646 #[repr(C)]
6647 pub struct D3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP {
6648 pub hAdapter: u32,
6649 pub VidPnSourceId: u32,
6650 }
6651 impl ::core::marker::Copy for D3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP {}
6652 impl ::core::clone::Clone for D3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP {
6653 fn clone(&self) -> Self {
6654 *self
6655 }
6656 }
6657 #[repr(C)]
6658 #[doc = "Required features: `\"Win32_Foundation\"`"]
6659 #[cfg(feature = "Win32_Foundation")]
6660 pub struct D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE {
6661 pub hResource: u32,
6662 pub CompSurfaceLuid: super::super::super::Win32::Foundation::LUID,
6663 pub VidPnSourceId: u32,
6664 pub PlaneAttributes: D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES,
6665 }
6666 #[cfg(feature = "Win32_Foundation")]
6667 impl ::core::marker::Copy for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE {}
6668 #[cfg(feature = "Win32_Foundation")]
6669 impl ::core::clone::Clone for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE {
6670 fn clone(&self) -> Self {
6671 *self
6672 }
6673 }
6674 #[repr(C)]
6675 #[doc = "Required features: `\"Win32_Foundation\"`"]
6676 #[cfg(feature = "Win32_Foundation")]
6677 pub struct D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE2 {
6678 pub LayerIndex: u32,
6679 pub hResource: u32,
6680 pub CompSurfaceLuid: super::super::super::Win32::Foundation::LUID,
6681 pub VidPnSourceId: u32,
6682 pub PlaneAttributes: D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES2,
6683 }
6684 #[cfg(feature = "Win32_Foundation")]
6685 impl ::core::marker::Copy for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE2 {}
6686 #[cfg(feature = "Win32_Foundation")]
6687 impl ::core::clone::Clone for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE2 {
6688 fn clone(&self) -> Self {
6689 *self
6690 }
6691 }
6692 #[repr(C)]
6693 #[doc = "Required features: `\"Win32_Foundation\"`"]
6694 #[cfg(feature = "Win32_Foundation")]
6695 pub struct D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE3 {
6696 pub LayerIndex: u32,
6697 pub hResource: u32,
6698 pub CompSurfaceLuid: super::super::super::Win32::Foundation::LUID,
6699 pub VidPnSourceId: u32,
6700 pub pPlaneAttributes: *mut D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES3,
6701 }
6702 #[cfg(feature = "Win32_Foundation")]
6703 impl ::core::marker::Copy for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE3 {}
6704 #[cfg(feature = "Win32_Foundation")]
6705 impl ::core::clone::Clone for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE3 {
6706 fn clone(&self) -> Self {
6707 *self
6708 }
6709 }
6710 #[repr(C)]
6711 pub struct D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO {
6712 pub Anonymous: D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO_0,
6713 }
6714 impl ::core::marker::Copy for D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO {}
6715 impl ::core::clone::Clone for D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO {
6716 fn clone(&self) -> Self {
6717 *self
6718 }
6719 }
6720 #[repr(C)]
6721 pub union D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO_0 {
6722 pub Anonymous: D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO_0_0,
6723 pub Value: u32,
6724 }
6725 impl ::core::marker::Copy for D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO_0 {}
6726 impl ::core::clone::Clone for D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO_0 {
6727 fn clone(&self) -> Self {
6728 *self
6729 }
6730 }
6731 #[repr(C)]
6732 pub struct D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO_0_0 {
6733 pub _bitfield: u32,
6734 }
6735 impl ::core::marker::Copy for D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO_0_0 {}
6736 impl ::core::clone::Clone for D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO_0_0 {
6737 fn clone(&self) -> Self {
6738 *self
6739 }
6740 }
6741 #[repr(C)]
6742 pub struct D3DKMT_CLOSEADAPTER {
6743 pub hAdapter: u32,
6744 }
6745 impl ::core::marker::Copy for D3DKMT_CLOSEADAPTER {}
6746 impl ::core::clone::Clone for D3DKMT_CLOSEADAPTER {
6747 fn clone(&self) -> Self {
6748 *self
6749 }
6750 }
6751 #[repr(C)]
6752 pub struct D3DKMT_COMPOSITION_PRESENTHISTORYTOKEN {
6753 pub hPrivateData: u64,
6754 }
6755 impl ::core::marker::Copy for D3DKMT_COMPOSITION_PRESENTHISTORYTOKEN {}
6756 impl ::core::clone::Clone for D3DKMT_COMPOSITION_PRESENTHISTORYTOKEN {
6757 fn clone(&self) -> Self {
6758 *self
6759 }
6760 }
6761 #[repr(C)]
6762 #[doc = "Required features: `\"Win32_Foundation\"`"]
6763 #[cfg(feature = "Win32_Foundation")]
6764 pub struct D3DKMT_CONFIGURESHAREDRESOURCE {
6765 pub hDevice: u32,
6766 pub hResource: u32,
6767 pub IsDwm: super::super::super::Win32::Foundation::BOOLEAN,
6768 pub hProcess: super::super::super::Win32::Foundation::HANDLE,
6769 pub AllowAccess: super::super::super::Win32::Foundation::BOOLEAN,
6770 }
6771 #[cfg(feature = "Win32_Foundation")]
6772 impl ::core::marker::Copy for D3DKMT_CONFIGURESHAREDRESOURCE {}
6773 #[cfg(feature = "Win32_Foundation")]
6774 impl ::core::clone::Clone for D3DKMT_CONFIGURESHAREDRESOURCE {
6775 fn clone(&self) -> Self {
6776 *self
6777 }
6778 }
6779 #[repr(C)]
6780 pub struct D3DKMT_CONNECT_DOORBELL {
6781 pub hHwQueue: u32,
6782 pub Flags: D3DKMT_CONNECT_DOORBELL_FLAGS,
6783 }
6784 impl ::core::marker::Copy for D3DKMT_CONNECT_DOORBELL {}
6785 impl ::core::clone::Clone for D3DKMT_CONNECT_DOORBELL {
6786 fn clone(&self) -> Self {
6787 *self
6788 }
6789 }
6790 #[repr(C)]
6791 pub struct D3DKMT_CONNECT_DOORBELL_FLAGS {
6792 pub Anonymous: D3DKMT_CONNECT_DOORBELL_FLAGS_0,
6793 }
6794 impl ::core::marker::Copy for D3DKMT_CONNECT_DOORBELL_FLAGS {}
6795 impl ::core::clone::Clone for D3DKMT_CONNECT_DOORBELL_FLAGS {
6796 fn clone(&self) -> Self {
6797 *self
6798 }
6799 }
6800 #[repr(C)]
6801 pub union D3DKMT_CONNECT_DOORBELL_FLAGS_0 {
6802 pub Anonymous: D3DKMT_CONNECT_DOORBELL_FLAGS_0_0,
6803 pub Value: u32,
6804 }
6805 impl ::core::marker::Copy for D3DKMT_CONNECT_DOORBELL_FLAGS_0 {}
6806 impl ::core::clone::Clone for D3DKMT_CONNECT_DOORBELL_FLAGS_0 {
6807 fn clone(&self) -> Self {
6808 *self
6809 }
6810 }
6811 #[repr(C)]
6812 pub struct D3DKMT_CONNECT_DOORBELL_FLAGS_0_0 {
6813 pub _bitfield: u32,
6814 }
6815 impl ::core::marker::Copy for D3DKMT_CONNECT_DOORBELL_FLAGS_0_0 {}
6816 impl ::core::clone::Clone for D3DKMT_CONNECT_DOORBELL_FLAGS_0_0 {
6817 fn clone(&self) -> Self {
6818 *self
6819 }
6820 }
6821 #[repr(C)]
6822 pub struct D3DKMT_CPDRIVERNAME {
6823 pub ContentProtectionFileName: [u16; 260],
6824 }
6825 impl ::core::marker::Copy for D3DKMT_CPDRIVERNAME {}
6826 impl ::core::clone::Clone for D3DKMT_CPDRIVERNAME {
6827 fn clone(&self) -> Self {
6828 *self
6829 }
6830 }
6831 #[repr(C)]
6832 #[doc = "Required features: `\"Win32_Foundation\"`"]
6833 #[cfg(feature = "Win32_Foundation")]
6834 pub struct D3DKMT_CREATEALLOCATION {
6835 pub hDevice: u32,
6836 pub hResource: u32,
6837 pub hGlobalShare: u32,
6838 pub pPrivateRuntimeData: *const ::core::ffi::c_void,
6839 pub PrivateRuntimeDataSize: u32,
6840 pub Anonymous1: D3DKMT_CREATEALLOCATION_0,
6841 pub PrivateDriverDataSize: u32,
6842 pub NumAllocations: u32,
6843 pub Anonymous2: D3DKMT_CREATEALLOCATION_1,
6844 pub Flags: D3DKMT_CREATEALLOCATIONFLAGS,
6845 pub hPrivateRuntimeResourceHandle: super::super::super::Win32::Foundation::HANDLE,
6846 }
6847 #[cfg(feature = "Win32_Foundation")]
6848 impl ::core::marker::Copy for D3DKMT_CREATEALLOCATION {}
6849 #[cfg(feature = "Win32_Foundation")]
6850 impl ::core::clone::Clone for D3DKMT_CREATEALLOCATION {
6851 fn clone(&self) -> Self {
6852 *self
6853 }
6854 }
6855 #[repr(C)]
6856 #[doc = "Required features: `\"Win32_Foundation\"`"]
6857 #[cfg(feature = "Win32_Foundation")]
6858 pub union D3DKMT_CREATEALLOCATION_0 {
6859 pub pStandardAllocation: *mut D3DKMT_CREATESTANDARDALLOCATION,
6860 pub pPrivateDriverData: *const ::core::ffi::c_void,
6861 }
6862 #[cfg(feature = "Win32_Foundation")]
6863 impl ::core::marker::Copy for D3DKMT_CREATEALLOCATION_0 {}
6864 #[cfg(feature = "Win32_Foundation")]
6865 impl ::core::clone::Clone for D3DKMT_CREATEALLOCATION_0 {
6866 fn clone(&self) -> Self {
6867 *self
6868 }
6869 }
6870 #[repr(C)]
6871 #[doc = "Required features: `\"Win32_Foundation\"`"]
6872 #[cfg(feature = "Win32_Foundation")]
6873 pub union D3DKMT_CREATEALLOCATION_1 {
6874 pub pAllocationInfo: *mut D3DDDI_ALLOCATIONINFO,
6875 pub pAllocationInfo2: *mut D3DDDI_ALLOCATIONINFO2,
6876 }
6877 #[cfg(feature = "Win32_Foundation")]
6878 impl ::core::marker::Copy for D3DKMT_CREATEALLOCATION_1 {}
6879 #[cfg(feature = "Win32_Foundation")]
6880 impl ::core::clone::Clone for D3DKMT_CREATEALLOCATION_1 {
6881 fn clone(&self) -> Self {
6882 *self
6883 }
6884 }
6885 #[repr(C)]
6886 pub struct D3DKMT_CREATEALLOCATIONFLAGS {
6887 pub _bitfield: u32,
6888 }
6889 impl ::core::marker::Copy for D3DKMT_CREATEALLOCATIONFLAGS {}
6890 impl ::core::clone::Clone for D3DKMT_CREATEALLOCATIONFLAGS {
6891 fn clone(&self) -> Self {
6892 *self
6893 }
6894 }
6895 #[repr(C)]
6896 pub struct D3DKMT_CREATECONTEXT {
6897 pub hDevice: u32,
6898 pub NodeOrdinal: u32,
6899 pub EngineAffinity: u32,
6900 pub Flags: D3DDDI_CREATECONTEXTFLAGS,
6901 pub pPrivateDriverData: *mut ::core::ffi::c_void,
6902 pub PrivateDriverDataSize: u32,
6903 pub ClientHint: D3DKMT_CLIENTHINT,
6904 pub hContext: u32,
6905 pub pCommandBuffer: *mut ::core::ffi::c_void,
6906 pub CommandBufferSize: u32,
6907 pub pAllocationList: *mut D3DDDI_ALLOCATIONLIST,
6908 pub AllocationListSize: u32,
6909 pub pPatchLocationList: *mut D3DDDI_PATCHLOCATIONLIST,
6910 pub PatchLocationListSize: u32,
6911 pub CommandBuffer: u64,
6912 }
6913 impl ::core::marker::Copy for D3DKMT_CREATECONTEXT {}
6914 impl ::core::clone::Clone for D3DKMT_CREATECONTEXT {
6915 fn clone(&self) -> Self {
6916 *self
6917 }
6918 }
6919 #[repr(C)]
6920 pub struct D3DKMT_CREATECONTEXTVIRTUAL {
6921 pub hDevice: u32,
6922 pub NodeOrdinal: u32,
6923 pub EngineAffinity: u32,
6924 pub Flags: D3DDDI_CREATECONTEXTFLAGS,
6925 pub pPrivateDriverData: *mut ::core::ffi::c_void,
6926 pub PrivateDriverDataSize: u32,
6927 pub ClientHint: D3DKMT_CLIENTHINT,
6928 pub hContext: u32,
6929 }
6930 impl ::core::marker::Copy for D3DKMT_CREATECONTEXTVIRTUAL {}
6931 impl ::core::clone::Clone for D3DKMT_CREATECONTEXTVIRTUAL {
6932 fn clone(&self) -> Self {
6933 *self
6934 }
6935 }
6936 #[repr(C)]
6937 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
6938 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
6939 pub struct D3DKMT_CREATEDCFROMMEMORY {
6940 pub pMemory: *mut ::core::ffi::c_void,
6941 pub Format: D3DDDIFORMAT,
6942 pub Width: u32,
6943 pub Height: u32,
6944 pub Pitch: u32,
6945 pub hDeviceDc: super::super::super::Win32::Graphics::Gdi::HDC,
6946 pub pColorTable: *mut super::super::super::Win32::Graphics::Gdi::PALETTEENTRY,
6947 pub hDc: super::super::super::Win32::Graphics::Gdi::HDC,
6948 pub hBitmap: super::super::super::Win32::Foundation::HANDLE,
6949 }
6950 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
6951 impl ::core::marker::Copy for D3DKMT_CREATEDCFROMMEMORY {}
6952 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
6953 impl ::core::clone::Clone for D3DKMT_CREATEDCFROMMEMORY {
6954 fn clone(&self) -> Self {
6955 *self
6956 }
6957 }
6958 #[repr(C)]
6959 pub struct D3DKMT_CREATEDEVICE {
6960 pub Anonymous: D3DKMT_CREATEDEVICE_0,
6961 pub Flags: D3DKMT_CREATEDEVICEFLAGS,
6962 pub hDevice: u32,
6963 pub pCommandBuffer: *mut ::core::ffi::c_void,
6964 pub CommandBufferSize: u32,
6965 pub pAllocationList: *mut D3DDDI_ALLOCATIONLIST,
6966 pub AllocationListSize: u32,
6967 pub pPatchLocationList: *mut D3DDDI_PATCHLOCATIONLIST,
6968 pub PatchLocationListSize: u32,
6969 }
6970 impl ::core::marker::Copy for D3DKMT_CREATEDEVICE {}
6971 impl ::core::clone::Clone for D3DKMT_CREATEDEVICE {
6972 fn clone(&self) -> Self {
6973 *self
6974 }
6975 }
6976 #[repr(C)]
6977 pub union D3DKMT_CREATEDEVICE_0 {
6978 pub hAdapter: u32,
6979 pub pAdapter: *mut ::core::ffi::c_void,
6980 }
6981 impl ::core::marker::Copy for D3DKMT_CREATEDEVICE_0 {}
6982 impl ::core::clone::Clone for D3DKMT_CREATEDEVICE_0 {
6983 fn clone(&self) -> Self {
6984 *self
6985 }
6986 }
6987 #[repr(C)]
6988 pub struct D3DKMT_CREATEDEVICEFLAGS {
6989 pub _bitfield: u32,
6990 }
6991 impl ::core::marker::Copy for D3DKMT_CREATEDEVICEFLAGS {}
6992 impl ::core::clone::Clone for D3DKMT_CREATEDEVICEFLAGS {
6993 fn clone(&self) -> Self {
6994 *self
6995 }
6996 }
6997 #[repr(C)]
6998 pub struct D3DKMT_CREATEHWCONTEXT {
6999 pub hDevice: u32,
7000 pub NodeOrdinal: u32,
7001 pub EngineAffinity: u32,
7002 pub Flags: D3DDDI_CREATEHWCONTEXTFLAGS,
7003 pub PrivateDriverDataSize: u32,
7004 pub pPrivateDriverData: *mut ::core::ffi::c_void,
7005 pub hHwContext: u32,
7006 }
7007 impl ::core::marker::Copy for D3DKMT_CREATEHWCONTEXT {}
7008 impl ::core::clone::Clone for D3DKMT_CREATEHWCONTEXT {
7009 fn clone(&self) -> Self {
7010 *self
7011 }
7012 }
7013 #[repr(C)]
7014 pub struct D3DKMT_CREATEHWQUEUE {
7015 pub hHwContext: u32,
7016 pub Flags: D3DDDI_CREATEHWQUEUEFLAGS,
7017 pub PrivateDriverDataSize: u32,
7018 pub pPrivateDriverData: *mut ::core::ffi::c_void,
7019 pub hHwQueue: u32,
7020 pub hHwQueueProgressFence: u32,
7021 pub HwQueueProgressFenceCPUVirtualAddress: *mut ::core::ffi::c_void,
7022 pub HwQueueProgressFenceGPUVirtualAddress: u64,
7023 }
7024 impl ::core::marker::Copy for D3DKMT_CREATEHWQUEUE {}
7025 impl ::core::clone::Clone for D3DKMT_CREATEHWQUEUE {
7026 fn clone(&self) -> Self {
7027 *self
7028 }
7029 }
7030 #[repr(C)]
7031 pub struct D3DKMT_CREATEKEYEDMUTEX {
7032 pub InitialValue: u64,
7033 pub hSharedHandle: u32,
7034 pub hKeyedMutex: u32,
7035 }
7036 impl ::core::marker::Copy for D3DKMT_CREATEKEYEDMUTEX {}
7037 impl ::core::clone::Clone for D3DKMT_CREATEKEYEDMUTEX {
7038 fn clone(&self) -> Self {
7039 *self
7040 }
7041 }
7042 #[repr(C)]
7043 pub struct D3DKMT_CREATEKEYEDMUTEX2 {
7044 pub InitialValue: u64,
7045 pub hSharedHandle: u32,
7046 pub hKeyedMutex: u32,
7047 pub pPrivateRuntimeData: *mut ::core::ffi::c_void,
7048 pub PrivateRuntimeDataSize: u32,
7049 pub Flags: D3DKMT_CREATEKEYEDMUTEX2_FLAGS,
7050 }
7051 impl ::core::marker::Copy for D3DKMT_CREATEKEYEDMUTEX2 {}
7052 impl ::core::clone::Clone for D3DKMT_CREATEKEYEDMUTEX2 {
7053 fn clone(&self) -> Self {
7054 *self
7055 }
7056 }
7057 #[repr(C)]
7058 pub struct D3DKMT_CREATEKEYEDMUTEX2_FLAGS {
7059 pub Anonymous: D3DKMT_CREATEKEYEDMUTEX2_FLAGS_0,
7060 }
7061 impl ::core::marker::Copy for D3DKMT_CREATEKEYEDMUTEX2_FLAGS {}
7062 impl ::core::clone::Clone for D3DKMT_CREATEKEYEDMUTEX2_FLAGS {
7063 fn clone(&self) -> Self {
7064 *self
7065 }
7066 }
7067 #[repr(C)]
7068 pub union D3DKMT_CREATEKEYEDMUTEX2_FLAGS_0 {
7069 pub Anonymous: D3DKMT_CREATEKEYEDMUTEX2_FLAGS_0_0,
7070 pub Value: u32,
7071 }
7072 impl ::core::marker::Copy for D3DKMT_CREATEKEYEDMUTEX2_FLAGS_0 {}
7073 impl ::core::clone::Clone for D3DKMT_CREATEKEYEDMUTEX2_FLAGS_0 {
7074 fn clone(&self) -> Self {
7075 *self
7076 }
7077 }
7078 #[repr(C)]
7079 pub struct D3DKMT_CREATEKEYEDMUTEX2_FLAGS_0_0 {
7080 pub _bitfield: u32,
7081 }
7082 impl ::core::marker::Copy for D3DKMT_CREATEKEYEDMUTEX2_FLAGS_0_0 {}
7083 impl ::core::clone::Clone for D3DKMT_CREATEKEYEDMUTEX2_FLAGS_0_0 {
7084 fn clone(&self) -> Self {
7085 *self
7086 }
7087 }
7088 #[repr(C)]
7089 pub struct D3DKMT_CREATENATIVEFENCE {
7090 pub hDevice: u32,
7091 pub Info: D3DDDI_CREATENATIVEFENCEINFO,
7092 }
7093 impl ::core::marker::Copy for D3DKMT_CREATENATIVEFENCE {}
7094 impl ::core::clone::Clone for D3DKMT_CREATENATIVEFENCE {
7095 fn clone(&self) -> Self {
7096 *self
7097 }
7098 }
7099 #[repr(C)]
7100 pub struct D3DKMT_CREATEOVERLAY {
7101 pub VidPnSourceId: u32,
7102 pub hDevice: u32,
7103 pub OverlayInfo: D3DDDI_KERNELOVERLAYINFO,
7104 pub hOverlay: u32,
7105 }
7106 impl ::core::marker::Copy for D3DKMT_CREATEOVERLAY {}
7107 impl ::core::clone::Clone for D3DKMT_CREATEOVERLAY {
7108 fn clone(&self) -> Self {
7109 *self
7110 }
7111 }
7112 #[repr(C)]
7113 pub struct D3DKMT_CREATEPAGINGQUEUE {
7114 pub hDevice: u32,
7115 pub Priority: D3DDDI_PAGINGQUEUE_PRIORITY,
7116 pub hPagingQueue: u32,
7117 pub hSyncObject: u32,
7118 pub FenceValueCPUVirtualAddress: *mut ::core::ffi::c_void,
7119 pub PhysicalAdapterIndex: u32,
7120 }
7121 impl ::core::marker::Copy for D3DKMT_CREATEPAGINGQUEUE {}
7122 impl ::core::clone::Clone for D3DKMT_CREATEPAGINGQUEUE {
7123 fn clone(&self) -> Self {
7124 *self
7125 }
7126 }
7127 #[repr(C)]
7128 pub struct D3DKMT_CREATEPROTECTEDSESSION {
7129 pub hDevice: u32,
7130 pub hSyncObject: u32,
7131 pub pPrivateDriverData: *const ::core::ffi::c_void,
7132 pub PrivateDriverDataSize: u32,
7133 pub pPrivateRuntimeData: *const ::core::ffi::c_void,
7134 pub PrivateRuntimeDataSize: u32,
7135 pub hHandle: u32,
7136 }
7137 impl ::core::marker::Copy for D3DKMT_CREATEPROTECTEDSESSION {}
7138 impl ::core::clone::Clone for D3DKMT_CREATEPROTECTEDSESSION {
7139 fn clone(&self) -> Self {
7140 *self
7141 }
7142 }
7143 #[repr(C)]
7144 pub struct D3DKMT_CREATESTANDARDALLOCATION {
7145 pub Type: D3DKMT_STANDARDALLOCATIONTYPE,
7146 pub Anonymous: D3DKMT_CREATESTANDARDALLOCATION_0,
7147 pub Flags: D3DKMT_CREATESTANDARDALLOCATIONFLAGS,
7148 }
7149 impl ::core::marker::Copy for D3DKMT_CREATESTANDARDALLOCATION {}
7150 impl ::core::clone::Clone for D3DKMT_CREATESTANDARDALLOCATION {
7151 fn clone(&self) -> Self {
7152 *self
7153 }
7154 }
7155 #[repr(C)]
7156 pub union D3DKMT_CREATESTANDARDALLOCATION_0 {
7157 pub ExistingHeapData: D3DKMT_STANDARDALLOCATION_EXISTINGHEAP,
7158 }
7159 impl ::core::marker::Copy for D3DKMT_CREATESTANDARDALLOCATION_0 {}
7160 impl ::core::clone::Clone for D3DKMT_CREATESTANDARDALLOCATION_0 {
7161 fn clone(&self) -> Self {
7162 *self
7163 }
7164 }
7165 #[repr(C)]
7166 pub struct D3DKMT_CREATESTANDARDALLOCATIONFLAGS {
7167 pub Anonymous: D3DKMT_CREATESTANDARDALLOCATIONFLAGS_0,
7168 }
7169 impl ::core::marker::Copy for D3DKMT_CREATESTANDARDALLOCATIONFLAGS {}
7170 impl ::core::clone::Clone for D3DKMT_CREATESTANDARDALLOCATIONFLAGS {
7171 fn clone(&self) -> Self {
7172 *self
7173 }
7174 }
7175 #[repr(C)]
7176 pub union D3DKMT_CREATESTANDARDALLOCATIONFLAGS_0 {
7177 pub Anonymous: D3DKMT_CREATESTANDARDALLOCATIONFLAGS_0_0,
7178 pub Value: u32,
7179 }
7180 impl ::core::marker::Copy for D3DKMT_CREATESTANDARDALLOCATIONFLAGS_0 {}
7181 impl ::core::clone::Clone for D3DKMT_CREATESTANDARDALLOCATIONFLAGS_0 {
7182 fn clone(&self) -> Self {
7183 *self
7184 }
7185 }
7186 #[repr(C)]
7187 pub struct D3DKMT_CREATESTANDARDALLOCATIONFLAGS_0_0 {
7188 pub _bitfield: u32,
7189 }
7190 impl ::core::marker::Copy for D3DKMT_CREATESTANDARDALLOCATIONFLAGS_0_0 {}
7191 impl ::core::clone::Clone for D3DKMT_CREATESTANDARDALLOCATIONFLAGS_0_0 {
7192 fn clone(&self) -> Self {
7193 *self
7194 }
7195 }
7196 #[repr(C)]
7197 pub struct D3DKMT_CREATESYNCFILE {
7198 pub hDevice: u32,
7199 pub hMonitoredFence: u32,
7200 pub FenceValue: u64,
7201 pub hSyncFile: u64,
7202 }
7203 impl ::core::marker::Copy for D3DKMT_CREATESYNCFILE {}
7204 impl ::core::clone::Clone for D3DKMT_CREATESYNCFILE {
7205 fn clone(&self) -> Self {
7206 *self
7207 }
7208 }
7209 #[repr(C)]
7210 #[doc = "Required features: `\"Win32_Foundation\"`"]
7211 #[cfg(feature = "Win32_Foundation")]
7212 pub struct D3DKMT_CREATESYNCHRONIZATIONOBJECT {
7213 pub hDevice: u32,
7214 pub Info: D3DDDI_SYNCHRONIZATIONOBJECTINFO,
7215 pub hSyncObject: u32,
7216 }
7217 #[cfg(feature = "Win32_Foundation")]
7218 impl ::core::marker::Copy for D3DKMT_CREATESYNCHRONIZATIONOBJECT {}
7219 #[cfg(feature = "Win32_Foundation")]
7220 impl ::core::clone::Clone for D3DKMT_CREATESYNCHRONIZATIONOBJECT {
7221 fn clone(&self) -> Self {
7222 *self
7223 }
7224 }
7225 #[repr(C)]
7226 #[doc = "Required features: `\"Win32_Foundation\"`"]
7227 #[cfg(feature = "Win32_Foundation")]
7228 pub struct D3DKMT_CREATESYNCHRONIZATIONOBJECT2 {
7229 pub hDevice: u32,
7230 pub Info: D3DDDI_SYNCHRONIZATIONOBJECTINFO2,
7231 pub hSyncObject: u32,
7232 }
7233 #[cfg(feature = "Win32_Foundation")]
7234 impl ::core::marker::Copy for D3DKMT_CREATESYNCHRONIZATIONOBJECT2 {}
7235 #[cfg(feature = "Win32_Foundation")]
7236 impl ::core::clone::Clone for D3DKMT_CREATESYNCHRONIZATIONOBJECT2 {
7237 fn clone(&self) -> Self {
7238 *self
7239 }
7240 }
7241 #[repr(C)]
7242 pub struct D3DKMT_CREATE_DOORBELL {
7243 pub hHwQueue: u32,
7244 pub hRingBuffer: u32,
7245 pub hRingBufferControl: u32,
7246 pub Flags: D3DKMT_CREATE_DOORBELL_FLAGS,
7247 pub PrivateDriverDataSize: u32,
7248 pub PrivateDriverData: *mut ::core::ffi::c_void,
7249 pub DoorbellCPUVirtualAddress: *mut ::core::ffi::c_void,
7250 pub DoorbellSecondaryCPUVirtualAddress: *mut ::core::ffi::c_void,
7251 pub DoorbellStatusCPUVirtualAddress: *mut ::core::ffi::c_void,
7252 }
7253 impl ::core::marker::Copy for D3DKMT_CREATE_DOORBELL {}
7254 impl ::core::clone::Clone for D3DKMT_CREATE_DOORBELL {
7255 fn clone(&self) -> Self {
7256 *self
7257 }
7258 }
7259 #[repr(C)]
7260 pub struct D3DKMT_CREATE_DOORBELL_FLAGS {
7261 pub Anonymous: D3DKMT_CREATE_DOORBELL_FLAGS_0,
7262 }
7263 impl ::core::marker::Copy for D3DKMT_CREATE_DOORBELL_FLAGS {}
7264 impl ::core::clone::Clone for D3DKMT_CREATE_DOORBELL_FLAGS {
7265 fn clone(&self) -> Self {
7266 *self
7267 }
7268 }
7269 #[repr(C)]
7270 pub union D3DKMT_CREATE_DOORBELL_FLAGS_0 {
7271 pub Anonymous: D3DKMT_CREATE_DOORBELL_FLAGS_0_0,
7272 pub Value: u32,
7273 }
7274 impl ::core::marker::Copy for D3DKMT_CREATE_DOORBELL_FLAGS_0 {}
7275 impl ::core::clone::Clone for D3DKMT_CREATE_DOORBELL_FLAGS_0 {
7276 fn clone(&self) -> Self {
7277 *self
7278 }
7279 }
7280 #[repr(C)]
7281 pub struct D3DKMT_CREATE_DOORBELL_FLAGS_0_0 {
7282 pub _bitfield: u32,
7283 }
7284 impl ::core::marker::Copy for D3DKMT_CREATE_DOORBELL_FLAGS_0_0 {}
7285 impl ::core::clone::Clone for D3DKMT_CREATE_DOORBELL_FLAGS_0_0 {
7286 fn clone(&self) -> Self {
7287 *self
7288 }
7289 }
7290 #[repr(C)]
7291 #[doc = "Required features: `\"Win32_Foundation\"`"]
7292 #[cfg(feature = "Win32_Foundation")]
7293 pub struct D3DKMT_CREATE_OUTPUTDUPL {
7294 pub hAdapter: u32,
7295 pub VidPnSourceId: u32,
7296 pub KeyedMutexCount: u32,
7297 pub RequiredKeyedMutexCount: u32,
7298 pub KeyedMutexs: [D3DKMT_OUTPUTDUPL_KEYEDMUTEX; 3],
7299 pub Flags: D3DKMT_OUTPUTDUPLCREATIONFLAGS,
7300 }
7301 #[cfg(feature = "Win32_Foundation")]
7302 impl ::core::marker::Copy for D3DKMT_CREATE_OUTPUTDUPL {}
7303 #[cfg(feature = "Win32_Foundation")]
7304 impl ::core::clone::Clone for D3DKMT_CREATE_OUTPUTDUPL {
7305 fn clone(&self) -> Self {
7306 *self
7307 }
7308 }
7309 #[repr(C)]
7310 pub struct D3DKMT_CROSSADAPTERRESOURCE_SUPPORT {
7311 pub SupportTier: D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER,
7312 }
7313 impl ::core::marker::Copy for D3DKMT_CROSSADAPTERRESOURCE_SUPPORT {}
7314 impl ::core::clone::Clone for D3DKMT_CROSSADAPTERRESOURCE_SUPPORT {
7315 fn clone(&self) -> Self {
7316 *self
7317 }
7318 }
7319 #[repr(C)]
7320 pub struct D3DKMT_CURRENTDISPLAYMODE {
7321 pub VidPnSourceId: u32,
7322 pub DisplayMode: D3DKMT_DISPLAYMODE,
7323 }
7324 impl ::core::marker::Copy for D3DKMT_CURRENTDISPLAYMODE {}
7325 impl ::core::clone::Clone for D3DKMT_CURRENTDISPLAYMODE {
7326 fn clone(&self) -> Self {
7327 *self
7328 }
7329 }
7330 #[repr(C)]
7331 pub struct D3DKMT_DEBUG_SNAPSHOT_ESCAPE {
7332 pub Length: u32,
7333 pub Buffer: [u8; 1],
7334 }
7335 impl ::core::marker::Copy for D3DKMT_DEBUG_SNAPSHOT_ESCAPE {}
7336 impl ::core::clone::Clone for D3DKMT_DEBUG_SNAPSHOT_ESCAPE {
7337 fn clone(&self) -> Self {
7338 *self
7339 }
7340 }
7341 #[repr(C)]
7342 pub struct D3DKMT_DESTROYALLOCATION {
7343 pub hDevice: u32,
7344 pub hResource: u32,
7345 pub phAllocationList: *const u32,
7346 pub AllocationCount: u32,
7347 }
7348 impl ::core::marker::Copy for D3DKMT_DESTROYALLOCATION {}
7349 impl ::core::clone::Clone for D3DKMT_DESTROYALLOCATION {
7350 fn clone(&self) -> Self {
7351 *self
7352 }
7353 }
7354 #[repr(C)]
7355 pub struct D3DKMT_DESTROYALLOCATION2 {
7356 pub hDevice: u32,
7357 pub hResource: u32,
7358 pub phAllocationList: *const u32,
7359 pub AllocationCount: u32,
7360 pub Flags: D3DDDICB_DESTROYALLOCATION2FLAGS,
7361 }
7362 impl ::core::marker::Copy for D3DKMT_DESTROYALLOCATION2 {}
7363 impl ::core::clone::Clone for D3DKMT_DESTROYALLOCATION2 {
7364 fn clone(&self) -> Self {
7365 *self
7366 }
7367 }
7368 #[repr(C)]
7369 pub struct D3DKMT_DESTROYCONTEXT {
7370 pub hContext: u32,
7371 }
7372 impl ::core::marker::Copy for D3DKMT_DESTROYCONTEXT {}
7373 impl ::core::clone::Clone for D3DKMT_DESTROYCONTEXT {
7374 fn clone(&self) -> Self {
7375 *self
7376 }
7377 }
7378 #[repr(C)]
7379 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
7380 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
7381 pub struct D3DKMT_DESTROYDCFROMMEMORY {
7382 pub hDc: super::super::super::Win32::Graphics::Gdi::HDC,
7383 pub hBitmap: super::super::super::Win32::Foundation::HANDLE,
7384 }
7385 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
7386 impl ::core::marker::Copy for D3DKMT_DESTROYDCFROMMEMORY {}
7387 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
7388 impl ::core::clone::Clone for D3DKMT_DESTROYDCFROMMEMORY {
7389 fn clone(&self) -> Self {
7390 *self
7391 }
7392 }
7393 #[repr(C)]
7394 pub struct D3DKMT_DESTROYDEVICE {
7395 pub hDevice: u32,
7396 }
7397 impl ::core::marker::Copy for D3DKMT_DESTROYDEVICE {}
7398 impl ::core::clone::Clone for D3DKMT_DESTROYDEVICE {
7399 fn clone(&self) -> Self {
7400 *self
7401 }
7402 }
7403 #[repr(C)]
7404 pub struct D3DKMT_DESTROYHWCONTEXT {
7405 pub hHwContext: u32,
7406 }
7407 impl ::core::marker::Copy for D3DKMT_DESTROYHWCONTEXT {}
7408 impl ::core::clone::Clone for D3DKMT_DESTROYHWCONTEXT {
7409 fn clone(&self) -> Self {
7410 *self
7411 }
7412 }
7413 #[repr(C)]
7414 pub struct D3DKMT_DESTROYHWQUEUE {
7415 pub hHwQueue: u32,
7416 }
7417 impl ::core::marker::Copy for D3DKMT_DESTROYHWQUEUE {}
7418 impl ::core::clone::Clone for D3DKMT_DESTROYHWQUEUE {
7419 fn clone(&self) -> Self {
7420 *self
7421 }
7422 }
7423 #[repr(C)]
7424 pub struct D3DKMT_DESTROYKEYEDMUTEX {
7425 pub hKeyedMutex: u32,
7426 }
7427 impl ::core::marker::Copy for D3DKMT_DESTROYKEYEDMUTEX {}
7428 impl ::core::clone::Clone for D3DKMT_DESTROYKEYEDMUTEX {
7429 fn clone(&self) -> Self {
7430 *self
7431 }
7432 }
7433 #[repr(C)]
7434 pub struct D3DKMT_DESTROYOVERLAY {
7435 pub hDevice: u32,
7436 pub hOverlay: u32,
7437 }
7438 impl ::core::marker::Copy for D3DKMT_DESTROYOVERLAY {}
7439 impl ::core::clone::Clone for D3DKMT_DESTROYOVERLAY {
7440 fn clone(&self) -> Self {
7441 *self
7442 }
7443 }
7444 #[repr(C)]
7445 pub struct D3DKMT_DESTROYPROTECTEDSESSION {
7446 pub hHandle: u32,
7447 }
7448 impl ::core::marker::Copy for D3DKMT_DESTROYPROTECTEDSESSION {}
7449 impl ::core::clone::Clone for D3DKMT_DESTROYPROTECTEDSESSION {
7450 fn clone(&self) -> Self {
7451 *self
7452 }
7453 }
7454 #[repr(C)]
7455 pub struct D3DKMT_DESTROYSYNCHRONIZATIONOBJECT {
7456 pub hSyncObject: u32,
7457 }
7458 impl ::core::marker::Copy for D3DKMT_DESTROYSYNCHRONIZATIONOBJECT {}
7459 impl ::core::clone::Clone for D3DKMT_DESTROYSYNCHRONIZATIONOBJECT {
7460 fn clone(&self) -> Self {
7461 *self
7462 }
7463 }
7464 #[repr(C)]
7465 pub struct D3DKMT_DESTROY_DOORBELL {
7466 pub hHwQueue: u32,
7467 }
7468 impl ::core::marker::Copy for D3DKMT_DESTROY_DOORBELL {}
7469 impl ::core::clone::Clone for D3DKMT_DESTROY_DOORBELL {
7470 fn clone(&self) -> Self {
7471 *self
7472 }
7473 }
7474 #[repr(C)]
7475 #[doc = "Required features: `\"Win32_Foundation\"`"]
7476 #[cfg(feature = "Win32_Foundation")]
7477 pub struct D3DKMT_DESTROY_OUTPUTDUPL {
7478 pub hAdapter: u32,
7479 pub VidPnSourceId: u32,
7480 pub bDestroyAllContexts: super::super::super::Win32::Foundation::BOOL,
7481 }
7482 #[cfg(feature = "Win32_Foundation")]
7483 impl ::core::marker::Copy for D3DKMT_DESTROY_OUTPUTDUPL {}
7484 #[cfg(feature = "Win32_Foundation")]
7485 impl ::core::clone::Clone for D3DKMT_DESTROY_OUTPUTDUPL {
7486 fn clone(&self) -> Self {
7487 *self
7488 }
7489 }
7490 #[repr(C)]
7491 pub struct D3DKMT_DEVICEPAGEFAULT_STATE {
7492 pub FaultedPrimitiveAPISequenceNumber: u64,
7493 pub FaultedPipelineStage: DXGK_RENDER_PIPELINE_STAGE,
7494 pub FaultedBindTableEntry: u32,
7495 pub PageFaultFlags: DXGK_PAGE_FAULT_FLAGS,
7496 pub FaultErrorCode: DXGK_FAULT_ERROR_CODE,
7497 pub FaultedVirtualAddress: u64,
7498 }
7499 impl ::core::marker::Copy for D3DKMT_DEVICEPAGEFAULT_STATE {}
7500 impl ::core::clone::Clone for D3DKMT_DEVICEPAGEFAULT_STATE {
7501 fn clone(&self) -> Self {
7502 *self
7503 }
7504 }
7505 #[repr(C)]
7506 #[doc = "Required features: `\"Win32_Foundation\"`"]
7507 #[cfg(feature = "Win32_Foundation")]
7508 pub struct D3DKMT_DEVICEPRESENT_QUEUE_STATE {
7509 pub VidPnSourceId: u32,
7510 pub bQueuedPresentLimitReached: super::super::super::Win32::Foundation::BOOLEAN,
7511 }
7512 #[cfg(feature = "Win32_Foundation")]
7513 impl ::core::marker::Copy for D3DKMT_DEVICEPRESENT_QUEUE_STATE {}
7514 #[cfg(feature = "Win32_Foundation")]
7515 impl ::core::clone::Clone for D3DKMT_DEVICEPRESENT_QUEUE_STATE {
7516 fn clone(&self) -> Self {
7517 *self
7518 }
7519 }
7520 #[repr(C)]
7521 pub struct D3DKMT_DEVICEPRESENT_STATE {
7522 pub VidPnSourceId: u32,
7523 pub PresentStats: D3DKMT_PRESENT_STATS,
7524 }
7525 impl ::core::marker::Copy for D3DKMT_DEVICEPRESENT_STATE {}
7526 impl ::core::clone::Clone for D3DKMT_DEVICEPRESENT_STATE {
7527 fn clone(&self) -> Self {
7528 *self
7529 }
7530 }
7531 #[repr(C)]
7532 pub struct D3DKMT_DEVICEPRESENT_STATE_DWM {
7533 pub VidPnSourceId: u32,
7534 pub PresentStatsDWM: D3DKMT_PRESENT_STATS_DWM,
7535 }
7536 impl ::core::marker::Copy for D3DKMT_DEVICEPRESENT_STATE_DWM {}
7537 impl ::core::clone::Clone for D3DKMT_DEVICEPRESENT_STATE_DWM {
7538 fn clone(&self) -> Self {
7539 *self
7540 }
7541 }
7542 #[repr(C)]
7543 pub struct D3DKMT_DEVICERESET_STATE {
7544 pub Anonymous: D3DKMT_DEVICERESET_STATE_0,
7545 }
7546 impl ::core::marker::Copy for D3DKMT_DEVICERESET_STATE {}
7547 impl ::core::clone::Clone for D3DKMT_DEVICERESET_STATE {
7548 fn clone(&self) -> Self {
7549 *self
7550 }
7551 }
7552 #[repr(C)]
7553 pub union D3DKMT_DEVICERESET_STATE_0 {
7554 pub Anonymous: D3DKMT_DEVICERESET_STATE_0_0,
7555 pub Value: u32,
7556 }
7557 impl ::core::marker::Copy for D3DKMT_DEVICERESET_STATE_0 {}
7558 impl ::core::clone::Clone for D3DKMT_DEVICERESET_STATE_0 {
7559 fn clone(&self) -> Self {
7560 *self
7561 }
7562 }
7563 #[repr(C)]
7564 pub struct D3DKMT_DEVICERESET_STATE_0_0 {
7565 pub _bitfield: u32,
7566 }
7567 impl ::core::marker::Copy for D3DKMT_DEVICERESET_STATE_0_0 {}
7568 impl ::core::clone::Clone for D3DKMT_DEVICERESET_STATE_0_0 {
7569 fn clone(&self) -> Self {
7570 *self
7571 }
7572 }
7573 #[repr(C)]
7574 pub struct D3DKMT_DEVICE_ESCAPE {
7575 pub Type: D3DKMT_DEVICEESCAPE_TYPE,
7576 pub Anonymous: D3DKMT_DEVICE_ESCAPE_0,
7577 }
7578 impl ::core::marker::Copy for D3DKMT_DEVICE_ESCAPE {}
7579 impl ::core::clone::Clone for D3DKMT_DEVICE_ESCAPE {
7580 fn clone(&self) -> Self {
7581 *self
7582 }
7583 }
7584 #[repr(C)]
7585 pub union D3DKMT_DEVICE_ESCAPE_0 {
7586 pub VidPnFromAllocation: D3DKMT_DEVICE_ESCAPE_0_0,
7587 }
7588 impl ::core::marker::Copy for D3DKMT_DEVICE_ESCAPE_0 {}
7589 impl ::core::clone::Clone for D3DKMT_DEVICE_ESCAPE_0 {
7590 fn clone(&self) -> Self {
7591 *self
7592 }
7593 }
7594 #[repr(C)]
7595 pub struct D3DKMT_DEVICE_ESCAPE_0_0 {
7596 pub hPrimaryAllocation: u32,
7597 pub VidPnSourceId: u32,
7598 }
7599 impl ::core::marker::Copy for D3DKMT_DEVICE_ESCAPE_0_0 {}
7600 impl ::core::clone::Clone for D3DKMT_DEVICE_ESCAPE_0_0 {
7601 fn clone(&self) -> Self {
7602 *self
7603 }
7604 }
7605 #[repr(C)]
7606 pub struct D3DKMT_DEVICE_IDS {
7607 pub VendorID: u32,
7608 pub DeviceID: u32,
7609 pub SubVendorID: u32,
7610 pub SubSystemID: u32,
7611 pub RevisionID: u32,
7612 pub BusType: u32,
7613 }
7614 impl ::core::marker::Copy for D3DKMT_DEVICE_IDS {}
7615 impl ::core::clone::Clone for D3DKMT_DEVICE_IDS {
7616 fn clone(&self) -> Self {
7617 *self
7618 }
7619 }
7620 #[repr(C)]
7621 #[doc = "Required features: `\"Win32_Foundation\"`"]
7622 #[cfg(feature = "Win32_Foundation")]
7623 pub struct D3DKMT_DIRECTFLIP_SUPPORT {
7624 pub Supported: super::super::super::Win32::Foundation::BOOL,
7625 }
7626 #[cfg(feature = "Win32_Foundation")]
7627 impl ::core::marker::Copy for D3DKMT_DIRECTFLIP_SUPPORT {}
7628 #[cfg(feature = "Win32_Foundation")]
7629 impl ::core::clone::Clone for D3DKMT_DIRECTFLIP_SUPPORT {
7630 fn clone(&self) -> Self {
7631 *self
7632 }
7633 }
7634 #[repr(C)]
7635 #[doc = "Required features: `\"Win32_Foundation\"`"]
7636 #[cfg(feature = "Win32_Foundation")]
7637 pub struct D3DKMT_DIRTYREGIONS {
7638 pub NumRects: u32,
7639 pub Rects: [super::super::super::Win32::Foundation::RECT; 16],
7640 }
7641 #[cfg(feature = "Win32_Foundation")]
7642 impl ::core::marker::Copy for D3DKMT_DIRTYREGIONS {}
7643 #[cfg(feature = "Win32_Foundation")]
7644 impl ::core::clone::Clone for D3DKMT_DIRTYREGIONS {
7645 fn clone(&self) -> Self {
7646 *self
7647 }
7648 }
7649 #[repr(C)]
7650 pub struct D3DKMT_DISPLAYMODE {
7651 pub Width: u32,
7652 pub Height: u32,
7653 pub Format: D3DDDIFORMAT,
7654 pub IntegerRefreshRate: u32,
7655 pub RefreshRate: D3DDDI_RATIONAL,
7656 pub ScanLineOrdering: D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING,
7657 pub DisplayOrientation: D3DDDI_ROTATION,
7658 pub DisplayFixedOutput: u32,
7659 pub Flags: D3DKMDT_DISPLAYMODE_FLAGS,
7660 }
7661 impl ::core::marker::Copy for D3DKMT_DISPLAYMODE {}
7662 impl ::core::clone::Clone for D3DKMT_DISPLAYMODE {
7663 fn clone(&self) -> Self {
7664 *self
7665 }
7666 }
7667 #[repr(C)]
7668 pub struct D3DKMT_DISPLAYMODELIST {
7669 pub VidPnSourceId: u32,
7670 pub ModeCount: u32,
7671 pub pModeList: [D3DKMT_DISPLAYMODE; 1],
7672 }
7673 impl ::core::marker::Copy for D3DKMT_DISPLAYMODELIST {}
7674 impl ::core::clone::Clone for D3DKMT_DISPLAYMODELIST {
7675 fn clone(&self) -> Self {
7676 *self
7677 }
7678 }
7679 #[repr(C)]
7680 pub struct D3DKMT_DISPLAY_CAPS {
7681 pub Anonymous: D3DKMT_DISPLAY_CAPS_0,
7682 }
7683 impl ::core::marker::Copy for D3DKMT_DISPLAY_CAPS {}
7684 impl ::core::clone::Clone for D3DKMT_DISPLAY_CAPS {
7685 fn clone(&self) -> Self {
7686 *self
7687 }
7688 }
7689 #[repr(C, packed(1))]
7690 pub union D3DKMT_DISPLAY_CAPS_0 {
7691 pub Anonymous: D3DKMT_DISPLAY_CAPS_0_0,
7692 pub Value: u64,
7693 }
7694 impl ::core::marker::Copy for D3DKMT_DISPLAY_CAPS_0 {}
7695 impl ::core::clone::Clone for D3DKMT_DISPLAY_CAPS_0 {
7696 fn clone(&self) -> Self {
7697 *self
7698 }
7699 }
7700 #[repr(C, packed(1))]
7701 pub struct D3DKMT_DISPLAY_CAPS_0_0 {
7702 pub _bitfield: u64,
7703 }
7704 impl ::core::marker::Copy for D3DKMT_DISPLAY_CAPS_0_0 {}
7705 impl ::core::clone::Clone for D3DKMT_DISPLAY_CAPS_0_0 {
7706 fn clone(&self) -> Self {
7707 *self
7708 }
7709 }
7710 #[repr(C)]
7711 pub struct D3DKMT_DISPLAY_UMD_FILENAMEINFO {
7712 pub Version: KMT_DISPLAY_UMD_VERSION,
7713 pub UmdFileName: [u16; 260],
7714 }
7715 impl ::core::marker::Copy for D3DKMT_DISPLAY_UMD_FILENAMEINFO {}
7716 impl ::core::clone::Clone for D3DKMT_DISPLAY_UMD_FILENAMEINFO {
7717 fn clone(&self) -> Self {
7718 *self
7719 }
7720 }
7721 #[repr(C)]
7722 pub struct D3DKMT_DLIST_DRIVER_NAME {
7723 pub DListFileName: [u16; 260],
7724 }
7725 impl ::core::marker::Copy for D3DKMT_DLIST_DRIVER_NAME {}
7726 impl ::core::clone::Clone for D3DKMT_DLIST_DRIVER_NAME {
7727 fn clone(&self) -> Self {
7728 *self
7729 }
7730 }
7731 #[repr(C)]
7732 pub struct D3DKMT_DMM_ESCAPE {
7733 pub Type: D3DKMT_DMMESCAPETYPE,
7734 pub ProvidedBufferSize: usize,
7735 pub MinRequiredBufferSize: usize,
7736 pub Data: [u8; 1],
7737 }
7738 impl ::core::marker::Copy for D3DKMT_DMM_ESCAPE {}
7739 impl ::core::clone::Clone for D3DKMT_DMM_ESCAPE {
7740 fn clone(&self) -> Self {
7741 *self
7742 }
7743 }
7744 #[repr(C)]
7745 #[doc = "Required features: `\"Win32_Foundation\"`"]
7746 #[cfg(feature = "Win32_Foundation")]
7747 pub struct D3DKMT_DOD_SET_DIRTYRECT_MODE {
7748 pub bForceFullScreenDirty: super::super::super::Win32::Foundation::BOOL,
7749 }
7750 #[cfg(feature = "Win32_Foundation")]
7751 impl ::core::marker::Copy for D3DKMT_DOD_SET_DIRTYRECT_MODE {}
7752 #[cfg(feature = "Win32_Foundation")]
7753 impl ::core::clone::Clone for D3DKMT_DOD_SET_DIRTYRECT_MODE {
7754 fn clone(&self) -> Self {
7755 *self
7756 }
7757 }
7758 #[repr(C)]
7759 pub struct D3DKMT_DRIVERCAPS_EXT {
7760 pub Anonymous: D3DKMT_DRIVERCAPS_EXT_0,
7761 }
7762 impl ::core::marker::Copy for D3DKMT_DRIVERCAPS_EXT {}
7763 impl ::core::clone::Clone for D3DKMT_DRIVERCAPS_EXT {
7764 fn clone(&self) -> Self {
7765 *self
7766 }
7767 }
7768 #[repr(C, packed(1))]
7769 pub union D3DKMT_DRIVERCAPS_EXT_0 {
7770 pub Anonymous: D3DKMT_DRIVERCAPS_EXT_0_0,
7771 pub Value: u32,
7772 }
7773 impl ::core::marker::Copy for D3DKMT_DRIVERCAPS_EXT_0 {}
7774 impl ::core::clone::Clone for D3DKMT_DRIVERCAPS_EXT_0 {
7775 fn clone(&self) -> Self {
7776 *self
7777 }
7778 }
7779 #[repr(C, packed(1))]
7780 pub struct D3DKMT_DRIVERCAPS_EXT_0_0 {
7781 pub _bitfield: u32,
7782 }
7783 impl ::core::marker::Copy for D3DKMT_DRIVERCAPS_EXT_0_0 {}
7784 impl ::core::clone::Clone for D3DKMT_DRIVERCAPS_EXT_0_0 {
7785 fn clone(&self) -> Self {
7786 *self
7787 }
7788 }
7789 #[repr(C)]
7790 pub struct D3DKMT_DRIVER_DESCRIPTION {
7791 pub DriverDescription: [u16; 4096],
7792 }
7793 impl ::core::marker::Copy for D3DKMT_DRIVER_DESCRIPTION {}
7794 impl ::core::clone::Clone for D3DKMT_DRIVER_DESCRIPTION {
7795 fn clone(&self) -> Self {
7796 *self
7797 }
7798 }
7799 #[repr(C)]
7800 #[doc = "Required features: `\"Win32_Foundation\"`"]
7801 #[cfg(feature = "Win32_Foundation")]
7802 pub struct D3DKMT_ENUMADAPTERS {
7803 pub NumAdapters: u32,
7804 pub Adapters: [D3DKMT_ADAPTERINFO; 16],
7805 }
7806 #[cfg(feature = "Win32_Foundation")]
7807 impl ::core::marker::Copy for D3DKMT_ENUMADAPTERS {}
7808 #[cfg(feature = "Win32_Foundation")]
7809 impl ::core::clone::Clone for D3DKMT_ENUMADAPTERS {
7810 fn clone(&self) -> Self {
7811 *self
7812 }
7813 }
7814 #[repr(C)]
7815 #[doc = "Required features: `\"Win32_Foundation\"`"]
7816 #[cfg(feature = "Win32_Foundation")]
7817 pub struct D3DKMT_ENUMADAPTERS2 {
7818 pub NumAdapters: u32,
7819 pub pAdapters: *mut D3DKMT_ADAPTERINFO,
7820 }
7821 #[cfg(feature = "Win32_Foundation")]
7822 impl ::core::marker::Copy for D3DKMT_ENUMADAPTERS2 {}
7823 #[cfg(feature = "Win32_Foundation")]
7824 impl ::core::clone::Clone for D3DKMT_ENUMADAPTERS2 {
7825 fn clone(&self) -> Self {
7826 *self
7827 }
7828 }
7829 #[repr(C)]
7830 #[doc = "Required features: `\"Win32_Foundation\"`"]
7831 #[cfg(feature = "Win32_Foundation")]
7832 pub struct D3DKMT_ENUMADAPTERS3 {
7833 pub Filter: D3DKMT_ENUMADAPTERS_FILTER,
7834 pub NumAdapters: u32,
7835 pub pAdapters: *mut D3DKMT_ADAPTERINFO,
7836 }
7837 #[cfg(feature = "Win32_Foundation")]
7838 impl ::core::marker::Copy for D3DKMT_ENUMADAPTERS3 {}
7839 #[cfg(feature = "Win32_Foundation")]
7840 impl ::core::clone::Clone for D3DKMT_ENUMADAPTERS3 {
7841 fn clone(&self) -> Self {
7842 *self
7843 }
7844 }
7845 #[repr(C)]
7846 pub union D3DKMT_ENUMADAPTERS_FILTER {
7847 pub Anonymous: D3DKMT_ENUMADAPTERS_FILTER_0,
7848 pub Value: u64,
7849 }
7850 impl ::core::marker::Copy for D3DKMT_ENUMADAPTERS_FILTER {}
7851 impl ::core::clone::Clone for D3DKMT_ENUMADAPTERS_FILTER {
7852 fn clone(&self) -> Self {
7853 *self
7854 }
7855 }
7856 #[repr(C)]
7857 pub struct D3DKMT_ENUMADAPTERS_FILTER_0 {
7858 pub _bitfield: u64,
7859 }
7860 impl ::core::marker::Copy for D3DKMT_ENUMADAPTERS_FILTER_0 {}
7861 impl ::core::clone::Clone for D3DKMT_ENUMADAPTERS_FILTER_0 {
7862 fn clone(&self) -> Self {
7863 *self
7864 }
7865 }
7866 #[repr(C)]
7867 pub struct D3DKMT_ESCAPE {
7868 pub hAdapter: u32,
7869 pub hDevice: u32,
7870 pub Type: D3DKMT_ESCAPETYPE,
7871 pub Flags: D3DDDI_ESCAPEFLAGS,
7872 pub pPrivateDriverData: *mut ::core::ffi::c_void,
7873 pub PrivateDriverDataSize: u32,
7874 pub hContext: u32,
7875 }
7876 impl ::core::marker::Copy for D3DKMT_ESCAPE {}
7877 impl ::core::clone::Clone for D3DKMT_ESCAPE {
7878 fn clone(&self) -> Self {
7879 *self
7880 }
7881 }
7882 #[repr(C)]
7883 #[doc = "Required features: `\"Win32_Foundation\"`"]
7884 #[cfg(feature = "Win32_Foundation")]
7885 pub struct D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE {
7886 pub Type: D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE,
7887 pub VidPnSourceId: u32,
7888 pub ProcessBoostEligible: super::super::super::Win32::Foundation::BOOLEAN,
7889 pub VSyncMultiplier: u32,
7890 pub BaseDesktopDuration: u32,
7891 pub Reserved: [u8; 16],
7892 }
7893 #[cfg(feature = "Win32_Foundation")]
7894 impl ::core::marker::Copy for D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE {}
7895 #[cfg(feature = "Win32_Foundation")]
7896 impl ::core::clone::Clone for D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE {
7897 fn clone(&self) -> Self {
7898 *self
7899 }
7900 }
7901 #[repr(C)]
7902 pub struct D3DKMT_EVICT {
7903 pub hDevice: u32,
7904 pub NumAllocations: u32,
7905 pub AllocationList: *const u32,
7906 pub Flags: D3DDDI_EVICT_FLAGS,
7907 pub NumBytesToTrim: u64,
7908 }
7909 impl ::core::marker::Copy for D3DKMT_EVICT {}
7910 impl ::core::clone::Clone for D3DKMT_EVICT {
7911 fn clone(&self) -> Self {
7912 *self
7913 }
7914 }
7915 #[repr(C)]
7916 pub struct D3DKMT_EVICTION_CRITERIA {
7917 pub MinimumSize: u64,
7918 pub MaximumSize: u64,
7919 pub Anonymous: D3DKMT_EVICTION_CRITERIA_0,
7920 }
7921 impl ::core::marker::Copy for D3DKMT_EVICTION_CRITERIA {}
7922 impl ::core::clone::Clone for D3DKMT_EVICTION_CRITERIA {
7923 fn clone(&self) -> Self {
7924 *self
7925 }
7926 }
7927 #[repr(C)]
7928 pub struct D3DKMT_EVICTION_CRITERIA_0 {
7929 pub Anonymous: D3DKMT_EVICTION_CRITERIA_0_0,
7930 }
7931 impl ::core::marker::Copy for D3DKMT_EVICTION_CRITERIA_0 {}
7932 impl ::core::clone::Clone for D3DKMT_EVICTION_CRITERIA_0 {
7933 fn clone(&self) -> Self {
7934 *self
7935 }
7936 }
7937 #[repr(C)]
7938 pub union D3DKMT_EVICTION_CRITERIA_0_0 {
7939 pub Flags: D3DKMT_EVICTION_CRITERIA_0_0_0,
7940 pub Value: u32,
7941 }
7942 impl ::core::marker::Copy for D3DKMT_EVICTION_CRITERIA_0_0 {}
7943 impl ::core::clone::Clone for D3DKMT_EVICTION_CRITERIA_0_0 {
7944 fn clone(&self) -> Self {
7945 *self
7946 }
7947 }
7948 #[repr(C)]
7949 pub struct D3DKMT_EVICTION_CRITERIA_0_0_0 {
7950 pub _bitfield: u32,
7951 }
7952 impl ::core::marker::Copy for D3DKMT_EVICTION_CRITERIA_0_0_0 {}
7953 impl ::core::clone::Clone for D3DKMT_EVICTION_CRITERIA_0_0_0 {
7954 fn clone(&self) -> Self {
7955 *self
7956 }
7957 }
7958 #[repr(C)]
7959 pub struct D3DKMT_FENCE_PRESENTHISTORYTOKEN {
7960 pub Key: u64,
7961 }
7962 impl ::core::marker::Copy for D3DKMT_FENCE_PRESENTHISTORYTOKEN {}
7963 impl ::core::clone::Clone for D3DKMT_FENCE_PRESENTHISTORYTOKEN {
7964 fn clone(&self) -> Self {
7965 *self
7966 }
7967 }
7968 #[repr(C)]
7969 pub struct D3DKMT_FLIPINFOFLAGS {
7970 pub _bitfield: u32,
7971 }
7972 impl ::core::marker::Copy for D3DKMT_FLIPINFOFLAGS {}
7973 impl ::core::clone::Clone for D3DKMT_FLIPINFOFLAGS {
7974 fn clone(&self) -> Self {
7975 *self
7976 }
7977 }
7978 #[repr(C)]
7979 #[doc = "Required features: `\"Win32_Foundation\"`"]
7980 #[cfg(feature = "Win32_Foundation")]
7981 pub struct D3DKMT_FLIPMANAGER_AUXILIARYPRESENTINFO {
7982 pub auxiliaryPresentInfo: D3DKMT_AUXILIARYPRESENTINFO,
7983 pub flipManagerTracingId: u32,
7984 pub customDurationChanged: super::super::super::Win32::Foundation::BOOL,
7985 pub FlipAdapterLuid: super::super::super::Win32::Foundation::LUID,
7986 pub VidPnSourceId: u32,
7987 pub independentFlipStage: D3DKMT_FLIPMODEL_INDEPENDENT_FLIP_STAGE,
7988 pub FlipCompletedQpc: u64,
7989 pub HwPresentDurationQpc: u32,
7990 pub WasCanceled: super::super::super::Win32::Foundation::BOOL,
7991 pub ConvertedToNonIFlip: super::super::super::Win32::Foundation::BOOL,
7992 }
7993 #[cfg(feature = "Win32_Foundation")]
7994 impl ::core::marker::Copy for D3DKMT_FLIPMANAGER_AUXILIARYPRESENTINFO {}
7995 #[cfg(feature = "Win32_Foundation")]
7996 impl ::core::clone::Clone for D3DKMT_FLIPMANAGER_AUXILIARYPRESENTINFO {
7997 fn clone(&self) -> Self {
7998 *self
7999 }
8000 }
8001 #[repr(C)]
8002 pub struct D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN {
8003 pub hPrivateData: u64,
8004 pub PresentAtQpc: u64,
8005 pub Flags: D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN_0,
8006 }
8007 impl ::core::marker::Copy for D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN {}
8008 impl ::core::clone::Clone for D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN {
8009 fn clone(&self) -> Self {
8010 *self
8011 }
8012 }
8013 #[repr(C)]
8014 pub union D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN_0 {
8015 pub Anonymous: D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN_0_0,
8016 pub Value: u32,
8017 }
8018 impl ::core::marker::Copy for D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN_0 {}
8019 impl ::core::clone::Clone for D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN_0 {
8020 fn clone(&self) -> Self {
8021 *self
8022 }
8023 }
8024 #[repr(C)]
8025 pub struct D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN_0_0 {
8026 pub _bitfield: u32,
8027 }
8028 impl ::core::marker::Copy for D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN_0_0 {}
8029 impl ::core::clone::Clone for D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN_0_0 {
8030 fn clone(&self) -> Self {
8031 *self
8032 }
8033 }
8034 #[repr(C)]
8035 #[doc = "Required features: `\"Win32_Foundation\"`"]
8036 #[cfg(feature = "Win32_Foundation")]
8037 pub struct D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN {
8038 pub FenceValue: u64,
8039 pub hLogicalSurface: u64,
8040 pub dxgContext: usize,
8041 pub VidPnSourceId: u32,
8042 pub SwapChainIndex: u32,
8043 pub PresentLimitSemaphoreId: u64,
8044 pub FlipInterval: D3DDDI_FLIPINTERVAL_TYPE,
8045 pub Flags: D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS,
8046 pub hCompSurf: i64,
8047 pub compSurfLuid: super::super::super::Win32::Foundation::LUID,
8048 pub confirmationCookie: u64,
8049 pub CompositionSyncKey: u64,
8050 pub RemainingTokens: u32,
8051 pub ScrollRect: super::super::super::Win32::Foundation::RECT,
8052 pub ScrollOffset: super::super::super::Win32::Foundation::POINT,
8053 pub PresentCount: u32,
8054 pub RevealColor: [f32; 4],
8055 pub Rotation: D3DDDI_ROTATION,
8056 pub Anonymous: D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0,
8057 pub InkCookie: u32,
8058 pub SourceRect: super::super::super::Win32::Foundation::RECT,
8059 pub DestWidth: u32,
8060 pub DestHeight: u32,
8061 pub TargetRect: super::super::super::Win32::Foundation::RECT,
8062 pub Transform: [f32; 6],
8063 pub CustomDuration: u32,
8064 pub CustomDurationFlipInterval: D3DDDI_FLIPINTERVAL_TYPE,
8065 pub PlaneIndex: u32,
8066 pub ColorSpace: D3DDDI_COLOR_SPACE_TYPE,
8067 pub DirtyRegions: D3DKMT_DIRTYREGIONS,
8068 }
8069 #[cfg(feature = "Win32_Foundation")]
8070 impl ::core::marker::Copy for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN {}
8071 #[cfg(feature = "Win32_Foundation")]
8072 impl ::core::clone::Clone for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN {
8073 fn clone(&self) -> Self {
8074 *self
8075 }
8076 }
8077 #[repr(C)]
8078 #[doc = "Required features: `\"Win32_Foundation\"`"]
8079 #[cfg(feature = "Win32_Foundation")]
8080 pub union D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0 {
8081 pub ScatterBlts: D3DKMT_SCATTERBLTS,
8082 pub Anonymous: D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0_0,
8083 }
8084 #[cfg(feature = "Win32_Foundation")]
8085 impl ::core::marker::Copy for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0 {}
8086 #[cfg(feature = "Win32_Foundation")]
8087 impl ::core::clone::Clone for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0 {
8088 fn clone(&self) -> Self {
8089 *self
8090 }
8091 }
8092 #[repr(C)]
8093 #[doc = "Required features: `\"Win32_Foundation\"`"]
8094 #[cfg(feature = "Win32_Foundation")]
8095 pub struct D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0_0 {
8096 pub hSyncObject: super::super::super::Win32::Foundation::HANDLE,
8097 pub HDRMetaDataType: D3DDDI_HDR_METADATA_TYPE,
8098 pub Anonymous: D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0_0_0,
8099 }
8100 #[cfg(feature = "Win32_Foundation")]
8101 impl ::core::marker::Copy for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0_0 {}
8102 #[cfg(feature = "Win32_Foundation")]
8103 impl ::core::clone::Clone for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0_0 {
8104 fn clone(&self) -> Self {
8105 *self
8106 }
8107 }
8108 #[repr(C)]
8109 #[doc = "Required features: `\"Win32_Foundation\"`"]
8110 #[cfg(feature = "Win32_Foundation")]
8111 pub union D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0_0_0 {
8112 pub HDRMetaDataHDR10: D3DDDI_HDR_METADATA_HDR10,
8113 pub HDRMetaDataHDR10Plus: D3DDDI_HDR_METADATA_HDR10PLUS,
8114 }
8115 #[cfg(feature = "Win32_Foundation")]
8116 impl ::core::marker::Copy for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0_0_0 {}
8117 #[cfg(feature = "Win32_Foundation")]
8118 impl ::core::clone::Clone for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0_0_0 {
8119 fn clone(&self) -> Self {
8120 *self
8121 }
8122 }
8123 #[repr(C)]
8124 pub struct D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS {
8125 pub Anonymous: D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS_0,
8126 }
8127 impl ::core::marker::Copy for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS {}
8128 impl ::core::clone::Clone for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS {
8129 fn clone(&self) -> Self {
8130 *self
8131 }
8132 }
8133 #[repr(C)]
8134 pub union D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS_0 {
8135 pub Anonymous: D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS_0_0,
8136 pub Value: u32,
8137 }
8138 impl ::core::marker::Copy for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS_0 {}
8139 impl ::core::clone::Clone for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS_0 {
8140 fn clone(&self) -> Self {
8141 *self
8142 }
8143 }
8144 #[repr(C)]
8145 pub struct D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS_0_0 {
8146 pub _bitfield: u32,
8147 }
8148 impl ::core::marker::Copy for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS_0_0 {}
8149 impl ::core::clone::Clone for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS_0_0 {
8150 fn clone(&self) -> Self {
8151 *self
8152 }
8153 }
8154 #[repr(C)]
8155 pub struct D3DKMT_FLIPOVERLAY {
8156 pub hDevice: u32,
8157 pub hOverlay: u32,
8158 pub hSource: u32,
8159 pub pPrivateDriverData: *mut ::core::ffi::c_void,
8160 pub PrivateDriverDataSize: u32,
8161 }
8162 impl ::core::marker::Copy for D3DKMT_FLIPOVERLAY {}
8163 impl ::core::clone::Clone for D3DKMT_FLIPOVERLAY {
8164 fn clone(&self) -> Self {
8165 *self
8166 }
8167 }
8168 #[repr(C)]
8169 pub struct D3DKMT_FLIPQUEUEINFO {
8170 pub MaxHardwareFlipQueueLength: u32,
8171 pub MaxSoftwareFlipQueueLength: u32,
8172 pub FlipFlags: D3DKMT_FLIPINFOFLAGS,
8173 }
8174 impl ::core::marker::Copy for D3DKMT_FLIPQUEUEINFO {}
8175 impl ::core::clone::Clone for D3DKMT_FLIPQUEUEINFO {
8176 fn clone(&self) -> Self {
8177 *self
8178 }
8179 }
8180 #[repr(C)]
8181 pub struct D3DKMT_FLUSHHEAPTRANSITIONS {
8182 pub hAdapter: u32,
8183 }
8184 impl ::core::marker::Copy for D3DKMT_FLUSHHEAPTRANSITIONS {}
8185 impl ::core::clone::Clone for D3DKMT_FLUSHHEAPTRANSITIONS {
8186 fn clone(&self) -> Self {
8187 *self
8188 }
8189 }
8190 #[repr(C)]
8191 pub struct D3DKMT_FREEGPUVIRTUALADDRESS {
8192 pub hAdapter: u32,
8193 pub BaseAddress: u64,
8194 pub Size: u64,
8195 }
8196 impl ::core::marker::Copy for D3DKMT_FREEGPUVIRTUALADDRESS {}
8197 impl ::core::clone::Clone for D3DKMT_FREEGPUVIRTUALADDRESS {
8198 fn clone(&self) -> Self {
8199 *self
8200 }
8201 }
8202 #[repr(C)]
8203 #[doc = "Required features: `\"Win32_Foundation\"`"]
8204 #[cfg(feature = "Win32_Foundation")]
8205 pub struct D3DKMT_GDIMODEL_PRESENTHISTORYTOKEN {
8206 pub hLogicalSurface: u64,
8207 pub hPhysicalSurface: u64,
8208 pub ScrollRect: super::super::super::Win32::Foundation::RECT,
8209 pub ScrollOffset: super::super::super::Win32::Foundation::POINT,
8210 pub DirtyRegions: D3DKMT_DIRTYREGIONS,
8211 }
8212 #[cfg(feature = "Win32_Foundation")]
8213 impl ::core::marker::Copy for D3DKMT_GDIMODEL_PRESENTHISTORYTOKEN {}
8214 #[cfg(feature = "Win32_Foundation")]
8215 impl ::core::clone::Clone for D3DKMT_GDIMODEL_PRESENTHISTORYTOKEN {
8216 fn clone(&self) -> Self {
8217 *self
8218 }
8219 }
8220 #[repr(C)]
8221 pub struct D3DKMT_GDIMODEL_SYSMEM_PRESENTHISTORYTOKEN {
8222 pub hlsurf: u64,
8223 pub dwDirtyFlags: u32,
8224 pub uiCookie: u64,
8225 }
8226 impl ::core::marker::Copy for D3DKMT_GDIMODEL_SYSMEM_PRESENTHISTORYTOKEN {}
8227 impl ::core::clone::Clone for D3DKMT_GDIMODEL_SYSMEM_PRESENTHISTORYTOKEN {
8228 fn clone(&self) -> Self {
8229 *self
8230 }
8231 }
8232 #[repr(C)]
8233 pub struct D3DKMT_GETALLOCATIONPRIORITY {
8234 pub hDevice: u32,
8235 pub hResource: u32,
8236 pub phAllocationList: *const u32,
8237 pub AllocationCount: u32,
8238 pub pPriorities: *mut u32,
8239 }
8240 impl ::core::marker::Copy for D3DKMT_GETALLOCATIONPRIORITY {}
8241 impl ::core::clone::Clone for D3DKMT_GETALLOCATIONPRIORITY {
8242 fn clone(&self) -> Self {
8243 *self
8244 }
8245 }
8246 #[repr(C)]
8247 pub struct D3DKMT_GETCONTEXTINPROCESSSCHEDULINGPRIORITY {
8248 pub hContext: u32,
8249 pub Priority: i32,
8250 }
8251 impl ::core::marker::Copy for D3DKMT_GETCONTEXTINPROCESSSCHEDULINGPRIORITY {}
8252 impl ::core::clone::Clone for D3DKMT_GETCONTEXTINPROCESSSCHEDULINGPRIORITY {
8253 fn clone(&self) -> Self {
8254 *self
8255 }
8256 }
8257 #[repr(C)]
8258 pub struct D3DKMT_GETCONTEXTSCHEDULINGPRIORITY {
8259 pub hContext: u32,
8260 pub Priority: i32,
8261 }
8262 impl ::core::marker::Copy for D3DKMT_GETCONTEXTSCHEDULINGPRIORITY {}
8263 impl ::core::clone::Clone for D3DKMT_GETCONTEXTSCHEDULINGPRIORITY {
8264 fn clone(&self) -> Self {
8265 *self
8266 }
8267 }
8268 #[repr(C)]
8269 #[doc = "Required features: `\"Win32_Foundation\"`"]
8270 #[cfg(feature = "Win32_Foundation")]
8271 pub struct D3DKMT_GETDEVICESTATE {
8272 pub hDevice: u32,
8273 pub StateType: D3DKMT_DEVICESTATE_TYPE,
8274 pub Anonymous: D3DKMT_GETDEVICESTATE_0,
8275 }
8276 #[cfg(feature = "Win32_Foundation")]
8277 impl ::core::marker::Copy for D3DKMT_GETDEVICESTATE {}
8278 #[cfg(feature = "Win32_Foundation")]
8279 impl ::core::clone::Clone for D3DKMT_GETDEVICESTATE {
8280 fn clone(&self) -> Self {
8281 *self
8282 }
8283 }
8284 #[repr(C)]
8285 #[doc = "Required features: `\"Win32_Foundation\"`"]
8286 #[cfg(feature = "Win32_Foundation")]
8287 pub union D3DKMT_GETDEVICESTATE_0 {
8288 pub ExecutionState: D3DKMT_DEVICEEXECUTION_STATE,
8289 pub PresentState: D3DKMT_DEVICEPRESENT_STATE,
8290 pub ResetState: D3DKMT_DEVICERESET_STATE,
8291 pub PresentStateDWM: D3DKMT_DEVICEPRESENT_STATE_DWM,
8292 pub PageFaultState: D3DKMT_DEVICEPAGEFAULT_STATE,
8293 pub PresentQueueState: D3DKMT_DEVICEPRESENT_QUEUE_STATE,
8294 }
8295 #[cfg(feature = "Win32_Foundation")]
8296 impl ::core::marker::Copy for D3DKMT_GETDEVICESTATE_0 {}
8297 #[cfg(feature = "Win32_Foundation")]
8298 impl ::core::clone::Clone for D3DKMT_GETDEVICESTATE_0 {
8299 fn clone(&self) -> Self {
8300 *self
8301 }
8302 }
8303 #[repr(C)]
8304 pub struct D3DKMT_GETDISPLAYMODELIST {
8305 pub hAdapter: u32,
8306 pub VidPnSourceId: u32,
8307 pub pModeList: *mut D3DKMT_DISPLAYMODE,
8308 pub ModeCount: u32,
8309 }
8310 impl ::core::marker::Copy for D3DKMT_GETDISPLAYMODELIST {}
8311 impl ::core::clone::Clone for D3DKMT_GETDISPLAYMODELIST {
8312 fn clone(&self) -> Self {
8313 *self
8314 }
8315 }
8316 #[repr(C)]
8317 pub struct D3DKMT_GETMULTISAMPLEMETHODLIST {
8318 pub hAdapter: u32,
8319 pub VidPnSourceId: u32,
8320 pub Width: u32,
8321 pub Height: u32,
8322 pub Format: D3DDDIFORMAT,
8323 pub pMethodList: *mut D3DKMT_MULTISAMPLEMETHOD,
8324 pub MethodCount: u32,
8325 }
8326 impl ::core::marker::Copy for D3DKMT_GETMULTISAMPLEMETHODLIST {}
8327 impl ::core::clone::Clone for D3DKMT_GETMULTISAMPLEMETHODLIST {
8328 fn clone(&self) -> Self {
8329 *self
8330 }
8331 }
8332 #[repr(C)]
8333 #[doc = "Required features: `\"Win32_Foundation\"`"]
8334 #[cfg(feature = "Win32_Foundation")]
8335 pub struct D3DKMT_GETOVERLAYSTATE {
8336 pub hDevice: u32,
8337 pub hOverlay: u32,
8338 pub OverlayEnabled: super::super::super::Win32::Foundation::BOOLEAN,
8339 }
8340 #[cfg(feature = "Win32_Foundation")]
8341 impl ::core::marker::Copy for D3DKMT_GETOVERLAYSTATE {}
8342 #[cfg(feature = "Win32_Foundation")]
8343 impl ::core::clone::Clone for D3DKMT_GETOVERLAYSTATE {
8344 fn clone(&self) -> Self {
8345 *self
8346 }
8347 }
8348 #[repr(C)]
8349 #[doc = "Required features: `\"Win32_Foundation\"`"]
8350 #[cfg(feature = "Win32_Foundation")]
8351 pub struct D3DKMT_GETPRESENTHISTORY {
8352 pub hAdapter: u32,
8353 pub ProvidedSize: u32,
8354 pub WrittenSize: u32,
8355 pub pTokens: *mut D3DKMT_PRESENTHISTORYTOKEN,
8356 pub NumTokens: u32,
8357 }
8358 #[cfg(feature = "Win32_Foundation")]
8359 impl ::core::marker::Copy for D3DKMT_GETPRESENTHISTORY {}
8360 #[cfg(feature = "Win32_Foundation")]
8361 impl ::core::clone::Clone for D3DKMT_GETPRESENTHISTORY {
8362 fn clone(&self) -> Self {
8363 *self
8364 }
8365 }
8366 #[repr(C)]
8367 #[doc = "Required features: `\"Win32_Foundation\"`"]
8368 #[cfg(feature = "Win32_Foundation")]
8369 pub struct D3DKMT_GETPROCESSDEVICEREMOVALSUPPORT {
8370 pub hProcess: super::super::super::Win32::Foundation::HANDLE,
8371 pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
8372 pub Support: super::super::super::Win32::Foundation::BOOLEAN,
8373 }
8374 #[cfg(feature = "Win32_Foundation")]
8375 impl ::core::marker::Copy for D3DKMT_GETPROCESSDEVICEREMOVALSUPPORT {}
8376 #[cfg(feature = "Win32_Foundation")]
8377 impl ::core::clone::Clone for D3DKMT_GETPROCESSDEVICEREMOVALSUPPORT {
8378 fn clone(&self) -> Self {
8379 *self
8380 }
8381 }
8382 #[repr(C)]
8383 pub struct D3DKMT_GETRUNTIMEDATA {
8384 pub hAdapter: u32,
8385 pub hGlobalShare: u32,
8386 pub pRuntimeData: *mut ::core::ffi::c_void,
8387 pub RuntimeDataSize: u32,
8388 }
8389 impl ::core::marker::Copy for D3DKMT_GETRUNTIMEDATA {}
8390 impl ::core::clone::Clone for D3DKMT_GETRUNTIMEDATA {
8391 fn clone(&self) -> Self {
8392 *self
8393 }
8394 }
8395 #[repr(C)]
8396 #[doc = "Required features: `\"Win32_Foundation\"`"]
8397 #[cfg(feature = "Win32_Foundation")]
8398 pub struct D3DKMT_GETSCANLINE {
8399 pub hAdapter: u32,
8400 pub VidPnSourceId: u32,
8401 pub InVerticalBlank: super::super::super::Win32::Foundation::BOOLEAN,
8402 pub ScanLine: u32,
8403 }
8404 #[cfg(feature = "Win32_Foundation")]
8405 impl ::core::marker::Copy for D3DKMT_GETSCANLINE {}
8406 #[cfg(feature = "Win32_Foundation")]
8407 impl ::core::clone::Clone for D3DKMT_GETSCANLINE {
8408 fn clone(&self) -> Self {
8409 *self
8410 }
8411 }
8412 #[repr(C)]
8413 pub struct D3DKMT_GETSHAREDPRIMARYHANDLE {
8414 pub hAdapter: u32,
8415 pub VidPnSourceId: u32,
8416 pub hSharedPrimary: u32,
8417 }
8418 impl ::core::marker::Copy for D3DKMT_GETSHAREDPRIMARYHANDLE {}
8419 impl ::core::clone::Clone for D3DKMT_GETSHAREDPRIMARYHANDLE {
8420 fn clone(&self) -> Self {
8421 *self
8422 }
8423 }
8424 #[repr(C)]
8425 #[doc = "Required features: `\"Win32_Foundation\"`"]
8426 #[cfg(feature = "Win32_Foundation")]
8427 pub struct D3DKMT_GETSHAREDRESOURCEADAPTERLUID {
8428 pub hGlobalShare: u32,
8429 pub hNtHandle: super::super::super::Win32::Foundation::HANDLE,
8430 pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
8431 }
8432 #[cfg(feature = "Win32_Foundation")]
8433 impl ::core::marker::Copy for D3DKMT_GETSHAREDRESOURCEADAPTERLUID {}
8434 #[cfg(feature = "Win32_Foundation")]
8435 impl ::core::clone::Clone for D3DKMT_GETSHAREDRESOURCEADAPTERLUID {
8436 fn clone(&self) -> Self {
8437 *self
8438 }
8439 }
8440 #[repr(C)]
8441 pub struct D3DKMT_GETVERTICALBLANKEVENT {
8442 pub hAdapter: u32,
8443 pub hDevice: u32,
8444 pub VidPnSourceId: u32,
8445 pub phEvent: *mut isize,
8446 }
8447 impl ::core::marker::Copy for D3DKMT_GETVERTICALBLANKEVENT {}
8448 impl ::core::clone::Clone for D3DKMT_GETVERTICALBLANKEVENT {
8449 fn clone(&self) -> Self {
8450 *self
8451 }
8452 }
8453 #[repr(C)]
8454 #[doc = "Required features: `\"Win32_Foundation\"`"]
8455 #[cfg(feature = "Win32_Foundation")]
8456 pub struct D3DKMT_GET_DEVICE_VIDPN_OWNERSHIP_INFO {
8457 pub hDevice: u32,
8458 pub bFailedDwmAcquireVidPn: super::super::super::Win32::Foundation::BOOLEAN,
8459 }
8460 #[cfg(feature = "Win32_Foundation")]
8461 impl ::core::marker::Copy for D3DKMT_GET_DEVICE_VIDPN_OWNERSHIP_INFO {}
8462 #[cfg(feature = "Win32_Foundation")]
8463 impl ::core::clone::Clone for D3DKMT_GET_DEVICE_VIDPN_OWNERSHIP_INFO {
8464 fn clone(&self) -> Self {
8465 *self
8466 }
8467 }
8468 #[repr(C)]
8469 #[doc = "Required features: `\"Win32_Foundation\"`"]
8470 #[cfg(feature = "Win32_Foundation")]
8471 pub struct D3DKMT_GET_GPUMMU_CAPS {
8472 pub PhysicalAdapterIndex: u32,
8473 pub GpuMmuCaps: DXGK_ESCAPE_GPUMMUCAPS,
8474 }
8475 #[cfg(feature = "Win32_Foundation")]
8476 impl ::core::marker::Copy for D3DKMT_GET_GPUMMU_CAPS {}
8477 #[cfg(feature = "Win32_Foundation")]
8478 impl ::core::clone::Clone for D3DKMT_GET_GPUMMU_CAPS {
8479 fn clone(&self) -> Self {
8480 *self
8481 }
8482 }
8483 #[repr(C)]
8484 pub struct D3DKMT_GET_MULTIPLANE_OVERLAY_CAPS {
8485 pub hAdapter: u32,
8486 pub VidPnSourceId: u32,
8487 pub MaxPlanes: u32,
8488 pub MaxRGBPlanes: u32,
8489 pub MaxYUVPlanes: u32,
8490 pub OverlayCaps: D3DKMT_MULTIPLANE_OVERLAY_CAPS,
8491 pub MaxStretchFactor: f32,
8492 pub MaxShrinkFactor: f32,
8493 }
8494 impl ::core::marker::Copy for D3DKMT_GET_MULTIPLANE_OVERLAY_CAPS {}
8495 impl ::core::clone::Clone for D3DKMT_GET_MULTIPLANE_OVERLAY_CAPS {
8496 fn clone(&self) -> Self {
8497 *self
8498 }
8499 }
8500 #[repr(C)]
8501 pub struct D3DKMT_GET_POST_COMPOSITION_CAPS {
8502 pub hAdapter: u32,
8503 pub VidPnSourceId: u32,
8504 pub MaxStretchFactor: f32,
8505 pub MaxShrinkFactor: f32,
8506 }
8507 impl ::core::marker::Copy for D3DKMT_GET_POST_COMPOSITION_CAPS {}
8508 impl ::core::clone::Clone for D3DKMT_GET_POST_COMPOSITION_CAPS {
8509 fn clone(&self) -> Self {
8510 *self
8511 }
8512 }
8513 #[repr(C)]
8514 #[doc = "Required features: `\"Win32_Foundation\"`"]
8515 #[cfg(feature = "Win32_Foundation")]
8516 pub struct D3DKMT_GET_PTE {
8517 pub PhysicalAdapterIndex: u32,
8518 pub PageTableLevel: u32,
8519 pub PageTableIndex: [u32; 6],
8520 pub b64KBPte: super::super::super::Win32::Foundation::BOOLEAN,
8521 pub NumPtes: u32,
8522 pub Pte: [DXGK_PTE; 64],
8523 pub NumValidEntries: u32,
8524 }
8525 #[cfg(feature = "Win32_Foundation")]
8526 impl ::core::marker::Copy for D3DKMT_GET_PTE {}
8527 #[cfg(feature = "Win32_Foundation")]
8528 impl ::core::clone::Clone for D3DKMT_GET_PTE {
8529 fn clone(&self) -> Self {
8530 *self
8531 }
8532 }
8533 #[repr(C)]
8534 #[doc = "Required features: `\"Win32_Foundation\"`"]
8535 #[cfg(feature = "Win32_Foundation")]
8536 pub struct D3DKMT_GET_SEGMENT_CAPS {
8537 pub PhysicalAdapterIndex: u32,
8538 pub NumSegments: u32,
8539 pub SegmentCaps: [D3DKMT_SEGMENT_CAPS; 32],
8540 }
8541 #[cfg(feature = "Win32_Foundation")]
8542 impl ::core::marker::Copy for D3DKMT_GET_SEGMENT_CAPS {}
8543 #[cfg(feature = "Win32_Foundation")]
8544 impl ::core::clone::Clone for D3DKMT_GET_SEGMENT_CAPS {
8545 fn clone(&self) -> Self {
8546 *self
8547 }
8548 }
8549 #[repr(C)]
8550 pub struct D3DKMT_GPUMMU_CAPS {
8551 pub Flags: D3DKMT_GPUMMU_CAPS_0,
8552 pub VirtualAddressBitCount: u32,
8553 }
8554 impl ::core::marker::Copy for D3DKMT_GPUMMU_CAPS {}
8555 impl ::core::clone::Clone for D3DKMT_GPUMMU_CAPS {
8556 fn clone(&self) -> Self {
8557 *self
8558 }
8559 }
8560 #[repr(C)]
8561 pub union D3DKMT_GPUMMU_CAPS_0 {
8562 pub Anonymous: D3DKMT_GPUMMU_CAPS_0_0,
8563 pub Value: u32,
8564 }
8565 impl ::core::marker::Copy for D3DKMT_GPUMMU_CAPS_0 {}
8566 impl ::core::clone::Clone for D3DKMT_GPUMMU_CAPS_0 {
8567 fn clone(&self) -> Self {
8568 *self
8569 }
8570 }
8571 #[repr(C)]
8572 pub struct D3DKMT_GPUMMU_CAPS_0_0 {
8573 pub _bitfield: u32,
8574 }
8575 impl ::core::marker::Copy for D3DKMT_GPUMMU_CAPS_0_0 {}
8576 impl ::core::clone::Clone for D3DKMT_GPUMMU_CAPS_0_0 {
8577 fn clone(&self) -> Self {
8578 *self
8579 }
8580 }
8581 #[repr(C)]
8582 pub struct D3DKMT_GPUVERSION {
8583 pub PhysicalAdapterIndex: u32,
8584 pub BiosVersion: [u16; 32],
8585 pub GpuArchitecture: [u16; 32],
8586 }
8587 impl ::core::marker::Copy for D3DKMT_GPUVERSION {}
8588 impl ::core::clone::Clone for D3DKMT_GPUVERSION {
8589 fn clone(&self) -> Self {
8590 *self
8591 }
8592 }
8593 #[repr(C)]
8594 #[doc = "Required features: `\"Win32_Foundation\"`"]
8595 #[cfg(feature = "Win32_Foundation")]
8596 pub struct D3DKMT_HISTORY_BUFFER_STATUS {
8597 pub Enabled: super::super::super::Win32::Foundation::BOOLEAN,
8598 pub Reserved: u32,
8599 }
8600 #[cfg(feature = "Win32_Foundation")]
8601 impl ::core::marker::Copy for D3DKMT_HISTORY_BUFFER_STATUS {}
8602 #[cfg(feature = "Win32_Foundation")]
8603 impl ::core::clone::Clone for D3DKMT_HISTORY_BUFFER_STATUS {
8604 fn clone(&self) -> Self {
8605 *self
8606 }
8607 }
8608 #[repr(C)]
8609 #[doc = "Required features: `\"Win32_Foundation\"`"]
8610 #[cfg(feature = "Win32_Foundation")]
8611 pub struct D3DKMT_HWDRM_SUPPORT {
8612 pub Supported: super::super::super::Win32::Foundation::BOOLEAN,
8613 }
8614 #[cfg(feature = "Win32_Foundation")]
8615 impl ::core::marker::Copy for D3DKMT_HWDRM_SUPPORT {}
8616 #[cfg(feature = "Win32_Foundation")]
8617 impl ::core::clone::Clone for D3DKMT_HWDRM_SUPPORT {
8618 fn clone(&self) -> Self {
8619 *self
8620 }
8621 }
8622 #[repr(C)]
8623 #[doc = "Required features: `\"Win32_Foundation\"`"]
8624 #[cfg(feature = "Win32_Foundation")]
8625 pub struct D3DKMT_HYBRID_DLIST_DLL_SUPPORT {
8626 pub Supported: super::super::super::Win32::Foundation::BOOL,
8627 }
8628 #[cfg(feature = "Win32_Foundation")]
8629 impl ::core::marker::Copy for D3DKMT_HYBRID_DLIST_DLL_SUPPORT {}
8630 #[cfg(feature = "Win32_Foundation")]
8631 impl ::core::clone::Clone for D3DKMT_HYBRID_DLIST_DLL_SUPPORT {
8632 fn clone(&self) -> Self {
8633 *self
8634 }
8635 }
8636 #[repr(C)]
8637 #[doc = "Required features: `\"Win32_Foundation\"`"]
8638 #[cfg(feature = "Win32_Foundation")]
8639 pub struct D3DKMT_HYBRID_LIST {
8640 pub State: D3DKMT_GPU_PREFERENCE_QUERY_STATE,
8641 pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
8642 pub bUserPreferenceQuery: super::super::super::Win32::Foundation::BOOL,
8643 pub QueryType: D3DKMT_GPU_PREFERENCE_QUERY_TYPE,
8644 }
8645 #[cfg(feature = "Win32_Foundation")]
8646 impl ::core::marker::Copy for D3DKMT_HYBRID_LIST {}
8647 #[cfg(feature = "Win32_Foundation")]
8648 impl ::core::clone::Clone for D3DKMT_HYBRID_LIST {
8649 fn clone(&self) -> Self {
8650 *self
8651 }
8652 }
8653 #[repr(C)]
8654 #[doc = "Required features: `\"Win32_Foundation\"`"]
8655 #[cfg(feature = "Win32_Foundation")]
8656 pub struct D3DKMT_INDEPENDENTFLIP_SECONDARY_SUPPORT {
8657 pub Supported: super::super::super::Win32::Foundation::BOOL,
8658 }
8659 #[cfg(feature = "Win32_Foundation")]
8660 impl ::core::marker::Copy for D3DKMT_INDEPENDENTFLIP_SECONDARY_SUPPORT {}
8661 #[cfg(feature = "Win32_Foundation")]
8662 impl ::core::clone::Clone for D3DKMT_INDEPENDENTFLIP_SECONDARY_SUPPORT {
8663 fn clone(&self) -> Self {
8664 *self
8665 }
8666 }
8667 #[repr(C)]
8668 #[doc = "Required features: `\"Win32_Foundation\"`"]
8669 #[cfg(feature = "Win32_Foundation")]
8670 pub struct D3DKMT_INDEPENDENTFLIP_SUPPORT {
8671 pub Supported: super::super::super::Win32::Foundation::BOOL,
8672 }
8673 #[cfg(feature = "Win32_Foundation")]
8674 impl ::core::marker::Copy for D3DKMT_INDEPENDENTFLIP_SUPPORT {}
8675 #[cfg(feature = "Win32_Foundation")]
8676 impl ::core::clone::Clone for D3DKMT_INDEPENDENTFLIP_SUPPORT {
8677 fn clone(&self) -> Self {
8678 *self
8679 }
8680 }
8681 #[repr(C)]
8682 pub struct D3DKMT_INVALIDATEACTIVEVIDPN {
8683 pub hAdapter: u32,
8684 pub pPrivateDriverData: *mut ::core::ffi::c_void,
8685 pub PrivateDriverDataSize: u32,
8686 }
8687 impl ::core::marker::Copy for D3DKMT_INVALIDATEACTIVEVIDPN {}
8688 impl ::core::clone::Clone for D3DKMT_INVALIDATEACTIVEVIDPN {
8689 fn clone(&self) -> Self {
8690 *self
8691 }
8692 }
8693 #[repr(C)]
8694 pub struct D3DKMT_INVALIDATECACHE {
8695 pub hDevice: u32,
8696 pub hAllocation: u32,
8697 pub Offset: usize,
8698 pub Length: usize,
8699 }
8700 impl ::core::marker::Copy for D3DKMT_INVALIDATECACHE {}
8701 impl ::core::clone::Clone for D3DKMT_INVALIDATECACHE {
8702 fn clone(&self) -> Self {
8703 *self
8704 }
8705 }
8706 #[repr(C)]
8707 #[doc = "Required features: `\"Win32_Foundation\"`"]
8708 #[cfg(feature = "Win32_Foundation")]
8709 pub struct D3DKMT_ISBADDRIVERFORHWPROTECTIONDISABLED {
8710 pub Disabled: super::super::super::Win32::Foundation::BOOL,
8711 }
8712 #[cfg(feature = "Win32_Foundation")]
8713 impl ::core::marker::Copy for D3DKMT_ISBADDRIVERFORHWPROTECTIONDISABLED {}
8714 #[cfg(feature = "Win32_Foundation")]
8715 impl ::core::clone::Clone for D3DKMT_ISBADDRIVERFORHWPROTECTIONDISABLED {
8716 fn clone(&self) -> Self {
8717 *self
8718 }
8719 }
8720 #[repr(C)]
8721 pub struct D3DKMT_KMD_DRIVER_VERSION {
8722 pub DriverVersion: i64,
8723 }
8724 impl ::core::marker::Copy for D3DKMT_KMD_DRIVER_VERSION {}
8725 impl ::core::clone::Clone for D3DKMT_KMD_DRIVER_VERSION {
8726 fn clone(&self) -> Self {
8727 *self
8728 }
8729 }
8730 #[repr(C)]
8731 pub struct D3DKMT_LOCK {
8732 pub hDevice: u32,
8733 pub hAllocation: u32,
8734 pub PrivateDriverData: u32,
8735 pub NumPages: u32,
8736 pub pPages: *const u32,
8737 pub pData: *mut ::core::ffi::c_void,
8738 pub Flags: D3DDDICB_LOCKFLAGS,
8739 pub GpuVirtualAddress: u64,
8740 }
8741 impl ::core::marker::Copy for D3DKMT_LOCK {}
8742 impl ::core::clone::Clone for D3DKMT_LOCK {
8743 fn clone(&self) -> Self {
8744 *self
8745 }
8746 }
8747 #[repr(C)]
8748 pub struct D3DKMT_LOCK2 {
8749 pub hDevice: u32,
8750 pub hAllocation: u32,
8751 pub Flags: D3DDDICB_LOCK2FLAGS,
8752 pub pData: *mut ::core::ffi::c_void,
8753 }
8754 impl ::core::marker::Copy for D3DKMT_LOCK2 {}
8755 impl ::core::clone::Clone for D3DKMT_LOCK2 {
8756 fn clone(&self) -> Self {
8757 *self
8758 }
8759 }
8760 #[repr(C)]
8761 pub struct D3DKMT_MARKDEVICEASERROR {
8762 pub hDevice: u32,
8763 pub Reason: D3DKMT_DEVICE_ERROR_REASON,
8764 }
8765 impl ::core::marker::Copy for D3DKMT_MARKDEVICEASERROR {}
8766 impl ::core::clone::Clone for D3DKMT_MARKDEVICEASERROR {
8767 fn clone(&self) -> Self {
8768 *self
8769 }
8770 }
8771 #[repr(C)]
8772 pub struct D3DKMT_MIRACASTCOMPANIONDRIVERNAME {
8773 pub MiracastCompanionDriverName: [u16; 260],
8774 }
8775 impl ::core::marker::Copy for D3DKMT_MIRACASTCOMPANIONDRIVERNAME {}
8776 impl ::core::clone::Clone for D3DKMT_MIRACASTCOMPANIONDRIVERNAME {
8777 fn clone(&self) -> Self {
8778 *self
8779 }
8780 }
8781 #[repr(C)]
8782 pub struct D3DKMT_MIRACAST_CHUNK_DATA {
8783 pub ChunkInfo: DXGK_MIRACAST_CHUNK_INFO,
8784 pub PrivateDriverDataSize: u32,
8785 pub PrivateDriverData: [u8; 1],
8786 }
8787 impl ::core::marker::Copy for D3DKMT_MIRACAST_CHUNK_DATA {}
8788 impl ::core::clone::Clone for D3DKMT_MIRACAST_CHUNK_DATA {
8789 fn clone(&self) -> Self {
8790 *self
8791 }
8792 }
8793 #[repr(C)]
8794 #[doc = "Required features: `\"Win32_Foundation\"`"]
8795 #[cfg(feature = "Win32_Foundation")]
8796 pub struct D3DKMT_MIRACAST_DISPLAY_DEVICE_CAPS {
8797 pub HdcpSupported: super::super::super::Win32::Foundation::BOOLEAN,
8798 pub DefaultControlPort: u32,
8799 pub UsesIhvSolution: super::super::super::Win32::Foundation::BOOLEAN,
8800 }
8801 #[cfg(feature = "Win32_Foundation")]
8802 impl ::core::marker::Copy for D3DKMT_MIRACAST_DISPLAY_DEVICE_CAPS {}
8803 #[cfg(feature = "Win32_Foundation")]
8804 impl ::core::clone::Clone for D3DKMT_MIRACAST_DISPLAY_DEVICE_CAPS {
8805 fn clone(&self) -> Self {
8806 *self
8807 }
8808 }
8809 #[repr(C)]
8810 pub struct D3DKMT_MIRACAST_DISPLAY_DEVICE_STATUS {
8811 pub State: D3DKMT_MIRACAST_DISPLAY_DEVICE_STATE,
8812 }
8813 impl ::core::marker::Copy for D3DKMT_MIRACAST_DISPLAY_DEVICE_STATUS {}
8814 impl ::core::clone::Clone for D3DKMT_MIRACAST_DISPLAY_DEVICE_STATUS {
8815 fn clone(&self) -> Self {
8816 *self
8817 }
8818 }
8819 #[repr(C)]
8820 #[doc = "Required features: `\"Win32_Foundation\"`"]
8821 #[cfg(feature = "Win32_Foundation")]
8822 pub struct D3DKMT_MIRACAST_DISPLAY_STOP_SESSIONS {
8823 pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
8824 pub TargetId: u32,
8825 pub StopReason: u32,
8826 }
8827 #[cfg(feature = "Win32_Foundation")]
8828 impl ::core::marker::Copy for D3DKMT_MIRACAST_DISPLAY_STOP_SESSIONS {}
8829 #[cfg(feature = "Win32_Foundation")]
8830 impl ::core::clone::Clone for D3DKMT_MIRACAST_DISPLAY_STOP_SESSIONS {
8831 fn clone(&self) -> Self {
8832 *self
8833 }
8834 }
8835 #[repr(C)]
8836 #[doc = "Required features: `\"Win32_Foundation\"`"]
8837 #[cfg(feature = "Win32_Foundation")]
8838 pub struct D3DKMT_MOVE_RECT {
8839 pub SourcePoint: super::super::super::Win32::Foundation::POINT,
8840 pub DestRect: super::super::super::Win32::Foundation::RECT,
8841 }
8842 #[cfg(feature = "Win32_Foundation")]
8843 impl ::core::marker::Copy for D3DKMT_MOVE_RECT {}
8844 #[cfg(feature = "Win32_Foundation")]
8845 impl ::core::clone::Clone for D3DKMT_MOVE_RECT {
8846 fn clone(&self) -> Self {
8847 *self
8848 }
8849 }
8850 #[repr(C)]
8851 #[doc = "Required features: `\"Win32_Foundation\"`"]
8852 #[cfg(feature = "Win32_Foundation")]
8853 pub struct D3DKMT_MPO3DDI_SUPPORT {
8854 pub Supported: super::super::super::Win32::Foundation::BOOL,
8855 }
8856 #[cfg(feature = "Win32_Foundation")]
8857 impl ::core::marker::Copy for D3DKMT_MPO3DDI_SUPPORT {}
8858 #[cfg(feature = "Win32_Foundation")]
8859 impl ::core::clone::Clone for D3DKMT_MPO3DDI_SUPPORT {
8860 fn clone(&self) -> Self {
8861 *self
8862 }
8863 }
8864 #[repr(C)]
8865 #[doc = "Required features: `\"Win32_Foundation\"`"]
8866 #[cfg(feature = "Win32_Foundation")]
8867 pub struct D3DKMT_MPOKERNELCAPS_SUPPORT {
8868 pub Supported: super::super::super::Win32::Foundation::BOOL,
8869 }
8870 #[cfg(feature = "Win32_Foundation")]
8871 impl ::core::marker::Copy for D3DKMT_MPOKERNELCAPS_SUPPORT {}
8872 #[cfg(feature = "Win32_Foundation")]
8873 impl ::core::clone::Clone for D3DKMT_MPOKERNELCAPS_SUPPORT {
8874 fn clone(&self) -> Self {
8875 *self
8876 }
8877 }
8878 #[repr(C)]
8879 #[doc = "Required features: `\"Win32_Foundation\"`"]
8880 #[cfg(feature = "Win32_Foundation")]
8881 pub struct D3DKMT_MULTIPLANEOVERLAY_DECODE_SUPPORT {
8882 pub Supported: super::super::super::Win32::Foundation::BOOL,
8883 }
8884 #[cfg(feature = "Win32_Foundation")]
8885 impl ::core::marker::Copy for D3DKMT_MULTIPLANEOVERLAY_DECODE_SUPPORT {}
8886 #[cfg(feature = "Win32_Foundation")]
8887 impl ::core::clone::Clone for D3DKMT_MULTIPLANEOVERLAY_DECODE_SUPPORT {
8888 fn clone(&self) -> Self {
8889 *self
8890 }
8891 }
8892 #[repr(C)]
8893 #[doc = "Required features: `\"Win32_Foundation\"`"]
8894 #[cfg(feature = "Win32_Foundation")]
8895 pub struct D3DKMT_MULTIPLANEOVERLAY_HUD_SUPPORT {
8896 pub VidPnSourceId: u32,
8897 pub Update: super::super::super::Win32::Foundation::BOOL,
8898 pub KernelSupported: super::super::super::Win32::Foundation::BOOL,
8899 pub HudSupported: super::super::super::Win32::Foundation::BOOL,
8900 }
8901 #[cfg(feature = "Win32_Foundation")]
8902 impl ::core::marker::Copy for D3DKMT_MULTIPLANEOVERLAY_HUD_SUPPORT {}
8903 #[cfg(feature = "Win32_Foundation")]
8904 impl ::core::clone::Clone for D3DKMT_MULTIPLANEOVERLAY_HUD_SUPPORT {
8905 fn clone(&self) -> Self {
8906 *self
8907 }
8908 }
8909 #[repr(C)]
8910 #[doc = "Required features: `\"Win32_Foundation\"`"]
8911 #[cfg(feature = "Win32_Foundation")]
8912 pub struct D3DKMT_MULTIPLANEOVERLAY_SECONDARY_SUPPORT {
8913 pub Supported: super::super::super::Win32::Foundation::BOOL,
8914 }
8915 #[cfg(feature = "Win32_Foundation")]
8916 impl ::core::marker::Copy for D3DKMT_MULTIPLANEOVERLAY_SECONDARY_SUPPORT {}
8917 #[cfg(feature = "Win32_Foundation")]
8918 impl ::core::clone::Clone for D3DKMT_MULTIPLANEOVERLAY_SECONDARY_SUPPORT {
8919 fn clone(&self) -> Self {
8920 *self
8921 }
8922 }
8923 #[repr(C)]
8924 #[doc = "Required features: `\"Win32_Foundation\"`"]
8925 #[cfg(feature = "Win32_Foundation")]
8926 pub struct D3DKMT_MULTIPLANEOVERLAY_STRETCH_SUPPORT {
8927 pub VidPnSourceId: u32,
8928 pub Update: super::super::super::Win32::Foundation::BOOL,
8929 pub Supported: super::super::super::Win32::Foundation::BOOL,
8930 }
8931 #[cfg(feature = "Win32_Foundation")]
8932 impl ::core::marker::Copy for D3DKMT_MULTIPLANEOVERLAY_STRETCH_SUPPORT {}
8933 #[cfg(feature = "Win32_Foundation")]
8934 impl ::core::clone::Clone for D3DKMT_MULTIPLANEOVERLAY_STRETCH_SUPPORT {
8935 fn clone(&self) -> Self {
8936 *self
8937 }
8938 }
8939 #[repr(C)]
8940 #[doc = "Required features: `\"Win32_Foundation\"`"]
8941 #[cfg(feature = "Win32_Foundation")]
8942 pub struct D3DKMT_MULTIPLANEOVERLAY_SUPPORT {
8943 pub Supported: super::super::super::Win32::Foundation::BOOL,
8944 }
8945 #[cfg(feature = "Win32_Foundation")]
8946 impl ::core::marker::Copy for D3DKMT_MULTIPLANEOVERLAY_SUPPORT {}
8947 #[cfg(feature = "Win32_Foundation")]
8948 impl ::core::clone::Clone for D3DKMT_MULTIPLANEOVERLAY_SUPPORT {
8949 fn clone(&self) -> Self {
8950 *self
8951 }
8952 }
8953 #[repr(C)]
8954 #[doc = "Required features: `\"Win32_Foundation\"`"]
8955 #[cfg(feature = "Win32_Foundation")]
8956 pub struct D3DKMT_MULTIPLANE_OVERLAY {
8957 pub LayerIndex: u32,
8958 pub Enabled: super::super::super::Win32::Foundation::BOOL,
8959 pub hAllocation: u32,
8960 pub PlaneAttributes: D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES,
8961 }
8962 #[cfg(feature = "Win32_Foundation")]
8963 impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY {}
8964 #[cfg(feature = "Win32_Foundation")]
8965 impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY {
8966 fn clone(&self) -> Self {
8967 *self
8968 }
8969 }
8970 #[repr(C)]
8971 #[doc = "Required features: `\"Win32_Foundation\"`"]
8972 #[cfg(feature = "Win32_Foundation")]
8973 pub struct D3DKMT_MULTIPLANE_OVERLAY2 {
8974 pub LayerIndex: u32,
8975 pub Enabled: super::super::super::Win32::Foundation::BOOL,
8976 pub hAllocation: u32,
8977 pub PlaneAttributes: D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES2,
8978 }
8979 #[cfg(feature = "Win32_Foundation")]
8980 impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY2 {}
8981 #[cfg(feature = "Win32_Foundation")]
8982 impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY2 {
8983 fn clone(&self) -> Self {
8984 *self
8985 }
8986 }
8987 #[repr(C)]
8988 #[doc = "Required features: `\"Win32_Foundation\"`"]
8989 #[cfg(feature = "Win32_Foundation")]
8990 pub struct D3DKMT_MULTIPLANE_OVERLAY3 {
8991 pub LayerIndex: u32,
8992 pub InputFlags: D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS,
8993 pub FlipInterval: D3DDDI_FLIPINTERVAL_TYPE,
8994 pub MaxImmediateFlipLine: u32,
8995 pub AllocationCount: u32,
8996 pub pAllocationList: *mut u32,
8997 pub DriverPrivateDataSize: u32,
8998 pub pDriverPrivateData: *mut ::core::ffi::c_void,
8999 pub pPlaneAttributes: *const D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES3,
9000 pub hFlipToFence: u32,
9001 pub hFlipAwayFence: u32,
9002 pub FlipToFenceValue: u64,
9003 pub FlipAwayFenceValue: u64,
9004 }
9005 #[cfg(feature = "Win32_Foundation")]
9006 impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY3 {}
9007 #[cfg(feature = "Win32_Foundation")]
9008 impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY3 {
9009 fn clone(&self) -> Self {
9010 *self
9011 }
9012 }
9013 #[repr(C)]
9014 #[doc = "Required features: `\"Win32_Foundation\"`"]
9015 #[cfg(feature = "Win32_Foundation")]
9016 pub struct D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES {
9017 pub Flags: u32,
9018 pub SrcRect: super::super::super::Win32::Foundation::RECT,
9019 pub DstRect: super::super::super::Win32::Foundation::RECT,
9020 pub ClipRect: super::super::super::Win32::Foundation::RECT,
9021 pub Rotation: D3DDDI_ROTATION,
9022 pub Blend: D3DKMT_MULTIPLANE_OVERLAY_BLEND,
9023 pub DirtyRectCount: u32,
9024 pub pDirtyRects: *mut super::super::super::Win32::Foundation::RECT,
9025 pub VideoFrameFormat: D3DKMT_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT,
9026 pub YCbCrFlags: u32,
9027 pub StereoFormat: D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT,
9028 pub StereoLeftViewFrame0: super::super::super::Win32::Foundation::BOOL,
9029 pub StereoBaseViewFrame0: super::super::super::Win32::Foundation::BOOL,
9030 pub StereoFlipMode: DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_MODE,
9031 pub StretchQuality: DXGKMT_MULTIPLANE_OVERLAY_STRETCH_QUALITY,
9032 }
9033 #[cfg(feature = "Win32_Foundation")]
9034 impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES {}
9035 #[cfg(feature = "Win32_Foundation")]
9036 impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES {
9037 fn clone(&self) -> Self {
9038 *self
9039 }
9040 }
9041 #[repr(C)]
9042 #[doc = "Required features: `\"Win32_Foundation\"`"]
9043 #[cfg(feature = "Win32_Foundation")]
9044 pub struct D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES2 {
9045 pub Flags: u32,
9046 pub SrcRect: super::super::super::Win32::Foundation::RECT,
9047 pub DstRect: super::super::super::Win32::Foundation::RECT,
9048 pub ClipRect: super::super::super::Win32::Foundation::RECT,
9049 pub Rotation: D3DDDI_ROTATION,
9050 pub Blend: D3DKMT_MULTIPLANE_OVERLAY_BLEND,
9051 pub DirtyRectCount: u32,
9052 pub pDirtyRects: *mut super::super::super::Win32::Foundation::RECT,
9053 pub VideoFrameFormat: D3DKMT_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT,
9054 pub ColorSpace: D3DDDI_COLOR_SPACE_TYPE,
9055 pub StereoFormat: D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT,
9056 pub StereoLeftViewFrame0: super::super::super::Win32::Foundation::BOOL,
9057 pub StereoBaseViewFrame0: super::super::super::Win32::Foundation::BOOL,
9058 pub StereoFlipMode: DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_MODE,
9059 pub StretchQuality: DXGKMT_MULTIPLANE_OVERLAY_STRETCH_QUALITY,
9060 pub Reserved1: u32,
9061 }
9062 #[cfg(feature = "Win32_Foundation")]
9063 impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES2 {}
9064 #[cfg(feature = "Win32_Foundation")]
9065 impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES2 {
9066 fn clone(&self) -> Self {
9067 *self
9068 }
9069 }
9070 #[repr(C)]
9071 #[doc = "Required features: `\"Win32_Foundation\"`"]
9072 #[cfg(feature = "Win32_Foundation")]
9073 pub struct D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES3 {
9074 pub Flags: u32,
9075 pub SrcRect: super::super::super::Win32::Foundation::RECT,
9076 pub DstRect: super::super::super::Win32::Foundation::RECT,
9077 pub ClipRect: super::super::super::Win32::Foundation::RECT,
9078 pub Rotation: D3DDDI_ROTATION,
9079 pub Blend: D3DKMT_MULTIPLANE_OVERLAY_BLEND,
9080 pub DirtyRectCount: u32,
9081 pub pDirtyRects: *mut super::super::super::Win32::Foundation::RECT,
9082 pub ColorSpace: D3DDDI_COLOR_SPACE_TYPE,
9083 pub StretchQuality: DXGKMT_MULTIPLANE_OVERLAY_STRETCH_QUALITY,
9084 pub SDRWhiteLevel: u32,
9085 }
9086 #[cfg(feature = "Win32_Foundation")]
9087 impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES3 {}
9088 #[cfg(feature = "Win32_Foundation")]
9089 impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES3 {
9090 fn clone(&self) -> Self {
9091 *self
9092 }
9093 }
9094 #[repr(C)]
9095 pub struct D3DKMT_MULTIPLANE_OVERLAY_CAPS {
9096 pub Anonymous: D3DKMT_MULTIPLANE_OVERLAY_CAPS_0,
9097 }
9098 impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_CAPS {}
9099 impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_CAPS {
9100 fn clone(&self) -> Self {
9101 *self
9102 }
9103 }
9104 #[repr(C)]
9105 pub union D3DKMT_MULTIPLANE_OVERLAY_CAPS_0 {
9106 pub Anonymous: D3DKMT_MULTIPLANE_OVERLAY_CAPS_0_0,
9107 pub Value: u32,
9108 }
9109 impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_CAPS_0 {}
9110 impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_CAPS_0 {
9111 fn clone(&self) -> Self {
9112 *self
9113 }
9114 }
9115 #[repr(C)]
9116 pub struct D3DKMT_MULTIPLANE_OVERLAY_CAPS_0_0 {
9117 pub _bitfield: u32,
9118 }
9119 impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_CAPS_0_0 {}
9120 impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_CAPS_0_0 {
9121 fn clone(&self) -> Self {
9122 *self
9123 }
9124 }
9125 #[repr(C)]
9126 #[doc = "Required features: `\"Win32_Foundation\"`"]
9127 #[cfg(feature = "Win32_Foundation")]
9128 pub struct D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION {
9129 pub Flags: D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS,
9130 pub SrcRect: super::super::super::Win32::Foundation::RECT,
9131 pub DstRect: super::super::super::Win32::Foundation::RECT,
9132 pub Rotation: D3DDDI_ROTATION,
9133 }
9134 #[cfg(feature = "Win32_Foundation")]
9135 impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION {}
9136 #[cfg(feature = "Win32_Foundation")]
9137 impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION {
9138 fn clone(&self) -> Self {
9139 *self
9140 }
9141 }
9142 #[repr(C)]
9143 pub struct D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS {
9144 pub Anonymous: D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS_0,
9145 }
9146 impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS {}
9147 impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS {
9148 fn clone(&self) -> Self {
9149 *self
9150 }
9151 }
9152 #[repr(C)]
9153 pub union D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS_0 {
9154 pub Anonymous: D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS_0_0,
9155 pub Value: u32,
9156 }
9157 impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS_0 {}
9158 impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS_0 {
9159 fn clone(&self) -> Self {
9160 *self
9161 }
9162 }
9163 #[repr(C)]
9164 pub struct D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS_0_0 {
9165 pub _bitfield: u32,
9166 }
9167 impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS_0_0 {}
9168 impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS_0_0 {
9169 fn clone(&self) -> Self {
9170 *self
9171 }
9172 }
9173 #[repr(C)]
9174 #[doc = "Required features: `\"Win32_Foundation\"`"]
9175 #[cfg(feature = "Win32_Foundation")]
9176 pub struct D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_WITH_SOURCE {
9177 pub VidPnSourceId: u32,
9178 pub PostComposition: D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION,
9179 }
9180 #[cfg(feature = "Win32_Foundation")]
9181 impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_WITH_SOURCE {}
9182 #[cfg(feature = "Win32_Foundation")]
9183 impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_WITH_SOURCE {
9184 fn clone(&self) -> Self {
9185 *self
9186 }
9187 }
9188 #[repr(C)]
9189 pub struct D3DKMT_MULTISAMPLEMETHOD {
9190 pub NumSamples: u32,
9191 pub NumQualityLevels: u32,
9192 pub Reserved: u32,
9193 }
9194 impl ::core::marker::Copy for D3DKMT_MULTISAMPLEMETHOD {}
9195 impl ::core::clone::Clone for D3DKMT_MULTISAMPLEMETHOD {
9196 fn clone(&self) -> Self {
9197 *self
9198 }
9199 }
9200 #[repr(C, packed(1))]
9201 #[doc = "Required features: `\"Win32_Foundation\"`"]
9202 #[cfg(feature = "Win32_Foundation")]
9203 pub struct D3DKMT_NODEMETADATA {
9204 pub NodeOrdinalAndAdapterIndex: u32,
9205 pub NodeData: DXGK_NODEMETADATA,
9206 }
9207 #[cfg(feature = "Win32_Foundation")]
9208 impl ::core::marker::Copy for D3DKMT_NODEMETADATA {}
9209 #[cfg(feature = "Win32_Foundation")]
9210 impl ::core::clone::Clone for D3DKMT_NODEMETADATA {
9211 fn clone(&self) -> Self {
9212 *self
9213 }
9214 }
9215 #[repr(C)]
9216 pub struct D3DKMT_NODE_PERFDATA {
9217 pub NodeOrdinal: u32,
9218 pub PhysicalAdapterIndex: u32,
9219 pub Frequency: u64,
9220 pub MaxFrequency: u64,
9221 pub MaxFrequencyOC: u64,
9222 pub Voltage: u32,
9223 pub VoltageMax: u32,
9224 pub VoltageMaxOC: u32,
9225 pub MaxTransitionLatency: u64,
9226 }
9227 impl ::core::marker::Copy for D3DKMT_NODE_PERFDATA {}
9228 impl ::core::clone::Clone for D3DKMT_NODE_PERFDATA {
9229 fn clone(&self) -> Self {
9230 *self
9231 }
9232 }
9233 #[repr(C)]
9234 pub struct D3DKMT_NOTIFY_WORK_SUBMISSION {
9235 pub hHwQueue: u32,
9236 pub Flags: D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS,
9237 }
9238 impl ::core::marker::Copy for D3DKMT_NOTIFY_WORK_SUBMISSION {}
9239 impl ::core::clone::Clone for D3DKMT_NOTIFY_WORK_SUBMISSION {
9240 fn clone(&self) -> Self {
9241 *self
9242 }
9243 }
9244 #[repr(C)]
9245 pub struct D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS {
9246 pub Anonymous: D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS_0,
9247 }
9248 impl ::core::marker::Copy for D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS {}
9249 impl ::core::clone::Clone for D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS {
9250 fn clone(&self) -> Self {
9251 *self
9252 }
9253 }
9254 #[repr(C)]
9255 pub union D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS_0 {
9256 pub Anonymous: D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS_0_0,
9257 pub Value: u32,
9258 }
9259 impl ::core::marker::Copy for D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS_0 {}
9260 impl ::core::clone::Clone for D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS_0 {
9261 fn clone(&self) -> Self {
9262 *self
9263 }
9264 }
9265 #[repr(C)]
9266 pub struct D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS_0_0 {
9267 pub _bitfield: u32,
9268 }
9269 impl ::core::marker::Copy for D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS_0_0 {}
9270 impl ::core::clone::Clone for D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS_0_0 {
9271 fn clone(&self) -> Self {
9272 *self
9273 }
9274 }
9275 #[repr(C)]
9276 pub struct D3DKMT_OFFERALLOCATIONS {
9277 pub hDevice: u32,
9278 pub pResources: *mut u32,
9279 pub HandleList: *const u32,
9280 pub NumAllocations: u32,
9281 pub Priority: D3DKMT_OFFER_PRIORITY,
9282 pub Flags: D3DKMT_OFFER_FLAGS,
9283 }
9284 impl ::core::marker::Copy for D3DKMT_OFFERALLOCATIONS {}
9285 impl ::core::clone::Clone for D3DKMT_OFFERALLOCATIONS {
9286 fn clone(&self) -> Self {
9287 *self
9288 }
9289 }
9290 #[repr(C)]
9291 pub struct D3DKMT_OFFER_FLAGS {
9292 pub Anonymous: D3DKMT_OFFER_FLAGS_0,
9293 }
9294 impl ::core::marker::Copy for D3DKMT_OFFER_FLAGS {}
9295 impl ::core::clone::Clone for D3DKMT_OFFER_FLAGS {
9296 fn clone(&self) -> Self {
9297 *self
9298 }
9299 }
9300 #[repr(C)]
9301 pub union D3DKMT_OFFER_FLAGS_0 {
9302 pub Anonymous: D3DKMT_OFFER_FLAGS_0_0,
9303 pub Value: u32,
9304 }
9305 impl ::core::marker::Copy for D3DKMT_OFFER_FLAGS_0 {}
9306 impl ::core::clone::Clone for D3DKMT_OFFER_FLAGS_0 {
9307 fn clone(&self) -> Self {
9308 *self
9309 }
9310 }
9311 #[repr(C)]
9312 pub struct D3DKMT_OFFER_FLAGS_0_0 {
9313 pub _bitfield: u32,
9314 }
9315 impl ::core::marker::Copy for D3DKMT_OFFER_FLAGS_0_0 {}
9316 impl ::core::clone::Clone for D3DKMT_OFFER_FLAGS_0_0 {
9317 fn clone(&self) -> Self {
9318 *self
9319 }
9320 }
9321 #[repr(C)]
9322 #[doc = "Required features: `\"Win32_Foundation\"`"]
9323 #[cfg(feature = "Win32_Foundation")]
9324 pub struct D3DKMT_OPENADAPTERFROMDEVICENAME {
9325 pub pDeviceName: ::windows_sys::core::PCWSTR,
9326 pub hAdapter: u32,
9327 pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
9328 }
9329 #[cfg(feature = "Win32_Foundation")]
9330 impl ::core::marker::Copy for D3DKMT_OPENADAPTERFROMDEVICENAME {}
9331 #[cfg(feature = "Win32_Foundation")]
9332 impl ::core::clone::Clone for D3DKMT_OPENADAPTERFROMDEVICENAME {
9333 fn clone(&self) -> Self {
9334 *self
9335 }
9336 }
9337 #[repr(C)]
9338 #[doc = "Required features: `\"Win32_Foundation\"`"]
9339 #[cfg(feature = "Win32_Foundation")]
9340 pub struct D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME {
9341 pub DeviceName: [u16; 32],
9342 pub hAdapter: u32,
9343 pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
9344 pub VidPnSourceId: u32,
9345 }
9346 #[cfg(feature = "Win32_Foundation")]
9347 impl ::core::marker::Copy for D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME {}
9348 #[cfg(feature = "Win32_Foundation")]
9349 impl ::core::clone::Clone for D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME {
9350 fn clone(&self) -> Self {
9351 *self
9352 }
9353 }
9354 #[repr(C)]
9355 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
9356 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
9357 pub struct D3DKMT_OPENADAPTERFROMHDC {
9358 pub hDc: super::super::super::Win32::Graphics::Gdi::HDC,
9359 pub hAdapter: u32,
9360 pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
9361 pub VidPnSourceId: u32,
9362 }
9363 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
9364 impl ::core::marker::Copy for D3DKMT_OPENADAPTERFROMHDC {}
9365 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
9366 impl ::core::clone::Clone for D3DKMT_OPENADAPTERFROMHDC {
9367 fn clone(&self) -> Self {
9368 *self
9369 }
9370 }
9371 #[repr(C)]
9372 #[doc = "Required features: `\"Win32_Foundation\"`"]
9373 #[cfg(feature = "Win32_Foundation")]
9374 pub struct D3DKMT_OPENADAPTERFROMLUID {
9375 pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
9376 pub hAdapter: u32,
9377 }
9378 #[cfg(feature = "Win32_Foundation")]
9379 impl ::core::marker::Copy for D3DKMT_OPENADAPTERFROMLUID {}
9380 #[cfg(feature = "Win32_Foundation")]
9381 impl ::core::clone::Clone for D3DKMT_OPENADAPTERFROMLUID {
9382 fn clone(&self) -> Self {
9383 *self
9384 }
9385 }
9386 #[repr(C)]
9387 pub struct D3DKMT_OPENGLINFO {
9388 pub UmdOpenGlIcdFileName: [u16; 260],
9389 pub Version: u32,
9390 pub Flags: u32,
9391 }
9392 impl ::core::marker::Copy for D3DKMT_OPENGLINFO {}
9393 impl ::core::clone::Clone for D3DKMT_OPENGLINFO {
9394 fn clone(&self) -> Self {
9395 *self
9396 }
9397 }
9398 #[repr(C)]
9399 pub struct D3DKMT_OPENKEYEDMUTEX {
9400 pub hSharedHandle: u32,
9401 pub hKeyedMutex: u32,
9402 }
9403 impl ::core::marker::Copy for D3DKMT_OPENKEYEDMUTEX {}
9404 impl ::core::clone::Clone for D3DKMT_OPENKEYEDMUTEX {
9405 fn clone(&self) -> Self {
9406 *self
9407 }
9408 }
9409 #[repr(C)]
9410 pub struct D3DKMT_OPENKEYEDMUTEX2 {
9411 pub hSharedHandle: u32,
9412 pub hKeyedMutex: u32,
9413 pub pPrivateRuntimeData: *mut ::core::ffi::c_void,
9414 pub PrivateRuntimeDataSize: u32,
9415 }
9416 impl ::core::marker::Copy for D3DKMT_OPENKEYEDMUTEX2 {}
9417 impl ::core::clone::Clone for D3DKMT_OPENKEYEDMUTEX2 {
9418 fn clone(&self) -> Self {
9419 *self
9420 }
9421 }
9422 #[repr(C)]
9423 #[doc = "Required features: `\"Win32_Foundation\"`"]
9424 #[cfg(feature = "Win32_Foundation")]
9425 pub struct D3DKMT_OPENKEYEDMUTEXFROMNTHANDLE {
9426 pub hNtHandle: super::super::super::Win32::Foundation::HANDLE,
9427 pub hKeyedMutex: u32,
9428 pub pPrivateRuntimeData: *mut ::core::ffi::c_void,
9429 pub PrivateRuntimeDataSize: u32,
9430 }
9431 #[cfg(feature = "Win32_Foundation")]
9432 impl ::core::marker::Copy for D3DKMT_OPENKEYEDMUTEXFROMNTHANDLE {}
9433 #[cfg(feature = "Win32_Foundation")]
9434 impl ::core::clone::Clone for D3DKMT_OPENKEYEDMUTEXFROMNTHANDLE {
9435 fn clone(&self) -> Self {
9436 *self
9437 }
9438 }
9439 #[repr(C)]
9440 #[doc = "Required features: `\"Win32_Foundation\"`"]
9441 #[cfg(feature = "Win32_Foundation")]
9442 pub struct D3DKMT_OPENNATIVEFENCEFROMNTHANDLE {
9443 pub hNtHandle: super::super::super::Win32::Foundation::HANDLE,
9444 pub hDevice: u32,
9445 pub EngineAffinity: u32,
9446 pub Flags: D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS,
9447 pub hSyncObject: u32,
9448 pub NativeFenceMapping: D3DDDI_NATIVEFENCEMAPPING,
9449 }
9450 #[cfg(feature = "Win32_Foundation")]
9451 impl ::core::marker::Copy for D3DKMT_OPENNATIVEFENCEFROMNTHANDLE {}
9452 #[cfg(feature = "Win32_Foundation")]
9453 impl ::core::clone::Clone for D3DKMT_OPENNATIVEFENCEFROMNTHANDLE {
9454 fn clone(&self) -> Self {
9455 *self
9456 }
9457 }
9458 #[repr(C)]
9459 #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`"]
9460 #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
9461 pub struct D3DKMT_OPENNTHANDLEFROMNAME {
9462 pub dwDesiredAccess: u32,
9463 pub pObjAttrib: *mut super::super::Foundation::OBJECT_ATTRIBUTES,
9464 pub hNtHandle: super::super::super::Win32::Foundation::HANDLE,
9465 }
9466 #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
9467 impl ::core::marker::Copy for D3DKMT_OPENNTHANDLEFROMNAME {}
9468 #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
9469 impl ::core::clone::Clone for D3DKMT_OPENNTHANDLEFROMNAME {
9470 fn clone(&self) -> Self {
9471 *self
9472 }
9473 }
9474 #[repr(C)]
9475 #[doc = "Required features: `\"Win32_Foundation\"`"]
9476 #[cfg(feature = "Win32_Foundation")]
9477 pub struct D3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE {
9478 pub hNtHandle: super::super::super::Win32::Foundation::HANDLE,
9479 pub hHandle: u32,
9480 }
9481 #[cfg(feature = "Win32_Foundation")]
9482 impl ::core::marker::Copy for D3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE {}
9483 #[cfg(feature = "Win32_Foundation")]
9484 impl ::core::clone::Clone for D3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE {
9485 fn clone(&self) -> Self {
9486 *self
9487 }
9488 }
9489 #[repr(C)]
9490 pub struct D3DKMT_OPENRESOURCE {
9491 pub hDevice: u32,
9492 pub hGlobalShare: u32,
9493 pub NumAllocations: u32,
9494 pub Anonymous: D3DKMT_OPENRESOURCE_0,
9495 pub pPrivateRuntimeData: *mut ::core::ffi::c_void,
9496 pub PrivateRuntimeDataSize: u32,
9497 pub pResourcePrivateDriverData: *mut ::core::ffi::c_void,
9498 pub ResourcePrivateDriverDataSize: u32,
9499 pub pTotalPrivateDriverDataBuffer: *mut ::core::ffi::c_void,
9500 pub TotalPrivateDriverDataBufferSize: u32,
9501 pub hResource: u32,
9502 }
9503 impl ::core::marker::Copy for D3DKMT_OPENRESOURCE {}
9504 impl ::core::clone::Clone for D3DKMT_OPENRESOURCE {
9505 fn clone(&self) -> Self {
9506 *self
9507 }
9508 }
9509 #[repr(C)]
9510 pub union D3DKMT_OPENRESOURCE_0 {
9511 pub pOpenAllocationInfo: *mut D3DDDI_OPENALLOCATIONINFO,
9512 pub pOpenAllocationInfo2: *mut D3DDDI_OPENALLOCATIONINFO2,
9513 }
9514 impl ::core::marker::Copy for D3DKMT_OPENRESOURCE_0 {}
9515 impl ::core::clone::Clone for D3DKMT_OPENRESOURCE_0 {
9516 fn clone(&self) -> Self {
9517 *self
9518 }
9519 }
9520 #[repr(C)]
9521 #[doc = "Required features: `\"Win32_Foundation\"`"]
9522 #[cfg(feature = "Win32_Foundation")]
9523 pub struct D3DKMT_OPENRESOURCEFROMNTHANDLE {
9524 pub hDevice: u32,
9525 pub hNtHandle: super::super::super::Win32::Foundation::HANDLE,
9526 pub NumAllocations: u32,
9527 pub pOpenAllocationInfo2: *mut D3DDDI_OPENALLOCATIONINFO2,
9528 pub PrivateRuntimeDataSize: u32,
9529 pub pPrivateRuntimeData: *mut ::core::ffi::c_void,
9530 pub ResourcePrivateDriverDataSize: u32,
9531 pub pResourcePrivateDriverData: *mut ::core::ffi::c_void,
9532 pub TotalPrivateDriverDataBufferSize: u32,
9533 pub pTotalPrivateDriverDataBuffer: *mut ::core::ffi::c_void,
9534 pub hResource: u32,
9535 pub hKeyedMutex: u32,
9536 pub pKeyedMutexPrivateRuntimeData: *mut ::core::ffi::c_void,
9537 pub KeyedMutexPrivateRuntimeDataSize: u32,
9538 pub hSyncObject: u32,
9539 }
9540 #[cfg(feature = "Win32_Foundation")]
9541 impl ::core::marker::Copy for D3DKMT_OPENRESOURCEFROMNTHANDLE {}
9542 #[cfg(feature = "Win32_Foundation")]
9543 impl ::core::clone::Clone for D3DKMT_OPENRESOURCEFROMNTHANDLE {
9544 fn clone(&self) -> Self {
9545 *self
9546 }
9547 }
9548 #[repr(C)]
9549 pub struct D3DKMT_OPENSYNCHRONIZATIONOBJECT {
9550 pub hSharedHandle: u32,
9551 pub hSyncObject: u32,
9552 pub Reserved: [u64; 8],
9553 }
9554 impl ::core::marker::Copy for D3DKMT_OPENSYNCHRONIZATIONOBJECT {}
9555 impl ::core::clone::Clone for D3DKMT_OPENSYNCHRONIZATIONOBJECT {
9556 fn clone(&self) -> Self {
9557 *self
9558 }
9559 }
9560 #[repr(C)]
9561 #[doc = "Required features: `\"Win32_Foundation\"`"]
9562 #[cfg(feature = "Win32_Foundation")]
9563 pub struct D3DKMT_OPENSYNCOBJECTFROMNTHANDLE {
9564 pub hNtHandle: super::super::super::Win32::Foundation::HANDLE,
9565 pub hSyncObject: u32,
9566 }
9567 #[cfg(feature = "Win32_Foundation")]
9568 impl ::core::marker::Copy for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE {}
9569 #[cfg(feature = "Win32_Foundation")]
9570 impl ::core::clone::Clone for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE {
9571 fn clone(&self) -> Self {
9572 *self
9573 }
9574 }
9575 #[repr(C)]
9576 #[doc = "Required features: `\"Win32_Foundation\"`"]
9577 #[cfg(feature = "Win32_Foundation")]
9578 pub struct D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2 {
9579 pub hNtHandle: super::super::super::Win32::Foundation::HANDLE,
9580 pub hDevice: u32,
9581 pub Flags: D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS,
9582 pub hSyncObject: u32,
9583 pub Anonymous: D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2_0,
9584 }
9585 #[cfg(feature = "Win32_Foundation")]
9586 impl ::core::marker::Copy for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2 {}
9587 #[cfg(feature = "Win32_Foundation")]
9588 impl ::core::clone::Clone for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2 {
9589 fn clone(&self) -> Self {
9590 *self
9591 }
9592 }
9593 #[repr(C)]
9594 #[doc = "Required features: `\"Win32_Foundation\"`"]
9595 #[cfg(feature = "Win32_Foundation")]
9596 pub union D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2_0 {
9597 pub MonitoredFence: D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2_0_0,
9598 pub Reserved: [u64; 8],
9599 }
9600 #[cfg(feature = "Win32_Foundation")]
9601 impl ::core::marker::Copy for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2_0 {}
9602 #[cfg(feature = "Win32_Foundation")]
9603 impl ::core::clone::Clone for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2_0 {
9604 fn clone(&self) -> Self {
9605 *self
9606 }
9607 }
9608 #[repr(C)]
9609 #[doc = "Required features: `\"Win32_Foundation\"`"]
9610 #[cfg(feature = "Win32_Foundation")]
9611 pub struct D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2_0_0 {
9612 pub FenceValueCPUVirtualAddress: *mut ::core::ffi::c_void,
9613 pub FenceValueGPUVirtualAddress: u64,
9614 pub EngineAffinity: u32,
9615 }
9616 #[cfg(feature = "Win32_Foundation")]
9617 impl ::core::marker::Copy for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2_0_0 {}
9618 #[cfg(feature = "Win32_Foundation")]
9619 impl ::core::clone::Clone for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2_0_0 {
9620 fn clone(&self) -> Self {
9621 *self
9622 }
9623 }
9624 #[repr(C)]
9625 #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`"]
9626 #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
9627 pub struct D3DKMT_OPENSYNCOBJECTNTHANDLEFROMNAME {
9628 pub dwDesiredAccess: u32,
9629 pub pObjAttrib: *mut super::super::Foundation::OBJECT_ATTRIBUTES,
9630 pub hNtHandle: super::super::super::Win32::Foundation::HANDLE,
9631 }
9632 #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
9633 impl ::core::marker::Copy for D3DKMT_OPENSYNCOBJECTNTHANDLEFROMNAME {}
9634 #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
9635 impl ::core::clone::Clone for D3DKMT_OPENSYNCOBJECTNTHANDLEFROMNAME {
9636 fn clone(&self) -> Self {
9637 *self
9638 }
9639 }
9640 #[repr(C)]
9641 #[doc = "Required features: `\"Win32_Foundation\"`"]
9642 #[cfg(feature = "Win32_Foundation")]
9643 pub struct D3DKMT_OUTDUPL_POINTER_SHAPE_INFO {
9644 pub Type: D3DKMT_OUTDUPL_POINTER_SHAPE_TYPE,
9645 pub Width: u32,
9646 pub Height: u32,
9647 pub Pitch: u32,
9648 pub HotSpot: super::super::super::Win32::Foundation::POINT,
9649 }
9650 #[cfg(feature = "Win32_Foundation")]
9651 impl ::core::marker::Copy for D3DKMT_OUTDUPL_POINTER_SHAPE_INFO {}
9652 #[cfg(feature = "Win32_Foundation")]
9653 impl ::core::clone::Clone for D3DKMT_OUTDUPL_POINTER_SHAPE_INFO {
9654 fn clone(&self) -> Self {
9655 *self
9656 }
9657 }
9658 #[repr(C)]
9659 pub struct D3DKMT_OUTPUTDUPLCONTEXTSCOUNT {
9660 pub VidPnSourceId: u32,
9661 pub OutputDuplicationCount: u32,
9662 }
9663 impl ::core::marker::Copy for D3DKMT_OUTPUTDUPLCONTEXTSCOUNT {}
9664 impl ::core::clone::Clone for D3DKMT_OUTPUTDUPLCONTEXTSCOUNT {
9665 fn clone(&self) -> Self {
9666 *self
9667 }
9668 }
9669 #[repr(C)]
9670 pub struct D3DKMT_OUTPUTDUPLCREATIONFLAGS {
9671 pub Anonymous: D3DKMT_OUTPUTDUPLCREATIONFLAGS_0,
9672 }
9673 impl ::core::marker::Copy for D3DKMT_OUTPUTDUPLCREATIONFLAGS {}
9674 impl ::core::clone::Clone for D3DKMT_OUTPUTDUPLCREATIONFLAGS {
9675 fn clone(&self) -> Self {
9676 *self
9677 }
9678 }
9679 #[repr(C)]
9680 pub union D3DKMT_OUTPUTDUPLCREATIONFLAGS_0 {
9681 pub Anonymous: D3DKMT_OUTPUTDUPLCREATIONFLAGS_0_0,
9682 pub Value: u32,
9683 }
9684 impl ::core::marker::Copy for D3DKMT_OUTPUTDUPLCREATIONFLAGS_0 {}
9685 impl ::core::clone::Clone for D3DKMT_OUTPUTDUPLCREATIONFLAGS_0 {
9686 fn clone(&self) -> Self {
9687 *self
9688 }
9689 }
9690 #[repr(C)]
9691 pub struct D3DKMT_OUTPUTDUPLCREATIONFLAGS_0_0 {
9692 pub _bitfield: u32,
9693 }
9694 impl ::core::marker::Copy for D3DKMT_OUTPUTDUPLCREATIONFLAGS_0_0 {}
9695 impl ::core::clone::Clone for D3DKMT_OUTPUTDUPLCREATIONFLAGS_0_0 {
9696 fn clone(&self) -> Self {
9697 *self
9698 }
9699 }
9700 #[repr(C)]
9701 #[doc = "Required features: `\"Win32_Foundation\"`"]
9702 #[cfg(feature = "Win32_Foundation")]
9703 pub struct D3DKMT_OUTPUTDUPLPRESENT {
9704 pub hContext: u32,
9705 pub hSource: u32,
9706 pub VidPnSourceId: u32,
9707 pub BroadcastContextCount: u32,
9708 pub BroadcastContext: [u32; 64],
9709 pub PresentRegions: D3DKMT_PRESENT_RGNS,
9710 pub Flags: D3DKMT_OUTPUTDUPLPRESENTFLAGS,
9711 pub hIndirectContext: u32,
9712 }
9713 #[cfg(feature = "Win32_Foundation")]
9714 impl ::core::marker::Copy for D3DKMT_OUTPUTDUPLPRESENT {}
9715 #[cfg(feature = "Win32_Foundation")]
9716 impl ::core::clone::Clone for D3DKMT_OUTPUTDUPLPRESENT {
9717 fn clone(&self) -> Self {
9718 *self
9719 }
9720 }
9721 #[repr(C)]
9722 pub struct D3DKMT_OUTPUTDUPLPRESENTFLAGS {
9723 pub Anonymous: D3DKMT_OUTPUTDUPLPRESENTFLAGS_0,
9724 }
9725 impl ::core::marker::Copy for D3DKMT_OUTPUTDUPLPRESENTFLAGS {}
9726 impl ::core::clone::Clone for D3DKMT_OUTPUTDUPLPRESENTFLAGS {
9727 fn clone(&self) -> Self {
9728 *self
9729 }
9730 }
9731 #[repr(C)]
9732 pub union D3DKMT_OUTPUTDUPLPRESENTFLAGS_0 {
9733 pub Anonymous: D3DKMT_OUTPUTDUPLPRESENTFLAGS_0_0,
9734 pub Value: u32,
9735 }
9736 impl ::core::marker::Copy for D3DKMT_OUTPUTDUPLPRESENTFLAGS_0 {}
9737 impl ::core::clone::Clone for D3DKMT_OUTPUTDUPLPRESENTFLAGS_0 {
9738 fn clone(&self) -> Self {
9739 *self
9740 }
9741 }
9742 #[repr(C)]
9743 pub struct D3DKMT_OUTPUTDUPLPRESENTFLAGS_0_0 {
9744 pub _bitfield: u32,
9745 }
9746 impl ::core::marker::Copy for D3DKMT_OUTPUTDUPLPRESENTFLAGS_0_0 {}
9747 impl ::core::clone::Clone for D3DKMT_OUTPUTDUPLPRESENTFLAGS_0_0 {
9748 fn clone(&self) -> Self {
9749 *self
9750 }
9751 }
9752 #[repr(C)]
9753 #[doc = "Required features: `\"Win32_Foundation\"`"]
9754 #[cfg(feature = "Win32_Foundation")]
9755 pub struct D3DKMT_OUTPUTDUPLPRESENTTOHWQUEUE {
9756 pub hSource: u32,
9757 pub VidPnSourceId: u32,
9758 pub BroadcastHwQueueCount: u32,
9759 pub hHwQueues: *mut u32,
9760 pub PresentRegions: D3DKMT_PRESENT_RGNS,
9761 pub Flags: D3DKMT_OUTPUTDUPLPRESENTFLAGS,
9762 pub hIndirectHwQueue: u32,
9763 }
9764 #[cfg(feature = "Win32_Foundation")]
9765 impl ::core::marker::Copy for D3DKMT_OUTPUTDUPLPRESENTTOHWQUEUE {}
9766 #[cfg(feature = "Win32_Foundation")]
9767 impl ::core::clone::Clone for D3DKMT_OUTPUTDUPLPRESENTTOHWQUEUE {
9768 fn clone(&self) -> Self {
9769 *self
9770 }
9771 }
9772 #[repr(C)]
9773 #[doc = "Required features: `\"Win32_Foundation\"`"]
9774 #[cfg(feature = "Win32_Foundation")]
9775 pub struct D3DKMT_OUTPUTDUPL_FRAMEINFO {
9776 pub LastPresentTime: i64,
9777 pub LastMouseUpdateTime: i64,
9778 pub AccumulatedFrames: u32,
9779 pub RectsCoalesced: super::super::super::Win32::Foundation::BOOL,
9780 pub ProtectedContentMaskedOut: super::super::super::Win32::Foundation::BOOL,
9781 pub PointerPosition: D3DKMT_OUTPUTDUPL_POINTER_POSITION,
9782 pub TotalMetadataBufferSize: u32,
9783 pub PointerShapeBufferSize: u32,
9784 }
9785 #[cfg(feature = "Win32_Foundation")]
9786 impl ::core::marker::Copy for D3DKMT_OUTPUTDUPL_FRAMEINFO {}
9787 #[cfg(feature = "Win32_Foundation")]
9788 impl ::core::clone::Clone for D3DKMT_OUTPUTDUPL_FRAMEINFO {
9789 fn clone(&self) -> Self {
9790 *self
9791 }
9792 }
9793 #[repr(C)]
9794 #[doc = "Required features: `\"Win32_Foundation\"`"]
9795 #[cfg(feature = "Win32_Foundation")]
9796 pub struct D3DKMT_OUTPUTDUPL_GET_FRAMEINFO {
9797 pub hAdapter: u32,
9798 pub VidPnSourceId: u32,
9799 pub FrameInfo: D3DKMT_OUTPUTDUPL_FRAMEINFO,
9800 }
9801 #[cfg(feature = "Win32_Foundation")]
9802 impl ::core::marker::Copy for D3DKMT_OUTPUTDUPL_GET_FRAMEINFO {}
9803 #[cfg(feature = "Win32_Foundation")]
9804 impl ::core::clone::Clone for D3DKMT_OUTPUTDUPL_GET_FRAMEINFO {
9805 fn clone(&self) -> Self {
9806 *self
9807 }
9808 }
9809 #[repr(C)]
9810 #[doc = "Required features: `\"Win32_Foundation\"`"]
9811 #[cfg(feature = "Win32_Foundation")]
9812 pub struct D3DKMT_OUTPUTDUPL_GET_POINTER_SHAPE_DATA {
9813 pub hAdapter: u32,
9814 pub VidPnSourceId: u32,
9815 pub BufferSizeSupplied: u32,
9816 pub pShapeBuffer: *mut ::core::ffi::c_void,
9817 pub BufferSizeRequired: u32,
9818 pub ShapeInfo: D3DKMT_OUTDUPL_POINTER_SHAPE_INFO,
9819 }
9820 #[cfg(feature = "Win32_Foundation")]
9821 impl ::core::marker::Copy for D3DKMT_OUTPUTDUPL_GET_POINTER_SHAPE_DATA {}
9822 #[cfg(feature = "Win32_Foundation")]
9823 impl ::core::clone::Clone for D3DKMT_OUTPUTDUPL_GET_POINTER_SHAPE_DATA {
9824 fn clone(&self) -> Self {
9825 *self
9826 }
9827 }
9828 #[repr(C)]
9829 #[doc = "Required features: `\"Win32_Foundation\"`"]
9830 #[cfg(feature = "Win32_Foundation")]
9831 pub struct D3DKMT_OUTPUTDUPL_KEYEDMUTEX {
9832 pub hSharedSurfaceNt: super::super::super::Win32::Foundation::HANDLE,
9833 }
9834 #[cfg(feature = "Win32_Foundation")]
9835 impl ::core::marker::Copy for D3DKMT_OUTPUTDUPL_KEYEDMUTEX {}
9836 #[cfg(feature = "Win32_Foundation")]
9837 impl ::core::clone::Clone for D3DKMT_OUTPUTDUPL_KEYEDMUTEX {
9838 fn clone(&self) -> Self {
9839 *self
9840 }
9841 }
9842 #[repr(C)]
9843 pub struct D3DKMT_OUTPUTDUPL_METADATA {
9844 pub hAdapter: u32,
9845 pub VidPnSourceId: u32,
9846 pub Type: D3DKMT_OUTPUTDUPL_METADATATYPE,
9847 pub BufferSizeSupplied: u32,
9848 pub pBuffer: *mut ::core::ffi::c_void,
9849 pub BufferSizeRequired: u32,
9850 }
9851 impl ::core::marker::Copy for D3DKMT_OUTPUTDUPL_METADATA {}
9852 impl ::core::clone::Clone for D3DKMT_OUTPUTDUPL_METADATA {
9853 fn clone(&self) -> Self {
9854 *self
9855 }
9856 }
9857 #[repr(C)]
9858 #[doc = "Required features: `\"Win32_Foundation\"`"]
9859 #[cfg(feature = "Win32_Foundation")]
9860 pub struct D3DKMT_OUTPUTDUPL_POINTER_POSITION {
9861 pub Position: super::super::super::Win32::Foundation::POINT,
9862 pub Visible: super::super::super::Win32::Foundation::BOOL,
9863 }
9864 #[cfg(feature = "Win32_Foundation")]
9865 impl ::core::marker::Copy for D3DKMT_OUTPUTDUPL_POINTER_POSITION {}
9866 #[cfg(feature = "Win32_Foundation")]
9867 impl ::core::clone::Clone for D3DKMT_OUTPUTDUPL_POINTER_POSITION {
9868 fn clone(&self) -> Self {
9869 *self
9870 }
9871 }
9872 #[repr(C)]
9873 pub struct D3DKMT_OUTPUTDUPL_RELEASE_FRAME {
9874 pub hAdapter: u32,
9875 pub VidPnSourceId: u32,
9876 pub NextKeyMutexIdx: u32,
9877 }
9878 impl ::core::marker::Copy for D3DKMT_OUTPUTDUPL_RELEASE_FRAME {}
9879 impl ::core::clone::Clone for D3DKMT_OUTPUTDUPL_RELEASE_FRAME {
9880 fn clone(&self) -> Self {
9881 *self
9882 }
9883 }
9884 #[repr(C)]
9885 #[doc = "Required features: `\"Win32_Foundation\"`"]
9886 #[cfg(feature = "Win32_Foundation")]
9887 pub struct D3DKMT_OUTPUTDUPL_SNAPSHOT {
9888 pub Size: u32,
9889 pub SessionProcessCount: u32,
9890 pub SessionActiveConnectionsCount: u32,
9891 pub NumVidPnSources: u32,
9892 pub NumOutputDuplContexts: u32,
9893 pub Padding: u32,
9894 pub OutputDuplDebugInfos: [OUTPUTDUPL_CONTEXT_DEBUG_INFO; 1],
9895 }
9896 #[cfg(feature = "Win32_Foundation")]
9897 impl ::core::marker::Copy for D3DKMT_OUTPUTDUPL_SNAPSHOT {}
9898 #[cfg(feature = "Win32_Foundation")]
9899 impl ::core::clone::Clone for D3DKMT_OUTPUTDUPL_SNAPSHOT {
9900 fn clone(&self) -> Self {
9901 *self
9902 }
9903 }
9904 #[repr(C)]
9905 pub struct D3DKMT_PAGE_TABLE_LEVEL_DESC {
9906 pub IndexBitCount: u32,
9907 pub IndexMask: u64,
9908 pub IndexShift: u64,
9909 pub LowerLevelsMask: u64,
9910 pub EntryCoverageInPages: u64,
9911 }
9912 impl ::core::marker::Copy for D3DKMT_PAGE_TABLE_LEVEL_DESC {}
9913 impl ::core::clone::Clone for D3DKMT_PAGE_TABLE_LEVEL_DESC {
9914 fn clone(&self) -> Self {
9915 *self
9916 }
9917 }
9918 #[repr(C)]
9919 #[doc = "Required features: `\"Win32_Foundation\"`"]
9920 #[cfg(feature = "Win32_Foundation")]
9921 pub struct D3DKMT_PANELFITTER_SUPPORT {
9922 pub Supported: super::super::super::Win32::Foundation::BOOL,
9923 }
9924 #[cfg(feature = "Win32_Foundation")]
9925 impl ::core::marker::Copy for D3DKMT_PANELFITTER_SUPPORT {}
9926 #[cfg(feature = "Win32_Foundation")]
9927 impl ::core::clone::Clone for D3DKMT_PANELFITTER_SUPPORT {
9928 fn clone(&self) -> Self {
9929 *self
9930 }
9931 }
9932 #[repr(C)]
9933 #[doc = "Required features: `\"Win32_Foundation\"`"]
9934 #[cfg(feature = "Win32_Foundation")]
9935 pub struct D3DKMT_PARAVIRTUALIZATION {
9936 pub SecureContainer: super::super::super::Win32::Foundation::BOOLEAN,
9937 }
9938 #[cfg(feature = "Win32_Foundation")]
9939 impl ::core::marker::Copy for D3DKMT_PARAVIRTUALIZATION {}
9940 #[cfg(feature = "Win32_Foundation")]
9941 impl ::core::clone::Clone for D3DKMT_PARAVIRTUALIZATION {
9942 fn clone(&self) -> Self {
9943 *self
9944 }
9945 }
9946 #[repr(C)]
9947 pub struct D3DKMT_PHYSICAL_ADAPTER_COUNT {
9948 pub Count: u32,
9949 }
9950 impl ::core::marker::Copy for D3DKMT_PHYSICAL_ADAPTER_COUNT {}
9951 impl ::core::clone::Clone for D3DKMT_PHYSICAL_ADAPTER_COUNT {
9952 fn clone(&self) -> Self {
9953 *self
9954 }
9955 }
9956 #[repr(C)]
9957 pub struct D3DKMT_PINDIRECTFLIPRESOURCES {
9958 pub hDevice: u32,
9959 pub ResourceCount: u32,
9960 pub pResourceList: *mut u32,
9961 }
9962 impl ::core::marker::Copy for D3DKMT_PINDIRECTFLIPRESOURCES {}
9963 impl ::core::clone::Clone for D3DKMT_PINDIRECTFLIPRESOURCES {
9964 fn clone(&self) -> Self {
9965 *self
9966 }
9967 }
9968 #[repr(C)]
9969 pub struct D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS {
9970 pub Anonymous: D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS_0,
9971 }
9972 impl ::core::marker::Copy for D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS {}
9973 impl ::core::clone::Clone for D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS {
9974 fn clone(&self) -> Self {
9975 *self
9976 }
9977 }
9978 #[repr(C)]
9979 pub union D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS_0 {
9980 pub Anonymous: D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS_0_0,
9981 pub Value: u32,
9982 }
9983 impl ::core::marker::Copy for D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS_0 {}
9984 impl ::core::clone::Clone for D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS_0 {
9985 fn clone(&self) -> Self {
9986 *self
9987 }
9988 }
9989 #[repr(C)]
9990 pub struct D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS_0_0 {
9991 pub _bitfield: u32,
9992 }
9993 impl ::core::marker::Copy for D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS_0_0 {}
9994 impl ::core::clone::Clone for D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS_0_0 {
9995 fn clone(&self) -> Self {
9996 *self
9997 }
9998 }
9999 #[repr(C)]
10000 pub struct D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS {
10001 pub Anonymous: D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS_0,
10002 }
10003 impl ::core::marker::Copy for D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS {}
10004 impl ::core::clone::Clone for D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS {
10005 fn clone(&self) -> Self {
10006 *self
10007 }
10008 }
10009 #[repr(C)]
10010 pub union D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS_0 {
10011 pub Anonymous: D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS_0_0,
10012 pub Value: u32,
10013 }
10014 impl ::core::marker::Copy for D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS_0 {}
10015 impl ::core::clone::Clone for D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS_0 {
10016 fn clone(&self) -> Self {
10017 *self
10018 }
10019 }
10020 #[repr(C)]
10021 pub struct D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS_0_0 {
10022 pub _bitfield: u32,
10023 }
10024 impl ::core::marker::Copy for D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS_0_0 {}
10025 impl ::core::clone::Clone for D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS_0_0 {
10026 fn clone(&self) -> Self {
10027 *self
10028 }
10029 }
10030 #[repr(C)]
10031 pub struct D3DKMT_POLLDISPLAYCHILDREN {
10032 pub hAdapter: u32,
10033 pub _bitfield: u32,
10034 }
10035 impl ::core::marker::Copy for D3DKMT_POLLDISPLAYCHILDREN {}
10036 impl ::core::clone::Clone for D3DKMT_POLLDISPLAYCHILDREN {
10037 fn clone(&self) -> Self {
10038 *self
10039 }
10040 }
10041 #[repr(C)]
10042 #[doc = "Required features: `\"Win32_Foundation\"`"]
10043 #[cfg(feature = "Win32_Foundation")]
10044 pub struct D3DKMT_PRESENT {
10045 pub Anonymous1: D3DKMT_PRESENT_0,
10046 pub hWindow: super::super::super::Win32::Foundation::HWND,
10047 pub VidPnSourceId: u32,
10048 pub hSource: u32,
10049 pub hDestination: u32,
10050 pub Color: u32,
10051 pub DstRect: super::super::super::Win32::Foundation::RECT,
10052 pub SrcRect: super::super::super::Win32::Foundation::RECT,
10053 pub SubRectCnt: u32,
10054 pub pSrcSubRects: *const super::super::super::Win32::Foundation::RECT,
10055 pub PresentCount: u32,
10056 pub FlipInterval: D3DDDI_FLIPINTERVAL_TYPE,
10057 pub Flags: D3DKMT_PRESENTFLAGS,
10058 pub BroadcastContextCount: u32,
10059 pub BroadcastContext: [u32; 64],
10060 pub PresentLimitSemaphore: super::super::super::Win32::Foundation::HANDLE,
10061 pub PresentHistoryToken: D3DKMT_PRESENTHISTORYTOKEN,
10062 pub pPresentRegions: *mut D3DKMT_PRESENT_RGNS,
10063 pub Anonymous2: D3DKMT_PRESENT_1,
10064 pub Duration: u32,
10065 pub BroadcastSrcAllocation: *mut u32,
10066 pub BroadcastDstAllocation: *mut u32,
10067 pub PrivateDriverDataSize: u32,
10068 pub pPrivateDriverData: *mut ::core::ffi::c_void,
10069 pub bOptimizeForComposition: super::super::super::Win32::Foundation::BOOLEAN,
10070 }
10071 #[cfg(feature = "Win32_Foundation")]
10072 impl ::core::marker::Copy for D3DKMT_PRESENT {}
10073 #[cfg(feature = "Win32_Foundation")]
10074 impl ::core::clone::Clone for D3DKMT_PRESENT {
10075 fn clone(&self) -> Self {
10076 *self
10077 }
10078 }
10079 #[repr(C)]
10080 #[doc = "Required features: `\"Win32_Foundation\"`"]
10081 #[cfg(feature = "Win32_Foundation")]
10082 pub union D3DKMT_PRESENT_0 {
10083 pub hDevice: u32,
10084 pub hContext: u32,
10085 }
10086 #[cfg(feature = "Win32_Foundation")]
10087 impl ::core::marker::Copy for D3DKMT_PRESENT_0 {}
10088 #[cfg(feature = "Win32_Foundation")]
10089 impl ::core::clone::Clone for D3DKMT_PRESENT_0 {
10090 fn clone(&self) -> Self {
10091 *self
10092 }
10093 }
10094 #[repr(C)]
10095 #[doc = "Required features: `\"Win32_Foundation\"`"]
10096 #[cfg(feature = "Win32_Foundation")]
10097 pub union D3DKMT_PRESENT_1 {
10098 pub hAdapter: u32,
10099 pub hIndirectContext: u32,
10100 }
10101 #[cfg(feature = "Win32_Foundation")]
10102 impl ::core::marker::Copy for D3DKMT_PRESENT_1 {}
10103 #[cfg(feature = "Win32_Foundation")]
10104 impl ::core::clone::Clone for D3DKMT_PRESENT_1 {
10105 fn clone(&self) -> Self {
10106 *self
10107 }
10108 }
10109 #[repr(C)]
10110 pub struct D3DKMT_PRESENTFLAGS {
10111 pub Anonymous: D3DKMT_PRESENTFLAGS_0,
10112 }
10113 impl ::core::marker::Copy for D3DKMT_PRESENTFLAGS {}
10114 impl ::core::clone::Clone for D3DKMT_PRESENTFLAGS {
10115 fn clone(&self) -> Self {
10116 *self
10117 }
10118 }
10119 #[repr(C)]
10120 pub union D3DKMT_PRESENTFLAGS_0 {
10121 pub Anonymous: D3DKMT_PRESENTFLAGS_0_0,
10122 pub Value: u32,
10123 }
10124 impl ::core::marker::Copy for D3DKMT_PRESENTFLAGS_0 {}
10125 impl ::core::clone::Clone for D3DKMT_PRESENTFLAGS_0 {
10126 fn clone(&self) -> Self {
10127 *self
10128 }
10129 }
10130 #[repr(C)]
10131 pub struct D3DKMT_PRESENTFLAGS_0_0 {
10132 pub _bitfield: u32,
10133 }
10134 impl ::core::marker::Copy for D3DKMT_PRESENTFLAGS_0_0 {}
10135 impl ::core::clone::Clone for D3DKMT_PRESENTFLAGS_0_0 {
10136 fn clone(&self) -> Self {
10137 *self
10138 }
10139 }
10140 #[repr(C)]
10141 #[doc = "Required features: `\"Win32_Foundation\"`"]
10142 #[cfg(feature = "Win32_Foundation")]
10143 pub struct D3DKMT_PRESENTHISTORYTOKEN {
10144 pub Model: D3DKMT_PRESENT_MODEL,
10145 pub TokenSize: u32,
10146 pub CompositionBindingId: u64,
10147 pub Token: D3DKMT_PRESENTHISTORYTOKEN_0,
10148 }
10149 #[cfg(feature = "Win32_Foundation")]
10150 impl ::core::marker::Copy for D3DKMT_PRESENTHISTORYTOKEN {}
10151 #[cfg(feature = "Win32_Foundation")]
10152 impl ::core::clone::Clone for D3DKMT_PRESENTHISTORYTOKEN {
10153 fn clone(&self) -> Self {
10154 *self
10155 }
10156 }
10157 #[repr(C)]
10158 #[doc = "Required features: `\"Win32_Foundation\"`"]
10159 #[cfg(feature = "Win32_Foundation")]
10160 pub union D3DKMT_PRESENTHISTORYTOKEN_0 {
10161 pub Flip: D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN,
10162 pub Blt: D3DKMT_BLTMODEL_PRESENTHISTORYTOKEN,
10163 pub VistaBlt: u64,
10164 pub Gdi: D3DKMT_GDIMODEL_PRESENTHISTORYTOKEN,
10165 pub Fence: D3DKMT_FENCE_PRESENTHISTORYTOKEN,
10166 pub GdiSysMem: D3DKMT_GDIMODEL_SYSMEM_PRESENTHISTORYTOKEN,
10167 pub Composition: D3DKMT_COMPOSITION_PRESENTHISTORYTOKEN,
10168 pub FlipManager: D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN,
10169 pub SurfaceComplete: D3DKMT_SURFACECOMPLETE_PRESENTHISTORYTOKEN,
10170 }
10171 #[cfg(feature = "Win32_Foundation")]
10172 impl ::core::marker::Copy for D3DKMT_PRESENTHISTORYTOKEN_0 {}
10173 #[cfg(feature = "Win32_Foundation")]
10174 impl ::core::clone::Clone for D3DKMT_PRESENTHISTORYTOKEN_0 {
10175 fn clone(&self) -> Self {
10176 *self
10177 }
10178 }
10179 #[repr(C)]
10180 #[doc = "Required features: `\"Win32_Foundation\"`"]
10181 #[cfg(feature = "Win32_Foundation")]
10182 pub struct D3DKMT_PRESENT_MULTIPLANE_OVERLAY {
10183 pub Anonymous: D3DKMT_PRESENT_MULTIPLANE_OVERLAY_0,
10184 pub BroadcastContextCount: u32,
10185 pub BroadcastContext: [u32; 64],
10186 pub VidPnSourceId: u32,
10187 pub PresentCount: u32,
10188 pub FlipInterval: D3DDDI_FLIPINTERVAL_TYPE,
10189 pub Flags: D3DKMT_PRESENTFLAGS,
10190 pub PresentPlaneCount: u32,
10191 pub pPresentPlanes: *mut D3DKMT_MULTIPLANE_OVERLAY,
10192 pub Duration: u32,
10193 }
10194 #[cfg(feature = "Win32_Foundation")]
10195 impl ::core::marker::Copy for D3DKMT_PRESENT_MULTIPLANE_OVERLAY {}
10196 #[cfg(feature = "Win32_Foundation")]
10197 impl ::core::clone::Clone for D3DKMT_PRESENT_MULTIPLANE_OVERLAY {
10198 fn clone(&self) -> Self {
10199 *self
10200 }
10201 }
10202 #[repr(C)]
10203 #[doc = "Required features: `\"Win32_Foundation\"`"]
10204 #[cfg(feature = "Win32_Foundation")]
10205 pub union D3DKMT_PRESENT_MULTIPLANE_OVERLAY_0 {
10206 pub hDevice: u32,
10207 pub hContext: u32,
10208 }
10209 #[cfg(feature = "Win32_Foundation")]
10210 impl ::core::marker::Copy for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_0 {}
10211 #[cfg(feature = "Win32_Foundation")]
10212 impl ::core::clone::Clone for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_0 {
10213 fn clone(&self) -> Self {
10214 *self
10215 }
10216 }
10217 #[repr(C)]
10218 #[doc = "Required features: `\"Win32_Foundation\"`"]
10219 #[cfg(feature = "Win32_Foundation")]
10220 pub struct D3DKMT_PRESENT_MULTIPLANE_OVERLAY2 {
10221 pub hAdapter: u32,
10222 pub Anonymous: D3DKMT_PRESENT_MULTIPLANE_OVERLAY2_0,
10223 pub BroadcastContextCount: u32,
10224 pub BroadcastContext: [u32; 64],
10225 pub VidPnSourceId: u32,
10226 pub PresentCount: u32,
10227 pub FlipInterval: D3DDDI_FLIPINTERVAL_TYPE,
10228 pub Flags: D3DKMT_PRESENTFLAGS,
10229 pub PresentPlaneCount: u32,
10230 pub pPresentPlanes: *mut D3DKMT_MULTIPLANE_OVERLAY2,
10231 pub Duration: u32,
10232 }
10233 #[cfg(feature = "Win32_Foundation")]
10234 impl ::core::marker::Copy for D3DKMT_PRESENT_MULTIPLANE_OVERLAY2 {}
10235 #[cfg(feature = "Win32_Foundation")]
10236 impl ::core::clone::Clone for D3DKMT_PRESENT_MULTIPLANE_OVERLAY2 {
10237 fn clone(&self) -> Self {
10238 *self
10239 }
10240 }
10241 #[repr(C)]
10242 #[doc = "Required features: `\"Win32_Foundation\"`"]
10243 #[cfg(feature = "Win32_Foundation")]
10244 pub union D3DKMT_PRESENT_MULTIPLANE_OVERLAY2_0 {
10245 pub hDevice: u32,
10246 pub hContext: u32,
10247 }
10248 #[cfg(feature = "Win32_Foundation")]
10249 impl ::core::marker::Copy for D3DKMT_PRESENT_MULTIPLANE_OVERLAY2_0 {}
10250 #[cfg(feature = "Win32_Foundation")]
10251 impl ::core::clone::Clone for D3DKMT_PRESENT_MULTIPLANE_OVERLAY2_0 {
10252 fn clone(&self) -> Self {
10253 *self
10254 }
10255 }
10256 #[repr(C)]
10257 #[doc = "Required features: `\"Win32_Foundation\"`"]
10258 #[cfg(feature = "Win32_Foundation")]
10259 pub struct D3DKMT_PRESENT_MULTIPLANE_OVERLAY3 {
10260 pub hAdapter: u32,
10261 pub ContextCount: u32,
10262 pub pContextList: *mut u32,
10263 pub VidPnSourceId: u32,
10264 pub PresentCount: u32,
10265 pub Flags: D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS,
10266 pub PresentPlaneCount: u32,
10267 pub ppPresentPlanes: *mut *mut D3DKMT_MULTIPLANE_OVERLAY3,
10268 pub pPostComposition: *mut D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION,
10269 pub Duration: u32,
10270 pub HDRMetaDataType: D3DDDI_HDR_METADATA_TYPE,
10271 pub HDRMetaDataSize: u32,
10272 pub pHDRMetaData: *const ::core::ffi::c_void,
10273 pub BoostRefreshRateMultiplier: u32,
10274 }
10275 #[cfg(feature = "Win32_Foundation")]
10276 impl ::core::marker::Copy for D3DKMT_PRESENT_MULTIPLANE_OVERLAY3 {}
10277 #[cfg(feature = "Win32_Foundation")]
10278 impl ::core::clone::Clone for D3DKMT_PRESENT_MULTIPLANE_OVERLAY3 {
10279 fn clone(&self) -> Self {
10280 *self
10281 }
10282 }
10283 #[repr(C)]
10284 pub struct D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS {
10285 pub Anonymous: D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS_0,
10286 }
10287 impl ::core::marker::Copy for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS {}
10288 impl ::core::clone::Clone for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS {
10289 fn clone(&self) -> Self {
10290 *self
10291 }
10292 }
10293 #[repr(C)]
10294 pub union D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS_0 {
10295 pub Anonymous: D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS_0_0,
10296 pub Value: u32,
10297 }
10298 impl ::core::marker::Copy for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS_0 {}
10299 impl ::core::clone::Clone for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS_0 {
10300 fn clone(&self) -> Self {
10301 *self
10302 }
10303 }
10304 #[repr(C)]
10305 pub struct D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS_0_0 {
10306 pub _bitfield: u32,
10307 }
10308 impl ::core::marker::Copy for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS_0_0 {}
10309 impl ::core::clone::Clone for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS_0_0 {
10310 fn clone(&self) -> Self {
10311 *self
10312 }
10313 }
10314 #[repr(C)]
10315 #[doc = "Required features: `\"Win32_Foundation\"`"]
10316 #[cfg(feature = "Win32_Foundation")]
10317 pub struct D3DKMT_PRESENT_REDIRECTED {
10318 pub hSyncObj: u32,
10319 pub hDevice: u32,
10320 pub WaitedFenceValue: u64,
10321 pub PresentHistoryToken: D3DKMT_PRESENTHISTORYTOKEN,
10322 pub Flags: D3DKMT_PRESENT_REDIRECTED_FLAGS,
10323 pub hSource: u32,
10324 pub PrivateDriverDataSize: u32,
10325 pub pPrivateDriverData: *mut ::core::ffi::c_void,
10326 }
10327 #[cfg(feature = "Win32_Foundation")]
10328 impl ::core::marker::Copy for D3DKMT_PRESENT_REDIRECTED {}
10329 #[cfg(feature = "Win32_Foundation")]
10330 impl ::core::clone::Clone for D3DKMT_PRESENT_REDIRECTED {
10331 fn clone(&self) -> Self {
10332 *self
10333 }
10334 }
10335 #[repr(C)]
10336 pub struct D3DKMT_PRESENT_REDIRECTED_FLAGS {
10337 pub Anonymous: D3DKMT_PRESENT_REDIRECTED_FLAGS_0,
10338 }
10339 impl ::core::marker::Copy for D3DKMT_PRESENT_REDIRECTED_FLAGS {}
10340 impl ::core::clone::Clone for D3DKMT_PRESENT_REDIRECTED_FLAGS {
10341 fn clone(&self) -> Self {
10342 *self
10343 }
10344 }
10345 #[repr(C)]
10346 pub union D3DKMT_PRESENT_REDIRECTED_FLAGS_0 {
10347 pub Anonymous: D3DKMT_PRESENT_REDIRECTED_FLAGS_0_0,
10348 pub Value: u32,
10349 }
10350 impl ::core::marker::Copy for D3DKMT_PRESENT_REDIRECTED_FLAGS_0 {}
10351 impl ::core::clone::Clone for D3DKMT_PRESENT_REDIRECTED_FLAGS_0 {
10352 fn clone(&self) -> Self {
10353 *self
10354 }
10355 }
10356 #[repr(C)]
10357 pub struct D3DKMT_PRESENT_REDIRECTED_FLAGS_0_0 {
10358 pub _bitfield: u32,
10359 }
10360 impl ::core::marker::Copy for D3DKMT_PRESENT_REDIRECTED_FLAGS_0_0 {}
10361 impl ::core::clone::Clone for D3DKMT_PRESENT_REDIRECTED_FLAGS_0_0 {
10362 fn clone(&self) -> Self {
10363 *self
10364 }
10365 }
10366 #[repr(C)]
10367 #[doc = "Required features: `\"Win32_Foundation\"`"]
10368 #[cfg(feature = "Win32_Foundation")]
10369 pub struct D3DKMT_PRESENT_RGNS {
10370 pub DirtyRectCount: u32,
10371 pub pDirtyRects: *const super::super::super::Win32::Foundation::RECT,
10372 pub MoveRectCount: u32,
10373 pub pMoveRects: *const D3DKMT_MOVE_RECT,
10374 }
10375 #[cfg(feature = "Win32_Foundation")]
10376 impl ::core::marker::Copy for D3DKMT_PRESENT_RGNS {}
10377 #[cfg(feature = "Win32_Foundation")]
10378 impl ::core::clone::Clone for D3DKMT_PRESENT_RGNS {
10379 fn clone(&self) -> Self {
10380 *self
10381 }
10382 }
10383 #[repr(C)]
10384 pub struct D3DKMT_PRESENT_STATS {
10385 pub PresentCount: u32,
10386 pub PresentRefreshCount: u32,
10387 pub SyncRefreshCount: u32,
10388 pub SyncQPCTime: i64,
10389 pub SyncGPUTime: i64,
10390 }
10391 impl ::core::marker::Copy for D3DKMT_PRESENT_STATS {}
10392 impl ::core::clone::Clone for D3DKMT_PRESENT_STATS {
10393 fn clone(&self) -> Self {
10394 *self
10395 }
10396 }
10397 #[repr(C)]
10398 pub struct D3DKMT_PRESENT_STATS_DWM {
10399 pub PresentCount: u32,
10400 pub PresentRefreshCount: u32,
10401 pub PresentQPCTime: i64,
10402 pub SyncRefreshCount: u32,
10403 pub SyncQPCTime: i64,
10404 pub CustomPresentDuration: u32,
10405 }
10406 impl ::core::marker::Copy for D3DKMT_PRESENT_STATS_DWM {}
10407 impl ::core::clone::Clone for D3DKMT_PRESENT_STATS_DWM {
10408 fn clone(&self) -> Self {
10409 *self
10410 }
10411 }
10412 #[repr(C)]
10413 pub struct D3DKMT_PRESENT_STATS_DWM2 {
10414 pub cbSize: u32,
10415 pub PresentCount: u32,
10416 pub PresentRefreshCount: u32,
10417 pub PresentQPCTime: i64,
10418 pub SyncRefreshCount: u32,
10419 pub SyncQPCTime: i64,
10420 pub CustomPresentDuration: u32,
10421 pub VirtualSyncRefreshCount: u32,
10422 pub VirtualSyncQPCTime: i64,
10423 }
10424 impl ::core::marker::Copy for D3DKMT_PRESENT_STATS_DWM2 {}
10425 impl ::core::clone::Clone for D3DKMT_PRESENT_STATS_DWM2 {
10426 fn clone(&self) -> Self {
10427 *self
10428 }
10429 }
10430 #[repr(C)]
10431 #[doc = "Required features: `\"Win32_Foundation\"`"]
10432 #[cfg(feature = "Win32_Foundation")]
10433 pub struct D3DKMT_PROCESS_VERIFIER_OPTION {
10434 pub hProcess: super::super::super::Win32::Foundation::HANDLE,
10435 pub Type: D3DKMT_PROCESS_VERIFIER_OPTION_TYPE,
10436 pub Mode: D3DKMT_VERIFIER_OPTION_MODE,
10437 pub Data: D3DKMT_PROCESS_VERIFIER_OPTION_DATA,
10438 }
10439 #[cfg(feature = "Win32_Foundation")]
10440 impl ::core::marker::Copy for D3DKMT_PROCESS_VERIFIER_OPTION {}
10441 #[cfg(feature = "Win32_Foundation")]
10442 impl ::core::clone::Clone for D3DKMT_PROCESS_VERIFIER_OPTION {
10443 fn clone(&self) -> Self {
10444 *self
10445 }
10446 }
10447 #[repr(C)]
10448 pub union D3DKMT_PROCESS_VERIFIER_OPTION_DATA {
10449 pub VidMmFlags: D3DKMT_PROCESS_VERIFIER_VIDMM_FLAGS,
10450 pub VidMmRestrictBudget: D3DKMT_PROCESS_VERIFIER_VIDMM_RESTRICT_BUDGET,
10451 }
10452 impl ::core::marker::Copy for D3DKMT_PROCESS_VERIFIER_OPTION_DATA {}
10453 impl ::core::clone::Clone for D3DKMT_PROCESS_VERIFIER_OPTION_DATA {
10454 fn clone(&self) -> Self {
10455 *self
10456 }
10457 }
10458 #[repr(C)]
10459 pub union D3DKMT_PROCESS_VERIFIER_VIDMM_FLAGS {
10460 pub Anonymous: D3DKMT_PROCESS_VERIFIER_VIDMM_FLAGS_0,
10461 pub Value: u32,
10462 }
10463 impl ::core::marker::Copy for D3DKMT_PROCESS_VERIFIER_VIDMM_FLAGS {}
10464 impl ::core::clone::Clone for D3DKMT_PROCESS_VERIFIER_VIDMM_FLAGS {
10465 fn clone(&self) -> Self {
10466 *self
10467 }
10468 }
10469 #[repr(C)]
10470 pub struct D3DKMT_PROCESS_VERIFIER_VIDMM_FLAGS_0 {
10471 pub _bitfield: u32,
10472 }
10473 impl ::core::marker::Copy for D3DKMT_PROCESS_VERIFIER_VIDMM_FLAGS_0 {}
10474 impl ::core::clone::Clone for D3DKMT_PROCESS_VERIFIER_VIDMM_FLAGS_0 {
10475 fn clone(&self) -> Self {
10476 *self
10477 }
10478 }
10479 #[repr(C)]
10480 pub struct D3DKMT_PROCESS_VERIFIER_VIDMM_RESTRICT_BUDGET {
10481 pub LocalBudget: u64,
10482 pub NonLocalBudget: u64,
10483 }
10484 impl ::core::marker::Copy for D3DKMT_PROCESS_VERIFIER_VIDMM_RESTRICT_BUDGET {}
10485 impl ::core::clone::Clone for D3DKMT_PROCESS_VERIFIER_VIDMM_RESTRICT_BUDGET {
10486 fn clone(&self) -> Self {
10487 *self
10488 }
10489 }
10490 #[repr(C)]
10491 pub struct D3DKMT_QUERYADAPTERINFO {
10492 pub hAdapter: u32,
10493 pub Type: KMTQUERYADAPTERINFOTYPE,
10494 pub pPrivateDriverData: *mut ::core::ffi::c_void,
10495 pub PrivateDriverDataSize: u32,
10496 }
10497 impl ::core::marker::Copy for D3DKMT_QUERYADAPTERINFO {}
10498 impl ::core::clone::Clone for D3DKMT_QUERYADAPTERINFO {
10499 fn clone(&self) -> Self {
10500 *self
10501 }
10502 }
10503 #[repr(C)]
10504 pub struct D3DKMT_QUERYALLOCATIONRESIDENCY {
10505 pub hDevice: u32,
10506 pub hResource: u32,
10507 pub phAllocationList: *const u32,
10508 pub AllocationCount: u32,
10509 pub pResidencyStatus: *mut D3DKMT_ALLOCATIONRESIDENCYSTATUS,
10510 }
10511 impl ::core::marker::Copy for D3DKMT_QUERYALLOCATIONRESIDENCY {}
10512 impl ::core::clone::Clone for D3DKMT_QUERYALLOCATIONRESIDENCY {
10513 fn clone(&self) -> Self {
10514 *self
10515 }
10516 }
10517 #[repr(C, packed(1))]
10518 pub struct D3DKMT_QUERYCLOCKCALIBRATION {
10519 pub hAdapter: u32,
10520 pub NodeOrdinal: u32,
10521 pub PhysicalAdapterIndex: u32,
10522 pub ClockData: DXGK_GPUCLOCKDATA,
10523 }
10524 impl ::core::marker::Copy for D3DKMT_QUERYCLOCKCALIBRATION {}
10525 impl ::core::clone::Clone for D3DKMT_QUERYCLOCKCALIBRATION {
10526 fn clone(&self) -> Self {
10527 *self
10528 }
10529 }
10530 #[repr(C)]
10531 #[doc = "Required features: `\"Win32_Foundation\"`"]
10532 #[cfg(feature = "Win32_Foundation")]
10533 pub struct D3DKMT_QUERYFSEBLOCK {
10534 pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
10535 pub hAdapter: u32,
10536 pub VidPnSourceId: u32,
10537 pub Flags: D3DKMT_QUERYFSEBLOCKFLAGS,
10538 }
10539 #[cfg(feature = "Win32_Foundation")]
10540 impl ::core::marker::Copy for D3DKMT_QUERYFSEBLOCK {}
10541 #[cfg(feature = "Win32_Foundation")]
10542 impl ::core::clone::Clone for D3DKMT_QUERYFSEBLOCK {
10543 fn clone(&self) -> Self {
10544 *self
10545 }
10546 }
10547 #[repr(C)]
10548 pub union D3DKMT_QUERYFSEBLOCKFLAGS {
10549 pub Anonymous: D3DKMT_QUERYFSEBLOCKFLAGS_0,
10550 pub Value: u32,
10551 }
10552 impl ::core::marker::Copy for D3DKMT_QUERYFSEBLOCKFLAGS {}
10553 impl ::core::clone::Clone for D3DKMT_QUERYFSEBLOCKFLAGS {
10554 fn clone(&self) -> Self {
10555 *self
10556 }
10557 }
10558 #[repr(C)]
10559 pub struct D3DKMT_QUERYFSEBLOCKFLAGS_0 {
10560 pub _bitfield: u32,
10561 }
10562 impl ::core::marker::Copy for D3DKMT_QUERYFSEBLOCKFLAGS_0 {}
10563 impl ::core::clone::Clone for D3DKMT_QUERYFSEBLOCKFLAGS_0 {
10564 fn clone(&self) -> Self {
10565 *self
10566 }
10567 }
10568 #[repr(C)]
10569 #[doc = "Required features: `\"Win32_Foundation\"`"]
10570 #[cfg(feature = "Win32_Foundation")]
10571 pub struct D3DKMT_QUERYPROCESSOFFERINFO {
10572 pub cbSize: u32,
10573 pub hProcess: super::super::super::Win32::Foundation::HANDLE,
10574 pub DecommitUniqueness: u64,
10575 pub DecommittableBytes: u64,
10576 }
10577 #[cfg(feature = "Win32_Foundation")]
10578 impl ::core::marker::Copy for D3DKMT_QUERYPROCESSOFFERINFO {}
10579 #[cfg(feature = "Win32_Foundation")]
10580 impl ::core::clone::Clone for D3DKMT_QUERYPROCESSOFFERINFO {
10581 fn clone(&self) -> Self {
10582 *self
10583 }
10584 }
10585 #[repr(C)]
10586 #[doc = "Required features: `\"Win32_Foundation\"`"]
10587 #[cfg(feature = "Win32_Foundation")]
10588 pub struct D3DKMT_QUERYPROTECTEDSESSIONINFOFROMNTHANDLE {
10589 pub hNtHandle: super::super::super::Win32::Foundation::HANDLE,
10590 pub pPrivateDriverData: *const ::core::ffi::c_void,
10591 pub PrivateDriverDataSize: u32,
10592 pub pPrivateRuntimeData: *const ::core::ffi::c_void,
10593 pub PrivateRuntimeDataSize: u32,
10594 }
10595 #[cfg(feature = "Win32_Foundation")]
10596 impl ::core::marker::Copy for D3DKMT_QUERYPROTECTEDSESSIONINFOFROMNTHANDLE {}
10597 #[cfg(feature = "Win32_Foundation")]
10598 impl ::core::clone::Clone for D3DKMT_QUERYPROTECTEDSESSIONINFOFROMNTHANDLE {
10599 fn clone(&self) -> Self {
10600 *self
10601 }
10602 }
10603 #[repr(C)]
10604 pub struct D3DKMT_QUERYPROTECTEDSESSIONSTATUS {
10605 pub hHandle: u32,
10606 pub Status: D3DKMT_PROTECTED_SESSION_STATUS,
10607 }
10608 impl ::core::marker::Copy for D3DKMT_QUERYPROTECTEDSESSIONSTATUS {}
10609 impl ::core::clone::Clone for D3DKMT_QUERYPROTECTEDSESSIONSTATUS {
10610 fn clone(&self) -> Self {
10611 *self
10612 }
10613 }
10614 #[repr(C)]
10615 pub struct D3DKMT_QUERYREMOTEVIDPNSOURCEFROMGDIDISPLAYNAME {
10616 pub DeviceName: [u16; 32],
10617 pub VidPnSourceId: u32,
10618 }
10619 impl ::core::marker::Copy for D3DKMT_QUERYREMOTEVIDPNSOURCEFROMGDIDISPLAYNAME {}
10620 impl ::core::clone::Clone for D3DKMT_QUERYREMOTEVIDPNSOURCEFROMGDIDISPLAYNAME {
10621 fn clone(&self) -> Self {
10622 *self
10623 }
10624 }
10625 #[repr(C)]
10626 pub struct D3DKMT_QUERYRESOURCEINFO {
10627 pub hDevice: u32,
10628 pub hGlobalShare: u32,
10629 pub pPrivateRuntimeData: *mut ::core::ffi::c_void,
10630 pub PrivateRuntimeDataSize: u32,
10631 pub TotalPrivateDriverDataSize: u32,
10632 pub ResourcePrivateDriverDataSize: u32,
10633 pub NumAllocations: u32,
10634 }
10635 impl ::core::marker::Copy for D3DKMT_QUERYRESOURCEINFO {}
10636 impl ::core::clone::Clone for D3DKMT_QUERYRESOURCEINFO {
10637 fn clone(&self) -> Self {
10638 *self
10639 }
10640 }
10641 #[repr(C)]
10642 #[doc = "Required features: `\"Win32_Foundation\"`"]
10643 #[cfg(feature = "Win32_Foundation")]
10644 pub struct D3DKMT_QUERYRESOURCEINFOFROMNTHANDLE {
10645 pub hDevice: u32,
10646 pub hNtHandle: super::super::super::Win32::Foundation::HANDLE,
10647 pub pPrivateRuntimeData: *mut ::core::ffi::c_void,
10648 pub PrivateRuntimeDataSize: u32,
10649 pub TotalPrivateDriverDataSize: u32,
10650 pub ResourcePrivateDriverDataSize: u32,
10651 pub NumAllocations: u32,
10652 }
10653 #[cfg(feature = "Win32_Foundation")]
10654 impl ::core::marker::Copy for D3DKMT_QUERYRESOURCEINFOFROMNTHANDLE {}
10655 #[cfg(feature = "Win32_Foundation")]
10656 impl ::core::clone::Clone for D3DKMT_QUERYRESOURCEINFOFROMNTHANDLE {
10657 fn clone(&self) -> Self {
10658 *self
10659 }
10660 }
10661 #[repr(C)]
10662 #[doc = "Required features: `\"Win32_Foundation\"`"]
10663 #[cfg(feature = "Win32_Foundation")]
10664 pub struct D3DKMT_QUERYSTATISTICS {
10665 pub Type: D3DKMT_QUERYSTATISTICS_TYPE,
10666 pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
10667 pub hProcess: super::super::super::Win32::Foundation::HANDLE,
10668 pub QueryResult: D3DKMT_QUERYSTATISTICS_RESULT,
10669 pub Anonymous: D3DKMT_QUERYSTATISTICS_0,
10670 }
10671 #[cfg(feature = "Win32_Foundation")]
10672 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS {}
10673 #[cfg(feature = "Win32_Foundation")]
10674 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS {
10675 fn clone(&self) -> Self {
10676 *self
10677 }
10678 }
10679 #[repr(C)]
10680 #[doc = "Required features: `\"Win32_Foundation\"`"]
10681 #[cfg(feature = "Win32_Foundation")]
10682 pub union D3DKMT_QUERYSTATISTICS_0 {
10683 pub QuerySegment: D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT,
10684 pub QueryProcessSegment: D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT,
10685 pub QueryProcessSegmentGroup: D3DKMT_MEMORY_SEGMENT_GROUP,
10686 pub QueryNode: D3DKMT_QUERYSTATISTICS_QUERY_NODE,
10687 pub QueryProcessNode: D3DKMT_QUERYSTATISTICS_QUERY_NODE,
10688 pub QueryVidPnSource: D3DKMT_QUERYSTATISTICS_QUERY_VIDPNSOURCE,
10689 pub QueryProcessVidPnSource: D3DKMT_QUERYSTATISTICS_QUERY_VIDPNSOURCE,
10690 pub QueryPhysAdapter: D3DKMT_QUERYSTATISTICS_QUERY_PHYSICAL_ADAPTER,
10691 pub QueryAdapter2: D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER2,
10692 pub QuerySegment2: D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT2,
10693 pub QueryProcessAdapter2: D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER2,
10694 pub QueryProcessSegment2: D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT2,
10695 pub QueryProcessSegmentGroup2: D3DKMT_QUERYSTATISTICS_QUERY_PROCESS_SEGMENT_GROUP2,
10696 pub QuerySegmentUsage: D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_USAGE,
10697 pub QuerySegmentGroupUsage: D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_GROUP_USAGE,
10698 pub QueryNode2: D3DKMT_QUERYSTATISTICS_QUERY_NODE2,
10699 pub QueryProcessNode2: D3DKMT_QUERYSTATISTICS_QUERY_NODE2,
10700 }
10701 #[cfg(feature = "Win32_Foundation")]
10702 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_0 {}
10703 #[cfg(feature = "Win32_Foundation")]
10704 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_0 {
10705 fn clone(&self) -> Self {
10706 *self
10707 }
10708 }
10709 #[repr(C)]
10710 pub struct D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION {
10711 pub NbSegments: u32,
10712 pub NodeCount: u32,
10713 pub VidPnSourceCount: u32,
10714 pub VSyncEnabled: u32,
10715 pub TdrDetectedCount: u32,
10716 pub ZeroLengthDmaBuffers: i64,
10717 pub RestartedPeriod: u64,
10718 pub ReferenceDmaBuffer: D3DKMT_QUERYSTATSTICS_REFERENCE_DMA_BUFFER,
10719 pub Renaming: D3DKMT_QUERYSTATSTICS_RENAMING,
10720 pub Preparation: D3DKMT_QUERYSTATSTICS_PREPRATION,
10721 pub PagingFault: D3DKMT_QUERYSTATSTICS_PAGING_FAULT,
10722 pub PagingTransfer: D3DKMT_QUERYSTATSTICS_PAGING_TRANSFER,
10723 pub SwizzlingRange: D3DKMT_QUERYSTATSTICS_SWIZZLING_RANGE,
10724 pub Locks: D3DKMT_QUERYSTATSTICS_LOCKS,
10725 pub Allocations: D3DKMT_QUERYSTATSTICS_ALLOCATIONS,
10726 pub Terminations: D3DKMT_QUERYSTATSTICS_TERMINATIONS,
10727 pub Flags: D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS,
10728 pub Reserved: [u64; 7],
10729 }
10730 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION {}
10731 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION {
10732 fn clone(&self) -> Self {
10733 *self
10734 }
10735 }
10736 #[repr(C)]
10737 pub struct D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS {
10738 pub Anonymous: D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS_0,
10739 }
10740 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS {}
10741 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS {
10742 fn clone(&self) -> Self {
10743 *self
10744 }
10745 }
10746 #[repr(C)]
10747 pub union D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS_0 {
10748 pub Anonymous: D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS_0_0,
10749 pub Value: u64,
10750 }
10751 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS_0 {}
10752 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS_0 {
10753 fn clone(&self) -> Self {
10754 *self
10755 }
10756 }
10757 #[repr(C)]
10758 pub struct D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS_0_0 {
10759 pub _bitfield: u64,
10760 }
10761 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS_0_0 {}
10762 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS_0_0 {
10763 fn clone(&self) -> Self {
10764 *self
10765 }
10766 }
10767 #[repr(C)]
10768 pub struct D3DKMT_QUERYSTATISTICS_COMMITMENT_DATA {
10769 pub TotalBytesEvictedFromProcess: u64,
10770 pub BytesBySegmentPreference: [u64; 5],
10771 }
10772 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_COMMITMENT_DATA {}
10773 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_COMMITMENT_DATA {
10774 fn clone(&self) -> Self {
10775 *self
10776 }
10777 }
10778 #[repr(C)]
10779 pub struct D3DKMT_QUERYSTATISTICS_COUNTER {
10780 pub Count: u32,
10781 pub Bytes: u64,
10782 }
10783 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_COUNTER {}
10784 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_COUNTER {
10785 fn clone(&self) -> Self {
10786 *self
10787 }
10788 }
10789 #[repr(C)]
10790 pub struct D3DKMT_QUERYSTATISTICS_DMA_BUFFER {
10791 pub Size: D3DKMT_QUERYSTATISTICS_COUNTER,
10792 pub AllocationListBytes: u32,
10793 pub PatchLocationListBytes: u32,
10794 }
10795 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_DMA_BUFFER {}
10796 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_DMA_BUFFER {
10797 fn clone(&self) -> Self {
10798 *self
10799 }
10800 }
10801 #[repr(C)]
10802 pub struct D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE_INFORMATION {
10803 pub PacketSubmited: u32,
10804 pub PacketCompleted: u32,
10805 pub PacketPreempted: u32,
10806 pub PacketFaulted: u32,
10807 }
10808 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE_INFORMATION {}
10809 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE_INFORMATION {
10810 fn clone(&self) -> Self {
10811 *self
10812 }
10813 }
10814 #[repr(C)]
10815 pub struct D3DKMT_QUERYSTATISTICS_MEMORY {
10816 pub TotalBytesEvicted: u64,
10817 pub AllocsCommitted: u32,
10818 pub AllocsResident: u32,
10819 }
10820 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_MEMORY {}
10821 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_MEMORY {
10822 fn clone(&self) -> Self {
10823 *self
10824 }
10825 }
10826 #[repr(C)]
10827 pub struct D3DKMT_QUERYSTATISTICS_MEMORY_USAGE {
10828 pub AllocatedBytes: u64,
10829 pub FreeBytes: u64,
10830 pub ZeroBytes: u64,
10831 pub ModifiedBytes: u64,
10832 pub StandbyBytes: u64,
10833 }
10834 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_MEMORY_USAGE {}
10835 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_MEMORY_USAGE {
10836 fn clone(&self) -> Self {
10837 *self
10838 }
10839 }
10840 #[repr(C)]
10841 pub struct D3DKMT_QUERYSTATISTICS_NODE_INFORMATION {
10842 pub GlobalInformation: D3DKMT_QUERYSTATISTICS_PROCESS_NODE_INFORMATION,
10843 pub SystemInformation: D3DKMT_QUERYSTATISTICS_PROCESS_NODE_INFORMATION,
10844 pub NodePerfData: D3DKMT_NODE_PERFDATA,
10845 pub Reserved: [u32; 3],
10846 }
10847 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_NODE_INFORMATION {}
10848 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_NODE_INFORMATION {
10849 fn clone(&self) -> Self {
10850 *self
10851 }
10852 }
10853 #[repr(C)]
10854 pub struct D3DKMT_QUERYSTATISTICS_PACKET_INFORMATION {
10855 pub QueuePacket: [D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE_INFORMATION; 8],
10856 pub DmaPacket: [D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE_INFORMATION; 4],
10857 }
10858 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_PACKET_INFORMATION {}
10859 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_PACKET_INFORMATION {
10860 fn clone(&self) -> Self {
10861 *self
10862 }
10863 }
10864 #[repr(C)]
10865 pub struct D3DKMT_QUERYSTATISTICS_PHYSICAL_ADAPTER_INFORMATION {
10866 pub AdapterPerfData: D3DKMT_ADAPTER_PERFDATA,
10867 pub AdapterPerfDataCaps: D3DKMT_ADAPTER_PERFDATACAPS,
10868 pub GpuVersion: D3DKMT_GPUVERSION,
10869 }
10870 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_PHYSICAL_ADAPTER_INFORMATION {}
10871 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_PHYSICAL_ADAPTER_INFORMATION {
10872 fn clone(&self) -> Self {
10873 *self
10874 }
10875 }
10876 #[repr(C)]
10877 pub struct D3DKMT_QUERYSTATISTICS_POLICY {
10878 pub PreferApertureForRead: [u64; 5],
10879 pub PreferAperture: [u64; 5],
10880 pub MemResetOnPaging: u64,
10881 pub RemovePagesFromWorkingSetOnPaging: u64,
10882 pub MigrationEnabled: u64,
10883 }
10884 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_POLICY {}
10885 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_POLICY {
10886 fn clone(&self) -> Self {
10887 *self
10888 }
10889 }
10890 #[repr(C)]
10891 pub struct D3DKMT_QUERYSTATISTICS_PREEMPTION_INFORMATION {
10892 pub PreemptionCounter: [u32; 16],
10893 }
10894 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_PREEMPTION_INFORMATION {}
10895 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_PREEMPTION_INFORMATION {
10896 fn clone(&self) -> Self {
10897 *self
10898 }
10899 }
10900 #[repr(C)]
10901 pub struct D3DKMT_QUERYSTATISTICS_PROCESS_ADAPTER_INFORMATION {
10902 pub NbSegments: u32,
10903 pub NodeCount: u32,
10904 pub VidPnSourceCount: u32,
10905 pub VirtualMemoryUsage: u32,
10906 pub DmaBuffer: D3DKMT_QUERYSTATISTICS_DMA_BUFFER,
10907 pub CommitmentData: D3DKMT_QUERYSTATISTICS_COMMITMENT_DATA,
10908 pub _Policy: D3DKMT_QUERYSTATISTICS_POLICY,
10909 pub ProcessInterferenceCounters: D3DKMT_QUERYSTATISTICS_PROCESS_INTERFERENCE_COUNTERS,
10910 pub ClientHint: D3DKMT_CLIENTHINT,
10911 }
10912 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_PROCESS_ADAPTER_INFORMATION {}
10913 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_PROCESS_ADAPTER_INFORMATION {
10914 fn clone(&self) -> Self {
10915 *self
10916 }
10917 }
10918 #[repr(C)]
10919 pub struct D3DKMT_QUERYSTATISTICS_PROCESS_INFORMATION {
10920 pub NodeCount: u32,
10921 pub VidPnSourceCount: u32,
10922 pub SystemMemory: D3DKMT_QUERYSTATISTICS_SYSTEM_MEMORY,
10923 pub Reserved: [u64; 7],
10924 }
10925 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_PROCESS_INFORMATION {}
10926 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_PROCESS_INFORMATION {
10927 fn clone(&self) -> Self {
10928 *self
10929 }
10930 }
10931 #[repr(C)]
10932 pub struct D3DKMT_QUERYSTATISTICS_PROCESS_INTERFERENCE_COUNTERS {
10933 pub InterferenceCount: [u64; 9],
10934 }
10935 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_PROCESS_INTERFERENCE_COUNTERS {}
10936 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_PROCESS_INTERFERENCE_COUNTERS {
10937 fn clone(&self) -> Self {
10938 *self
10939 }
10940 }
10941 #[repr(C)]
10942 pub struct D3DKMT_QUERYSTATISTICS_PROCESS_NODE_INFORMATION {
10943 pub RunningTime: i64,
10944 pub ContextSwitch: u32,
10945 pub PreemptionStatistics: D3DKMT_QUERYSTATISTICS_PREEMPTION_INFORMATION,
10946 pub PacketStatistics: D3DKMT_QUERYSTATISTICS_PACKET_INFORMATION,
10947 pub Reserved: [u64; 8],
10948 }
10949 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_PROCESS_NODE_INFORMATION {}
10950 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_PROCESS_NODE_INFORMATION {
10951 fn clone(&self) -> Self {
10952 *self
10953 }
10954 }
10955 #[repr(C)]
10956 pub struct D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_GROUP_INFORMATION {
10957 pub Budget: u64,
10958 pub Requested: u64,
10959 pub Usage: u64,
10960 pub Demoted: [u64; 5],
10961 }
10962 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_GROUP_INFORMATION {}
10963 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_GROUP_INFORMATION {
10964 fn clone(&self) -> Self {
10965 *self
10966 }
10967 }
10968 #[repr(C)]
10969 pub struct D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_INFORMATION {
10970 pub BytesCommitted: u64,
10971 pub MaximumWorkingSet: u64,
10972 pub MinimumWorkingSet: u64,
10973 pub NbReferencedAllocationEvictedInPeriod: u32,
10974 pub Padding: u32,
10975 pub VideoMemory: D3DKMT_QUERYSTATISTICS_VIDEO_MEMORY,
10976 pub _Policy: D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_POLICY,
10977 pub Reserved: [u64; 8],
10978 }
10979 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_INFORMATION {}
10980 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_INFORMATION {
10981 fn clone(&self) -> Self {
10982 *self
10983 }
10984 }
10985 #[repr(C)]
10986 pub struct D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_POLICY {
10987 pub UseMRU: u64,
10988 }
10989 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_POLICY {}
10990 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_POLICY {
10991 fn clone(&self) -> Self {
10992 *self
10993 }
10994 }
10995 #[repr(C)]
10996 pub struct D3DKMT_QUERYSTATISTICS_PROCESS_VIDPNSOURCE_INFORMATION {
10997 pub Frame: u32,
10998 pub CancelledFrame: u32,
10999 pub QueuedPresent: u32,
11000 pub Padding: u32,
11001 pub IsVSyncEnabled: u64,
11002 pub VSyncOnTotalTimeMs: u64,
11003 pub VSyncOffKeepPhaseTotalTimeMs: u64,
11004 pub VSyncOffNoPhaseTotalTimeMs: u64,
11005 pub Reserved: [u64; 4],
11006 }
11007 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_PROCESS_VIDPNSOURCE_INFORMATION {}
11008 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_PROCESS_VIDPNSOURCE_INFORMATION {
11009 fn clone(&self) -> Self {
11010 *self
11011 }
11012 }
11013 #[repr(C)]
11014 pub struct D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER2 {
11015 pub PhysicalAdapterIndex: u16,
11016 }
11017 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER2 {}
11018 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER2 {
11019 fn clone(&self) -> Self {
11020 *self
11021 }
11022 }
11023 #[repr(C)]
11024 pub struct D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER_INFORMATION2 {
11025 pub PhysicalAdapterIndex: u16,
11026 }
11027 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER_INFORMATION2 {}
11028 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER_INFORMATION2 {
11029 fn clone(&self) -> Self {
11030 *self
11031 }
11032 }
11033 #[repr(C)]
11034 pub struct D3DKMT_QUERYSTATISTICS_QUERY_NODE {
11035 pub NodeId: u32,
11036 }
11037 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_QUERY_NODE {}
11038 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_QUERY_NODE {
11039 fn clone(&self) -> Self {
11040 *self
11041 }
11042 }
11043 #[repr(C)]
11044 pub struct D3DKMT_QUERYSTATISTICS_QUERY_NODE2 {
11045 pub PhysicalAdapterIndex: u16,
11046 pub NodeOrdinal: u16,
11047 }
11048 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_QUERY_NODE2 {}
11049 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_QUERY_NODE2 {
11050 fn clone(&self) -> Self {
11051 *self
11052 }
11053 }
11054 #[repr(C)]
11055 pub struct D3DKMT_QUERYSTATISTICS_QUERY_PHYSICAL_ADAPTER {
11056 pub PhysicalAdapterIndex: u32,
11057 }
11058 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_QUERY_PHYSICAL_ADAPTER {}
11059 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_QUERY_PHYSICAL_ADAPTER {
11060 fn clone(&self) -> Self {
11061 *self
11062 }
11063 }
11064 #[repr(C)]
11065 pub struct D3DKMT_QUERYSTATISTICS_QUERY_PROCESS_SEGMENT_GROUP2 {
11066 pub PhysicalAdapterIndex: u16,
11067 pub SegmentGroup: u16,
11068 }
11069 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_QUERY_PROCESS_SEGMENT_GROUP2 {}
11070 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_QUERY_PROCESS_SEGMENT_GROUP2 {
11071 fn clone(&self) -> Self {
11072 *self
11073 }
11074 }
11075 #[repr(C)]
11076 pub struct D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT {
11077 pub SegmentId: u32,
11078 }
11079 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT {}
11080 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT {
11081 fn clone(&self) -> Self {
11082 *self
11083 }
11084 }
11085 #[repr(C)]
11086 pub struct D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT2 {
11087 pub PhysicalAdapterIndex: u16,
11088 pub SegmentId: u16,
11089 }
11090 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT2 {}
11091 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT2 {
11092 fn clone(&self) -> Self {
11093 *self
11094 }
11095 }
11096 #[repr(C)]
11097 pub struct D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_GROUP_USAGE {
11098 pub PhysicalAdapterIndex: u16,
11099 pub SegmentGroup: u16,
11100 }
11101 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_GROUP_USAGE {}
11102 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_GROUP_USAGE {
11103 fn clone(&self) -> Self {
11104 *self
11105 }
11106 }
11107 #[repr(C)]
11108 pub struct D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_USAGE {
11109 pub PhysicalAdapterIndex: u16,
11110 pub SegmentId: u16,
11111 }
11112 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_USAGE {}
11113 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_USAGE {
11114 fn clone(&self) -> Self {
11115 *self
11116 }
11117 }
11118 #[repr(C)]
11119 pub struct D3DKMT_QUERYSTATISTICS_QUERY_VIDPNSOURCE {
11120 pub VidPnSourceId: u32,
11121 }
11122 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_QUERY_VIDPNSOURCE {}
11123 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_QUERY_VIDPNSOURCE {
11124 fn clone(&self) -> Self {
11125 *self
11126 }
11127 }
11128 #[repr(C)]
11129 pub struct D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE_INFORMATION {
11130 pub PacketSubmited: u32,
11131 pub PacketCompleted: u32,
11132 }
11133 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE_INFORMATION {}
11134 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE_INFORMATION {
11135 fn clone(&self) -> Self {
11136 *self
11137 }
11138 }
11139 #[repr(C)]
11140 pub union D3DKMT_QUERYSTATISTICS_RESULT {
11141 pub AdapterInformation: D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION,
11142 pub PhysAdapterInformation: D3DKMT_QUERYSTATISTICS_PHYSICAL_ADAPTER_INFORMATION,
11143 pub SegmentInformation: D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION,
11144 pub NodeInformation: D3DKMT_QUERYSTATISTICS_NODE_INFORMATION,
11145 pub VidPnSourceInformation: D3DKMT_QUERYSTATISTICS_VIDPNSOURCE_INFORMATION,
11146 pub ProcessInformation: D3DKMT_QUERYSTATISTICS_PROCESS_INFORMATION,
11147 pub ProcessAdapterInformation: D3DKMT_QUERYSTATISTICS_PROCESS_ADAPTER_INFORMATION,
11148 pub ProcessSegmentInformation: D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_INFORMATION,
11149 pub ProcessNodeInformation: D3DKMT_QUERYSTATISTICS_PROCESS_NODE_INFORMATION,
11150 pub ProcessVidPnSourceInformation: D3DKMT_QUERYSTATISTICS_PROCESS_VIDPNSOURCE_INFORMATION,
11151 pub ProcessSegmentGroupInformation: D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_GROUP_INFORMATION,
11152 pub SegmentUsageInformation: D3DKMT_QUERYSTATISTICS_MEMORY_USAGE,
11153 pub SegmentGroupUsageInformation: D3DKMT_QUERYSTATISTICS_MEMORY_USAGE,
11154 }
11155 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_RESULT {}
11156 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_RESULT {
11157 fn clone(&self) -> Self {
11158 *self
11159 }
11160 }
11161 #[repr(C)]
11162 pub struct D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION {
11163 pub CommitLimit: u64,
11164 pub BytesCommitted: u64,
11165 pub BytesResident: u64,
11166 pub Memory: D3DKMT_QUERYSTATISTICS_MEMORY,
11167 pub Aperture: u32,
11168 pub TotalBytesEvictedByPriority: [u64; 5],
11169 pub SystemMemoryEndAddress: u64,
11170 pub PowerFlags: D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_0,
11171 pub SegmentProperties: D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_1,
11172 pub Reserved: [u64; 5],
11173 }
11174 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION {}
11175 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION {
11176 fn clone(&self) -> Self {
11177 *self
11178 }
11179 }
11180 #[repr(C)]
11181 pub struct D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_0 {
11182 pub _bitfield: u64,
11183 }
11184 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_0 {}
11185 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_0 {
11186 fn clone(&self) -> Self {
11187 *self
11188 }
11189 }
11190 #[repr(C)]
11191 pub struct D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_1 {
11192 pub _bitfield: u64,
11193 }
11194 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_1 {}
11195 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_1 {
11196 fn clone(&self) -> Self {
11197 *self
11198 }
11199 }
11200 #[repr(C)]
11201 pub struct D3DKMT_QUERYSTATISTICS_SYSTEM_MEMORY {
11202 pub BytesAllocated: u64,
11203 pub BytesReserved: u64,
11204 pub SmallAllocationBlocks: u32,
11205 pub LargeAllocationBlocks: u32,
11206 pub WriteCombinedBytesAllocated: u64,
11207 pub WriteCombinedBytesReserved: u64,
11208 pub CachedBytesAllocated: u64,
11209 pub CachedBytesReserved: u64,
11210 pub SectionBytesAllocated: u64,
11211 pub SectionBytesReserved: u64,
11212 pub BytesZeroed: u64,
11213 }
11214 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_SYSTEM_MEMORY {}
11215 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_SYSTEM_MEMORY {
11216 fn clone(&self) -> Self {
11217 *self
11218 }
11219 }
11220 #[repr(C)]
11221 pub struct D3DKMT_QUERYSTATISTICS_VIDEO_MEMORY {
11222 pub AllocsCommitted: u32,
11223 pub AllocsResidentInP: [D3DKMT_QUERYSTATISTICS_COUNTER; 5],
11224 pub AllocsResidentInNonPreferred: D3DKMT_QUERYSTATISTICS_COUNTER,
11225 pub TotalBytesEvictedDueToPreparation: u64,
11226 }
11227 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_VIDEO_MEMORY {}
11228 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_VIDEO_MEMORY {
11229 fn clone(&self) -> Self {
11230 *self
11231 }
11232 }
11233 #[repr(C)]
11234 pub struct D3DKMT_QUERYSTATISTICS_VIDPNSOURCE_INFORMATION {
11235 pub GlobalInformation: D3DKMT_QUERYSTATISTICS_PROCESS_VIDPNSOURCE_INFORMATION,
11236 pub SystemInformation: D3DKMT_QUERYSTATISTICS_PROCESS_VIDPNSOURCE_INFORMATION,
11237 pub Reserved: [u64; 8],
11238 }
11239 impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_VIDPNSOURCE_INFORMATION {}
11240 impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_VIDPNSOURCE_INFORMATION {
11241 fn clone(&self) -> Self {
11242 *self
11243 }
11244 }
11245 #[repr(C)]
11246 pub struct D3DKMT_QUERYSTATSTICS_ALLOCATIONS {
11247 pub Created: D3DKMT_QUERYSTATISTICS_COUNTER,
11248 pub Destroyed: D3DKMT_QUERYSTATISTICS_COUNTER,
11249 pub Opened: D3DKMT_QUERYSTATISTICS_COUNTER,
11250 pub Closed: D3DKMT_QUERYSTATISTICS_COUNTER,
11251 pub MigratedSuccess: D3DKMT_QUERYSTATISTICS_COUNTER,
11252 pub MigratedFail: D3DKMT_QUERYSTATISTICS_COUNTER,
11253 pub MigratedAbandoned: D3DKMT_QUERYSTATISTICS_COUNTER,
11254 }
11255 impl ::core::marker::Copy for D3DKMT_QUERYSTATSTICS_ALLOCATIONS {}
11256 impl ::core::clone::Clone for D3DKMT_QUERYSTATSTICS_ALLOCATIONS {
11257 fn clone(&self) -> Self {
11258 *self
11259 }
11260 }
11261 #[repr(C)]
11262 pub struct D3DKMT_QUERYSTATSTICS_LOCKS {
11263 pub NbLocks: u32,
11264 pub NbLocksWaitFlag: u32,
11265 pub NbLocksDiscardFlag: u32,
11266 pub NbLocksNoOverwrite: u32,
11267 pub NbLocksNoReadSync: u32,
11268 pub NbLocksLinearization: u32,
11269 pub NbComplexLocks: u32,
11270 }
11271 impl ::core::marker::Copy for D3DKMT_QUERYSTATSTICS_LOCKS {}
11272 impl ::core::clone::Clone for D3DKMT_QUERYSTATSTICS_LOCKS {
11273 fn clone(&self) -> Self {
11274 *self
11275 }
11276 }
11277 #[repr(C)]
11278 pub struct D3DKMT_QUERYSTATSTICS_PAGING_FAULT {
11279 pub Faults: D3DKMT_QUERYSTATISTICS_COUNTER,
11280 pub FaultsFirstTimeAccess: D3DKMT_QUERYSTATISTICS_COUNTER,
11281 pub FaultsReclaimed: D3DKMT_QUERYSTATISTICS_COUNTER,
11282 pub FaultsMigration: D3DKMT_QUERYSTATISTICS_COUNTER,
11283 pub FaultsIncorrectResource: D3DKMT_QUERYSTATISTICS_COUNTER,
11284 pub FaultsLostContent: D3DKMT_QUERYSTATISTICS_COUNTER,
11285 pub FaultsEvicted: D3DKMT_QUERYSTATISTICS_COUNTER,
11286 pub AllocationsMEM_RESET: D3DKMT_QUERYSTATISTICS_COUNTER,
11287 pub AllocationsUnresetSuccess: D3DKMT_QUERYSTATISTICS_COUNTER,
11288 pub AllocationsUnresetFail: D3DKMT_QUERYSTATISTICS_COUNTER,
11289 pub AllocationsUnresetSuccessRead: u32,
11290 pub AllocationsUnresetFailRead: u32,
11291 pub Evictions: D3DKMT_QUERYSTATISTICS_COUNTER,
11292 pub EvictionsDueToPreparation: D3DKMT_QUERYSTATISTICS_COUNTER,
11293 pub EvictionsDueToLock: D3DKMT_QUERYSTATISTICS_COUNTER,
11294 pub EvictionsDueToClose: D3DKMT_QUERYSTATISTICS_COUNTER,
11295 pub EvictionsDueToPurge: D3DKMT_QUERYSTATISTICS_COUNTER,
11296 pub EvictionsDueToSuspendCPUAccess: D3DKMT_QUERYSTATISTICS_COUNTER,
11297 }
11298 impl ::core::marker::Copy for D3DKMT_QUERYSTATSTICS_PAGING_FAULT {}
11299 impl ::core::clone::Clone for D3DKMT_QUERYSTATSTICS_PAGING_FAULT {
11300 fn clone(&self) -> Self {
11301 *self
11302 }
11303 }
11304 #[repr(C)]
11305 pub struct D3DKMT_QUERYSTATSTICS_PAGING_TRANSFER {
11306 pub BytesFilled: u64,
11307 pub BytesDiscarded: u64,
11308 pub BytesMappedIntoAperture: u64,
11309 pub BytesUnmappedFromAperture: u64,
11310 pub BytesTransferredFromMdlToMemory: u64,
11311 pub BytesTransferredFromMemoryToMdl: u64,
11312 pub BytesTransferredFromApertureToMemory: u64,
11313 pub BytesTransferredFromMemoryToAperture: u64,
11314 }
11315 impl ::core::marker::Copy for D3DKMT_QUERYSTATSTICS_PAGING_TRANSFER {}
11316 impl ::core::clone::Clone for D3DKMT_QUERYSTATSTICS_PAGING_TRANSFER {
11317 fn clone(&self) -> Self {
11318 *self
11319 }
11320 }
11321 #[repr(C)]
11322 pub struct D3DKMT_QUERYSTATSTICS_PREPRATION {
11323 pub BroadcastStall: u32,
11324 pub NbDMAPrepared: u32,
11325 pub NbDMAPreparedLongPath: u32,
11326 pub ImmediateHighestPreparationPass: u32,
11327 pub AllocationsTrimmed: D3DKMT_QUERYSTATISTICS_COUNTER,
11328 }
11329 impl ::core::marker::Copy for D3DKMT_QUERYSTATSTICS_PREPRATION {}
11330 impl ::core::clone::Clone for D3DKMT_QUERYSTATSTICS_PREPRATION {
11331 fn clone(&self) -> Self {
11332 *self
11333 }
11334 }
11335 #[repr(C)]
11336 pub struct D3DKMT_QUERYSTATSTICS_REFERENCE_DMA_BUFFER {
11337 pub NbCall: u32,
11338 pub NbAllocationsReferenced: u32,
11339 pub MaxNbAllocationsReferenced: u32,
11340 pub NbNULLReference: u32,
11341 pub NbWriteReference: u32,
11342 pub NbRenamedAllocationsReferenced: u32,
11343 pub NbIterationSearchingRenamedAllocation: u32,
11344 pub NbLockedAllocationReferenced: u32,
11345 pub NbAllocationWithValidPrepatchingInfoReferenced: u32,
11346 pub NbAllocationWithInvalidPrepatchingInfoReferenced: u32,
11347 pub NbDMABufferSuccessfullyPrePatched: u32,
11348 pub NbPrimariesReferencesOverflow: u32,
11349 pub NbAllocationWithNonPreferredResources: u32,
11350 pub NbAllocationInsertedInMigrationTable: u32,
11351 }
11352 impl ::core::marker::Copy for D3DKMT_QUERYSTATSTICS_REFERENCE_DMA_BUFFER {}
11353 impl ::core::clone::Clone for D3DKMT_QUERYSTATSTICS_REFERENCE_DMA_BUFFER {
11354 fn clone(&self) -> Self {
11355 *self
11356 }
11357 }
11358 #[repr(C)]
11359 pub struct D3DKMT_QUERYSTATSTICS_RENAMING {
11360 pub NbAllocationsRenamed: u32,
11361 pub NbAllocationsShrinked: u32,
11362 pub NbRenamedBuffer: u32,
11363 pub MaxRenamingListLength: u32,
11364 pub NbFailuresDueToRenamingLimit: u32,
11365 pub NbFailuresDueToCreateAllocation: u32,
11366 pub NbFailuresDueToOpenAllocation: u32,
11367 pub NbFailuresDueToLowResource: u32,
11368 pub NbFailuresDueToNonRetiredLimit: u32,
11369 }
11370 impl ::core::marker::Copy for D3DKMT_QUERYSTATSTICS_RENAMING {}
11371 impl ::core::clone::Clone for D3DKMT_QUERYSTATSTICS_RENAMING {
11372 fn clone(&self) -> Self {
11373 *self
11374 }
11375 }
11376 #[repr(C)]
11377 pub struct D3DKMT_QUERYSTATSTICS_SWIZZLING_RANGE {
11378 pub NbRangesAcquired: u32,
11379 pub NbRangesReleased: u32,
11380 }
11381 impl ::core::marker::Copy for D3DKMT_QUERYSTATSTICS_SWIZZLING_RANGE {}
11382 impl ::core::clone::Clone for D3DKMT_QUERYSTATSTICS_SWIZZLING_RANGE {
11383 fn clone(&self) -> Self {
11384 *self
11385 }
11386 }
11387 #[repr(C)]
11388 pub struct D3DKMT_QUERYSTATSTICS_TERMINATIONS {
11389 pub TerminatedShared: D3DKMT_QUERYSTATISTICS_COUNTER,
11390 pub TerminatedNonShared: D3DKMT_QUERYSTATISTICS_COUNTER,
11391 pub DestroyedShared: D3DKMT_QUERYSTATISTICS_COUNTER,
11392 pub DestroyedNonShared: D3DKMT_QUERYSTATISTICS_COUNTER,
11393 }
11394 impl ::core::marker::Copy for D3DKMT_QUERYSTATSTICS_TERMINATIONS {}
11395 impl ::core::clone::Clone for D3DKMT_QUERYSTATSTICS_TERMINATIONS {
11396 fn clone(&self) -> Self {
11397 *self
11398 }
11399 }
11400 #[repr(C)]
11401 #[doc = "Required features: `\"Win32_Foundation\"`"]
11402 #[cfg(feature = "Win32_Foundation")]
11403 pub struct D3DKMT_QUERYVIDEOMEMORYINFO {
11404 pub hProcess: super::super::super::Win32::Foundation::HANDLE,
11405 pub hAdapter: u32,
11406 pub MemorySegmentGroup: D3DKMT_MEMORY_SEGMENT_GROUP,
11407 pub Budget: u64,
11408 pub CurrentUsage: u64,
11409 pub CurrentReservation: u64,
11410 pub AvailableForReservation: u64,
11411 pub PhysicalAdapterIndex: u32,
11412 }
11413 #[cfg(feature = "Win32_Foundation")]
11414 impl ::core::marker::Copy for D3DKMT_QUERYVIDEOMEMORYINFO {}
11415 #[cfg(feature = "Win32_Foundation")]
11416 impl ::core::clone::Clone for D3DKMT_QUERYVIDEOMEMORYINFO {
11417 fn clone(&self) -> Self {
11418 *self
11419 }
11420 }
11421 #[repr(C)]
11422 #[doc = "Required features: `\"Win32_Foundation\"`"]
11423 #[cfg(feature = "Win32_Foundation")]
11424 pub struct D3DKMT_QUERYVIDPNEXCLUSIVEOWNERSHIP {
11425 pub hProcess: super::super::super::Win32::Foundation::HANDLE,
11426 pub hWindow: super::super::super::Win32::Foundation::HWND,
11427 pub VidPnSourceId: u32,
11428 pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
11429 pub OwnerType: D3DKMT_VIDPNSOURCEOWNER_TYPE,
11430 }
11431 #[cfg(feature = "Win32_Foundation")]
11432 impl ::core::marker::Copy for D3DKMT_QUERYVIDPNEXCLUSIVEOWNERSHIP {}
11433 #[cfg(feature = "Win32_Foundation")]
11434 impl ::core::clone::Clone for D3DKMT_QUERYVIDPNEXCLUSIVEOWNERSHIP {
11435 fn clone(&self) -> Self {
11436 *self
11437 }
11438 }
11439 #[repr(C)]
11440 pub struct D3DKMT_QUERY_ADAPTER_UNIQUE_GUID {
11441 pub AdapterUniqueGUID: [u16; 40],
11442 }
11443 impl ::core::marker::Copy for D3DKMT_QUERY_ADAPTER_UNIQUE_GUID {}
11444 impl ::core::clone::Clone for D3DKMT_QUERY_ADAPTER_UNIQUE_GUID {
11445 fn clone(&self) -> Self {
11446 *self
11447 }
11448 }
11449 #[repr(C)]
11450 pub struct D3DKMT_QUERY_DEVICE_IDS {
11451 pub PhysicalAdapterIndex: u32,
11452 pub DeviceIds: D3DKMT_DEVICE_IDS,
11453 }
11454 impl ::core::marker::Copy for D3DKMT_QUERY_DEVICE_IDS {}
11455 impl ::core::clone::Clone for D3DKMT_QUERY_DEVICE_IDS {
11456 fn clone(&self) -> Self {
11457 *self
11458 }
11459 }
11460 #[repr(C)]
11461 pub struct D3DKMT_QUERY_GPUMMU_CAPS {
11462 pub PhysicalAdapterIndex: u32,
11463 pub Caps: D3DKMT_GPUMMU_CAPS,
11464 }
11465 impl ::core::marker::Copy for D3DKMT_QUERY_GPUMMU_CAPS {}
11466 impl ::core::clone::Clone for D3DKMT_QUERY_GPUMMU_CAPS {
11467 fn clone(&self) -> Self {
11468 *self
11469 }
11470 }
11471 #[repr(C)]
11472 pub struct D3DKMT_QUERY_MIRACAST_DRIVER_TYPE {
11473 pub MiracastDriverType: D3DKMT_MIRACAST_DRIVER_TYPE,
11474 }
11475 impl ::core::marker::Copy for D3DKMT_QUERY_MIRACAST_DRIVER_TYPE {}
11476 impl ::core::clone::Clone for D3DKMT_QUERY_MIRACAST_DRIVER_TYPE {
11477 fn clone(&self) -> Self {
11478 *self
11479 }
11480 }
11481 #[repr(C)]
11482 pub struct D3DKMT_QUERY_PHYSICAL_ADAPTER_PNP_KEY {
11483 pub PhysicalAdapterIndex: u32,
11484 pub PnPKeyType: D3DKMT_PNP_KEY_TYPE,
11485 pub pDest: ::windows_sys::core::PWSTR,
11486 pub pCchDest: *mut u32,
11487 }
11488 impl ::core::marker::Copy for D3DKMT_QUERY_PHYSICAL_ADAPTER_PNP_KEY {}
11489 impl ::core::clone::Clone for D3DKMT_QUERY_PHYSICAL_ADAPTER_PNP_KEY {
11490 fn clone(&self) -> Self {
11491 *self
11492 }
11493 }
11494 #[repr(C)]
11495 pub struct D3DKMT_QUERY_SCANOUT_CAPS {
11496 pub VidPnSourceId: u32,
11497 pub Caps: u32,
11498 }
11499 impl ::core::marker::Copy for D3DKMT_QUERY_SCANOUT_CAPS {}
11500 impl ::core::clone::Clone for D3DKMT_QUERY_SCANOUT_CAPS {
11501 fn clone(&self) -> Self {
11502 *self
11503 }
11504 }
11505 #[repr(C)]
11506 #[doc = "Required features: `\"Win32_Foundation\"`"]
11507 #[cfg(feature = "Win32_Foundation")]
11508 pub struct D3DKMT_RECLAIMALLOCATIONS {
11509 pub hDevice: u32,
11510 pub pResources: *mut u32,
11511 pub HandleList: *const u32,
11512 pub pDiscarded: *mut super::super::super::Win32::Foundation::BOOL,
11513 pub NumAllocations: u32,
11514 }
11515 #[cfg(feature = "Win32_Foundation")]
11516 impl ::core::marker::Copy for D3DKMT_RECLAIMALLOCATIONS {}
11517 #[cfg(feature = "Win32_Foundation")]
11518 impl ::core::clone::Clone for D3DKMT_RECLAIMALLOCATIONS {
11519 fn clone(&self) -> Self {
11520 *self
11521 }
11522 }
11523 #[repr(C)]
11524 #[doc = "Required features: `\"Win32_Foundation\"`"]
11525 #[cfg(feature = "Win32_Foundation")]
11526 pub struct D3DKMT_RECLAIMALLOCATIONS2 {
11527 pub hPagingQueue: u32,
11528 pub NumAllocations: u32,
11529 pub pResources: *mut u32,
11530 pub HandleList: *const u32,
11531 pub Anonymous: D3DKMT_RECLAIMALLOCATIONS2_0,
11532 pub PagingFenceValue: u64,
11533 }
11534 #[cfg(feature = "Win32_Foundation")]
11535 impl ::core::marker::Copy for D3DKMT_RECLAIMALLOCATIONS2 {}
11536 #[cfg(feature = "Win32_Foundation")]
11537 impl ::core::clone::Clone for D3DKMT_RECLAIMALLOCATIONS2 {
11538 fn clone(&self) -> Self {
11539 *self
11540 }
11541 }
11542 #[repr(C)]
11543 #[doc = "Required features: `\"Win32_Foundation\"`"]
11544 #[cfg(feature = "Win32_Foundation")]
11545 pub union D3DKMT_RECLAIMALLOCATIONS2_0 {
11546 pub pDiscarded: *mut super::super::super::Win32::Foundation::BOOL,
11547 pub pResults: *mut D3DDDI_RECLAIM_RESULT,
11548 }
11549 #[cfg(feature = "Win32_Foundation")]
11550 impl ::core::marker::Copy for D3DKMT_RECLAIMALLOCATIONS2_0 {}
11551 #[cfg(feature = "Win32_Foundation")]
11552 impl ::core::clone::Clone for D3DKMT_RECLAIMALLOCATIONS2_0 {
11553 fn clone(&self) -> Self {
11554 *self
11555 }
11556 }
11557 #[repr(C)]
11558 pub struct D3DKMT_REGISTERBUDGETCHANGENOTIFICATION {
11559 pub hDevice: u32,
11560 pub Callback: PFND3DKMT_BUDGETCHANGENOTIFICATIONCALLBACK,
11561 pub Context: *mut ::core::ffi::c_void,
11562 pub Handle: *mut ::core::ffi::c_void,
11563 }
11564 impl ::core::marker::Copy for D3DKMT_REGISTERBUDGETCHANGENOTIFICATION {}
11565 impl ::core::clone::Clone for D3DKMT_REGISTERBUDGETCHANGENOTIFICATION {
11566 fn clone(&self) -> Self {
11567 *self
11568 }
11569 }
11570 #[repr(C)]
11571 #[doc = "Required features: `\"Win32_Foundation\"`"]
11572 #[cfg(feature = "Win32_Foundation")]
11573 pub struct D3DKMT_REGISTERTRIMNOTIFICATION {
11574 pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
11575 pub hDevice: u32,
11576 pub Callback: PFND3DKMT_TRIMNOTIFICATIONCALLBACK,
11577 pub Context: *mut ::core::ffi::c_void,
11578 pub Handle: *mut ::core::ffi::c_void,
11579 }
11580 #[cfg(feature = "Win32_Foundation")]
11581 impl ::core::marker::Copy for D3DKMT_REGISTERTRIMNOTIFICATION {}
11582 #[cfg(feature = "Win32_Foundation")]
11583 impl ::core::clone::Clone for D3DKMT_REGISTERTRIMNOTIFICATION {
11584 fn clone(&self) -> Self {
11585 *self
11586 }
11587 }
11588 #[repr(C)]
11589 pub struct D3DKMT_RELEASEKEYEDMUTEX {
11590 pub hKeyedMutex: u32,
11591 pub Key: u64,
11592 pub FenceValue: u64,
11593 }
11594 impl ::core::marker::Copy for D3DKMT_RELEASEKEYEDMUTEX {}
11595 impl ::core::clone::Clone for D3DKMT_RELEASEKEYEDMUTEX {
11596 fn clone(&self) -> Self {
11597 *self
11598 }
11599 }
11600 #[repr(C)]
11601 pub struct D3DKMT_RELEASEKEYEDMUTEX2 {
11602 pub hKeyedMutex: u32,
11603 pub Key: u64,
11604 pub FenceValue: u64,
11605 pub pPrivateRuntimeData: *mut ::core::ffi::c_void,
11606 pub PrivateRuntimeDataSize: u32,
11607 }
11608 impl ::core::marker::Copy for D3DKMT_RELEASEKEYEDMUTEX2 {}
11609 impl ::core::clone::Clone for D3DKMT_RELEASEKEYEDMUTEX2 {
11610 fn clone(&self) -> Self {
11611 *self
11612 }
11613 }
11614 #[repr(C)]
11615 pub struct D3DKMT_RENDER {
11616 pub Anonymous: D3DKMT_RENDER_0,
11617 pub CommandOffset: u32,
11618 pub CommandLength: u32,
11619 pub AllocationCount: u32,
11620 pub PatchLocationCount: u32,
11621 pub pNewCommandBuffer: *mut ::core::ffi::c_void,
11622 pub NewCommandBufferSize: u32,
11623 pub pNewAllocationList: *mut D3DDDI_ALLOCATIONLIST,
11624 pub NewAllocationListSize: u32,
11625 pub pNewPatchLocationList: *mut D3DDDI_PATCHLOCATIONLIST,
11626 pub NewPatchLocationListSize: u32,
11627 pub Flags: D3DKMT_RENDERFLAGS,
11628 pub PresentHistoryToken: u64,
11629 pub BroadcastContextCount: u32,
11630 pub BroadcastContext: [u32; 64],
11631 pub QueuedBufferCount: u32,
11632 pub NewCommandBuffer: u64,
11633 pub pPrivateDriverData: *mut ::core::ffi::c_void,
11634 pub PrivateDriverDataSize: u32,
11635 }
11636 impl ::core::marker::Copy for D3DKMT_RENDER {}
11637 impl ::core::clone::Clone for D3DKMT_RENDER {
11638 fn clone(&self) -> Self {
11639 *self
11640 }
11641 }
11642 #[repr(C)]
11643 pub union D3DKMT_RENDER_0 {
11644 pub hDevice: u32,
11645 pub hContext: u32,
11646 }
11647 impl ::core::marker::Copy for D3DKMT_RENDER_0 {}
11648 impl ::core::clone::Clone for D3DKMT_RENDER_0 {
11649 fn clone(&self) -> Self {
11650 *self
11651 }
11652 }
11653 #[repr(C)]
11654 pub struct D3DKMT_RENDERFLAGS {
11655 pub _bitfield: u32,
11656 }
11657 impl ::core::marker::Copy for D3DKMT_RENDERFLAGS {}
11658 impl ::core::clone::Clone for D3DKMT_RENDERFLAGS {
11659 fn clone(&self) -> Self {
11660 *self
11661 }
11662 }
11663 #[repr(C)]
11664 pub struct D3DKMT_REQUEST_MACHINE_CRASH_ESCAPE {
11665 pub Param1: usize,
11666 pub Param2: usize,
11667 pub Param3: usize,
11668 }
11669 impl ::core::marker::Copy for D3DKMT_REQUEST_MACHINE_CRASH_ESCAPE {}
11670 impl ::core::clone::Clone for D3DKMT_REQUEST_MACHINE_CRASH_ESCAPE {
11671 fn clone(&self) -> Self {
11672 *self
11673 }
11674 }
11675 #[repr(C)]
11676 #[doc = "Required features: `\"Win32_Foundation\"`"]
11677 #[cfg(feature = "Win32_Foundation")]
11678 pub struct D3DKMT_SCATTERBLT {
11679 pub hLogicalSurfaceDestination: u64,
11680 pub hDestinationCompSurfDWM: i64,
11681 pub DestinationCompositionBindingId: u64,
11682 pub SourceRect: super::super::super::Win32::Foundation::RECT,
11683 pub DestinationOffset: super::super::super::Win32::Foundation::POINT,
11684 }
11685 #[cfg(feature = "Win32_Foundation")]
11686 impl ::core::marker::Copy for D3DKMT_SCATTERBLT {}
11687 #[cfg(feature = "Win32_Foundation")]
11688 impl ::core::clone::Clone for D3DKMT_SCATTERBLT {
11689 fn clone(&self) -> Self {
11690 *self
11691 }
11692 }
11693 #[repr(C)]
11694 #[doc = "Required features: `\"Win32_Foundation\"`"]
11695 #[cfg(feature = "Win32_Foundation")]
11696 pub struct D3DKMT_SCATTERBLTS {
11697 pub NumBlts: u32,
11698 pub Blts: [D3DKMT_SCATTERBLT; 12],
11699 }
11700 #[cfg(feature = "Win32_Foundation")]
11701 impl ::core::marker::Copy for D3DKMT_SCATTERBLTS {}
11702 #[cfg(feature = "Win32_Foundation")]
11703 impl ::core::clone::Clone for D3DKMT_SCATTERBLTS {
11704 fn clone(&self) -> Self {
11705 *self
11706 }
11707 }
11708 #[repr(C)]
11709 pub struct D3DKMT_SEGMENTGROUPSIZEINFO {
11710 pub PhysicalAdapterIndex: u32,
11711 pub LegacyInfo: D3DKMT_SEGMENTSIZEINFO,
11712 pub LocalMemory: u64,
11713 pub NonLocalMemory: u64,
11714 pub NonBudgetMemory: u64,
11715 }
11716 impl ::core::marker::Copy for D3DKMT_SEGMENTGROUPSIZEINFO {}
11717 impl ::core::clone::Clone for D3DKMT_SEGMENTGROUPSIZEINFO {
11718 fn clone(&self) -> Self {
11719 *self
11720 }
11721 }
11722 #[repr(C)]
11723 pub struct D3DKMT_SEGMENTSIZEINFO {
11724 pub DedicatedVideoMemorySize: u64,
11725 pub DedicatedSystemMemorySize: u64,
11726 pub SharedSystemMemorySize: u64,
11727 }
11728 impl ::core::marker::Copy for D3DKMT_SEGMENTSIZEINFO {}
11729 impl ::core::clone::Clone for D3DKMT_SEGMENTSIZEINFO {
11730 fn clone(&self) -> Self {
11731 *self
11732 }
11733 }
11734 #[repr(C)]
11735 #[doc = "Required features: `\"Win32_Foundation\"`"]
11736 #[cfg(feature = "Win32_Foundation")]
11737 pub struct D3DKMT_SEGMENT_CAPS {
11738 pub Size: u64,
11739 pub PageSize: u32,
11740 pub SegmentId: u32,
11741 pub bAperture: super::super::super::Win32::Foundation::BOOLEAN,
11742 pub bReservedSysMem: super::super::super::Win32::Foundation::BOOLEAN,
11743 pub BudgetGroup: D3DKMT_MEMORY_SEGMENT_GROUP,
11744 }
11745 #[cfg(feature = "Win32_Foundation")]
11746 impl ::core::marker::Copy for D3DKMT_SEGMENT_CAPS {}
11747 #[cfg(feature = "Win32_Foundation")]
11748 impl ::core::clone::Clone for D3DKMT_SEGMENT_CAPS {
11749 fn clone(&self) -> Self {
11750 *self
11751 }
11752 }
11753 #[repr(C)]
11754 pub struct D3DKMT_SETALLOCATIONPRIORITY {
11755 pub hDevice: u32,
11756 pub hResource: u32,
11757 pub phAllocationList: *const u32,
11758 pub AllocationCount: u32,
11759 pub pPriorities: *const u32,
11760 }
11761 impl ::core::marker::Copy for D3DKMT_SETALLOCATIONPRIORITY {}
11762 impl ::core::clone::Clone for D3DKMT_SETALLOCATIONPRIORITY {
11763 fn clone(&self) -> Self {
11764 *self
11765 }
11766 }
11767 #[repr(C)]
11768 pub struct D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY {
11769 pub hContext: u32,
11770 pub Priority: i32,
11771 }
11772 impl ::core::marker::Copy for D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY {}
11773 impl ::core::clone::Clone for D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY {
11774 fn clone(&self) -> Self {
11775 *self
11776 }
11777 }
11778 #[repr(C)]
11779 pub struct D3DKMT_SETCONTEXTSCHEDULINGPRIORITY {
11780 pub hContext: u32,
11781 pub Priority: i32,
11782 }
11783 impl ::core::marker::Copy for D3DKMT_SETCONTEXTSCHEDULINGPRIORITY {}
11784 impl ::core::clone::Clone for D3DKMT_SETCONTEXTSCHEDULINGPRIORITY {
11785 fn clone(&self) -> Self {
11786 *self
11787 }
11788 }
11789 #[repr(C)]
11790 pub struct D3DKMT_SETDISPLAYMODE {
11791 pub hDevice: u32,
11792 pub hPrimaryAllocation: u32,
11793 pub ScanLineOrdering: D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING,
11794 pub DisplayOrientation: D3DDDI_ROTATION,
11795 pub PrivateDriverFormatAttribute: u32,
11796 pub Flags: D3DKMT_SETDISPLAYMODE_FLAGS,
11797 }
11798 impl ::core::marker::Copy for D3DKMT_SETDISPLAYMODE {}
11799 impl ::core::clone::Clone for D3DKMT_SETDISPLAYMODE {
11800 fn clone(&self) -> Self {
11801 *self
11802 }
11803 }
11804 #[repr(C)]
11805 pub struct D3DKMT_SETDISPLAYMODE_FLAGS {
11806 pub _bitfield1: u8,
11807 pub _bitfield2: u32,
11808 }
11809 impl ::core::marker::Copy for D3DKMT_SETDISPLAYMODE_FLAGS {}
11810 impl ::core::clone::Clone for D3DKMT_SETDISPLAYMODE_FLAGS {
11811 fn clone(&self) -> Self {
11812 *self
11813 }
11814 }
11815 #[repr(C)]
11816 pub struct D3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT {
11817 pub hDevice: u32,
11818 pub VidPnSourceId: u32,
11819 pub PrivateDriverFormatAttribute: u32,
11820 }
11821 impl ::core::marker::Copy for D3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT {}
11822 impl ::core::clone::Clone for D3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT {
11823 fn clone(&self) -> Self {
11824 *self
11825 }
11826 }
11827 #[repr(C)]
11828 #[doc = "Required features: `\"Win32_Foundation\"`"]
11829 #[cfg(feature = "Win32_Foundation")]
11830 pub struct D3DKMT_SETFSEBLOCK {
11831 pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
11832 pub hAdapter: u32,
11833 pub VidPnSourceId: u32,
11834 pub Flags: D3DKMT_SETFSEBLOCKFLAGS,
11835 }
11836 #[cfg(feature = "Win32_Foundation")]
11837 impl ::core::marker::Copy for D3DKMT_SETFSEBLOCK {}
11838 #[cfg(feature = "Win32_Foundation")]
11839 impl ::core::clone::Clone for D3DKMT_SETFSEBLOCK {
11840 fn clone(&self) -> Self {
11841 *self
11842 }
11843 }
11844 #[repr(C)]
11845 pub union D3DKMT_SETFSEBLOCKFLAGS {
11846 pub Anonymous: D3DKMT_SETFSEBLOCKFLAGS_0,
11847 pub Value: u32,
11848 }
11849 impl ::core::marker::Copy for D3DKMT_SETFSEBLOCKFLAGS {}
11850 impl ::core::clone::Clone for D3DKMT_SETFSEBLOCKFLAGS {
11851 fn clone(&self) -> Self {
11852 *self
11853 }
11854 }
11855 #[repr(C)]
11856 pub struct D3DKMT_SETFSEBLOCKFLAGS_0 {
11857 pub _bitfield: u32,
11858 }
11859 impl ::core::marker::Copy for D3DKMT_SETFSEBLOCKFLAGS_0 {}
11860 impl ::core::clone::Clone for D3DKMT_SETFSEBLOCKFLAGS_0 {
11861 fn clone(&self) -> Self {
11862 *self
11863 }
11864 }
11865 #[repr(C)]
11866 pub struct D3DKMT_SETGAMMARAMP {
11867 pub hDevice: u32,
11868 pub VidPnSourceId: u32,
11869 pub Type: D3DDDI_GAMMARAMP_TYPE,
11870 pub Anonymous: D3DKMT_SETGAMMARAMP_0,
11871 pub Size: u32,
11872 }
11873 impl ::core::marker::Copy for D3DKMT_SETGAMMARAMP {}
11874 impl ::core::clone::Clone for D3DKMT_SETGAMMARAMP {
11875 fn clone(&self) -> Self {
11876 *self
11877 }
11878 }
11879 #[repr(C)]
11880 pub union D3DKMT_SETGAMMARAMP_0 {
11881 pub pGammaRampRgb256x3x16: *mut D3DDDI_GAMMA_RAMP_RGB256x3x16,
11882 pub pGammaRampDXGI1: *mut D3DDDI_GAMMA_RAMP_DXGI_1,
11883 }
11884 impl ::core::marker::Copy for D3DKMT_SETGAMMARAMP_0 {}
11885 impl ::core::clone::Clone for D3DKMT_SETGAMMARAMP_0 {
11886 fn clone(&self) -> Self {
11887 *self
11888 }
11889 }
11890 #[repr(C)]
11891 #[doc = "Required features: `\"Win32_Foundation\"`"]
11892 #[cfg(feature = "Win32_Foundation")]
11893 pub struct D3DKMT_SETHWPROTECTIONTEARDOWNRECOVERY {
11894 pub hAdapter: u32,
11895 pub Recovered: super::super::super::Win32::Foundation::BOOL,
11896 }
11897 #[cfg(feature = "Win32_Foundation")]
11898 impl ::core::marker::Copy for D3DKMT_SETHWPROTECTIONTEARDOWNRECOVERY {}
11899 #[cfg(feature = "Win32_Foundation")]
11900 impl ::core::clone::Clone for D3DKMT_SETHWPROTECTIONTEARDOWNRECOVERY {
11901 fn clone(&self) -> Self {
11902 *self
11903 }
11904 }
11905 #[repr(C)]
11906 pub struct D3DKMT_SETQUEUEDLIMIT {
11907 pub hDevice: u32,
11908 pub Type: D3DKMT_QUEUEDLIMIT_TYPE,
11909 pub Anonymous: D3DKMT_SETQUEUEDLIMIT_0,
11910 }
11911 impl ::core::marker::Copy for D3DKMT_SETQUEUEDLIMIT {}
11912 impl ::core::clone::Clone for D3DKMT_SETQUEUEDLIMIT {
11913 fn clone(&self) -> Self {
11914 *self
11915 }
11916 }
11917 #[repr(C)]
11918 pub union D3DKMT_SETQUEUEDLIMIT_0 {
11919 pub QueuedPresentLimit: u32,
11920 pub Anonymous: D3DKMT_SETQUEUEDLIMIT_0_0,
11921 }
11922 impl ::core::marker::Copy for D3DKMT_SETQUEUEDLIMIT_0 {}
11923 impl ::core::clone::Clone for D3DKMT_SETQUEUEDLIMIT_0 {
11924 fn clone(&self) -> Self {
11925 *self
11926 }
11927 }
11928 #[repr(C)]
11929 pub struct D3DKMT_SETQUEUEDLIMIT_0_0 {
11930 pub VidPnSourceId: u32,
11931 pub QueuedPendingFlipLimit: u32,
11932 }
11933 impl ::core::marker::Copy for D3DKMT_SETQUEUEDLIMIT_0_0 {}
11934 impl ::core::clone::Clone for D3DKMT_SETQUEUEDLIMIT_0_0 {
11935 fn clone(&self) -> Self {
11936 *self
11937 }
11938 }
11939 #[repr(C)]
11940 #[doc = "Required features: `\"Win32_Foundation\"`"]
11941 #[cfg(feature = "Win32_Foundation")]
11942 pub struct D3DKMT_SETSTABLEPOWERSTATE {
11943 pub hAdapter: u32,
11944 pub Enabled: super::super::super::Win32::Foundation::BOOL,
11945 }
11946 #[cfg(feature = "Win32_Foundation")]
11947 impl ::core::marker::Copy for D3DKMT_SETSTABLEPOWERSTATE {}
11948 #[cfg(feature = "Win32_Foundation")]
11949 impl ::core::clone::Clone for D3DKMT_SETSTABLEPOWERSTATE {
11950 fn clone(&self) -> Self {
11951 *self
11952 }
11953 }
11954 #[repr(C)]
11955 pub struct D3DKMT_SETSYNCREFRESHCOUNTWAITTARGET {
11956 pub hAdapter: u32,
11957 pub hDevice: u32,
11958 pub VidPnSourceId: u32,
11959 pub TargetSyncRefreshCount: u32,
11960 }
11961 impl ::core::marker::Copy for D3DKMT_SETSYNCREFRESHCOUNTWAITTARGET {}
11962 impl ::core::clone::Clone for D3DKMT_SETSYNCREFRESHCOUNTWAITTARGET {
11963 fn clone(&self) -> Self {
11964 *self
11965 }
11966 }
11967 #[repr(C)]
11968 #[doc = "Required features: `\"Win32_Foundation\"`"]
11969 #[cfg(feature = "Win32_Foundation")]
11970 pub struct D3DKMT_SETVIDPNSOURCEHWPROTECTION {
11971 pub hAdapter: u32,
11972 pub VidPnSourceId: u32,
11973 pub HwProtected: super::super::super::Win32::Foundation::BOOL,
11974 }
11975 #[cfg(feature = "Win32_Foundation")]
11976 impl ::core::marker::Copy for D3DKMT_SETVIDPNSOURCEHWPROTECTION {}
11977 #[cfg(feature = "Win32_Foundation")]
11978 impl ::core::clone::Clone for D3DKMT_SETVIDPNSOURCEHWPROTECTION {
11979 fn clone(&self) -> Self {
11980 *self
11981 }
11982 }
11983 #[repr(C)]
11984 pub struct D3DKMT_SETVIDPNSOURCEOWNER {
11985 pub hDevice: u32,
11986 pub pType: *const D3DKMT_VIDPNSOURCEOWNER_TYPE,
11987 pub pVidPnSourceId: *const u32,
11988 pub VidPnSourceCount: u32,
11989 }
11990 impl ::core::marker::Copy for D3DKMT_SETVIDPNSOURCEOWNER {}
11991 impl ::core::clone::Clone for D3DKMT_SETVIDPNSOURCEOWNER {
11992 fn clone(&self) -> Self {
11993 *self
11994 }
11995 }
11996 #[repr(C)]
11997 pub struct D3DKMT_SETVIDPNSOURCEOWNER1 {
11998 pub Version0: D3DKMT_SETVIDPNSOURCEOWNER,
11999 pub Flags: D3DKMT_VIDPNSOURCEOWNER_FLAGS,
12000 }
12001 impl ::core::marker::Copy for D3DKMT_SETVIDPNSOURCEOWNER1 {}
12002 impl ::core::clone::Clone for D3DKMT_SETVIDPNSOURCEOWNER1 {
12003 fn clone(&self) -> Self {
12004 *self
12005 }
12006 }
12007 #[repr(C)]
12008 pub struct D3DKMT_SETVIDPNSOURCEOWNER2 {
12009 pub Version1: D3DKMT_SETVIDPNSOURCEOWNER1,
12010 pub pVidPnSourceNtHandles: *const isize,
12011 }
12012 impl ::core::marker::Copy for D3DKMT_SETVIDPNSOURCEOWNER2 {}
12013 impl ::core::clone::Clone for D3DKMT_SETVIDPNSOURCEOWNER2 {
12014 fn clone(&self) -> Self {
12015 *self
12016 }
12017 }
12018 #[repr(C)]
12019 #[doc = "Required features: `\"Win32_Foundation\"`"]
12020 #[cfg(feature = "Win32_Foundation")]
12021 pub struct D3DKMT_SET_COLORSPACE_TRANSFORM {
12022 pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
12023 pub VidPnTargetId: u32,
12024 pub Type: D3DDDI_GAMMARAMP_TYPE,
12025 pub Size: u32,
12026 pub Anonymous: D3DKMT_SET_COLORSPACE_TRANSFORM_0,
12027 }
12028 #[cfg(feature = "Win32_Foundation")]
12029 impl ::core::marker::Copy for D3DKMT_SET_COLORSPACE_TRANSFORM {}
12030 #[cfg(feature = "Win32_Foundation")]
12031 impl ::core::clone::Clone for D3DKMT_SET_COLORSPACE_TRANSFORM {
12032 fn clone(&self) -> Self {
12033 *self
12034 }
12035 }
12036 #[repr(C)]
12037 #[doc = "Required features: `\"Win32_Foundation\"`"]
12038 #[cfg(feature = "Win32_Foundation")]
12039 pub union D3DKMT_SET_COLORSPACE_TRANSFORM_0 {
12040 pub pColorSpaceTransform: *mut D3DKMDT_3x4_COLORSPACE_TRANSFORM,
12041 }
12042 #[cfg(feature = "Win32_Foundation")]
12043 impl ::core::marker::Copy for D3DKMT_SET_COLORSPACE_TRANSFORM_0 {}
12044 #[cfg(feature = "Win32_Foundation")]
12045 impl ::core::clone::Clone for D3DKMT_SET_COLORSPACE_TRANSFORM_0 {
12046 fn clone(&self) -> Self {
12047 *self
12048 }
12049 }
12050 #[repr(C)]
12051 #[doc = "Required features: `\"Win32_Foundation\"`"]
12052 #[cfg(feature = "Win32_Foundation")]
12053 pub struct D3DKMT_SHAREDPRIMARYLOCKNOTIFICATION {
12054 pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
12055 pub VidPnSourceId: u32,
12056 pub LockRect: super::super::super::Win32::Foundation::RECTL,
12057 }
12058 #[cfg(feature = "Win32_Foundation")]
12059 impl ::core::marker::Copy for D3DKMT_SHAREDPRIMARYLOCKNOTIFICATION {}
12060 #[cfg(feature = "Win32_Foundation")]
12061 impl ::core::clone::Clone for D3DKMT_SHAREDPRIMARYLOCKNOTIFICATION {
12062 fn clone(&self) -> Self {
12063 *self
12064 }
12065 }
12066 #[repr(C)]
12067 #[doc = "Required features: `\"Win32_Foundation\"`"]
12068 #[cfg(feature = "Win32_Foundation")]
12069 pub struct D3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION {
12070 pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
12071 pub VidPnSourceId: u32,
12072 }
12073 #[cfg(feature = "Win32_Foundation")]
12074 impl ::core::marker::Copy for D3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION {}
12075 #[cfg(feature = "Win32_Foundation")]
12076 impl ::core::clone::Clone for D3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION {
12077 fn clone(&self) -> Self {
12078 *self
12079 }
12080 }
12081 #[repr(C)]
12082 pub struct D3DKMT_SHAREOBJECTWITHHOST {
12083 pub hDevice: u32,
12084 pub hObject: u32,
12085 pub Reserved: u64,
12086 pub hVailProcessNtHandle: u64,
12087 }
12088 impl ::core::marker::Copy for D3DKMT_SHAREOBJECTWITHHOST {}
12089 impl ::core::clone::Clone for D3DKMT_SHAREOBJECTWITHHOST {
12090 fn clone(&self) -> Self {
12091 *self
12092 }
12093 }
12094 #[repr(C)]
12095 pub struct D3DKMT_SIGNALSYNCHRONIZATIONOBJECT {
12096 pub hContext: u32,
12097 pub ObjectCount: u32,
12098 pub ObjectHandleArray: [u32; 32],
12099 pub Flags: D3DDDICB_SIGNALFLAGS,
12100 }
12101 impl ::core::marker::Copy for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT {}
12102 impl ::core::clone::Clone for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT {
12103 fn clone(&self) -> Self {
12104 *self
12105 }
12106 }
12107 #[repr(C)]
12108 #[doc = "Required features: `\"Win32_Foundation\"`"]
12109 #[cfg(feature = "Win32_Foundation")]
12110 pub struct D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2 {
12111 pub hContext: u32,
12112 pub ObjectCount: u32,
12113 pub ObjectHandleArray: [u32; 32],
12114 pub Flags: D3DDDICB_SIGNALFLAGS,
12115 pub BroadcastContextCount: u32,
12116 pub BroadcastContext: [u32; 64],
12117 pub Anonymous: D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2_0,
12118 }
12119 #[cfg(feature = "Win32_Foundation")]
12120 impl ::core::marker::Copy for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2 {}
12121 #[cfg(feature = "Win32_Foundation")]
12122 impl ::core::clone::Clone for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2 {
12123 fn clone(&self) -> Self {
12124 *self
12125 }
12126 }
12127 #[repr(C)]
12128 #[doc = "Required features: `\"Win32_Foundation\"`"]
12129 #[cfg(feature = "Win32_Foundation")]
12130 pub union D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2_0 {
12131 pub Fence: D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2_0_0,
12132 pub CpuEventHandle: super::super::super::Win32::Foundation::HANDLE,
12133 pub Reserved: [u64; 8],
12134 }
12135 #[cfg(feature = "Win32_Foundation")]
12136 impl ::core::marker::Copy for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2_0 {}
12137 #[cfg(feature = "Win32_Foundation")]
12138 impl ::core::clone::Clone for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2_0 {
12139 fn clone(&self) -> Self {
12140 *self
12141 }
12142 }
12143 #[repr(C)]
12144 #[doc = "Required features: `\"Win32_Foundation\"`"]
12145 #[cfg(feature = "Win32_Foundation")]
12146 pub struct D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2_0_0 {
12147 pub FenceValue: u64,
12148 }
12149 #[cfg(feature = "Win32_Foundation")]
12150 impl ::core::marker::Copy for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2_0_0 {}
12151 #[cfg(feature = "Win32_Foundation")]
12152 impl ::core::clone::Clone for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2_0_0 {
12153 fn clone(&self) -> Self {
12154 *self
12155 }
12156 }
12157 #[repr(C)]
12158 pub struct D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMCPU {
12159 pub hDevice: u32,
12160 pub ObjectCount: u32,
12161 pub ObjectHandleArray: *const u32,
12162 pub FenceValueArray: *const u64,
12163 pub Flags: D3DDDICB_SIGNALFLAGS,
12164 }
12165 impl ::core::marker::Copy for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMCPU {}
12166 impl ::core::clone::Clone for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMCPU {
12167 fn clone(&self) -> Self {
12168 *self
12169 }
12170 }
12171 #[repr(C)]
12172 pub struct D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU {
12173 pub hContext: u32,
12174 pub ObjectCount: u32,
12175 pub ObjectHandleArray: *const u32,
12176 pub Anonymous: D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU_0,
12177 }
12178 impl ::core::marker::Copy for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU {}
12179 impl ::core::clone::Clone for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU {
12180 fn clone(&self) -> Self {
12181 *self
12182 }
12183 }
12184 #[repr(C)]
12185 pub union D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU_0 {
12186 pub MonitoredFenceValueArray: *const u64,
12187 pub Reserved: [u64; 8],
12188 }
12189 impl ::core::marker::Copy for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU_0 {}
12190 impl ::core::clone::Clone for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU_0 {
12191 fn clone(&self) -> Self {
12192 *self
12193 }
12194 }
12195 #[repr(C)]
12196 #[doc = "Required features: `\"Win32_Foundation\"`"]
12197 #[cfg(feature = "Win32_Foundation")]
12198 pub struct D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2 {
12199 pub ObjectCount: u32,
12200 pub ObjectHandleArray: *const u32,
12201 pub Flags: D3DDDICB_SIGNALFLAGS,
12202 pub BroadcastContextCount: u32,
12203 pub BroadcastContextArray: *const u32,
12204 pub Anonymous: D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2_0,
12205 }
12206 #[cfg(feature = "Win32_Foundation")]
12207 impl ::core::marker::Copy for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2 {}
12208 #[cfg(feature = "Win32_Foundation")]
12209 impl ::core::clone::Clone for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2 {
12210 fn clone(&self) -> Self {
12211 *self
12212 }
12213 }
12214 #[repr(C)]
12215 #[doc = "Required features: `\"Win32_Foundation\"`"]
12216 #[cfg(feature = "Win32_Foundation")]
12217 pub union D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2_0 {
12218 pub FenceValue: u64,
12219 pub CpuEventHandle: super::super::super::Win32::Foundation::HANDLE,
12220 pub MonitoredFenceValueArray: *const u64,
12221 pub Reserved: [u64; 8],
12222 }
12223 #[cfg(feature = "Win32_Foundation")]
12224 impl ::core::marker::Copy for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2_0 {}
12225 #[cfg(feature = "Win32_Foundation")]
12226 impl ::core::clone::Clone for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2_0 {
12227 fn clone(&self) -> Self {
12228 *self
12229 }
12230 }
12231 #[repr(C)]
12232 pub struct D3DKMT_STANDARDALLOCATION_EXISTINGHEAP {
12233 pub Size: usize,
12234 }
12235 impl ::core::marker::Copy for D3DKMT_STANDARDALLOCATION_EXISTINGHEAP {}
12236 impl ::core::clone::Clone for D3DKMT_STANDARDALLOCATION_EXISTINGHEAP {
12237 fn clone(&self) -> Self {
12238 *self
12239 }
12240 }
12241 #[repr(C)]
12242 pub struct D3DKMT_SUBMITCOMMAND {
12243 pub Commands: u64,
12244 pub CommandLength: u32,
12245 pub Flags: D3DKMT_SUBMITCOMMANDFLAGS,
12246 pub PresentHistoryToken: u64,
12247 pub BroadcastContextCount: u32,
12248 pub BroadcastContext: [u32; 64],
12249 pub pPrivateDriverData: *mut ::core::ffi::c_void,
12250 pub PrivateDriverDataSize: u32,
12251 pub NumPrimaries: u32,
12252 pub WrittenPrimaries: [u32; 16],
12253 pub NumHistoryBuffers: u32,
12254 pub HistoryBufferArray: *mut u32,
12255 }
12256 impl ::core::marker::Copy for D3DKMT_SUBMITCOMMAND {}
12257 impl ::core::clone::Clone for D3DKMT_SUBMITCOMMAND {
12258 fn clone(&self) -> Self {
12259 *self
12260 }
12261 }
12262 #[repr(C)]
12263 pub struct D3DKMT_SUBMITCOMMANDFLAGS {
12264 pub _bitfield: u32,
12265 }
12266 impl ::core::marker::Copy for D3DKMT_SUBMITCOMMANDFLAGS {}
12267 impl ::core::clone::Clone for D3DKMT_SUBMITCOMMANDFLAGS {
12268 fn clone(&self) -> Self {
12269 *self
12270 }
12271 }
12272 #[repr(C)]
12273 pub struct D3DKMT_SUBMITCOMMANDTOHWQUEUE {
12274 pub hHwQueue: u32,
12275 pub HwQueueProgressFenceId: u64,
12276 pub CommandBuffer: u64,
12277 pub CommandLength: u32,
12278 pub PrivateDriverDataSize: u32,
12279 pub pPrivateDriverData: *mut ::core::ffi::c_void,
12280 pub NumPrimaries: u32,
12281 pub WrittenPrimaries: *const u32,
12282 }
12283 impl ::core::marker::Copy for D3DKMT_SUBMITCOMMANDTOHWQUEUE {}
12284 impl ::core::clone::Clone for D3DKMT_SUBMITCOMMANDTOHWQUEUE {
12285 fn clone(&self) -> Self {
12286 *self
12287 }
12288 }
12289 #[repr(C)]
12290 #[doc = "Required features: `\"Win32_Foundation\"`"]
12291 #[cfg(feature = "Win32_Foundation")]
12292 pub struct D3DKMT_SUBMITPRESENTBLTTOHWQUEUE {
12293 pub hHwQueue: u32,
12294 pub HwQueueProgressFenceId: u64,
12295 pub PrivatePresentData: D3DKMT_PRESENT,
12296 }
12297 #[cfg(feature = "Win32_Foundation")]
12298 impl ::core::marker::Copy for D3DKMT_SUBMITPRESENTBLTTOHWQUEUE {}
12299 #[cfg(feature = "Win32_Foundation")]
12300 impl ::core::clone::Clone for D3DKMT_SUBMITPRESENTBLTTOHWQUEUE {
12301 fn clone(&self) -> Self {
12302 *self
12303 }
12304 }
12305 #[repr(C)]
12306 #[doc = "Required features: `\"Win32_Foundation\"`"]
12307 #[cfg(feature = "Win32_Foundation")]
12308 pub struct D3DKMT_SUBMITPRESENTTOHWQUEUE {
12309 pub hHwQueues: *mut u32,
12310 pub PrivatePresentData: D3DKMT_PRESENT,
12311 }
12312 #[cfg(feature = "Win32_Foundation")]
12313 impl ::core::marker::Copy for D3DKMT_SUBMITPRESENTTOHWQUEUE {}
12314 #[cfg(feature = "Win32_Foundation")]
12315 impl ::core::clone::Clone for D3DKMT_SUBMITPRESENTTOHWQUEUE {
12316 fn clone(&self) -> Self {
12317 *self
12318 }
12319 }
12320 #[repr(C)]
12321 pub struct D3DKMT_SUBMITSIGNALSYNCOBJECTSTOHWQUEUE {
12322 pub Flags: D3DDDICB_SIGNALFLAGS,
12323 pub BroadcastHwQueueCount: u32,
12324 pub BroadcastHwQueueArray: *const u32,
12325 pub ObjectCount: u32,
12326 pub ObjectHandleArray: *const u32,
12327 pub FenceValueArray: *const u64,
12328 }
12329 impl ::core::marker::Copy for D3DKMT_SUBMITSIGNALSYNCOBJECTSTOHWQUEUE {}
12330 impl ::core::clone::Clone for D3DKMT_SUBMITSIGNALSYNCOBJECTSTOHWQUEUE {
12331 fn clone(&self) -> Self {
12332 *self
12333 }
12334 }
12335 #[repr(C)]
12336 pub struct D3DKMT_SUBMITWAITFORSYNCOBJECTSTOHWQUEUE {
12337 pub hHwQueue: u32,
12338 pub ObjectCount: u32,
12339 pub ObjectHandleArray: *const u32,
12340 pub FenceValueArray: *const u64,
12341 }
12342 impl ::core::marker::Copy for D3DKMT_SUBMITWAITFORSYNCOBJECTSTOHWQUEUE {}
12343 impl ::core::clone::Clone for D3DKMT_SUBMITWAITFORSYNCOBJECTSTOHWQUEUE {
12344 fn clone(&self) -> Self {
12345 *self
12346 }
12347 }
12348 #[repr(C)]
12349 pub struct D3DKMT_SURFACECOMPLETE_PRESENTHISTORYTOKEN {
12350 pub hLogicalSurface: u64,
12351 }
12352 impl ::core::marker::Copy for D3DKMT_SURFACECOMPLETE_PRESENTHISTORYTOKEN {}
12353 impl ::core::clone::Clone for D3DKMT_SURFACECOMPLETE_PRESENTHISTORYTOKEN {
12354 fn clone(&self) -> Self {
12355 *self
12356 }
12357 }
12358 #[repr(C)]
12359 pub struct D3DKMT_TDRDBGCTRL_ESCAPE {
12360 pub TdrControl: D3DKMT_TDRDBGCTRLTYPE,
12361 pub Anonymous: D3DKMT_TDRDBGCTRL_ESCAPE_0,
12362 }
12363 impl ::core::marker::Copy for D3DKMT_TDRDBGCTRL_ESCAPE {}
12364 impl ::core::clone::Clone for D3DKMT_TDRDBGCTRL_ESCAPE {
12365 fn clone(&self) -> Self {
12366 *self
12367 }
12368 }
12369 #[repr(C)]
12370 pub union D3DKMT_TDRDBGCTRL_ESCAPE_0 {
12371 pub NodeOrdinal: u32,
12372 }
12373 impl ::core::marker::Copy for D3DKMT_TDRDBGCTRL_ESCAPE_0 {}
12374 impl ::core::clone::Clone for D3DKMT_TDRDBGCTRL_ESCAPE_0 {
12375 fn clone(&self) -> Self {
12376 *self
12377 }
12378 }
12379 #[repr(C, packed(1))]
12380 #[doc = "Required features: `\"Win32_Foundation\"`"]
12381 #[cfg(feature = "Win32_Foundation")]
12382 pub struct D3DKMT_TRACKEDWORKLOAD_SUPPORT {
12383 pub PhysicalAdapterIndex: u32,
12384 pub EngineType: DXGK_ENGINE_TYPE,
12385 pub Support: super::super::super::Win32::Foundation::BOOL,
12386 }
12387 #[cfg(feature = "Win32_Foundation")]
12388 impl ::core::marker::Copy for D3DKMT_TRACKEDWORKLOAD_SUPPORT {}
12389 #[cfg(feature = "Win32_Foundation")]
12390 impl ::core::clone::Clone for D3DKMT_TRACKEDWORKLOAD_SUPPORT {
12391 fn clone(&self) -> Self {
12392 *self
12393 }
12394 }
12395 #[repr(C)]
12396 pub struct D3DKMT_TRIMNOTIFICATION {
12397 pub Context: *mut ::core::ffi::c_void,
12398 pub Flags: D3DDDI_TRIMRESIDENCYSET_FLAGS,
12399 pub NumBytesToTrim: u64,
12400 }
12401 impl ::core::marker::Copy for D3DKMT_TRIMNOTIFICATION {}
12402 impl ::core::clone::Clone for D3DKMT_TRIMNOTIFICATION {
12403 fn clone(&self) -> Self {
12404 *self
12405 }
12406 }
12407 #[repr(C)]
12408 #[doc = "Required features: `\"Win32_Foundation\"`"]
12409 #[cfg(feature = "Win32_Foundation")]
12410 pub struct D3DKMT_TRIMPROCESSCOMMITMENT {
12411 pub cbSize: u32,
12412 pub hProcess: super::super::super::Win32::Foundation::HANDLE,
12413 pub Flags: D3DKMT_TRIMPROCESSCOMMITMENT_FLAGS,
12414 pub DecommitRequested: u64,
12415 pub NumBytesDecommitted: u64,
12416 }
12417 #[cfg(feature = "Win32_Foundation")]
12418 impl ::core::marker::Copy for D3DKMT_TRIMPROCESSCOMMITMENT {}
12419 #[cfg(feature = "Win32_Foundation")]
12420 impl ::core::clone::Clone for D3DKMT_TRIMPROCESSCOMMITMENT {
12421 fn clone(&self) -> Self {
12422 *self
12423 }
12424 }
12425 #[repr(C)]
12426 pub union D3DKMT_TRIMPROCESSCOMMITMENT_FLAGS {
12427 pub Anonymous: D3DKMT_TRIMPROCESSCOMMITMENT_FLAGS_0,
12428 pub Value: u32,
12429 }
12430 impl ::core::marker::Copy for D3DKMT_TRIMPROCESSCOMMITMENT_FLAGS {}
12431 impl ::core::clone::Clone for D3DKMT_TRIMPROCESSCOMMITMENT_FLAGS {
12432 fn clone(&self) -> Self {
12433 *self
12434 }
12435 }
12436 #[repr(C)]
12437 pub struct D3DKMT_TRIMPROCESSCOMMITMENT_FLAGS_0 {
12438 pub _bitfield: u32,
12439 }
12440 impl ::core::marker::Copy for D3DKMT_TRIMPROCESSCOMMITMENT_FLAGS_0 {}
12441 impl ::core::clone::Clone for D3DKMT_TRIMPROCESSCOMMITMENT_FLAGS_0 {
12442 fn clone(&self) -> Self {
12443 *self
12444 }
12445 }
12446 #[repr(C)]
12447 pub struct D3DKMT_UMDFILENAMEINFO {
12448 pub Version: KMTUMDVERSION,
12449 pub UmdFileName: [u16; 260],
12450 }
12451 impl ::core::marker::Copy for D3DKMT_UMDFILENAMEINFO {}
12452 impl ::core::clone::Clone for D3DKMT_UMDFILENAMEINFO {
12453 fn clone(&self) -> Self {
12454 *self
12455 }
12456 }
12457 #[repr(C)]
12458 pub struct D3DKMT_UMD_DRIVER_VERSION {
12459 pub DriverVersion: i64,
12460 }
12461 impl ::core::marker::Copy for D3DKMT_UMD_DRIVER_VERSION {}
12462 impl ::core::clone::Clone for D3DKMT_UMD_DRIVER_VERSION {
12463 fn clone(&self) -> Self {
12464 *self
12465 }
12466 }
12467 #[repr(C)]
12468 pub struct D3DKMT_UNLOCK {
12469 pub hDevice: u32,
12470 pub NumAllocations: u32,
12471 pub phAllocations: *const u32,
12472 }
12473 impl ::core::marker::Copy for D3DKMT_UNLOCK {}
12474 impl ::core::clone::Clone for D3DKMT_UNLOCK {
12475 fn clone(&self) -> Self {
12476 *self
12477 }
12478 }
12479 #[repr(C)]
12480 pub struct D3DKMT_UNLOCK2 {
12481 pub hDevice: u32,
12482 pub hAllocation: u32,
12483 }
12484 impl ::core::marker::Copy for D3DKMT_UNLOCK2 {}
12485 impl ::core::clone::Clone for D3DKMT_UNLOCK2 {
12486 fn clone(&self) -> Self {
12487 *self
12488 }
12489 }
12490 #[repr(C)]
12491 pub struct D3DKMT_UNPINDIRECTFLIPRESOURCES {
12492 pub hDevice: u32,
12493 pub ResourceCount: u32,
12494 pub pResourceList: *mut u32,
12495 }
12496 impl ::core::marker::Copy for D3DKMT_UNPINDIRECTFLIPRESOURCES {}
12497 impl ::core::clone::Clone for D3DKMT_UNPINDIRECTFLIPRESOURCES {
12498 fn clone(&self) -> Self {
12499 *self
12500 }
12501 }
12502 #[repr(C)]
12503 pub struct D3DKMT_UNREGISTERBUDGETCHANGENOTIFICATION {
12504 pub Handle: *mut ::core::ffi::c_void,
12505 }
12506 impl ::core::marker::Copy for D3DKMT_UNREGISTERBUDGETCHANGENOTIFICATION {}
12507 impl ::core::clone::Clone for D3DKMT_UNREGISTERBUDGETCHANGENOTIFICATION {
12508 fn clone(&self) -> Self {
12509 *self
12510 }
12511 }
12512 #[repr(C)]
12513 pub struct D3DKMT_UNREGISTERTRIMNOTIFICATION {
12514 pub Handle: *mut ::core::ffi::c_void,
12515 pub Callback: PFND3DKMT_TRIMNOTIFICATIONCALLBACK,
12516 }
12517 impl ::core::marker::Copy for D3DKMT_UNREGISTERTRIMNOTIFICATION {}
12518 impl ::core::clone::Clone for D3DKMT_UNREGISTERTRIMNOTIFICATION {
12519 fn clone(&self) -> Self {
12520 *self
12521 }
12522 }
12523 #[repr(C)]
12524 pub struct D3DKMT_UPDATEGPUVIRTUALADDRESS {
12525 pub hDevice: u32,
12526 pub hContext: u32,
12527 pub hFenceObject: u32,
12528 pub NumOperations: u32,
12529 pub Operations: *mut D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION,
12530 pub Reserved0: usize,
12531 pub Reserved1: u64,
12532 pub FenceValue: u64,
12533 pub Flags: D3DKMT_UPDATEGPUVIRTUALADDRESS_0,
12534 }
12535 impl ::core::marker::Copy for D3DKMT_UPDATEGPUVIRTUALADDRESS {}
12536 impl ::core::clone::Clone for D3DKMT_UPDATEGPUVIRTUALADDRESS {
12537 fn clone(&self) -> Self {
12538 *self
12539 }
12540 }
12541 #[repr(C)]
12542 pub union D3DKMT_UPDATEGPUVIRTUALADDRESS_0 {
12543 pub Anonymous: D3DKMT_UPDATEGPUVIRTUALADDRESS_0_0,
12544 pub Value: u32,
12545 }
12546 impl ::core::marker::Copy for D3DKMT_UPDATEGPUVIRTUALADDRESS_0 {}
12547 impl ::core::clone::Clone for D3DKMT_UPDATEGPUVIRTUALADDRESS_0 {
12548 fn clone(&self) -> Self {
12549 *self
12550 }
12551 }
12552 #[repr(C)]
12553 pub struct D3DKMT_UPDATEGPUVIRTUALADDRESS_0_0 {
12554 pub _bitfield: u32,
12555 }
12556 impl ::core::marker::Copy for D3DKMT_UPDATEGPUVIRTUALADDRESS_0_0 {}
12557 impl ::core::clone::Clone for D3DKMT_UPDATEGPUVIRTUALADDRESS_0_0 {
12558 fn clone(&self) -> Self {
12559 *self
12560 }
12561 }
12562 #[repr(C)]
12563 pub struct D3DKMT_UPDATEOVERLAY {
12564 pub hDevice: u32,
12565 pub hOverlay: u32,
12566 pub OverlayInfo: D3DDDI_KERNELOVERLAYINFO,
12567 }
12568 impl ::core::marker::Copy for D3DKMT_UPDATEOVERLAY {}
12569 impl ::core::clone::Clone for D3DKMT_UPDATEOVERLAY {
12570 fn clone(&self) -> Self {
12571 *self
12572 }
12573 }
12574 #[repr(C)]
12575 pub struct D3DKMT_VAD_DESC {
12576 pub VadIndex: u32,
12577 pub VadAddress: u64,
12578 pub NumMappedRanges: u32,
12579 pub VadType: u32,
12580 pub StartAddress: u64,
12581 pub EndAddress: u64,
12582 }
12583 impl ::core::marker::Copy for D3DKMT_VAD_DESC {}
12584 impl ::core::clone::Clone for D3DKMT_VAD_DESC {
12585 fn clone(&self) -> Self {
12586 *self
12587 }
12588 }
12589 #[repr(C)]
12590 pub struct D3DKMT_VA_RANGE_DESC {
12591 pub VadAddress: u64,
12592 pub VaRangeIndex: u32,
12593 pub PhysicalAdapterIndex: u32,
12594 pub StartAddress: u64,
12595 pub EndAddress: u64,
12596 pub DriverProtection: u64,
12597 pub OwnerType: u32,
12598 pub pOwner: u64,
12599 pub OwnerOffset: u64,
12600 pub Protection: u32,
12601 }
12602 impl ::core::marker::Copy for D3DKMT_VA_RANGE_DESC {}
12603 impl ::core::clone::Clone for D3DKMT_VA_RANGE_DESC {
12604 fn clone(&self) -> Self {
12605 *self
12606 }
12607 }
12608 #[repr(C)]
12609 pub struct D3DKMT_VGPUINTERFACEID {
12610 pub VirtualGpuIntefaceId: [u16; 260],
12611 }
12612 impl ::core::marker::Copy for D3DKMT_VGPUINTERFACEID {}
12613 impl ::core::clone::Clone for D3DKMT_VGPUINTERFACEID {
12614 fn clone(&self) -> Self {
12615 *self
12616 }
12617 }
12618 #[repr(C)]
12619 #[doc = "Required features: `\"Win32_Foundation\"`"]
12620 #[cfg(feature = "Win32_Foundation")]
12621 pub struct D3DKMT_VIDMM_ESCAPE {
12622 pub Type: D3DKMT_VIDMMESCAPETYPE,
12623 pub Anonymous: D3DKMT_VIDMM_ESCAPE_0,
12624 }
12625 #[cfg(feature = "Win32_Foundation")]
12626 impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE {}
12627 #[cfg(feature = "Win32_Foundation")]
12628 impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE {
12629 fn clone(&self) -> Self {
12630 *self
12631 }
12632 }
12633 #[repr(C)]
12634 #[doc = "Required features: `\"Win32_Foundation\"`"]
12635 #[cfg(feature = "Win32_Foundation")]
12636 pub union D3DKMT_VIDMM_ESCAPE_0 {
12637 pub SetFault: D3DKMT_VIDMM_ESCAPE_0_9,
12638 pub Evict: D3DKMT_VIDMM_ESCAPE_0_4,
12639 pub EvictByNtHandle: D3DKMT_VIDMM_ESCAPE_0_3,
12640 pub GetVads: D3DKMT_VIDMM_ESCAPE_0_6,
12641 pub SetBudget: D3DKMT_VIDMM_ESCAPE_0_8,
12642 pub SuspendProcess: D3DKMT_VIDMM_ESCAPE_0_11,
12643 pub ResumeProcess: D3DKMT_VIDMM_ESCAPE_0_7,
12644 pub GetBudget: D3DKMT_VIDMM_ESCAPE_0_5,
12645 pub SetTrimIntervals: D3DKMT_VIDMM_ESCAPE_0_10,
12646 pub EvictByCriteria: D3DKMT_EVICTION_CRITERIA,
12647 pub Wake: D3DKMT_VIDMM_ESCAPE_0_13,
12648 pub Defrag: D3DKMT_VIDMM_ESCAPE_0_0,
12649 pub DelayExecution: D3DKMT_VIDMM_ESCAPE_0_1,
12650 pub VerifyIntegrity: D3DKMT_VIDMM_ESCAPE_0_12,
12651 pub DelayedEvictionConfig: D3DKMT_VIDMM_ESCAPE_0_2,
12652 }
12653 #[cfg(feature = "Win32_Foundation")]
12654 impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0 {}
12655 #[cfg(feature = "Win32_Foundation")]
12656 impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0 {
12657 fn clone(&self) -> Self {
12658 *self
12659 }
12660 }
12661 #[repr(C)]
12662 #[doc = "Required features: `\"Win32_Foundation\"`"]
12663 #[cfg(feature = "Win32_Foundation")]
12664 pub struct D3DKMT_VIDMM_ESCAPE_0_0 {
12665 pub Operation: D3DKMT_DEFRAG_ESCAPE_OPERATION,
12666 pub SegmentId: u32,
12667 pub TotalCommitted: u64,
12668 pub TotalFree: u64,
12669 pub LargestGapBefore: u64,
12670 pub LargestGapAfter: u64,
12671 }
12672 #[cfg(feature = "Win32_Foundation")]
12673 impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_0 {}
12674 #[cfg(feature = "Win32_Foundation")]
12675 impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_0 {
12676 fn clone(&self) -> Self {
12677 *self
12678 }
12679 }
12680 #[repr(C)]
12681 #[doc = "Required features: `\"Win32_Foundation\"`"]
12682 #[cfg(feature = "Win32_Foundation")]
12683 pub struct D3DKMT_VIDMM_ESCAPE_0_1 {
12684 pub hPagingQueue: u32,
12685 pub PhysicalAdapterIndex: u32,
12686 pub Milliseconds: u32,
12687 pub PagingFenceValue: u64,
12688 }
12689 #[cfg(feature = "Win32_Foundation")]
12690 impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_1 {}
12691 #[cfg(feature = "Win32_Foundation")]
12692 impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_1 {
12693 fn clone(&self) -> Self {
12694 *self
12695 }
12696 }
12697 #[repr(C)]
12698 #[doc = "Required features: `\"Win32_Foundation\"`"]
12699 #[cfg(feature = "Win32_Foundation")]
12700 pub struct D3DKMT_VIDMM_ESCAPE_0_2 {
12701 pub TimerValue: i64,
12702 }
12703 #[cfg(feature = "Win32_Foundation")]
12704 impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_2 {}
12705 #[cfg(feature = "Win32_Foundation")]
12706 impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_2 {
12707 fn clone(&self) -> Self {
12708 *self
12709 }
12710 }
12711 #[repr(C)]
12712 #[doc = "Required features: `\"Win32_Foundation\"`"]
12713 #[cfg(feature = "Win32_Foundation")]
12714 pub struct D3DKMT_VIDMM_ESCAPE_0_3 {
12715 pub NtHandle: u64,
12716 }
12717 #[cfg(feature = "Win32_Foundation")]
12718 impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_3 {}
12719 #[cfg(feature = "Win32_Foundation")]
12720 impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_3 {
12721 fn clone(&self) -> Self {
12722 *self
12723 }
12724 }
12725 #[repr(C)]
12726 #[doc = "Required features: `\"Win32_Foundation\"`"]
12727 #[cfg(feature = "Win32_Foundation")]
12728 pub struct D3DKMT_VIDMM_ESCAPE_0_4 {
12729 pub ResourceHandle: u32,
12730 pub AllocationHandle: u32,
12731 pub hProcess: super::super::super::Win32::Foundation::HANDLE,
12732 }
12733 #[cfg(feature = "Win32_Foundation")]
12734 impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_4 {}
12735 #[cfg(feature = "Win32_Foundation")]
12736 impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_4 {
12737 fn clone(&self) -> Self {
12738 *self
12739 }
12740 }
12741 #[repr(C)]
12742 #[doc = "Required features: `\"Win32_Foundation\"`"]
12743 #[cfg(feature = "Win32_Foundation")]
12744 pub struct D3DKMT_VIDMM_ESCAPE_0_5 {
12745 pub NumBytesToTrim: u64,
12746 }
12747 #[cfg(feature = "Win32_Foundation")]
12748 impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_5 {}
12749 #[cfg(feature = "Win32_Foundation")]
12750 impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_5 {
12751 fn clone(&self) -> Self {
12752 *self
12753 }
12754 }
12755 #[repr(C)]
12756 #[doc = "Required features: `\"Win32_Foundation\"`"]
12757 #[cfg(feature = "Win32_Foundation")]
12758 pub struct D3DKMT_VIDMM_ESCAPE_0_6 {
12759 pub Anonymous: D3DKMT_VIDMM_ESCAPE_0_6_0,
12760 pub Command: D3DKMT_VAD_ESCAPE_COMMAND,
12761 pub Status: super::super::super::Win32::Foundation::NTSTATUS,
12762 }
12763 #[cfg(feature = "Win32_Foundation")]
12764 impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_6 {}
12765 #[cfg(feature = "Win32_Foundation")]
12766 impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_6 {
12767 fn clone(&self) -> Self {
12768 *self
12769 }
12770 }
12771 #[repr(C)]
12772 #[doc = "Required features: `\"Win32_Foundation\"`"]
12773 #[cfg(feature = "Win32_Foundation")]
12774 pub union D3DKMT_VIDMM_ESCAPE_0_6_0 {
12775 pub GetNumVads: D3DKMT_VIDMM_ESCAPE_0_6_0_0,
12776 pub GetVad: D3DKMT_VAD_DESC,
12777 pub GetVadRange: D3DKMT_VA_RANGE_DESC,
12778 pub GetGpuMmuCaps: D3DKMT_GET_GPUMMU_CAPS,
12779 pub GetPte: D3DKMT_GET_PTE,
12780 pub GetSegmentCaps: D3DKMT_GET_SEGMENT_CAPS,
12781 }
12782 #[cfg(feature = "Win32_Foundation")]
12783 impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_6_0 {}
12784 #[cfg(feature = "Win32_Foundation")]
12785 impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_6_0 {
12786 fn clone(&self) -> Self {
12787 *self
12788 }
12789 }
12790 #[repr(C)]
12791 #[doc = "Required features: `\"Win32_Foundation\"`"]
12792 #[cfg(feature = "Win32_Foundation")]
12793 pub struct D3DKMT_VIDMM_ESCAPE_0_6_0_0 {
12794 pub NumVads: u32,
12795 }
12796 #[cfg(feature = "Win32_Foundation")]
12797 impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_6_0_0 {}
12798 #[cfg(feature = "Win32_Foundation")]
12799 impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_6_0_0 {
12800 fn clone(&self) -> Self {
12801 *self
12802 }
12803 }
12804 #[repr(C)]
12805 #[doc = "Required features: `\"Win32_Foundation\"`"]
12806 #[cfg(feature = "Win32_Foundation")]
12807 pub struct D3DKMT_VIDMM_ESCAPE_0_7 {
12808 pub hProcess: super::super::super::Win32::Foundation::HANDLE,
12809 }
12810 #[cfg(feature = "Win32_Foundation")]
12811 impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_7 {}
12812 #[cfg(feature = "Win32_Foundation")]
12813 impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_7 {
12814 fn clone(&self) -> Self {
12815 *self
12816 }
12817 }
12818 #[repr(C)]
12819 #[doc = "Required features: `\"Win32_Foundation\"`"]
12820 #[cfg(feature = "Win32_Foundation")]
12821 pub struct D3DKMT_VIDMM_ESCAPE_0_8 {
12822 pub LocalMemoryBudget: u64,
12823 pub SystemMemoryBudget: u64,
12824 }
12825 #[cfg(feature = "Win32_Foundation")]
12826 impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_8 {}
12827 #[cfg(feature = "Win32_Foundation")]
12828 impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_8 {
12829 fn clone(&self) -> Self {
12830 *self
12831 }
12832 }
12833 #[repr(C)]
12834 #[doc = "Required features: `\"Win32_Foundation\"`"]
12835 #[cfg(feature = "Win32_Foundation")]
12836 pub struct D3DKMT_VIDMM_ESCAPE_0_9 {
12837 pub Anonymous: D3DKMT_VIDMM_ESCAPE_0_9_0,
12838 }
12839 #[cfg(feature = "Win32_Foundation")]
12840 impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_9 {}
12841 #[cfg(feature = "Win32_Foundation")]
12842 impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_9 {
12843 fn clone(&self) -> Self {
12844 *self
12845 }
12846 }
12847 #[repr(C)]
12848 #[doc = "Required features: `\"Win32_Foundation\"`"]
12849 #[cfg(feature = "Win32_Foundation")]
12850 pub union D3DKMT_VIDMM_ESCAPE_0_9_0 {
12851 pub Anonymous: D3DKMT_VIDMM_ESCAPE_0_9_0_0,
12852 pub Value: u32,
12853 }
12854 #[cfg(feature = "Win32_Foundation")]
12855 impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_9_0 {}
12856 #[cfg(feature = "Win32_Foundation")]
12857 impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_9_0 {
12858 fn clone(&self) -> Self {
12859 *self
12860 }
12861 }
12862 #[repr(C)]
12863 #[doc = "Required features: `\"Win32_Foundation\"`"]
12864 #[cfg(feature = "Win32_Foundation")]
12865 pub struct D3DKMT_VIDMM_ESCAPE_0_9_0_0 {
12866 pub _bitfield: u32,
12867 }
12868 #[cfg(feature = "Win32_Foundation")]
12869 impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_9_0_0 {}
12870 #[cfg(feature = "Win32_Foundation")]
12871 impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_9_0_0 {
12872 fn clone(&self) -> Self {
12873 *self
12874 }
12875 }
12876 #[repr(C)]
12877 #[doc = "Required features: `\"Win32_Foundation\"`"]
12878 #[cfg(feature = "Win32_Foundation")]
12879 pub struct D3DKMT_VIDMM_ESCAPE_0_10 {
12880 pub MinTrimInterval: u32,
12881 pub MaxTrimInterval: u32,
12882 pub IdleTrimInterval: u32,
12883 }
12884 #[cfg(feature = "Win32_Foundation")]
12885 impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_10 {}
12886 #[cfg(feature = "Win32_Foundation")]
12887 impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_10 {
12888 fn clone(&self) -> Self {
12889 *self
12890 }
12891 }
12892 #[repr(C)]
12893 #[doc = "Required features: `\"Win32_Foundation\"`"]
12894 #[cfg(feature = "Win32_Foundation")]
12895 pub struct D3DKMT_VIDMM_ESCAPE_0_11 {
12896 pub hProcess: super::super::super::Win32::Foundation::HANDLE,
12897 pub bAllowWakeOnSubmission: super::super::super::Win32::Foundation::BOOL,
12898 }
12899 #[cfg(feature = "Win32_Foundation")]
12900 impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_11 {}
12901 #[cfg(feature = "Win32_Foundation")]
12902 impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_11 {
12903 fn clone(&self) -> Self {
12904 *self
12905 }
12906 }
12907 #[repr(C)]
12908 #[doc = "Required features: `\"Win32_Foundation\"`"]
12909 #[cfg(feature = "Win32_Foundation")]
12910 pub struct D3DKMT_VIDMM_ESCAPE_0_12 {
12911 pub SegmentId: u32,
12912 }
12913 #[cfg(feature = "Win32_Foundation")]
12914 impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_12 {}
12915 #[cfg(feature = "Win32_Foundation")]
12916 impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_12 {
12917 fn clone(&self) -> Self {
12918 *self
12919 }
12920 }
12921 #[repr(C)]
12922 #[doc = "Required features: `\"Win32_Foundation\"`"]
12923 #[cfg(feature = "Win32_Foundation")]
12924 pub struct D3DKMT_VIDMM_ESCAPE_0_13 {
12925 pub bFlush: super::super::super::Win32::Foundation::BOOL,
12926 }
12927 #[cfg(feature = "Win32_Foundation")]
12928 impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_13 {}
12929 #[cfg(feature = "Win32_Foundation")]
12930 impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_13 {
12931 fn clone(&self) -> Self {
12932 *self
12933 }
12934 }
12935 #[repr(C)]
12936 pub struct D3DKMT_VIDPNSOURCEOWNER_FLAGS {
12937 pub Anonymous: D3DKMT_VIDPNSOURCEOWNER_FLAGS_0,
12938 }
12939 impl ::core::marker::Copy for D3DKMT_VIDPNSOURCEOWNER_FLAGS {}
12940 impl ::core::clone::Clone for D3DKMT_VIDPNSOURCEOWNER_FLAGS {
12941 fn clone(&self) -> Self {
12942 *self
12943 }
12944 }
12945 #[repr(C)]
12946 pub union D3DKMT_VIDPNSOURCEOWNER_FLAGS_0 {
12947 pub Anonymous: D3DKMT_VIDPNSOURCEOWNER_FLAGS_0_0,
12948 pub Value: u32,
12949 }
12950 impl ::core::marker::Copy for D3DKMT_VIDPNSOURCEOWNER_FLAGS_0 {}
12951 impl ::core::clone::Clone for D3DKMT_VIDPNSOURCEOWNER_FLAGS_0 {
12952 fn clone(&self) -> Self {
12953 *self
12954 }
12955 }
12956 #[repr(C)]
12957 pub struct D3DKMT_VIDPNSOURCEOWNER_FLAGS_0_0 {
12958 pub _bitfield: u32,
12959 }
12960 impl ::core::marker::Copy for D3DKMT_VIDPNSOURCEOWNER_FLAGS_0_0 {}
12961 impl ::core::clone::Clone for D3DKMT_VIDPNSOURCEOWNER_FLAGS_0_0 {
12962 fn clone(&self) -> Self {
12963 *self
12964 }
12965 }
12966 #[repr(C)]
12967 #[doc = "Required features: `\"Win32_Foundation\"`"]
12968 #[cfg(feature = "Win32_Foundation")]
12969 pub struct D3DKMT_VIDSCH_ESCAPE {
12970 pub Type: D3DKMT_VIDSCHESCAPETYPE,
12971 pub Anonymous: D3DKMT_VIDSCH_ESCAPE_0,
12972 pub VirtualRefreshRateControl: D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE,
12973 }
12974 #[cfg(feature = "Win32_Foundation")]
12975 impl ::core::marker::Copy for D3DKMT_VIDSCH_ESCAPE {}
12976 #[cfg(feature = "Win32_Foundation")]
12977 impl ::core::clone::Clone for D3DKMT_VIDSCH_ESCAPE {
12978 fn clone(&self) -> Self {
12979 *self
12980 }
12981 }
12982 #[repr(C)]
12983 #[doc = "Required features: `\"Win32_Foundation\"`"]
12984 #[cfg(feature = "Win32_Foundation")]
12985 pub union D3DKMT_VIDSCH_ESCAPE_0 {
12986 pub PreemptionControl: super::super::super::Win32::Foundation::BOOL,
12987 pub EnableContextDelay: super::super::super::Win32::Foundation::BOOL,
12988 pub TdrControl2: D3DKMT_VIDSCH_ESCAPE_0_0,
12989 pub SuspendScheduler: super::super::super::Win32::Foundation::BOOL,
12990 pub TdrControl: u32,
12991 pub SuspendTime: u32,
12992 pub TdrLimit: D3DKMT_VIDSCH_ESCAPE_0_1,
12993 pub PfnControl: D3DKMT_ESCAPE_PFN_CONTROL_COMMAND,
12994 }
12995 #[cfg(feature = "Win32_Foundation")]
12996 impl ::core::marker::Copy for D3DKMT_VIDSCH_ESCAPE_0 {}
12997 #[cfg(feature = "Win32_Foundation")]
12998 impl ::core::clone::Clone for D3DKMT_VIDSCH_ESCAPE_0 {
12999 fn clone(&self) -> Self {
13000 *self
13001 }
13002 }
13003 #[repr(C)]
13004 #[doc = "Required features: `\"Win32_Foundation\"`"]
13005 #[cfg(feature = "Win32_Foundation")]
13006 pub struct D3DKMT_VIDSCH_ESCAPE_0_0 {
13007 pub TdrControl: u32,
13008 pub Anonymous: D3DKMT_VIDSCH_ESCAPE_0_0_0,
13009 }
13010 #[cfg(feature = "Win32_Foundation")]
13011 impl ::core::marker::Copy for D3DKMT_VIDSCH_ESCAPE_0_0 {}
13012 #[cfg(feature = "Win32_Foundation")]
13013 impl ::core::clone::Clone for D3DKMT_VIDSCH_ESCAPE_0_0 {
13014 fn clone(&self) -> Self {
13015 *self
13016 }
13017 }
13018 #[repr(C)]
13019 #[doc = "Required features: `\"Win32_Foundation\"`"]
13020 #[cfg(feature = "Win32_Foundation")]
13021 pub union D3DKMT_VIDSCH_ESCAPE_0_0_0 {
13022 pub NodeOrdinal: u32,
13023 }
13024 #[cfg(feature = "Win32_Foundation")]
13025 impl ::core::marker::Copy for D3DKMT_VIDSCH_ESCAPE_0_0_0 {}
13026 #[cfg(feature = "Win32_Foundation")]
13027 impl ::core::clone::Clone for D3DKMT_VIDSCH_ESCAPE_0_0_0 {
13028 fn clone(&self) -> Self {
13029 *self
13030 }
13031 }
13032 #[repr(C)]
13033 #[doc = "Required features: `\"Win32_Foundation\"`"]
13034 #[cfg(feature = "Win32_Foundation")]
13035 pub struct D3DKMT_VIDSCH_ESCAPE_0_1 {
13036 pub Count: u32,
13037 pub Time: u32,
13038 }
13039 #[cfg(feature = "Win32_Foundation")]
13040 impl ::core::marker::Copy for D3DKMT_VIDSCH_ESCAPE_0_1 {}
13041 #[cfg(feature = "Win32_Foundation")]
13042 impl ::core::clone::Clone for D3DKMT_VIDSCH_ESCAPE_0_1 {
13043 fn clone(&self) -> Self {
13044 *self
13045 }
13046 }
13047 #[repr(C)]
13048 pub struct D3DKMT_VIRTUALADDRESSFLAGS {
13049 pub _bitfield: u32,
13050 }
13051 impl ::core::marker::Copy for D3DKMT_VIRTUALADDRESSFLAGS {}
13052 impl ::core::clone::Clone for D3DKMT_VIRTUALADDRESSFLAGS {
13053 fn clone(&self) -> Self {
13054 *self
13055 }
13056 }
13057 #[repr(C)]
13058 pub struct D3DKMT_VIRTUALADDRESSINFO {
13059 pub VirtualAddressFlags: D3DKMT_VIRTUALADDRESSFLAGS,
13060 }
13061 impl ::core::marker::Copy for D3DKMT_VIRTUALADDRESSINFO {}
13062 impl ::core::clone::Clone for D3DKMT_VIRTUALADDRESSINFO {
13063 fn clone(&self) -> Self {
13064 *self
13065 }
13066 }
13067 #[repr(C)]
13068 pub struct D3DKMT_WAITFORIDLE {
13069 pub hDevice: u32,
13070 }
13071 impl ::core::marker::Copy for D3DKMT_WAITFORIDLE {}
13072 impl ::core::clone::Clone for D3DKMT_WAITFORIDLE {
13073 fn clone(&self) -> Self {
13074 *self
13075 }
13076 }
13077 #[repr(C)]
13078 pub struct D3DKMT_WAITFORSYNCHRONIZATIONOBJECT {
13079 pub hContext: u32,
13080 pub ObjectCount: u32,
13081 pub ObjectHandleArray: [u32; 32],
13082 }
13083 impl ::core::marker::Copy for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT {}
13084 impl ::core::clone::Clone for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT {
13085 fn clone(&self) -> Self {
13086 *self
13087 }
13088 }
13089 #[repr(C)]
13090 pub struct D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2 {
13091 pub hContext: u32,
13092 pub ObjectCount: u32,
13093 pub ObjectHandleArray: [u32; 32],
13094 pub Anonymous: D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2_0,
13095 }
13096 impl ::core::marker::Copy for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2 {}
13097 impl ::core::clone::Clone for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2 {
13098 fn clone(&self) -> Self {
13099 *self
13100 }
13101 }
13102 #[repr(C)]
13103 pub union D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2_0 {
13104 pub Fence: D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2_0_0,
13105 pub Reserved: [u64; 8],
13106 }
13107 impl ::core::marker::Copy for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2_0 {}
13108 impl ::core::clone::Clone for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2_0 {
13109 fn clone(&self) -> Self {
13110 *self
13111 }
13112 }
13113 #[repr(C)]
13114 pub struct D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2_0_0 {
13115 pub FenceValue: u64,
13116 }
13117 impl ::core::marker::Copy for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2_0_0 {}
13118 impl ::core::clone::Clone for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2_0_0 {
13119 fn clone(&self) -> Self {
13120 *self
13121 }
13122 }
13123 #[repr(C)]
13124 #[doc = "Required features: `\"Win32_Foundation\"`"]
13125 #[cfg(feature = "Win32_Foundation")]
13126 pub struct D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMCPU {
13127 pub hDevice: u32,
13128 pub ObjectCount: u32,
13129 pub ObjectHandleArray: *const u32,
13130 pub FenceValueArray: *const u64,
13131 pub hAsyncEvent: super::super::super::Win32::Foundation::HANDLE,
13132 pub Flags: D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS,
13133 }
13134 #[cfg(feature = "Win32_Foundation")]
13135 impl ::core::marker::Copy for D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMCPU {}
13136 #[cfg(feature = "Win32_Foundation")]
13137 impl ::core::clone::Clone for D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMCPU {
13138 fn clone(&self) -> Self {
13139 *self
13140 }
13141 }
13142 #[repr(C)]
13143 pub struct D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU {
13144 pub hContext: u32,
13145 pub ObjectCount: u32,
13146 pub ObjectHandleArray: *const u32,
13147 pub Anonymous: D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU_0,
13148 }
13149 impl ::core::marker::Copy for D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU {}
13150 impl ::core::clone::Clone for D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU {
13151 fn clone(&self) -> Self {
13152 *self
13153 }
13154 }
13155 #[repr(C)]
13156 pub union D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU_0 {
13157 pub MonitoredFenceValueArray: *const u64,
13158 pub FenceValue: u64,
13159 pub Reserved: [u64; 8],
13160 }
13161 impl ::core::marker::Copy for D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU_0 {}
13162 impl ::core::clone::Clone for D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU_0 {
13163 fn clone(&self) -> Self {
13164 *self
13165 }
13166 }
13167 #[repr(C)]
13168 pub struct D3DKMT_WAITFORVERTICALBLANKEVENT {
13169 pub hAdapter: u32,
13170 pub hDevice: u32,
13171 pub VidPnSourceId: u32,
13172 }
13173 impl ::core::marker::Copy for D3DKMT_WAITFORVERTICALBLANKEVENT {}
13174 impl ::core::clone::Clone for D3DKMT_WAITFORVERTICALBLANKEVENT {
13175 fn clone(&self) -> Self {
13176 *self
13177 }
13178 }
13179 #[repr(C)]
13180 pub struct D3DKMT_WAITFORVERTICALBLANKEVENT2 {
13181 pub hAdapter: u32,
13182 pub hDevice: u32,
13183 pub VidPnSourceId: u32,
13184 pub NumObjects: u32,
13185 pub ObjectHandleArray: [isize; 8],
13186 }
13187 impl ::core::marker::Copy for D3DKMT_WAITFORVERTICALBLANKEVENT2 {}
13188 impl ::core::clone::Clone for D3DKMT_WAITFORVERTICALBLANKEVENT2 {
13189 fn clone(&self) -> Self {
13190 *self
13191 }
13192 }
13193 #[repr(C)]
13194 pub struct D3DKMT_WDDM_1_2_CAPS {
13195 pub PreemptionCaps: D3DKMDT_PREEMPTION_CAPS,
13196 pub Anonymous: D3DKMT_WDDM_1_2_CAPS_0,
13197 }
13198 impl ::core::marker::Copy for D3DKMT_WDDM_1_2_CAPS {}
13199 impl ::core::clone::Clone for D3DKMT_WDDM_1_2_CAPS {
13200 fn clone(&self) -> Self {
13201 *self
13202 }
13203 }
13204 #[repr(C)]
13205 pub union D3DKMT_WDDM_1_2_CAPS_0 {
13206 pub Anonymous: D3DKMT_WDDM_1_2_CAPS_0_0,
13207 pub Value: u32,
13208 }
13209 impl ::core::marker::Copy for D3DKMT_WDDM_1_2_CAPS_0 {}
13210 impl ::core::clone::Clone for D3DKMT_WDDM_1_2_CAPS_0 {
13211 fn clone(&self) -> Self {
13212 *self
13213 }
13214 }
13215 #[repr(C)]
13216 pub struct D3DKMT_WDDM_1_2_CAPS_0_0 {
13217 pub _bitfield: u32,
13218 }
13219 impl ::core::marker::Copy for D3DKMT_WDDM_1_2_CAPS_0_0 {}
13220 impl ::core::clone::Clone for D3DKMT_WDDM_1_2_CAPS_0_0 {
13221 fn clone(&self) -> Self {
13222 *self
13223 }
13224 }
13225 #[repr(C)]
13226 pub struct D3DKMT_WDDM_1_3_CAPS {
13227 pub Anonymous: D3DKMT_WDDM_1_3_CAPS_0,
13228 }
13229 impl ::core::marker::Copy for D3DKMT_WDDM_1_3_CAPS {}
13230 impl ::core::clone::Clone for D3DKMT_WDDM_1_3_CAPS {
13231 fn clone(&self) -> Self {
13232 *self
13233 }
13234 }
13235 #[repr(C, packed(1))]
13236 pub union D3DKMT_WDDM_1_3_CAPS_0 {
13237 pub Anonymous: D3DKMT_WDDM_1_3_CAPS_0_0,
13238 pub Value: u32,
13239 }
13240 impl ::core::marker::Copy for D3DKMT_WDDM_1_3_CAPS_0 {}
13241 impl ::core::clone::Clone for D3DKMT_WDDM_1_3_CAPS_0 {
13242 fn clone(&self) -> Self {
13243 *self
13244 }
13245 }
13246 #[repr(C, packed(1))]
13247 pub struct D3DKMT_WDDM_1_3_CAPS_0_0 {
13248 pub _bitfield: u32,
13249 }
13250 impl ::core::marker::Copy for D3DKMT_WDDM_1_3_CAPS_0_0 {}
13251 impl ::core::clone::Clone for D3DKMT_WDDM_1_3_CAPS_0_0 {
13252 fn clone(&self) -> Self {
13253 *self
13254 }
13255 }
13256 #[repr(C)]
13257 pub struct D3DKMT_WDDM_2_0_CAPS {
13258 pub Anonymous: D3DKMT_WDDM_2_0_CAPS_0,
13259 }
13260 impl ::core::marker::Copy for D3DKMT_WDDM_2_0_CAPS {}
13261 impl ::core::clone::Clone for D3DKMT_WDDM_2_0_CAPS {
13262 fn clone(&self) -> Self {
13263 *self
13264 }
13265 }
13266 #[repr(C, packed(1))]
13267 pub union D3DKMT_WDDM_2_0_CAPS_0 {
13268 pub Anonymous: D3DKMT_WDDM_2_0_CAPS_0_0,
13269 pub Value: u32,
13270 }
13271 impl ::core::marker::Copy for D3DKMT_WDDM_2_0_CAPS_0 {}
13272 impl ::core::clone::Clone for D3DKMT_WDDM_2_0_CAPS_0 {
13273 fn clone(&self) -> Self {
13274 *self
13275 }
13276 }
13277 #[repr(C, packed(1))]
13278 pub struct D3DKMT_WDDM_2_0_CAPS_0_0 {
13279 pub _bitfield: u32,
13280 }
13281 impl ::core::marker::Copy for D3DKMT_WDDM_2_0_CAPS_0_0 {}
13282 impl ::core::clone::Clone for D3DKMT_WDDM_2_0_CAPS_0_0 {
13283 fn clone(&self) -> Self {
13284 *self
13285 }
13286 }
13287 #[repr(C)]
13288 pub struct D3DKMT_WDDM_2_7_CAPS {
13289 pub Anonymous: D3DKMT_WDDM_2_7_CAPS_0,
13290 }
13291 impl ::core::marker::Copy for D3DKMT_WDDM_2_7_CAPS {}
13292 impl ::core::clone::Clone for D3DKMT_WDDM_2_7_CAPS {
13293 fn clone(&self) -> Self {
13294 *self
13295 }
13296 }
13297 #[repr(C, packed(1))]
13298 pub union D3DKMT_WDDM_2_7_CAPS_0 {
13299 pub Anonymous: D3DKMT_WDDM_2_7_CAPS_0_0,
13300 pub Value: u32,
13301 }
13302 impl ::core::marker::Copy for D3DKMT_WDDM_2_7_CAPS_0 {}
13303 impl ::core::clone::Clone for D3DKMT_WDDM_2_7_CAPS_0 {
13304 fn clone(&self) -> Self {
13305 *self
13306 }
13307 }
13308 #[repr(C, packed(1))]
13309 pub struct D3DKMT_WDDM_2_7_CAPS_0_0 {
13310 pub _bitfield: u32,
13311 }
13312 impl ::core::marker::Copy for D3DKMT_WDDM_2_7_CAPS_0_0 {}
13313 impl ::core::clone::Clone for D3DKMT_WDDM_2_7_CAPS_0_0 {
13314 fn clone(&self) -> Self {
13315 *self
13316 }
13317 }
13318 #[repr(C)]
13319 pub struct D3DKMT_WDDM_2_9_CAPS {
13320 pub Anonymous: D3DKMT_WDDM_2_9_CAPS_0,
13321 }
13322 impl ::core::marker::Copy for D3DKMT_WDDM_2_9_CAPS {}
13323 impl ::core::clone::Clone for D3DKMT_WDDM_2_9_CAPS {
13324 fn clone(&self) -> Self {
13325 *self
13326 }
13327 }
13328 #[repr(C, packed(1))]
13329 pub union D3DKMT_WDDM_2_9_CAPS_0 {
13330 pub Anonymous: D3DKMT_WDDM_2_9_CAPS_0_0,
13331 pub Value: u32,
13332 }
13333 impl ::core::marker::Copy for D3DKMT_WDDM_2_9_CAPS_0 {}
13334 impl ::core::clone::Clone for D3DKMT_WDDM_2_9_CAPS_0 {
13335 fn clone(&self) -> Self {
13336 *self
13337 }
13338 }
13339 #[repr(C, packed(1))]
13340 pub struct D3DKMT_WDDM_2_9_CAPS_0_0 {
13341 pub _bitfield: u32,
13342 }
13343 impl ::core::marker::Copy for D3DKMT_WDDM_2_9_CAPS_0_0 {}
13344 impl ::core::clone::Clone for D3DKMT_WDDM_2_9_CAPS_0_0 {
13345 fn clone(&self) -> Self {
13346 *self
13347 }
13348 }
13349 #[repr(C)]
13350 pub struct D3DKMT_WDDM_3_0_CAPS {
13351 pub Anonymous: D3DKMT_WDDM_3_0_CAPS_0,
13352 }
13353 impl ::core::marker::Copy for D3DKMT_WDDM_3_0_CAPS {}
13354 impl ::core::clone::Clone for D3DKMT_WDDM_3_0_CAPS {
13355 fn clone(&self) -> Self {
13356 *self
13357 }
13358 }
13359 #[repr(C, packed(1))]
13360 pub union D3DKMT_WDDM_3_0_CAPS_0 {
13361 pub Anonymous: D3DKMT_WDDM_3_0_CAPS_0_0,
13362 pub Value: u32,
13363 }
13364 impl ::core::marker::Copy for D3DKMT_WDDM_3_0_CAPS_0 {}
13365 impl ::core::clone::Clone for D3DKMT_WDDM_3_0_CAPS_0 {
13366 fn clone(&self) -> Self {
13367 *self
13368 }
13369 }
13370 #[repr(C, packed(1))]
13371 pub struct D3DKMT_WDDM_3_0_CAPS_0_0 {
13372 pub _bitfield: u32,
13373 }
13374 impl ::core::marker::Copy for D3DKMT_WDDM_3_0_CAPS_0_0 {}
13375 impl ::core::clone::Clone for D3DKMT_WDDM_3_0_CAPS_0_0 {
13376 fn clone(&self) -> Self {
13377 *self
13378 }
13379 }
13380 #[repr(C)]
13381 pub struct D3DKMT_WDDM_3_1_CAPS {
13382 pub Anonymous: D3DKMT_WDDM_3_1_CAPS_0,
13383 }
13384 impl ::core::marker::Copy for D3DKMT_WDDM_3_1_CAPS {}
13385 impl ::core::clone::Clone for D3DKMT_WDDM_3_1_CAPS {
13386 fn clone(&self) -> Self {
13387 *self
13388 }
13389 }
13390 #[repr(C, packed(1))]
13391 pub union D3DKMT_WDDM_3_1_CAPS_0 {
13392 pub Anonymous: D3DKMT_WDDM_3_1_CAPS_0_0,
13393 pub Value: u32,
13394 }
13395 impl ::core::marker::Copy for D3DKMT_WDDM_3_1_CAPS_0 {}
13396 impl ::core::clone::Clone for D3DKMT_WDDM_3_1_CAPS_0 {
13397 fn clone(&self) -> Self {
13398 *self
13399 }
13400 }
13401 #[repr(C, packed(1))]
13402 pub struct D3DKMT_WDDM_3_1_CAPS_0_0 {
13403 pub _bitfield: u32,
13404 }
13405 impl ::core::marker::Copy for D3DKMT_WDDM_3_1_CAPS_0_0 {}
13406 impl ::core::clone::Clone for D3DKMT_WDDM_3_1_CAPS_0_0 {
13407 fn clone(&self) -> Self {
13408 *self
13409 }
13410 }
13411 #[repr(C)]
13412 pub struct D3DKMT_WORKINGSETFLAGS {
13413 pub _bitfield: u32,
13414 }
13415 impl ::core::marker::Copy for D3DKMT_WORKINGSETFLAGS {}
13416 impl ::core::clone::Clone for D3DKMT_WORKINGSETFLAGS {
13417 fn clone(&self) -> Self {
13418 *self
13419 }
13420 }
13421 #[repr(C)]
13422 pub struct D3DKMT_WORKINGSETINFO {
13423 pub Flags: D3DKMT_WORKINGSETFLAGS,
13424 pub MinimumWorkingSetPercentile: u32,
13425 pub MaximumWorkingSetPercentile: u32,
13426 }
13427 impl ::core::marker::Copy for D3DKMT_WORKINGSETINFO {}
13428 impl ::core::clone::Clone for D3DKMT_WORKINGSETINFO {
13429 fn clone(&self) -> Self {
13430 *self
13431 }
13432 }
13433 #[repr(C)]
13434 pub struct D3DKMT_WSAUMDIMAGENAME {
13435 pub WsaUmdImageName: [u16; 260],
13436 }
13437 impl ::core::marker::Copy for D3DKMT_WSAUMDIMAGENAME {}
13438 impl ::core::clone::Clone for D3DKMT_WSAUMDIMAGENAME {
13439 fn clone(&self) -> Self {
13440 *self
13441 }
13442 }
13443 #[repr(C)]
13444 #[doc = "Required features: `\"Win32_Foundation\"`"]
13445 #[cfg(feature = "Win32_Foundation")]
13446 pub struct D3DKMT_XBOX {
13447 pub IsXBOX: super::super::super::Win32::Foundation::BOOL,
13448 }
13449 #[cfg(feature = "Win32_Foundation")]
13450 impl ::core::marker::Copy for D3DKMT_XBOX {}
13451 #[cfg(feature = "Win32_Foundation")]
13452 impl ::core::clone::Clone for D3DKMT_XBOX {
13453 fn clone(&self) -> Self {
13454 *self
13455 }
13456 }
13457 #[repr(C)]
13458 pub struct D3DLINEPATTERN {
13459 pub wRepeatFactor: u16,
13460 pub wLinePattern: u16,
13461 }
13462 impl ::core::marker::Copy for D3DLINEPATTERN {}
13463 impl ::core::clone::Clone for D3DLINEPATTERN {
13464 fn clone(&self) -> Self {
13465 *self
13466 }
13467 }
13468 #[repr(C)]
13469 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`"]
13470 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
13471 pub struct D3DNTDEVICEDESC_V3 {
13472 pub dwSize: u32,
13473 pub dwFlags: u32,
13474 pub dcmColorModel: u32,
13475 pub dwDevCaps: u32,
13476 pub dtcTransformCaps: super::super::super::Win32::Graphics::Direct3D9::D3DTRANSFORMCAPS,
13477 pub bClipping: super::super::super::Win32::Foundation::BOOL,
13478 pub dlcLightingCaps: super::super::super::Win32::Graphics::Direct3D9::D3DLIGHTINGCAPS,
13479 pub dpcLineCaps: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMCAPS,
13480 pub dpcTriCaps: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMCAPS,
13481 pub dwDeviceRenderBitDepth: u32,
13482 pub dwDeviceZBufferBitDepth: u32,
13483 pub dwMaxBufferSize: u32,
13484 pub dwMaxVertexCount: u32,
13485 pub dwMinTextureWidth: u32,
13486 pub dwMinTextureHeight: u32,
13487 pub dwMaxTextureWidth: u32,
13488 pub dwMaxTextureHeight: u32,
13489 pub dwMinStippleWidth: u32,
13490 pub dwMaxStippleWidth: u32,
13491 pub dwMinStippleHeight: u32,
13492 pub dwMaxStippleHeight: u32,
13493 pub dwMaxTextureRepeat: u32,
13494 pub dwMaxTextureAspectRatio: u32,
13495 pub dwMaxAnisotropy: u32,
13496 pub dvGuardBandLeft: f32,
13497 pub dvGuardBandTop: f32,
13498 pub dvGuardBandRight: f32,
13499 pub dvGuardBandBottom: f32,
13500 pub dvExtentsAdjust: f32,
13501 pub dwStencilCaps: u32,
13502 pub dwFVFCaps: u32,
13503 pub dwTextureOpCaps: u32,
13504 pub wMaxTextureBlendStages: u16,
13505 pub wMaxSimultaneousTextures: u16,
13506 }
13507 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
13508 impl ::core::marker::Copy for D3DNTDEVICEDESC_V3 {}
13509 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
13510 impl ::core::clone::Clone for D3DNTDEVICEDESC_V3 {
13511 fn clone(&self) -> Self {
13512 *self
13513 }
13514 }
13515 #[repr(C)]
13516 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`"]
13517 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
13518 pub struct D3DNTHALDEVICEDESC_V1 {
13519 pub dwSize: u32,
13520 pub dwFlags: u32,
13521 pub dcmColorModel: u32,
13522 pub dwDevCaps: u32,
13523 pub dtcTransformCaps: super::super::super::Win32::Graphics::Direct3D9::D3DTRANSFORMCAPS,
13524 pub bClipping: super::super::super::Win32::Foundation::BOOL,
13525 pub dlcLightingCaps: super::super::super::Win32::Graphics::Direct3D9::D3DLIGHTINGCAPS,
13526 pub dpcLineCaps: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMCAPS,
13527 pub dpcTriCaps: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMCAPS,
13528 pub dwDeviceRenderBitDepth: u32,
13529 pub dwDeviceZBufferBitDepth: u32,
13530 pub dwMaxBufferSize: u32,
13531 pub dwMaxVertexCount: u32,
13532 }
13533 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
13534 impl ::core::marker::Copy for D3DNTHALDEVICEDESC_V1 {}
13535 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
13536 impl ::core::clone::Clone for D3DNTHALDEVICEDESC_V1 {
13537 fn clone(&self) -> Self {
13538 *self
13539 }
13540 }
13541 #[repr(C)]
13542 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`"]
13543 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
13544 pub struct D3DNTHALDEVICEDESC_V2 {
13545 pub dwSize: u32,
13546 pub dwFlags: u32,
13547 pub dcmColorModel: u32,
13548 pub dwDevCaps: u32,
13549 pub dtcTransformCaps: super::super::super::Win32::Graphics::Direct3D9::D3DTRANSFORMCAPS,
13550 pub bClipping: super::super::super::Win32::Foundation::BOOL,
13551 pub dlcLightingCaps: super::super::super::Win32::Graphics::Direct3D9::D3DLIGHTINGCAPS,
13552 pub dpcLineCaps: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMCAPS,
13553 pub dpcTriCaps: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMCAPS,
13554 pub dwDeviceRenderBitDepth: u32,
13555 pub dwDeviceZBufferBitDepth: u32,
13556 pub dwMaxBufferSize: u32,
13557 pub dwMaxVertexCount: u32,
13558 pub dwMinTextureWidth: u32,
13559 pub dwMinTextureHeight: u32,
13560 pub dwMaxTextureWidth: u32,
13561 pub dwMaxTextureHeight: u32,
13562 pub dwMinStippleWidth: u32,
13563 pub dwMaxStippleWidth: u32,
13564 pub dwMinStippleHeight: u32,
13565 pub dwMaxStippleHeight: u32,
13566 }
13567 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
13568 impl ::core::marker::Copy for D3DNTHALDEVICEDESC_V2 {}
13569 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
13570 impl ::core::clone::Clone for D3DNTHALDEVICEDESC_V2 {
13571 fn clone(&self) -> Self {
13572 *self
13573 }
13574 }
13575 #[repr(C)]
13576 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
13577 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
13578 pub struct D3DNTHAL_CALLBACKS {
13579 pub dwSize: u32,
13580 pub ContextCreate: LPD3DNTHAL_CONTEXTCREATECB,
13581 pub ContextDestroy: LPD3DNTHAL_CONTEXTDESTROYCB,
13582 pub ContextDestroyAll: LPD3DNTHAL_CONTEXTDESTROYALLCB,
13583 pub SceneCapture: LPD3DNTHAL_SCENECAPTURECB,
13584 pub dwReserved10: *mut ::core::ffi::c_void,
13585 pub dwReserved11: *mut ::core::ffi::c_void,
13586 pub dwReserved22: *mut ::core::ffi::c_void,
13587 pub dwReserved23: *mut ::core::ffi::c_void,
13588 pub dwReserved: usize,
13589 pub TextureCreate: LPD3DNTHAL_TEXTURECREATECB,
13590 pub TextureDestroy: LPD3DNTHAL_TEXTUREDESTROYCB,
13591 pub TextureSwap: LPD3DNTHAL_TEXTURESWAPCB,
13592 pub TextureGetSurf: LPD3DNTHAL_TEXTUREGETSURFCB,
13593 pub dwReserved12: *mut ::core::ffi::c_void,
13594 pub dwReserved13: *mut ::core::ffi::c_void,
13595 pub dwReserved14: *mut ::core::ffi::c_void,
13596 pub dwReserved15: *mut ::core::ffi::c_void,
13597 pub dwReserved16: *mut ::core::ffi::c_void,
13598 pub dwReserved17: *mut ::core::ffi::c_void,
13599 pub dwReserved18: *mut ::core::ffi::c_void,
13600 pub dwReserved19: *mut ::core::ffi::c_void,
13601 pub dwReserved20: *mut ::core::ffi::c_void,
13602 pub dwReserved21: *mut ::core::ffi::c_void,
13603 pub dwReserved24: *mut ::core::ffi::c_void,
13604 pub dwReserved0: usize,
13605 pub dwReserved1: usize,
13606 pub dwReserved2: usize,
13607 pub dwReserved3: usize,
13608 pub dwReserved4: usize,
13609 pub dwReserved5: usize,
13610 pub dwReserved6: usize,
13611 pub dwReserved7: usize,
13612 pub dwReserved8: usize,
13613 pub dwReserved9: usize,
13614 }
13615 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
13616 impl ::core::marker::Copy for D3DNTHAL_CALLBACKS {}
13617 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
13618 impl ::core::clone::Clone for D3DNTHAL_CALLBACKS {
13619 fn clone(&self) -> Self {
13620 *self
13621 }
13622 }
13623 #[repr(C)]
13624 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
13625 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
13626 pub struct D3DNTHAL_CALLBACKS2 {
13627 pub dwSize: u32,
13628 pub dwFlags: u32,
13629 pub SetRenderTarget: LPD3DNTHAL_SETRENDERTARGETCB,
13630 pub dwReserved1: *mut ::core::ffi::c_void,
13631 pub dwReserved2: *mut ::core::ffi::c_void,
13632 pub dwReserved3: *mut ::core::ffi::c_void,
13633 pub dwReserved4: *mut ::core::ffi::c_void,
13634 }
13635 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
13636 impl ::core::marker::Copy for D3DNTHAL_CALLBACKS2 {}
13637 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
13638 impl ::core::clone::Clone for D3DNTHAL_CALLBACKS2 {
13639 fn clone(&self) -> Self {
13640 *self
13641 }
13642 }
13643 #[repr(C)]
13644 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_DirectDraw\"`"]
13645 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
13646 pub struct D3DNTHAL_CALLBACKS3 {
13647 pub dwSize: u32,
13648 pub dwFlags: u32,
13649 pub Clear2: LPD3DNTHAL_CLEAR2CB,
13650 pub lpvReserved: *mut ::core::ffi::c_void,
13651 pub ValidateTextureStageState: LPD3DNTHAL_VALIDATETEXTURESTAGESTATECB,
13652 pub DrawPrimitives2: LPD3DNTHAL_DRAWPRIMITIVES2CB,
13653 }
13654 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
13655 impl ::core::marker::Copy for D3DNTHAL_CALLBACKS3 {}
13656 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
13657 impl ::core::clone::Clone for D3DNTHAL_CALLBACKS3 {
13658 fn clone(&self) -> Self {
13659 *self
13660 }
13661 }
13662 #[repr(C)]
13663 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
13664 #[cfg(feature = "Win32_Graphics_Direct3D9")]
13665 pub struct D3DNTHAL_CLEAR2DATA {
13666 pub dwhContext: usize,
13667 pub dwFlags: u32,
13668 pub dwFillColor: u32,
13669 pub dvFillDepth: f32,
13670 pub dwFillStencil: u32,
13671 pub lpRects: *mut super::super::super::Win32::Graphics::Direct3D9::D3DRECT,
13672 pub dwNumRects: u32,
13673 pub ddrval: ::windows_sys::core::HRESULT,
13674 }
13675 #[cfg(feature = "Win32_Graphics_Direct3D9")]
13676 impl ::core::marker::Copy for D3DNTHAL_CLEAR2DATA {}
13677 #[cfg(feature = "Win32_Graphics_Direct3D9")]
13678 impl ::core::clone::Clone for D3DNTHAL_CLEAR2DATA {
13679 fn clone(&self) -> Self {
13680 *self
13681 }
13682 }
13683 #[repr(C)]
13684 pub struct D3DNTHAL_CLIPPEDTRIANGLEFAN {
13685 pub FirstVertexOffset: u32,
13686 pub dwEdgeFlags: u32,
13687 pub PrimitiveCount: u32,
13688 }
13689 impl ::core::marker::Copy for D3DNTHAL_CLIPPEDTRIANGLEFAN {}
13690 impl ::core::clone::Clone for D3DNTHAL_CLIPPEDTRIANGLEFAN {
13691 fn clone(&self) -> Self {
13692 *self
13693 }
13694 }
13695 #[repr(C)]
13696 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
13697 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
13698 pub struct D3DNTHAL_CONTEXTCREATEDATA {
13699 pub Anonymous1: D3DNTHAL_CONTEXTCREATEDATA_0,
13700 pub Anonymous2: D3DNTHAL_CONTEXTCREATEDATA_1,
13701 pub Anonymous3: D3DNTHAL_CONTEXTCREATEDATA_2,
13702 pub dwPID: u32,
13703 pub dwhContext: usize,
13704 pub ddrval: ::windows_sys::core::HRESULT,
13705 }
13706 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
13707 impl ::core::marker::Copy for D3DNTHAL_CONTEXTCREATEDATA {}
13708 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
13709 impl ::core::clone::Clone for D3DNTHAL_CONTEXTCREATEDATA {
13710 fn clone(&self) -> Self {
13711 *self
13712 }
13713 }
13714 #[repr(C)]
13715 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
13716 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
13717 pub union D3DNTHAL_CONTEXTCREATEDATA_0 {
13718 pub lpDDGbl: *mut super::super::super::Win32::Graphics::DirectDraw::DD_DIRECTDRAW_GLOBAL,
13719 pub lpDDLcl: *mut super::super::super::Win32::Graphics::DirectDraw::DD_DIRECTDRAW_LOCAL,
13720 }
13721 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
13722 impl ::core::marker::Copy for D3DNTHAL_CONTEXTCREATEDATA_0 {}
13723 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
13724 impl ::core::clone::Clone for D3DNTHAL_CONTEXTCREATEDATA_0 {
13725 fn clone(&self) -> Self {
13726 *self
13727 }
13728 }
13729 #[repr(C)]
13730 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
13731 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
13732 pub union D3DNTHAL_CONTEXTCREATEDATA_1 {
13733 pub lpDDS: *mut super::super::super::Win32::Graphics::DirectDraw::DD_SURFACE_LOCAL,
13734 pub lpDDSLcl: *mut super::super::super::Win32::Graphics::DirectDraw::DD_SURFACE_LOCAL,
13735 }
13736 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
13737 impl ::core::marker::Copy for D3DNTHAL_CONTEXTCREATEDATA_1 {}
13738 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
13739 impl ::core::clone::Clone for D3DNTHAL_CONTEXTCREATEDATA_1 {
13740 fn clone(&self) -> Self {
13741 *self
13742 }
13743 }
13744 #[repr(C)]
13745 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
13746 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
13747 pub union D3DNTHAL_CONTEXTCREATEDATA_2 {
13748 pub lpDDSZ: *mut super::super::super::Win32::Graphics::DirectDraw::DD_SURFACE_LOCAL,
13749 pub lpDDSZLcl: *mut super::super::super::Win32::Graphics::DirectDraw::DD_SURFACE_LOCAL,
13750 }
13751 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
13752 impl ::core::marker::Copy for D3DNTHAL_CONTEXTCREATEDATA_2 {}
13753 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
13754 impl ::core::clone::Clone for D3DNTHAL_CONTEXTCREATEDATA_2 {
13755 fn clone(&self) -> Self {
13756 *self
13757 }
13758 }
13759 #[repr(C)]
13760 pub struct D3DNTHAL_CONTEXTDESTROYALLDATA {
13761 pub dwPID: u32,
13762 pub ddrval: ::windows_sys::core::HRESULT,
13763 }
13764 impl ::core::marker::Copy for D3DNTHAL_CONTEXTDESTROYALLDATA {}
13765 impl ::core::clone::Clone for D3DNTHAL_CONTEXTDESTROYALLDATA {
13766 fn clone(&self) -> Self {
13767 *self
13768 }
13769 }
13770 #[repr(C)]
13771 pub struct D3DNTHAL_CONTEXTDESTROYDATA {
13772 pub dwhContext: usize,
13773 pub ddrval: ::windows_sys::core::HRESULT,
13774 }
13775 impl ::core::marker::Copy for D3DNTHAL_CONTEXTDESTROYDATA {}
13776 impl ::core::clone::Clone for D3DNTHAL_CONTEXTDESTROYDATA {
13777 fn clone(&self) -> Self {
13778 *self
13779 }
13780 }
13781 #[repr(C)]
13782 pub struct D3DNTHAL_D3DDX6EXTENDEDCAPS {
13783 pub dwSize: u32,
13784 pub dwMinTextureWidth: u32,
13785 pub dwMaxTextureWidth: u32,
13786 pub dwMinTextureHeight: u32,
13787 pub dwMaxTextureHeight: u32,
13788 pub dwMinStippleWidth: u32,
13789 pub dwMaxStippleWidth: u32,
13790 pub dwMinStippleHeight: u32,
13791 pub dwMaxStippleHeight: u32,
13792 pub dwMaxTextureRepeat: u32,
13793 pub dwMaxTextureAspectRatio: u32,
13794 pub dwMaxAnisotropy: u32,
13795 pub dvGuardBandLeft: f32,
13796 pub dvGuardBandTop: f32,
13797 pub dvGuardBandRight: f32,
13798 pub dvGuardBandBottom: f32,
13799 pub dvExtentsAdjust: f32,
13800 pub dwStencilCaps: u32,
13801 pub dwFVFCaps: u32,
13802 pub dwTextureOpCaps: u32,
13803 pub wMaxTextureBlendStages: u16,
13804 pub wMaxSimultaneousTextures: u16,
13805 }
13806 impl ::core::marker::Copy for D3DNTHAL_D3DDX6EXTENDEDCAPS {}
13807 impl ::core::clone::Clone for D3DNTHAL_D3DDX6EXTENDEDCAPS {
13808 fn clone(&self) -> Self {
13809 *self
13810 }
13811 }
13812 #[repr(C)]
13813 pub struct D3DNTHAL_D3DEXTENDEDCAPS {
13814 pub dwSize: u32,
13815 pub dwMinTextureWidth: u32,
13816 pub dwMaxTextureWidth: u32,
13817 pub dwMinTextureHeight: u32,
13818 pub dwMaxTextureHeight: u32,
13819 pub dwMinStippleWidth: u32,
13820 pub dwMaxStippleWidth: u32,
13821 pub dwMinStippleHeight: u32,
13822 pub dwMaxStippleHeight: u32,
13823 pub dwMaxTextureRepeat: u32,
13824 pub dwMaxTextureAspectRatio: u32,
13825 pub dwMaxAnisotropy: u32,
13826 pub dvGuardBandLeft: f32,
13827 pub dvGuardBandTop: f32,
13828 pub dvGuardBandRight: f32,
13829 pub dvGuardBandBottom: f32,
13830 pub dvExtentsAdjust: f32,
13831 pub dwStencilCaps: u32,
13832 pub dwFVFCaps: u32,
13833 pub dwTextureOpCaps: u32,
13834 pub wMaxTextureBlendStages: u16,
13835 pub wMaxSimultaneousTextures: u16,
13836 pub dwMaxActiveLights: u32,
13837 pub dvMaxVertexW: f32,
13838 pub wMaxUserClipPlanes: u16,
13839 pub wMaxVertexBlendMatrices: u16,
13840 pub dwVertexProcessingCaps: u32,
13841 pub dwReserved1: u32,
13842 pub dwReserved2: u32,
13843 pub dwReserved3: u32,
13844 pub dwReserved4: u32,
13845 }
13846 impl ::core::marker::Copy for D3DNTHAL_D3DEXTENDEDCAPS {}
13847 impl ::core::clone::Clone for D3DNTHAL_D3DEXTENDEDCAPS {
13848 fn clone(&self) -> Self {
13849 *self
13850 }
13851 }
13852 #[repr(C)]
13853 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
13854 #[cfg(feature = "Win32_Graphics_Direct3D9")]
13855 pub struct D3DNTHAL_DP2ADDDIRTYBOX {
13856 pub dwSurface: u32,
13857 pub DirtyBox: super::super::super::Win32::Graphics::Direct3D9::D3DBOX,
13858 }
13859 #[cfg(feature = "Win32_Graphics_Direct3D9")]
13860 impl ::core::marker::Copy for D3DNTHAL_DP2ADDDIRTYBOX {}
13861 #[cfg(feature = "Win32_Graphics_Direct3D9")]
13862 impl ::core::clone::Clone for D3DNTHAL_DP2ADDDIRTYBOX {
13863 fn clone(&self) -> Self {
13864 *self
13865 }
13866 }
13867 #[repr(C)]
13868 #[doc = "Required features: `\"Win32_Foundation\"`"]
13869 #[cfg(feature = "Win32_Foundation")]
13870 pub struct D3DNTHAL_DP2ADDDIRTYRECT {
13871 pub dwSurface: u32,
13872 pub rDirtyArea: super::super::super::Win32::Foundation::RECTL,
13873 }
13874 #[cfg(feature = "Win32_Foundation")]
13875 impl ::core::marker::Copy for D3DNTHAL_DP2ADDDIRTYRECT {}
13876 #[cfg(feature = "Win32_Foundation")]
13877 impl ::core::clone::Clone for D3DNTHAL_DP2ADDDIRTYRECT {
13878 fn clone(&self) -> Self {
13879 *self
13880 }
13881 }
13882 #[repr(C)]
13883 #[doc = "Required features: `\"Win32_Foundation\"`"]
13884 #[cfg(feature = "Win32_Foundation")]
13885 pub struct D3DNTHAL_DP2BLT {
13886 pub dwSource: u32,
13887 pub rSource: super::super::super::Win32::Foundation::RECTL,
13888 pub dwSourceMipLevel: u32,
13889 pub dwDest: u32,
13890 pub rDest: super::super::super::Win32::Foundation::RECTL,
13891 pub dwDestMipLevel: u32,
13892 pub Flags: u32,
13893 }
13894 #[cfg(feature = "Win32_Foundation")]
13895 impl ::core::marker::Copy for D3DNTHAL_DP2BLT {}
13896 #[cfg(feature = "Win32_Foundation")]
13897 impl ::core::clone::Clone for D3DNTHAL_DP2BLT {
13898 fn clone(&self) -> Self {
13899 *self
13900 }
13901 }
13902 #[repr(C)]
13903 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
13904 #[cfg(feature = "Win32_Graphics_Direct3D9")]
13905 pub struct D3DNTHAL_DP2BUFFERBLT {
13906 pub dwDDDestSurface: u32,
13907 pub dwDDSrcSurface: u32,
13908 pub dwOffset: u32,
13909 pub rSrc: super::super::super::Win32::Graphics::Direct3D9::D3DRANGE,
13910 pub dwFlags: u32,
13911 }
13912 #[cfg(feature = "Win32_Graphics_Direct3D9")]
13913 impl ::core::marker::Copy for D3DNTHAL_DP2BUFFERBLT {}
13914 #[cfg(feature = "Win32_Graphics_Direct3D9")]
13915 impl ::core::clone::Clone for D3DNTHAL_DP2BUFFERBLT {
13916 fn clone(&self) -> Self {
13917 *self
13918 }
13919 }
13920 #[repr(C)]
13921 #[doc = "Required features: `\"Win32_Foundation\"`"]
13922 #[cfg(feature = "Win32_Foundation")]
13923 pub struct D3DNTHAL_DP2CLEAR {
13924 pub dwFlags: u32,
13925 pub dwFillColor: u32,
13926 pub dvFillDepth: f32,
13927 pub dwFillStencil: u32,
13928 pub Rects: [super::super::super::Win32::Foundation::RECT; 1],
13929 }
13930 #[cfg(feature = "Win32_Foundation")]
13931 impl ::core::marker::Copy for D3DNTHAL_DP2CLEAR {}
13932 #[cfg(feature = "Win32_Foundation")]
13933 impl ::core::clone::Clone for D3DNTHAL_DP2CLEAR {
13934 fn clone(&self) -> Self {
13935 *self
13936 }
13937 }
13938 #[repr(C)]
13939 #[doc = "Required features: `\"Win32_Foundation\"`"]
13940 #[cfg(feature = "Win32_Foundation")]
13941 pub struct D3DNTHAL_DP2COLORFILL {
13942 pub dwSurface: u32,
13943 pub rRect: super::super::super::Win32::Foundation::RECTL,
13944 pub Color: u32,
13945 }
13946 #[cfg(feature = "Win32_Foundation")]
13947 impl ::core::marker::Copy for D3DNTHAL_DP2COLORFILL {}
13948 #[cfg(feature = "Win32_Foundation")]
13949 impl ::core::clone::Clone for D3DNTHAL_DP2COLORFILL {
13950 fn clone(&self) -> Self {
13951 *self
13952 }
13953 }
13954 #[repr(C)]
13955 pub struct D3DNTHAL_DP2COMMAND {
13956 pub bCommand: u8,
13957 pub bReserved: u8,
13958 pub Anonymous: D3DNTHAL_DP2COMMAND_0,
13959 }
13960 impl ::core::marker::Copy for D3DNTHAL_DP2COMMAND {}
13961 impl ::core::clone::Clone for D3DNTHAL_DP2COMMAND {
13962 fn clone(&self) -> Self {
13963 *self
13964 }
13965 }
13966 #[repr(C)]
13967 pub union D3DNTHAL_DP2COMMAND_0 {
13968 pub wPrimitiveCount: u16,
13969 pub wStateCount: u16,
13970 }
13971 impl ::core::marker::Copy for D3DNTHAL_DP2COMMAND_0 {}
13972 impl ::core::clone::Clone for D3DNTHAL_DP2COMMAND_0 {
13973 fn clone(&self) -> Self {
13974 *self
13975 }
13976 }
13977 #[repr(C)]
13978 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
13979 #[cfg(feature = "Win32_Graphics_Direct3D9")]
13980 pub struct D3DNTHAL_DP2COMPOSERECTS {
13981 pub SrcSurfaceHandle: u32,
13982 pub DstSurfaceHandle: u32,
13983 pub SrcRectDescsVBHandle: u32,
13984 pub NumRects: u32,
13985 pub DstRectDescsVBHandle: u32,
13986 pub Operation: super::super::super::Win32::Graphics::Direct3D9::D3DCOMPOSERECTSOP,
13987 pub XOffset: i32,
13988 pub YOffset: i32,
13989 }
13990 #[cfg(feature = "Win32_Graphics_Direct3D9")]
13991 impl ::core::marker::Copy for D3DNTHAL_DP2COMPOSERECTS {}
13992 #[cfg(feature = "Win32_Graphics_Direct3D9")]
13993 impl ::core::clone::Clone for D3DNTHAL_DP2COMPOSERECTS {
13994 fn clone(&self) -> Self {
13995 *self
13996 }
13997 }
13998 #[repr(C)]
13999 pub struct D3DNTHAL_DP2CREATELIGHT {
14000 pub dwIndex: u32,
14001 }
14002 impl ::core::marker::Copy for D3DNTHAL_DP2CREATELIGHT {}
14003 impl ::core::clone::Clone for D3DNTHAL_DP2CREATELIGHT {
14004 fn clone(&self) -> Self {
14005 *self
14006 }
14007 }
14008 #[repr(C)]
14009 pub struct D3DNTHAL_DP2CREATEPIXELSHADER {
14010 pub dwHandle: u32,
14011 pub dwCodeSize: u32,
14012 }
14013 impl ::core::marker::Copy for D3DNTHAL_DP2CREATEPIXELSHADER {}
14014 impl ::core::clone::Clone for D3DNTHAL_DP2CREATEPIXELSHADER {
14015 fn clone(&self) -> Self {
14016 *self
14017 }
14018 }
14019 #[repr(C)]
14020 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
14021 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14022 pub struct D3DNTHAL_DP2CREATEQUERY {
14023 pub dwQueryID: u32,
14024 pub QueryType: super::super::super::Win32::Graphics::Direct3D9::D3DQUERYTYPE,
14025 }
14026 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14027 impl ::core::marker::Copy for D3DNTHAL_DP2CREATEQUERY {}
14028 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14029 impl ::core::clone::Clone for D3DNTHAL_DP2CREATEQUERY {
14030 fn clone(&self) -> Self {
14031 *self
14032 }
14033 }
14034 #[repr(C)]
14035 pub struct D3DNTHAL_DP2CREATEVERTEXSHADER {
14036 pub dwHandle: u32,
14037 pub dwDeclSize: u32,
14038 pub dwCodeSize: u32,
14039 }
14040 impl ::core::marker::Copy for D3DNTHAL_DP2CREATEVERTEXSHADER {}
14041 impl ::core::clone::Clone for D3DNTHAL_DP2CREATEVERTEXSHADER {
14042 fn clone(&self) -> Self {
14043 *self
14044 }
14045 }
14046 #[repr(C)]
14047 pub struct D3DNTHAL_DP2CREATEVERTEXSHADERDECL {
14048 pub dwHandle: u32,
14049 pub dwNumVertexElements: u32,
14050 }
14051 impl ::core::marker::Copy for D3DNTHAL_DP2CREATEVERTEXSHADERDECL {}
14052 impl ::core::clone::Clone for D3DNTHAL_DP2CREATEVERTEXSHADERDECL {
14053 fn clone(&self) -> Self {
14054 *self
14055 }
14056 }
14057 #[repr(C)]
14058 pub struct D3DNTHAL_DP2CREATEVERTEXSHADERFUNC {
14059 pub dwHandle: u32,
14060 pub dwSize: u32,
14061 }
14062 impl ::core::marker::Copy for D3DNTHAL_DP2CREATEVERTEXSHADERFUNC {}
14063 impl ::core::clone::Clone for D3DNTHAL_DP2CREATEVERTEXSHADERFUNC {
14064 fn clone(&self) -> Self {
14065 *self
14066 }
14067 }
14068 #[repr(C)]
14069 pub struct D3DNTHAL_DP2DELETEQUERY {
14070 pub dwQueryID: u32,
14071 }
14072 impl ::core::marker::Copy for D3DNTHAL_DP2DELETEQUERY {}
14073 impl ::core::clone::Clone for D3DNTHAL_DP2DELETEQUERY {
14074 fn clone(&self) -> Self {
14075 *self
14076 }
14077 }
14078 #[repr(C)]
14079 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
14080 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14081 pub struct D3DNTHAL_DP2DRAWINDEXEDPRIMITIVE {
14082 pub primType: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMITIVETYPE,
14083 pub BaseVertexIndex: i32,
14084 pub MinIndex: u32,
14085 pub NumVertices: u32,
14086 pub StartIndex: u32,
14087 pub PrimitiveCount: u32,
14088 }
14089 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14090 impl ::core::marker::Copy for D3DNTHAL_DP2DRAWINDEXEDPRIMITIVE {}
14091 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14092 impl ::core::clone::Clone for D3DNTHAL_DP2DRAWINDEXEDPRIMITIVE {
14093 fn clone(&self) -> Self {
14094 *self
14095 }
14096 }
14097 #[repr(C)]
14098 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
14099 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14100 pub struct D3DNTHAL_DP2DRAWINDEXEDPRIMITIVE2 {
14101 pub primType: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMITIVETYPE,
14102 pub BaseVertexOffset: i32,
14103 pub MinIndex: u32,
14104 pub NumVertices: u32,
14105 pub StartIndexOffset: u32,
14106 pub PrimitiveCount: u32,
14107 }
14108 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14109 impl ::core::marker::Copy for D3DNTHAL_DP2DRAWINDEXEDPRIMITIVE2 {}
14110 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14111 impl ::core::clone::Clone for D3DNTHAL_DP2DRAWINDEXEDPRIMITIVE2 {
14112 fn clone(&self) -> Self {
14113 *self
14114 }
14115 }
14116 #[repr(C)]
14117 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
14118 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14119 pub struct D3DNTHAL_DP2DRAWPRIMITIVE {
14120 pub primType: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMITIVETYPE,
14121 pub VStart: u32,
14122 pub PrimitiveCount: u32,
14123 }
14124 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14125 impl ::core::marker::Copy for D3DNTHAL_DP2DRAWPRIMITIVE {}
14126 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14127 impl ::core::clone::Clone for D3DNTHAL_DP2DRAWPRIMITIVE {
14128 fn clone(&self) -> Self {
14129 *self
14130 }
14131 }
14132 #[repr(C)]
14133 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
14134 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14135 pub struct D3DNTHAL_DP2DRAWPRIMITIVE2 {
14136 pub primType: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMITIVETYPE,
14137 pub FirstVertexOffset: u32,
14138 pub PrimitiveCount: u32,
14139 }
14140 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14141 impl ::core::marker::Copy for D3DNTHAL_DP2DRAWPRIMITIVE2 {}
14142 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14143 impl ::core::clone::Clone for D3DNTHAL_DP2DRAWPRIMITIVE2 {
14144 fn clone(&self) -> Self {
14145 *self
14146 }
14147 }
14148 #[repr(C)]
14149 pub struct D3DNTHAL_DP2DRAWRECTPATCH {
14150 pub Handle: u32,
14151 pub Flags: u32,
14152 }
14153 impl ::core::marker::Copy for D3DNTHAL_DP2DRAWRECTPATCH {}
14154 impl ::core::clone::Clone for D3DNTHAL_DP2DRAWRECTPATCH {
14155 fn clone(&self) -> Self {
14156 *self
14157 }
14158 }
14159 #[repr(C)]
14160 pub struct D3DNTHAL_DP2DRAWTRIPATCH {
14161 pub Handle: u32,
14162 pub Flags: u32,
14163 }
14164 impl ::core::marker::Copy for D3DNTHAL_DP2DRAWTRIPATCH {}
14165 impl ::core::clone::Clone for D3DNTHAL_DP2DRAWTRIPATCH {
14166 fn clone(&self) -> Self {
14167 *self
14168 }
14169 }
14170 #[repr(C)]
14171 pub struct D3DNTHAL_DP2EXT {
14172 pub dwExtToken: u32,
14173 pub dwSize: u32,
14174 }
14175 impl ::core::marker::Copy for D3DNTHAL_DP2EXT {}
14176 impl ::core::clone::Clone for D3DNTHAL_DP2EXT {
14177 fn clone(&self) -> Self {
14178 *self
14179 }
14180 }
14181 #[repr(C)]
14182 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
14183 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14184 pub struct D3DNTHAL_DP2GENERATEMIPSUBLEVELS {
14185 pub hSurface: u32,
14186 pub Filter: super::super::super::Win32::Graphics::Direct3D9::D3DTEXTUREFILTERTYPE,
14187 }
14188 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14189 impl ::core::marker::Copy for D3DNTHAL_DP2GENERATEMIPSUBLEVELS {}
14190 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14191 impl ::core::clone::Clone for D3DNTHAL_DP2GENERATEMIPSUBLEVELS {
14192 fn clone(&self) -> Self {
14193 *self
14194 }
14195 }
14196 #[repr(C)]
14197 pub struct D3DNTHAL_DP2INDEXEDLINELIST {
14198 pub wV1: u16,
14199 pub wV2: u16,
14200 }
14201 impl ::core::marker::Copy for D3DNTHAL_DP2INDEXEDLINELIST {}
14202 impl ::core::clone::Clone for D3DNTHAL_DP2INDEXEDLINELIST {
14203 fn clone(&self) -> Self {
14204 *self
14205 }
14206 }
14207 #[repr(C)]
14208 pub struct D3DNTHAL_DP2INDEXEDLINESTRIP {
14209 pub wV: [u16; 2],
14210 }
14211 impl ::core::marker::Copy for D3DNTHAL_DP2INDEXEDLINESTRIP {}
14212 impl ::core::clone::Clone for D3DNTHAL_DP2INDEXEDLINESTRIP {
14213 fn clone(&self) -> Self {
14214 *self
14215 }
14216 }
14217 #[repr(C)]
14218 pub struct D3DNTHAL_DP2INDEXEDTRIANGLEFAN {
14219 pub wV: [u16; 3],
14220 }
14221 impl ::core::marker::Copy for D3DNTHAL_DP2INDEXEDTRIANGLEFAN {}
14222 impl ::core::clone::Clone for D3DNTHAL_DP2INDEXEDTRIANGLEFAN {
14223 fn clone(&self) -> Self {
14224 *self
14225 }
14226 }
14227 #[repr(C)]
14228 pub struct D3DNTHAL_DP2INDEXEDTRIANGLELIST {
14229 pub wV1: u16,
14230 pub wV2: u16,
14231 pub wV3: u16,
14232 pub wFlags: u16,
14233 }
14234 impl ::core::marker::Copy for D3DNTHAL_DP2INDEXEDTRIANGLELIST {}
14235 impl ::core::clone::Clone for D3DNTHAL_DP2INDEXEDTRIANGLELIST {
14236 fn clone(&self) -> Self {
14237 *self
14238 }
14239 }
14240 #[repr(C)]
14241 pub struct D3DNTHAL_DP2INDEXEDTRIANGLELIST2 {
14242 pub wV1: u16,
14243 pub wV2: u16,
14244 pub wV3: u16,
14245 }
14246 impl ::core::marker::Copy for D3DNTHAL_DP2INDEXEDTRIANGLELIST2 {}
14247 impl ::core::clone::Clone for D3DNTHAL_DP2INDEXEDTRIANGLELIST2 {
14248 fn clone(&self) -> Self {
14249 *self
14250 }
14251 }
14252 #[repr(C)]
14253 pub struct D3DNTHAL_DP2INDEXEDTRIANGLESTRIP {
14254 pub wV: [u16; 3],
14255 }
14256 impl ::core::marker::Copy for D3DNTHAL_DP2INDEXEDTRIANGLESTRIP {}
14257 impl ::core::clone::Clone for D3DNTHAL_DP2INDEXEDTRIANGLESTRIP {
14258 fn clone(&self) -> Self {
14259 *self
14260 }
14261 }
14262 #[repr(C)]
14263 pub struct D3DNTHAL_DP2ISSUEQUERY {
14264 pub dwQueryID: u32,
14265 pub dwFlags: u32,
14266 }
14267 impl ::core::marker::Copy for D3DNTHAL_DP2ISSUEQUERY {}
14268 impl ::core::clone::Clone for D3DNTHAL_DP2ISSUEQUERY {
14269 fn clone(&self) -> Self {
14270 *self
14271 }
14272 }
14273 #[repr(C)]
14274 pub struct D3DNTHAL_DP2LINELIST {
14275 pub wVStart: u16,
14276 }
14277 impl ::core::marker::Copy for D3DNTHAL_DP2LINELIST {}
14278 impl ::core::clone::Clone for D3DNTHAL_DP2LINELIST {
14279 fn clone(&self) -> Self {
14280 *self
14281 }
14282 }
14283 #[repr(C)]
14284 pub struct D3DNTHAL_DP2LINESTRIP {
14285 pub wVStart: u16,
14286 }
14287 impl ::core::marker::Copy for D3DNTHAL_DP2LINESTRIP {}
14288 impl ::core::clone::Clone for D3DNTHAL_DP2LINESTRIP {
14289 fn clone(&self) -> Self {
14290 *self
14291 }
14292 }
14293 #[repr(C)]
14294 #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct3D9\"`"]
14295 #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
14296 pub struct D3DNTHAL_DP2MULTIPLYTRANSFORM {
14297 pub xfrmType: super::super::super::Win32::Graphics::Direct3D9::D3DTRANSFORMSTATETYPE,
14298 pub matrix: super::super::super::Foundation::Numerics::Matrix4x4,
14299 }
14300 #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
14301 impl ::core::marker::Copy for D3DNTHAL_DP2MULTIPLYTRANSFORM {}
14302 #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
14303 impl ::core::clone::Clone for D3DNTHAL_DP2MULTIPLYTRANSFORM {
14304 fn clone(&self) -> Self {
14305 *self
14306 }
14307 }
14308 #[repr(C)]
14309 pub struct D3DNTHAL_DP2PIXELSHADER {
14310 pub dwHandle: u32,
14311 }
14312 impl ::core::marker::Copy for D3DNTHAL_DP2PIXELSHADER {}
14313 impl ::core::clone::Clone for D3DNTHAL_DP2PIXELSHADER {
14314 fn clone(&self) -> Self {
14315 *self
14316 }
14317 }
14318 #[repr(C)]
14319 pub struct D3DNTHAL_DP2POINTS {
14320 pub wCount: u16,
14321 pub wVStart: u16,
14322 }
14323 impl ::core::marker::Copy for D3DNTHAL_DP2POINTS {}
14324 impl ::core::clone::Clone for D3DNTHAL_DP2POINTS {
14325 fn clone(&self) -> Self {
14326 *self
14327 }
14328 }
14329 #[repr(C)]
14330 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
14331 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14332 pub struct D3DNTHAL_DP2RENDERSTATE {
14333 pub RenderState: super::super::super::Win32::Graphics::Direct3D9::D3DRENDERSTATETYPE,
14334 pub Anonymous: D3DNTHAL_DP2RENDERSTATE_0,
14335 }
14336 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14337 impl ::core::marker::Copy for D3DNTHAL_DP2RENDERSTATE {}
14338 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14339 impl ::core::clone::Clone for D3DNTHAL_DP2RENDERSTATE {
14340 fn clone(&self) -> Self {
14341 *self
14342 }
14343 }
14344 #[repr(C)]
14345 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
14346 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14347 pub union D3DNTHAL_DP2RENDERSTATE_0 {
14348 pub fState: f32,
14349 pub dwState: u32,
14350 }
14351 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14352 impl ::core::marker::Copy for D3DNTHAL_DP2RENDERSTATE_0 {}
14353 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14354 impl ::core::clone::Clone for D3DNTHAL_DP2RENDERSTATE_0 {
14355 fn clone(&self) -> Self {
14356 *self
14357 }
14358 }
14359 #[repr(C)]
14360 pub struct D3DNTHAL_DP2RESPONSE {
14361 pub bCommand: u8,
14362 pub bReserved: u8,
14363 pub wStateCount: u16,
14364 pub dwTotalSize: u32,
14365 }
14366 impl ::core::marker::Copy for D3DNTHAL_DP2RESPONSE {}
14367 impl ::core::clone::Clone for D3DNTHAL_DP2RESPONSE {
14368 fn clone(&self) -> Self {
14369 *self
14370 }
14371 }
14372 #[repr(C)]
14373 pub struct D3DNTHAL_DP2RESPONSEQUERY {
14374 pub dwQueryID: u32,
14375 pub dwSize: u32,
14376 }
14377 impl ::core::marker::Copy for D3DNTHAL_DP2RESPONSEQUERY {}
14378 impl ::core::clone::Clone for D3DNTHAL_DP2RESPONSEQUERY {
14379 fn clone(&self) -> Self {
14380 *self
14381 }
14382 }
14383 #[repr(C)]
14384 pub struct D3DNTHAL_DP2SETCLIPPLANE {
14385 pub dwIndex: u32,
14386 pub plane: [f32; 4],
14387 }
14388 impl ::core::marker::Copy for D3DNTHAL_DP2SETCLIPPLANE {}
14389 impl ::core::clone::Clone for D3DNTHAL_DP2SETCLIPPLANE {
14390 fn clone(&self) -> Self {
14391 *self
14392 }
14393 }
14394 #[repr(C)]
14395 pub struct D3DNTHAL_DP2SETCONVOLUTIONKERNELMONO {
14396 pub dwWidth: u32,
14397 pub dwHeight: u32,
14398 pub dwFlags: u32,
14399 }
14400 impl ::core::marker::Copy for D3DNTHAL_DP2SETCONVOLUTIONKERNELMONO {}
14401 impl ::core::clone::Clone for D3DNTHAL_DP2SETCONVOLUTIONKERNELMONO {
14402 fn clone(&self) -> Self {
14403 *self
14404 }
14405 }
14406 #[repr(C)]
14407 pub struct D3DNTHAL_DP2SETDEPTHSTENCIL {
14408 pub hZBuffer: u32,
14409 }
14410 impl ::core::marker::Copy for D3DNTHAL_DP2SETDEPTHSTENCIL {}
14411 impl ::core::clone::Clone for D3DNTHAL_DP2SETDEPTHSTENCIL {
14412 fn clone(&self) -> Self {
14413 *self
14414 }
14415 }
14416 #[repr(C)]
14417 pub struct D3DNTHAL_DP2SETINDICES {
14418 pub dwVBHandle: u32,
14419 pub dwStride: u32,
14420 }
14421 impl ::core::marker::Copy for D3DNTHAL_DP2SETINDICES {}
14422 impl ::core::clone::Clone for D3DNTHAL_DP2SETINDICES {
14423 fn clone(&self) -> Self {
14424 *self
14425 }
14426 }
14427 #[repr(C)]
14428 pub struct D3DNTHAL_DP2SETLIGHT {
14429 pub dwIndex: u32,
14430 pub Anonymous: D3DNTHAL_DP2SETLIGHT_0,
14431 }
14432 impl ::core::marker::Copy for D3DNTHAL_DP2SETLIGHT {}
14433 impl ::core::clone::Clone for D3DNTHAL_DP2SETLIGHT {
14434 fn clone(&self) -> Self {
14435 *self
14436 }
14437 }
14438 #[repr(C)]
14439 pub union D3DNTHAL_DP2SETLIGHT_0 {
14440 pub lightData: u32,
14441 pub dwDataType: u32,
14442 }
14443 impl ::core::marker::Copy for D3DNTHAL_DP2SETLIGHT_0 {}
14444 impl ::core::clone::Clone for D3DNTHAL_DP2SETLIGHT_0 {
14445 fn clone(&self) -> Self {
14446 *self
14447 }
14448 }
14449 #[repr(C)]
14450 pub struct D3DNTHAL_DP2SETPALETTE {
14451 pub dwPaletteHandle: u32,
14452 pub dwPaletteFlags: u32,
14453 pub dwSurfaceHandle: u32,
14454 }
14455 impl ::core::marker::Copy for D3DNTHAL_DP2SETPALETTE {}
14456 impl ::core::clone::Clone for D3DNTHAL_DP2SETPALETTE {
14457 fn clone(&self) -> Self {
14458 *self
14459 }
14460 }
14461 #[repr(C)]
14462 pub struct D3DNTHAL_DP2SETPIXELSHADERCONST {
14463 pub dwRegister: u32,
14464 pub dwCount: u32,
14465 }
14466 impl ::core::marker::Copy for D3DNTHAL_DP2SETPIXELSHADERCONST {}
14467 impl ::core::clone::Clone for D3DNTHAL_DP2SETPIXELSHADERCONST {
14468 fn clone(&self) -> Self {
14469 *self
14470 }
14471 }
14472 #[repr(C)]
14473 pub struct D3DNTHAL_DP2SETPRIORITY {
14474 pub dwDDDestSurface: u32,
14475 pub dwPriority: u32,
14476 }
14477 impl ::core::marker::Copy for D3DNTHAL_DP2SETPRIORITY {}
14478 impl ::core::clone::Clone for D3DNTHAL_DP2SETPRIORITY {
14479 fn clone(&self) -> Self {
14480 *self
14481 }
14482 }
14483 #[repr(C)]
14484 pub struct D3DNTHAL_DP2SETRENDERTARGET {
14485 pub hRenderTarget: u32,
14486 pub hZBuffer: u32,
14487 }
14488 impl ::core::marker::Copy for D3DNTHAL_DP2SETRENDERTARGET {}
14489 impl ::core::clone::Clone for D3DNTHAL_DP2SETRENDERTARGET {
14490 fn clone(&self) -> Self {
14491 *self
14492 }
14493 }
14494 #[repr(C)]
14495 pub struct D3DNTHAL_DP2SETRENDERTARGET2 {
14496 pub RTIndex: u32,
14497 pub hRenderTarget: u32,
14498 }
14499 impl ::core::marker::Copy for D3DNTHAL_DP2SETRENDERTARGET2 {}
14500 impl ::core::clone::Clone for D3DNTHAL_DP2SETRENDERTARGET2 {
14501 fn clone(&self) -> Self {
14502 *self
14503 }
14504 }
14505 #[repr(C)]
14506 pub struct D3DNTHAL_DP2SETSTREAMSOURCE {
14507 pub dwStream: u32,
14508 pub dwVBHandle: u32,
14509 pub dwStride: u32,
14510 }
14511 impl ::core::marker::Copy for D3DNTHAL_DP2SETSTREAMSOURCE {}
14512 impl ::core::clone::Clone for D3DNTHAL_DP2SETSTREAMSOURCE {
14513 fn clone(&self) -> Self {
14514 *self
14515 }
14516 }
14517 #[repr(C)]
14518 pub struct D3DNTHAL_DP2SETSTREAMSOURCE2 {
14519 pub dwStream: u32,
14520 pub dwVBHandle: u32,
14521 pub dwOffset: u32,
14522 pub dwStride: u32,
14523 }
14524 impl ::core::marker::Copy for D3DNTHAL_DP2SETSTREAMSOURCE2 {}
14525 impl ::core::clone::Clone for D3DNTHAL_DP2SETSTREAMSOURCE2 {
14526 fn clone(&self) -> Self {
14527 *self
14528 }
14529 }
14530 #[repr(C)]
14531 pub struct D3DNTHAL_DP2SETSTREAMSOURCEFREQ {
14532 pub dwStream: u32,
14533 pub dwDivider: u32,
14534 }
14535 impl ::core::marker::Copy for D3DNTHAL_DP2SETSTREAMSOURCEFREQ {}
14536 impl ::core::clone::Clone for D3DNTHAL_DP2SETSTREAMSOURCEFREQ {
14537 fn clone(&self) -> Self {
14538 *self
14539 }
14540 }
14541 #[repr(C)]
14542 pub struct D3DNTHAL_DP2SETSTREAMSOURCEUM {
14543 pub dwStream: u32,
14544 pub dwStride: u32,
14545 }
14546 impl ::core::marker::Copy for D3DNTHAL_DP2SETSTREAMSOURCEUM {}
14547 impl ::core::clone::Clone for D3DNTHAL_DP2SETSTREAMSOURCEUM {
14548 fn clone(&self) -> Self {
14549 *self
14550 }
14551 }
14552 #[repr(C)]
14553 pub struct D3DNTHAL_DP2SETTEXLOD {
14554 pub dwDDSurface: u32,
14555 pub dwLOD: u32,
14556 }
14557 impl ::core::marker::Copy for D3DNTHAL_DP2SETTEXLOD {}
14558 impl ::core::clone::Clone for D3DNTHAL_DP2SETTEXLOD {
14559 fn clone(&self) -> Self {
14560 *self
14561 }
14562 }
14563 #[repr(C)]
14564 #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct3D9\"`"]
14565 #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
14566 pub struct D3DNTHAL_DP2SETTRANSFORM {
14567 pub xfrmType: super::super::super::Win32::Graphics::Direct3D9::D3DTRANSFORMSTATETYPE,
14568 pub matrix: super::super::super::Foundation::Numerics::Matrix4x4,
14569 }
14570 #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
14571 impl ::core::marker::Copy for D3DNTHAL_DP2SETTRANSFORM {}
14572 #[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
14573 impl ::core::clone::Clone for D3DNTHAL_DP2SETTRANSFORM {
14574 fn clone(&self) -> Self {
14575 *self
14576 }
14577 }
14578 #[repr(C)]
14579 pub struct D3DNTHAL_DP2SETVERTEXSHADERCONST {
14580 pub dwRegister: u32,
14581 pub dwCount: u32,
14582 }
14583 impl ::core::marker::Copy for D3DNTHAL_DP2SETVERTEXSHADERCONST {}
14584 impl ::core::clone::Clone for D3DNTHAL_DP2SETVERTEXSHADERCONST {
14585 fn clone(&self) -> Self {
14586 *self
14587 }
14588 }
14589 #[repr(C)]
14590 pub struct D3DNTHAL_DP2STARTVERTEX {
14591 pub wVStart: u16,
14592 }
14593 impl ::core::marker::Copy for D3DNTHAL_DP2STARTVERTEX {}
14594 impl ::core::clone::Clone for D3DNTHAL_DP2STARTVERTEX {
14595 fn clone(&self) -> Self {
14596 *self
14597 }
14598 }
14599 #[repr(C)]
14600 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
14601 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14602 pub struct D3DNTHAL_DP2STATESET {
14603 pub dwOperation: u32,
14604 pub dwParam: u32,
14605 pub sbType: super::super::super::Win32::Graphics::Direct3D9::D3DSTATEBLOCKTYPE,
14606 }
14607 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14608 impl ::core::marker::Copy for D3DNTHAL_DP2STATESET {}
14609 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14610 impl ::core::clone::Clone for D3DNTHAL_DP2STATESET {
14611 fn clone(&self) -> Self {
14612 *self
14613 }
14614 }
14615 #[repr(C)]
14616 #[doc = "Required features: `\"Win32_Foundation\"`"]
14617 #[cfg(feature = "Win32_Foundation")]
14618 pub struct D3DNTHAL_DP2SURFACEBLT {
14619 pub dwSource: u32,
14620 pub rSource: super::super::super::Win32::Foundation::RECTL,
14621 pub dwSourceMipLevel: u32,
14622 pub dwDest: u32,
14623 pub rDest: super::super::super::Win32::Foundation::RECTL,
14624 pub dwDestMipLevel: u32,
14625 pub Flags: u32,
14626 }
14627 #[cfg(feature = "Win32_Foundation")]
14628 impl ::core::marker::Copy for D3DNTHAL_DP2SURFACEBLT {}
14629 #[cfg(feature = "Win32_Foundation")]
14630 impl ::core::clone::Clone for D3DNTHAL_DP2SURFACEBLT {
14631 fn clone(&self) -> Self {
14632 *self
14633 }
14634 }
14635 #[repr(C)]
14636 #[doc = "Required features: `\"Win32_Foundation\"`"]
14637 #[cfg(feature = "Win32_Foundation")]
14638 pub struct D3DNTHAL_DP2TEXBLT {
14639 pub dwDDDestSurface: u32,
14640 pub dwDDSrcSurface: u32,
14641 pub pDest: super::super::super::Win32::Foundation::POINT,
14642 pub rSrc: super::super::super::Win32::Foundation::RECTL,
14643 pub dwFlags: u32,
14644 }
14645 #[cfg(feature = "Win32_Foundation")]
14646 impl ::core::marker::Copy for D3DNTHAL_DP2TEXBLT {}
14647 #[cfg(feature = "Win32_Foundation")]
14648 impl ::core::clone::Clone for D3DNTHAL_DP2TEXBLT {
14649 fn clone(&self) -> Self {
14650 *self
14651 }
14652 }
14653 #[repr(C)]
14654 pub struct D3DNTHAL_DP2TEXTURESTAGESTATE {
14655 pub wStage: u16,
14656 pub TSState: u16,
14657 pub dwValue: u32,
14658 }
14659 impl ::core::marker::Copy for D3DNTHAL_DP2TEXTURESTAGESTATE {}
14660 impl ::core::clone::Clone for D3DNTHAL_DP2TEXTURESTAGESTATE {
14661 fn clone(&self) -> Self {
14662 *self
14663 }
14664 }
14665 #[repr(C)]
14666 pub struct D3DNTHAL_DP2TRIANGLEFAN {
14667 pub wVStart: u16,
14668 }
14669 impl ::core::marker::Copy for D3DNTHAL_DP2TRIANGLEFAN {}
14670 impl ::core::clone::Clone for D3DNTHAL_DP2TRIANGLEFAN {
14671 fn clone(&self) -> Self {
14672 *self
14673 }
14674 }
14675 #[repr(C)]
14676 pub struct D3DNTHAL_DP2TRIANGLEFAN_IMM {
14677 pub dwEdgeFlags: u32,
14678 }
14679 impl ::core::marker::Copy for D3DNTHAL_DP2TRIANGLEFAN_IMM {}
14680 impl ::core::clone::Clone for D3DNTHAL_DP2TRIANGLEFAN_IMM {
14681 fn clone(&self) -> Self {
14682 *self
14683 }
14684 }
14685 #[repr(C)]
14686 pub struct D3DNTHAL_DP2TRIANGLELIST {
14687 pub wVStart: u16,
14688 }
14689 impl ::core::marker::Copy for D3DNTHAL_DP2TRIANGLELIST {}
14690 impl ::core::clone::Clone for D3DNTHAL_DP2TRIANGLELIST {
14691 fn clone(&self) -> Self {
14692 *self
14693 }
14694 }
14695 #[repr(C)]
14696 pub struct D3DNTHAL_DP2TRIANGLESTRIP {
14697 pub wVStart: u16,
14698 }
14699 impl ::core::marker::Copy for D3DNTHAL_DP2TRIANGLESTRIP {}
14700 impl ::core::clone::Clone for D3DNTHAL_DP2TRIANGLESTRIP {
14701 fn clone(&self) -> Self {
14702 *self
14703 }
14704 }
14705 #[repr(C)]
14706 pub struct D3DNTHAL_DP2UPDATEPALETTE {
14707 pub dwPaletteHandle: u32,
14708 pub wStartIndex: u16,
14709 pub wNumEntries: u16,
14710 }
14711 impl ::core::marker::Copy for D3DNTHAL_DP2UPDATEPALETTE {}
14712 impl ::core::clone::Clone for D3DNTHAL_DP2UPDATEPALETTE {
14713 fn clone(&self) -> Self {
14714 *self
14715 }
14716 }
14717 #[repr(C)]
14718 pub struct D3DNTHAL_DP2VERTEXSHADER {
14719 pub dwHandle: u32,
14720 }
14721 impl ::core::marker::Copy for D3DNTHAL_DP2VERTEXSHADER {}
14722 impl ::core::clone::Clone for D3DNTHAL_DP2VERTEXSHADER {
14723 fn clone(&self) -> Self {
14724 *self
14725 }
14726 }
14727 #[repr(C)]
14728 pub struct D3DNTHAL_DP2VIEWPORTINFO {
14729 pub dwX: u32,
14730 pub dwY: u32,
14731 pub dwWidth: u32,
14732 pub dwHeight: u32,
14733 }
14734 impl ::core::marker::Copy for D3DNTHAL_DP2VIEWPORTINFO {}
14735 impl ::core::clone::Clone for D3DNTHAL_DP2VIEWPORTINFO {
14736 fn clone(&self) -> Self {
14737 *self
14738 }
14739 }
14740 #[repr(C)]
14741 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
14742 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14743 pub struct D3DNTHAL_DP2VOLUMEBLT {
14744 pub dwDDDestSurface: u32,
14745 pub dwDDSrcSurface: u32,
14746 pub dwDestX: u32,
14747 pub dwDestY: u32,
14748 pub dwDestZ: u32,
14749 pub srcBox: super::super::super::Win32::Graphics::Direct3D9::D3DBOX,
14750 pub dwFlags: u32,
14751 }
14752 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14753 impl ::core::marker::Copy for D3DNTHAL_DP2VOLUMEBLT {}
14754 #[cfg(feature = "Win32_Graphics_Direct3D9")]
14755 impl ::core::clone::Clone for D3DNTHAL_DP2VOLUMEBLT {
14756 fn clone(&self) -> Self {
14757 *self
14758 }
14759 }
14760 #[repr(C)]
14761 pub struct D3DNTHAL_DP2WINFO {
14762 pub dvWNear: f32,
14763 pub dvWFar: f32,
14764 }
14765 impl ::core::marker::Copy for D3DNTHAL_DP2WINFO {}
14766 impl ::core::clone::Clone for D3DNTHAL_DP2WINFO {
14767 fn clone(&self) -> Self {
14768 *self
14769 }
14770 }
14771 #[repr(C)]
14772 pub struct D3DNTHAL_DP2ZRANGE {
14773 pub dvMinZ: f32,
14774 pub dvMaxZ: f32,
14775 }
14776 impl ::core::marker::Copy for D3DNTHAL_DP2ZRANGE {}
14777 impl ::core::clone::Clone for D3DNTHAL_DP2ZRANGE {
14778 fn clone(&self) -> Self {
14779 *self
14780 }
14781 }
14782 #[repr(C)]
14783 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
14784 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
14785 pub struct D3DNTHAL_DRAWPRIMITIVES2DATA {
14786 pub dwhContext: usize,
14787 pub dwFlags: u32,
14788 pub dwVertexType: u32,
14789 pub lpDDCommands: *mut super::super::super::Win32::Graphics::DirectDraw::DD_SURFACE_LOCAL,
14790 pub dwCommandOffset: u32,
14791 pub dwCommandLength: u32,
14792 pub Anonymous1: D3DNTHAL_DRAWPRIMITIVES2DATA_0,
14793 pub dwVertexOffset: u32,
14794 pub dwVertexLength: u32,
14795 pub dwReqVertexBufSize: u32,
14796 pub dwReqCommandBufSize: u32,
14797 pub lpdwRStates: *mut u32,
14798 pub Anonymous2: D3DNTHAL_DRAWPRIMITIVES2DATA_1,
14799 pub dwErrorOffset: u32,
14800 }
14801 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
14802 impl ::core::marker::Copy for D3DNTHAL_DRAWPRIMITIVES2DATA {}
14803 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
14804 impl ::core::clone::Clone for D3DNTHAL_DRAWPRIMITIVES2DATA {
14805 fn clone(&self) -> Self {
14806 *self
14807 }
14808 }
14809 #[repr(C)]
14810 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
14811 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
14812 pub union D3DNTHAL_DRAWPRIMITIVES2DATA_0 {
14813 pub lpDDVertex: *mut super::super::super::Win32::Graphics::DirectDraw::DD_SURFACE_LOCAL,
14814 pub lpVertices: *mut ::core::ffi::c_void,
14815 }
14816 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
14817 impl ::core::marker::Copy for D3DNTHAL_DRAWPRIMITIVES2DATA_0 {}
14818 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
14819 impl ::core::clone::Clone for D3DNTHAL_DRAWPRIMITIVES2DATA_0 {
14820 fn clone(&self) -> Self {
14821 *self
14822 }
14823 }
14824 #[repr(C)]
14825 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
14826 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
14827 pub union D3DNTHAL_DRAWPRIMITIVES2DATA_1 {
14828 pub dwVertexSize: u32,
14829 pub ddrval: ::windows_sys::core::HRESULT,
14830 }
14831 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
14832 impl ::core::marker::Copy for D3DNTHAL_DRAWPRIMITIVES2DATA_1 {}
14833 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
14834 impl ::core::clone::Clone for D3DNTHAL_DRAWPRIMITIVES2DATA_1 {
14835 fn clone(&self) -> Self {
14836 *self
14837 }
14838 }
14839 #[repr(C)]
14840 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_DirectDraw\"`"]
14841 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
14842 pub struct D3DNTHAL_GLOBALDRIVERDATA {
14843 pub dwSize: u32,
14844 pub hwCaps: D3DNTHALDEVICEDESC_V1,
14845 pub dwNumVertices: u32,
14846 pub dwNumClipVertices: u32,
14847 pub dwNumTextureFormats: u32,
14848 pub lpTextureFormats: *mut super::super::super::Win32::Graphics::DirectDraw::DDSURFACEDESC,
14849 }
14850 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
14851 impl ::core::marker::Copy for D3DNTHAL_GLOBALDRIVERDATA {}
14852 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
14853 impl ::core::clone::Clone for D3DNTHAL_GLOBALDRIVERDATA {
14854 fn clone(&self) -> Self {
14855 *self
14856 }
14857 }
14858 #[repr(C)]
14859 pub struct D3DNTHAL_SCENECAPTUREDATA {
14860 pub dwhContext: usize,
14861 pub dwFlag: u32,
14862 pub ddrval: ::windows_sys::core::HRESULT,
14863 }
14864 impl ::core::marker::Copy for D3DNTHAL_SCENECAPTUREDATA {}
14865 impl ::core::clone::Clone for D3DNTHAL_SCENECAPTUREDATA {
14866 fn clone(&self) -> Self {
14867 *self
14868 }
14869 }
14870 #[repr(C)]
14871 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
14872 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
14873 pub struct D3DNTHAL_SETRENDERTARGETDATA {
14874 pub dwhContext: usize,
14875 pub lpDDS: *mut super::super::super::Win32::Graphics::DirectDraw::DD_SURFACE_LOCAL,
14876 pub lpDDSZ: *mut super::super::super::Win32::Graphics::DirectDraw::DD_SURFACE_LOCAL,
14877 pub ddrval: ::windows_sys::core::HRESULT,
14878 }
14879 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
14880 impl ::core::marker::Copy for D3DNTHAL_SETRENDERTARGETDATA {}
14881 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
14882 impl ::core::clone::Clone for D3DNTHAL_SETRENDERTARGETDATA {
14883 fn clone(&self) -> Self {
14884 *self
14885 }
14886 }
14887 #[repr(C)]
14888 #[doc = "Required features: `\"Win32_Foundation\"`"]
14889 #[cfg(feature = "Win32_Foundation")]
14890 pub struct D3DNTHAL_TEXTURECREATEDATA {
14891 pub dwhContext: usize,
14892 pub hDDS: super::super::super::Win32::Foundation::HANDLE,
14893 pub dwHandle: usize,
14894 pub ddrval: ::windows_sys::core::HRESULT,
14895 }
14896 #[cfg(feature = "Win32_Foundation")]
14897 impl ::core::marker::Copy for D3DNTHAL_TEXTURECREATEDATA {}
14898 #[cfg(feature = "Win32_Foundation")]
14899 impl ::core::clone::Clone for D3DNTHAL_TEXTURECREATEDATA {
14900 fn clone(&self) -> Self {
14901 *self
14902 }
14903 }
14904 #[repr(C)]
14905 pub struct D3DNTHAL_TEXTUREDESTROYDATA {
14906 pub dwhContext: usize,
14907 pub dwHandle: usize,
14908 pub ddrval: ::windows_sys::core::HRESULT,
14909 }
14910 impl ::core::marker::Copy for D3DNTHAL_TEXTUREDESTROYDATA {}
14911 impl ::core::clone::Clone for D3DNTHAL_TEXTUREDESTROYDATA {
14912 fn clone(&self) -> Self {
14913 *self
14914 }
14915 }
14916 #[repr(C)]
14917 #[doc = "Required features: `\"Win32_Foundation\"`"]
14918 #[cfg(feature = "Win32_Foundation")]
14919 pub struct D3DNTHAL_TEXTUREGETSURFDATA {
14920 pub dwhContext: usize,
14921 pub hDDS: super::super::super::Win32::Foundation::HANDLE,
14922 pub dwHandle: usize,
14923 pub ddrval: ::windows_sys::core::HRESULT,
14924 }
14925 #[cfg(feature = "Win32_Foundation")]
14926 impl ::core::marker::Copy for D3DNTHAL_TEXTUREGETSURFDATA {}
14927 #[cfg(feature = "Win32_Foundation")]
14928 impl ::core::clone::Clone for D3DNTHAL_TEXTUREGETSURFDATA {
14929 fn clone(&self) -> Self {
14930 *self
14931 }
14932 }
14933 #[repr(C)]
14934 pub struct D3DNTHAL_TEXTURESWAPDATA {
14935 pub dwhContext: usize,
14936 pub dwHandle1: usize,
14937 pub dwHandle2: usize,
14938 pub ddrval: ::windows_sys::core::HRESULT,
14939 }
14940 impl ::core::marker::Copy for D3DNTHAL_TEXTURESWAPDATA {}
14941 impl ::core::clone::Clone for D3DNTHAL_TEXTURESWAPDATA {
14942 fn clone(&self) -> Self {
14943 *self
14944 }
14945 }
14946 #[repr(C)]
14947 pub struct D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA {
14948 pub dwhContext: usize,
14949 pub dwFlags: u32,
14950 pub dwReserved: usize,
14951 pub dwNumPasses: u32,
14952 pub ddrval: ::windows_sys::core::HRESULT,
14953 }
14954 impl ::core::marker::Copy for D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA {}
14955 impl ::core::clone::Clone for D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA {
14956 fn clone(&self) -> Self {
14957 *self
14958 }
14959 }
14960 #[repr(C)]
14961 pub struct DDNT_DEFERRED_AGP_AWARE_DATA {
14962 pub gdi2: DDNT_GETDRIVERINFO2DATA,
14963 }
14964 impl ::core::marker::Copy for DDNT_DEFERRED_AGP_AWARE_DATA {}
14965 impl ::core::clone::Clone for DDNT_DEFERRED_AGP_AWARE_DATA {
14966 fn clone(&self) -> Self {
14967 *self
14968 }
14969 }
14970 #[repr(C)]
14971 pub struct DDNT_DXVERSION {
14972 pub gdi2: DDNT_GETDRIVERINFO2DATA,
14973 pub dwDXVersion: u32,
14974 pub dwReserved: u32,
14975 }
14976 impl ::core::marker::Copy for DDNT_DXVERSION {}
14977 impl ::core::clone::Clone for DDNT_DXVERSION {
14978 fn clone(&self) -> Self {
14979 *self
14980 }
14981 }
14982 #[repr(C)]
14983 pub struct DDNT_FREE_DEFERRED_AGP_DATA {
14984 pub gdi2: DDNT_GETDRIVERINFO2DATA,
14985 pub dwProcessId: u32,
14986 }
14987 impl ::core::marker::Copy for DDNT_FREE_DEFERRED_AGP_DATA {}
14988 impl ::core::clone::Clone for DDNT_FREE_DEFERRED_AGP_DATA {
14989 fn clone(&self) -> Self {
14990 *self
14991 }
14992 }
14993 #[repr(C)]
14994 pub struct DDNT_GETADAPTERGROUPDATA {
14995 pub gdi2: DDNT_GETDRIVERINFO2DATA,
14996 pub ulUniqueAdapterGroupId: usize,
14997 pub dwReserved1: u32,
14998 pub dwReserved2: u32,
14999 }
15000 impl ::core::marker::Copy for DDNT_GETADAPTERGROUPDATA {}
15001 impl ::core::clone::Clone for DDNT_GETADAPTERGROUPDATA {
15002 fn clone(&self) -> Self {
15003 *self
15004 }
15005 }
15006 #[repr(C)]
15007 pub struct DDNT_GETD3DQUERYCOUNTDATA {
15008 pub gdi2: DDNT_GETDRIVERINFO2DATA,
15009 pub dwNumQueries: u32,
15010 }
15011 impl ::core::marker::Copy for DDNT_GETD3DQUERYCOUNTDATA {}
15012 impl ::core::clone::Clone for DDNT_GETD3DQUERYCOUNTDATA {
15013 fn clone(&self) -> Self {
15014 *self
15015 }
15016 }
15017 #[repr(C)]
15018 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
15019 #[cfg(feature = "Win32_Graphics_Direct3D9")]
15020 pub struct DDNT_GETD3DQUERYDATA {
15021 pub gdi2: DDNT_GETDRIVERINFO2DATA,
15022 pub Anonymous: DDNT_GETD3DQUERYDATA_0,
15023 }
15024 #[cfg(feature = "Win32_Graphics_Direct3D9")]
15025 impl ::core::marker::Copy for DDNT_GETD3DQUERYDATA {}
15026 #[cfg(feature = "Win32_Graphics_Direct3D9")]
15027 impl ::core::clone::Clone for DDNT_GETD3DQUERYDATA {
15028 fn clone(&self) -> Self {
15029 *self
15030 }
15031 }
15032 #[repr(C)]
15033 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
15034 #[cfg(feature = "Win32_Graphics_Direct3D9")]
15035 pub union DDNT_GETD3DQUERYDATA_0 {
15036 pub dwQueryIndex: u32,
15037 pub QueryType: super::super::super::Win32::Graphics::Direct3D9::D3DQUERYTYPE,
15038 }
15039 #[cfg(feature = "Win32_Graphics_Direct3D9")]
15040 impl ::core::marker::Copy for DDNT_GETD3DQUERYDATA_0 {}
15041 #[cfg(feature = "Win32_Graphics_Direct3D9")]
15042 impl ::core::clone::Clone for DDNT_GETD3DQUERYDATA_0 {
15043 fn clone(&self) -> Self {
15044 *self
15045 }
15046 }
15047 #[repr(C)]
15048 pub struct DDNT_GETDDIVERSIONDATA {
15049 pub gdi2: DDNT_GETDRIVERINFO2DATA,
15050 pub dwDXVersion: u32,
15051 pub dwDDIVersion: u32,
15052 }
15053 impl ::core::marker::Copy for DDNT_GETDDIVERSIONDATA {}
15054 impl ::core::clone::Clone for DDNT_GETDDIVERSIONDATA {
15055 fn clone(&self) -> Self {
15056 *self
15057 }
15058 }
15059 #[repr(C)]
15060 pub struct DDNT_GETDRIVERINFO2DATA {
15061 pub dwReserved: u32,
15062 pub dwMagic: u32,
15063 pub dwType: u32,
15064 pub dwExpectedSize: u32,
15065 }
15066 impl ::core::marker::Copy for DDNT_GETDRIVERINFO2DATA {}
15067 impl ::core::clone::Clone for DDNT_GETDRIVERINFO2DATA {
15068 fn clone(&self) -> Self {
15069 *self
15070 }
15071 }
15072 #[repr(C)]
15073 pub struct DDNT_GETEXTENDEDMODECOUNTDATA {
15074 pub gdi2: DDNT_GETDRIVERINFO2DATA,
15075 pub dwModeCount: u32,
15076 pub dwReserved: u32,
15077 }
15078 impl ::core::marker::Copy for DDNT_GETEXTENDEDMODECOUNTDATA {}
15079 impl ::core::clone::Clone for DDNT_GETEXTENDEDMODECOUNTDATA {
15080 fn clone(&self) -> Self {
15081 *self
15082 }
15083 }
15084 #[repr(C)]
15085 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
15086 #[cfg(feature = "Win32_Graphics_Direct3D9")]
15087 pub struct DDNT_GETEXTENDEDMODEDATA {
15088 pub gdi2: DDNT_GETDRIVERINFO2DATA,
15089 pub dwModeIndex: u32,
15090 pub mode: super::super::super::Win32::Graphics::Direct3D9::D3DDISPLAYMODE,
15091 }
15092 #[cfg(feature = "Win32_Graphics_Direct3D9")]
15093 impl ::core::marker::Copy for DDNT_GETEXTENDEDMODEDATA {}
15094 #[cfg(feature = "Win32_Graphics_Direct3D9")]
15095 impl ::core::clone::Clone for DDNT_GETEXTENDEDMODEDATA {
15096 fn clone(&self) -> Self {
15097 *self
15098 }
15099 }
15100 #[repr(C)]
15101 pub struct DDNT_GETFORMATCOUNTDATA {
15102 pub gdi2: DDNT_GETDRIVERINFO2DATA,
15103 pub dwFormatCount: u32,
15104 pub dwReserved: u32,
15105 }
15106 impl ::core::marker::Copy for DDNT_GETFORMATCOUNTDATA {}
15107 impl ::core::clone::Clone for DDNT_GETFORMATCOUNTDATA {
15108 fn clone(&self) -> Self {
15109 *self
15110 }
15111 }
15112 #[repr(C)]
15113 #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"]
15114 #[cfg(feature = "Win32_Graphics_DirectDraw")]
15115 pub struct DDNT_GETFORMATDATA {
15116 pub gdi2: DDNT_GETDRIVERINFO2DATA,
15117 pub dwFormatIndex: u32,
15118 pub format: super::super::super::Win32::Graphics::DirectDraw::DDPIXELFORMAT,
15119 }
15120 #[cfg(feature = "Win32_Graphics_DirectDraw")]
15121 impl ::core::marker::Copy for DDNT_GETFORMATDATA {}
15122 #[cfg(feature = "Win32_Graphics_DirectDraw")]
15123 impl ::core::clone::Clone for DDNT_GETFORMATDATA {
15124 fn clone(&self) -> Self {
15125 *self
15126 }
15127 }
15128 #[repr(C)]
15129 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
15130 #[cfg(feature = "Win32_Graphics_Direct3D9")]
15131 pub struct DDNT_MULTISAMPLEQUALITYLEVELSDATA {
15132 pub gdi2: DDNT_GETDRIVERINFO2DATA,
15133 pub Format: super::super::super::Win32::Graphics::Direct3D9::D3DFORMAT,
15134 pub _bitfield: i32,
15135 pub QualityLevels: u32,
15136 }
15137 #[cfg(feature = "Win32_Graphics_Direct3D9")]
15138 impl ::core::marker::Copy for DDNT_MULTISAMPLEQUALITYLEVELSDATA {}
15139 #[cfg(feature = "Win32_Graphics_Direct3D9")]
15140 impl ::core::clone::Clone for DDNT_MULTISAMPLEQUALITYLEVELSDATA {
15141 fn clone(&self) -> Self {
15142 *self
15143 }
15144 }
15145 #[repr(C)]
15146 pub struct DD_DEFERRED_AGP_AWARE_DATA {
15147 pub gdi2: DD_GETDRIVERINFO2DATA,
15148 }
15149 impl ::core::marker::Copy for DD_DEFERRED_AGP_AWARE_DATA {}
15150 impl ::core::clone::Clone for DD_DEFERRED_AGP_AWARE_DATA {
15151 fn clone(&self) -> Self {
15152 *self
15153 }
15154 }
15155 #[repr(C)]
15156 pub struct DD_DXVERSION {
15157 pub gdi2: DD_GETDRIVERINFO2DATA,
15158 pub dwDXVersion: u32,
15159 pub dwReserved: u32,
15160 }
15161 impl ::core::marker::Copy for DD_DXVERSION {}
15162 impl ::core::clone::Clone for DD_DXVERSION {
15163 fn clone(&self) -> Self {
15164 *self
15165 }
15166 }
15167 #[repr(C)]
15168 pub struct DD_FREE_DEFERRED_AGP_DATA {
15169 pub gdi2: DD_GETDRIVERINFO2DATA,
15170 pub dwProcessId: u32,
15171 }
15172 impl ::core::marker::Copy for DD_FREE_DEFERRED_AGP_DATA {}
15173 impl ::core::clone::Clone for DD_FREE_DEFERRED_AGP_DATA {
15174 fn clone(&self) -> Self {
15175 *self
15176 }
15177 }
15178 #[repr(C)]
15179 pub struct DD_GETADAPTERGROUPDATA {
15180 pub gdi2: DD_GETDRIVERINFO2DATA,
15181 pub ulUniqueAdapterGroupId: usize,
15182 pub dwReserved1: u32,
15183 pub dwReserved2: u32,
15184 }
15185 impl ::core::marker::Copy for DD_GETADAPTERGROUPDATA {}
15186 impl ::core::clone::Clone for DD_GETADAPTERGROUPDATA {
15187 fn clone(&self) -> Self {
15188 *self
15189 }
15190 }
15191 #[repr(C)]
15192 pub struct DD_GETD3DQUERYCOUNTDATA {
15193 pub gdi2: DD_GETDRIVERINFO2DATA,
15194 pub dwNumQueries: u32,
15195 }
15196 impl ::core::marker::Copy for DD_GETD3DQUERYCOUNTDATA {}
15197 impl ::core::clone::Clone for DD_GETD3DQUERYCOUNTDATA {
15198 fn clone(&self) -> Self {
15199 *self
15200 }
15201 }
15202 #[repr(C)]
15203 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
15204 #[cfg(feature = "Win32_Graphics_Direct3D9")]
15205 pub struct DD_GETD3DQUERYDATA {
15206 pub gdi2: DD_GETDRIVERINFO2DATA,
15207 pub Anonymous: DD_GETD3DQUERYDATA_0,
15208 }
15209 #[cfg(feature = "Win32_Graphics_Direct3D9")]
15210 impl ::core::marker::Copy for DD_GETD3DQUERYDATA {}
15211 #[cfg(feature = "Win32_Graphics_Direct3D9")]
15212 impl ::core::clone::Clone for DD_GETD3DQUERYDATA {
15213 fn clone(&self) -> Self {
15214 *self
15215 }
15216 }
15217 #[repr(C)]
15218 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
15219 #[cfg(feature = "Win32_Graphics_Direct3D9")]
15220 pub union DD_GETD3DQUERYDATA_0 {
15221 pub dwQueryIndex: u32,
15222 pub QueryType: super::super::super::Win32::Graphics::Direct3D9::D3DQUERYTYPE,
15223 }
15224 #[cfg(feature = "Win32_Graphics_Direct3D9")]
15225 impl ::core::marker::Copy for DD_GETD3DQUERYDATA_0 {}
15226 #[cfg(feature = "Win32_Graphics_Direct3D9")]
15227 impl ::core::clone::Clone for DD_GETD3DQUERYDATA_0 {
15228 fn clone(&self) -> Self {
15229 *self
15230 }
15231 }
15232 #[repr(C)]
15233 pub struct DD_GETDDIVERSIONDATA {
15234 pub gdi2: DD_GETDRIVERINFO2DATA,
15235 pub dwDXVersion: u32,
15236 pub dwDDIVersion: u32,
15237 }
15238 impl ::core::marker::Copy for DD_GETDDIVERSIONDATA {}
15239 impl ::core::clone::Clone for DD_GETDDIVERSIONDATA {
15240 fn clone(&self) -> Self {
15241 *self
15242 }
15243 }
15244 #[repr(C)]
15245 pub struct DD_GETDRIVERINFO2DATA {
15246 pub dwReserved: u32,
15247 pub dwMagic: u32,
15248 pub dwType: u32,
15249 pub dwExpectedSize: u32,
15250 }
15251 impl ::core::marker::Copy for DD_GETDRIVERINFO2DATA {}
15252 impl ::core::clone::Clone for DD_GETDRIVERINFO2DATA {
15253 fn clone(&self) -> Self {
15254 *self
15255 }
15256 }
15257 #[repr(C)]
15258 pub struct DD_GETEXTENDEDMODECOUNTDATA {
15259 pub gdi2: DD_GETDRIVERINFO2DATA,
15260 pub dwModeCount: u32,
15261 pub dwReserved: u32,
15262 }
15263 impl ::core::marker::Copy for DD_GETEXTENDEDMODECOUNTDATA {}
15264 impl ::core::clone::Clone for DD_GETEXTENDEDMODECOUNTDATA {
15265 fn clone(&self) -> Self {
15266 *self
15267 }
15268 }
15269 #[repr(C)]
15270 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
15271 #[cfg(feature = "Win32_Graphics_Direct3D9")]
15272 pub struct DD_GETEXTENDEDMODEDATA {
15273 pub gdi2: DD_GETDRIVERINFO2DATA,
15274 pub dwModeIndex: u32,
15275 pub mode: super::super::super::Win32::Graphics::Direct3D9::D3DDISPLAYMODE,
15276 }
15277 #[cfg(feature = "Win32_Graphics_Direct3D9")]
15278 impl ::core::marker::Copy for DD_GETEXTENDEDMODEDATA {}
15279 #[cfg(feature = "Win32_Graphics_Direct3D9")]
15280 impl ::core::clone::Clone for DD_GETEXTENDEDMODEDATA {
15281 fn clone(&self) -> Self {
15282 *self
15283 }
15284 }
15285 #[repr(C)]
15286 pub struct DD_GETFORMATCOUNTDATA {
15287 pub gdi2: DD_GETDRIVERINFO2DATA,
15288 pub dwFormatCount: u32,
15289 pub dwReserved: u32,
15290 }
15291 impl ::core::marker::Copy for DD_GETFORMATCOUNTDATA {}
15292 impl ::core::clone::Clone for DD_GETFORMATCOUNTDATA {
15293 fn clone(&self) -> Self {
15294 *self
15295 }
15296 }
15297 #[repr(C)]
15298 #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"]
15299 #[cfg(feature = "Win32_Graphics_DirectDraw")]
15300 pub struct DD_GETFORMATDATA {
15301 pub gdi2: DD_GETDRIVERINFO2DATA,
15302 pub dwFormatIndex: u32,
15303 pub format: super::super::super::Win32::Graphics::DirectDraw::DDPIXELFORMAT,
15304 }
15305 #[cfg(feature = "Win32_Graphics_DirectDraw")]
15306 impl ::core::marker::Copy for DD_GETFORMATDATA {}
15307 #[cfg(feature = "Win32_Graphics_DirectDraw")]
15308 impl ::core::clone::Clone for DD_GETFORMATDATA {
15309 fn clone(&self) -> Self {
15310 *self
15311 }
15312 }
15313 #[repr(C)]
15314 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
15315 #[cfg(feature = "Win32_Graphics_Direct3D9")]
15316 pub struct DD_MULTISAMPLEQUALITYLEVELSDATA {
15317 pub gdi2: DD_GETDRIVERINFO2DATA,
15318 pub Format: super::super::super::Win32::Graphics::Direct3D9::D3DFORMAT,
15319 pub _bitfield: i32,
15320 pub QualityLevels: u32,
15321 }
15322 #[cfg(feature = "Win32_Graphics_Direct3D9")]
15323 impl ::core::marker::Copy for DD_MULTISAMPLEQUALITYLEVELSDATA {}
15324 #[cfg(feature = "Win32_Graphics_Direct3D9")]
15325 impl ::core::clone::Clone for DD_MULTISAMPLEQUALITYLEVELSDATA {
15326 fn clone(&self) -> Self {
15327 *self
15328 }
15329 }
15330 #[repr(C, packed(1))]
15331 pub struct DISPLAYID_DETAILED_TIMING_TYPE_I {
15332 pub Anonymous1: DISPLAYID_DETAILED_TIMING_TYPE_I_0,
15333 pub HorizontalActivePixels: u16,
15334 pub HorizontalBlankPixels: u16,
15335 pub Anonymous2: DISPLAYID_DETAILED_TIMING_TYPE_I_1,
15336 pub HorizontalSyncWidth: u16,
15337 pub VerticalActiveLines: u16,
15338 pub VerticalBlankLines: u16,
15339 pub Anonymous3: DISPLAYID_DETAILED_TIMING_TYPE_I_2,
15340 pub VerticalSyncWidth: u16,
15341 }
15342 impl ::core::marker::Copy for DISPLAYID_DETAILED_TIMING_TYPE_I {}
15343 impl ::core::clone::Clone for DISPLAYID_DETAILED_TIMING_TYPE_I {
15344 fn clone(&self) -> Self {
15345 *self
15346 }
15347 }
15348 #[repr(C, packed(1))]
15349 pub struct DISPLAYID_DETAILED_TIMING_TYPE_I_0 {
15350 pub _bitfield: u32,
15351 }
15352 impl ::core::marker::Copy for DISPLAYID_DETAILED_TIMING_TYPE_I_0 {}
15353 impl ::core::clone::Clone for DISPLAYID_DETAILED_TIMING_TYPE_I_0 {
15354 fn clone(&self) -> Self {
15355 *self
15356 }
15357 }
15358 #[repr(C, packed(1))]
15359 pub struct DISPLAYID_DETAILED_TIMING_TYPE_I_1 {
15360 pub _bitfield: u16,
15361 }
15362 impl ::core::marker::Copy for DISPLAYID_DETAILED_TIMING_TYPE_I_1 {}
15363 impl ::core::clone::Clone for DISPLAYID_DETAILED_TIMING_TYPE_I_1 {
15364 fn clone(&self) -> Self {
15365 *self
15366 }
15367 }
15368 #[repr(C, packed(1))]
15369 pub struct DISPLAYID_DETAILED_TIMING_TYPE_I_2 {
15370 pub _bitfield: u16,
15371 }
15372 impl ::core::marker::Copy for DISPLAYID_DETAILED_TIMING_TYPE_I_2 {}
15373 impl ::core::clone::Clone for DISPLAYID_DETAILED_TIMING_TYPE_I_2 {
15374 fn clone(&self) -> Self {
15375 *self
15376 }
15377 }
15378 #[repr(C)]
15379 pub struct DXGKARG_SETPALETTE {
15380 pub VidPnSourceId: u32,
15381 pub FirstEntry: u32,
15382 pub NumEntries: u32,
15383 pub pLookupTable: *mut D3DKMDT_PALETTEDATA,
15384 }
15385 impl ::core::marker::Copy for DXGKARG_SETPALETTE {}
15386 impl ::core::clone::Clone for DXGKARG_SETPALETTE {
15387 fn clone(&self) -> Self {
15388 *self
15389 }
15390 }
15391 #[repr(C, packed(1))]
15392 pub struct DXGKMDT_OPM_ACP_AND_CGMSA_SIGNALING {
15393 pub rnRandomNumber: DXGKMDT_OPM_RANDOM_NUMBER,
15394 pub ulStatusFlags: u32,
15395 pub ulAvailableTVProtectionStandards: u32,
15396 pub ulActiveTVProtectionStandard: u32,
15397 pub ulReserved: u32,
15398 pub ulAspectRatioValidMask1: u32,
15399 pub ulAspectRatioData1: u32,
15400 pub ulAspectRatioValidMask2: u32,
15401 pub ulAspectRatioData2: u32,
15402 pub ulAspectRatioValidMask3: u32,
15403 pub ulAspectRatioData3: u32,
15404 pub ulReserved2: [u32; 4],
15405 pub ulReserved3: [u32; 4],
15406 }
15407 impl ::core::marker::Copy for DXGKMDT_OPM_ACP_AND_CGMSA_SIGNALING {}
15408 impl ::core::clone::Clone for DXGKMDT_OPM_ACP_AND_CGMSA_SIGNALING {
15409 fn clone(&self) -> Self {
15410 *self
15411 }
15412 }
15413 #[repr(C, packed(1))]
15414 pub struct DXGKMDT_OPM_ACTUAL_OUTPUT_FORMAT {
15415 pub rnRandomNumber: DXGKMDT_OPM_RANDOM_NUMBER,
15416 pub ulStatusFlags: u32,
15417 pub ulDisplayWidth: u32,
15418 pub ulDisplayHeight: u32,
15419 pub ifInterleaveFormat: DXGKMDT_OPM_INTERLEAVE_FORMAT,
15420 pub d3dFormat: u32,
15421 pub ulFrequencyNumerator: u32,
15422 pub ulFrequencyDenominator: u32,
15423 }
15424 impl ::core::marker::Copy for DXGKMDT_OPM_ACTUAL_OUTPUT_FORMAT {}
15425 impl ::core::clone::Clone for DXGKMDT_OPM_ACTUAL_OUTPUT_FORMAT {
15426 fn clone(&self) -> Self {
15427 *self
15428 }
15429 }
15430 #[repr(C, packed(1))]
15431 pub struct DXGKMDT_OPM_CONFIGURE_PARAMETERS {
15432 pub omac: DXGKMDT_OPM_OMAC,
15433 pub guidSetting: ::windows_sys::core::GUID,
15434 pub ulSequenceNumber: u32,
15435 pub cbParametersSize: u32,
15436 pub abParameters: [u8; 4056],
15437 }
15438 impl ::core::marker::Copy for DXGKMDT_OPM_CONFIGURE_PARAMETERS {}
15439 impl ::core::clone::Clone for DXGKMDT_OPM_CONFIGURE_PARAMETERS {
15440 fn clone(&self) -> Self {
15441 *self
15442 }
15443 }
15444 #[repr(C, packed(1))]
15445 pub struct DXGKMDT_OPM_CONNECTED_HDCP_DEVICE_INFORMATION {
15446 pub rnRandomNumber: DXGKMDT_OPM_RANDOM_NUMBER,
15447 pub ulStatusFlags: u32,
15448 pub ulHDCPFlags: u32,
15449 pub ksvB: DXGKMDT_OPM_HDCP_KEY_SELECTION_VECTOR,
15450 pub Reserved: [u8; 11],
15451 pub Reserved2: [u8; 16],
15452 pub Reserved3: [u8; 16],
15453 }
15454 impl ::core::marker::Copy for DXGKMDT_OPM_CONNECTED_HDCP_DEVICE_INFORMATION {}
15455 impl ::core::clone::Clone for DXGKMDT_OPM_CONNECTED_HDCP_DEVICE_INFORMATION {
15456 fn clone(&self) -> Self {
15457 *self
15458 }
15459 }
15460 #[repr(C, packed(1))]
15461 pub struct DXGKMDT_OPM_COPP_COMPATIBLE_GET_INFO_PARAMETERS {
15462 pub rnRandomNumber: DXGKMDT_OPM_RANDOM_NUMBER,
15463 pub guidInformation: ::windows_sys::core::GUID,
15464 pub ulSequenceNumber: u32,
15465 pub cbParametersSize: u32,
15466 pub abParameters: [u8; 4056],
15467 }
15468 impl ::core::marker::Copy for DXGKMDT_OPM_COPP_COMPATIBLE_GET_INFO_PARAMETERS {}
15469 impl ::core::clone::Clone for DXGKMDT_OPM_COPP_COMPATIBLE_GET_INFO_PARAMETERS {
15470 fn clone(&self) -> Self {
15471 *self
15472 }
15473 }
15474 #[repr(C, packed(1))]
15475 #[doc = "Required features: `\"Win32_Foundation\"`"]
15476 #[cfg(feature = "Win32_Foundation")]
15477 pub struct DXGKMDT_OPM_CREATE_VIDEO_OUTPUT_FOR_TARGET_PARAMETERS {
15478 pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
15479 pub TargetId: u32,
15480 pub Vos: DXGKMDT_OPM_VIDEO_OUTPUT_SEMANTICS,
15481 }
15482 #[cfg(feature = "Win32_Foundation")]
15483 impl ::core::marker::Copy for DXGKMDT_OPM_CREATE_VIDEO_OUTPUT_FOR_TARGET_PARAMETERS {}
15484 #[cfg(feature = "Win32_Foundation")]
15485 impl ::core::clone::Clone for DXGKMDT_OPM_CREATE_VIDEO_OUTPUT_FOR_TARGET_PARAMETERS {
15486 fn clone(&self) -> Self {
15487 *self
15488 }
15489 }
15490 #[repr(C)]
15491 pub struct DXGKMDT_OPM_ENCRYPTED_PARAMETERS {
15492 pub abEncryptedParameters: [u8; 256],
15493 }
15494 impl ::core::marker::Copy for DXGKMDT_OPM_ENCRYPTED_PARAMETERS {}
15495 impl ::core::clone::Clone for DXGKMDT_OPM_ENCRYPTED_PARAMETERS {
15496 fn clone(&self) -> Self {
15497 *self
15498 }
15499 }
15500 #[repr(C, packed(1))]
15501 pub struct DXGKMDT_OPM_GET_INFO_PARAMETERS {
15502 pub omac: DXGKMDT_OPM_OMAC,
15503 pub rnRandomNumber: DXGKMDT_OPM_RANDOM_NUMBER,
15504 pub guidInformation: ::windows_sys::core::GUID,
15505 pub ulSequenceNumber: u32,
15506 pub cbParametersSize: u32,
15507 pub abParameters: [u8; 4056],
15508 }
15509 impl ::core::marker::Copy for DXGKMDT_OPM_GET_INFO_PARAMETERS {}
15510 impl ::core::clone::Clone for DXGKMDT_OPM_GET_INFO_PARAMETERS {
15511 fn clone(&self) -> Self {
15512 *self
15513 }
15514 }
15515 #[repr(C)]
15516 pub struct DXGKMDT_OPM_HDCP_KEY_SELECTION_VECTOR {
15517 pub abKeySelectionVector: [u8; 5],
15518 }
15519 impl ::core::marker::Copy for DXGKMDT_OPM_HDCP_KEY_SELECTION_VECTOR {}
15520 impl ::core::clone::Clone for DXGKMDT_OPM_HDCP_KEY_SELECTION_VECTOR {
15521 fn clone(&self) -> Self {
15522 *self
15523 }
15524 }
15525 #[repr(C)]
15526 pub struct DXGKMDT_OPM_OMAC {
15527 pub abOMAC: [u8; 16],
15528 }
15529 impl ::core::marker::Copy for DXGKMDT_OPM_OMAC {}
15530 impl ::core::clone::Clone for DXGKMDT_OPM_OMAC {
15531 fn clone(&self) -> Self {
15532 *self
15533 }
15534 }
15535 #[repr(C, packed(1))]
15536 pub struct DXGKMDT_OPM_OUTPUT_ID {
15537 pub rnRandomNumber: DXGKMDT_OPM_RANDOM_NUMBER,
15538 pub ulStatusFlags: u32,
15539 pub OutputId: u64,
15540 }
15541 impl ::core::marker::Copy for DXGKMDT_OPM_OUTPUT_ID {}
15542 impl ::core::clone::Clone for DXGKMDT_OPM_OUTPUT_ID {
15543 fn clone(&self) -> Self {
15544 *self
15545 }
15546 }
15547 #[repr(C)]
15548 pub struct DXGKMDT_OPM_RANDOM_NUMBER {
15549 pub abRandomNumber: [u8; 16],
15550 }
15551 impl ::core::marker::Copy for DXGKMDT_OPM_RANDOM_NUMBER {}
15552 impl ::core::clone::Clone for DXGKMDT_OPM_RANDOM_NUMBER {
15553 fn clone(&self) -> Self {
15554 *self
15555 }
15556 }
15557 #[repr(C, packed(1))]
15558 pub struct DXGKMDT_OPM_REQUESTED_INFORMATION {
15559 pub omac: DXGKMDT_OPM_OMAC,
15560 pub cbRequestedInformationSize: u32,
15561 pub abRequestedInformation: [u8; 4076],
15562 }
15563 impl ::core::marker::Copy for DXGKMDT_OPM_REQUESTED_INFORMATION {}
15564 impl ::core::clone::Clone for DXGKMDT_OPM_REQUESTED_INFORMATION {
15565 fn clone(&self) -> Self {
15566 *self
15567 }
15568 }
15569 #[repr(C, packed(1))]
15570 pub struct DXGKMDT_OPM_SET_ACP_AND_CGMSA_SIGNALING_PARAMETERS {
15571 pub ulNewTVProtectionStandard: u32,
15572 pub ulAspectRatioChangeMask1: u32,
15573 pub ulAspectRatioData1: u32,
15574 pub ulAspectRatioChangeMask2: u32,
15575 pub ulAspectRatioData2: u32,
15576 pub ulAspectRatioChangeMask3: u32,
15577 pub ulAspectRatioData3: u32,
15578 pub ulReserved: [u32; 4],
15579 pub ulReserved2: [u32; 4],
15580 pub ulReserved3: u32,
15581 }
15582 impl ::core::marker::Copy for DXGKMDT_OPM_SET_ACP_AND_CGMSA_SIGNALING_PARAMETERS {}
15583 impl ::core::clone::Clone for DXGKMDT_OPM_SET_ACP_AND_CGMSA_SIGNALING_PARAMETERS {
15584 fn clone(&self) -> Self {
15585 *self
15586 }
15587 }
15588 #[repr(C, packed(1))]
15589 pub struct DXGKMDT_OPM_SET_HDCP_SRM_PARAMETERS {
15590 pub ulSRMVersion: u32,
15591 }
15592 impl ::core::marker::Copy for DXGKMDT_OPM_SET_HDCP_SRM_PARAMETERS {}
15593 impl ::core::clone::Clone for DXGKMDT_OPM_SET_HDCP_SRM_PARAMETERS {
15594 fn clone(&self) -> Self {
15595 *self
15596 }
15597 }
15598 #[repr(C, packed(1))]
15599 pub struct DXGKMDT_OPM_SET_PROTECTION_LEVEL_PARAMETERS {
15600 pub ulProtectionType: u32,
15601 pub ulProtectionLevel: u32,
15602 pub Reserved: u32,
15603 pub Reserved2: u32,
15604 }
15605 impl ::core::marker::Copy for DXGKMDT_OPM_SET_PROTECTION_LEVEL_PARAMETERS {}
15606 impl ::core::clone::Clone for DXGKMDT_OPM_SET_PROTECTION_LEVEL_PARAMETERS {
15607 fn clone(&self) -> Self {
15608 *self
15609 }
15610 }
15611 #[repr(C, packed(1))]
15612 pub struct DXGKMDT_OPM_STANDARD_INFORMATION {
15613 pub rnRandomNumber: DXGKMDT_OPM_RANDOM_NUMBER,
15614 pub ulStatusFlags: u32,
15615 pub ulInformation: u32,
15616 pub ulReserved: u32,
15617 pub ulReserved2: u32,
15618 }
15619 impl ::core::marker::Copy for DXGKMDT_OPM_STANDARD_INFORMATION {}
15620 impl ::core::clone::Clone for DXGKMDT_OPM_STANDARD_INFORMATION {
15621 fn clone(&self) -> Self {
15622 *self
15623 }
15624 }
15625 #[repr(C)]
15626 #[doc = "Required features: `\"Win32_Foundation\"`"]
15627 #[cfg(feature = "Win32_Foundation")]
15628 pub struct DXGKVGPU_ESCAPE_HEAD {
15629 pub Luid: GPUP_DRIVER_ESCAPE_INPUT,
15630 pub Type: DXGKVGPU_ESCAPE_TYPE,
15631 }
15632 #[cfg(feature = "Win32_Foundation")]
15633 impl ::core::marker::Copy for DXGKVGPU_ESCAPE_HEAD {}
15634 #[cfg(feature = "Win32_Foundation")]
15635 impl ::core::clone::Clone for DXGKVGPU_ESCAPE_HEAD {
15636 fn clone(&self) -> Self {
15637 *self
15638 }
15639 }
15640 #[repr(C)]
15641 #[doc = "Required features: `\"Win32_Foundation\"`"]
15642 #[cfg(feature = "Win32_Foundation")]
15643 pub struct DXGKVGPU_ESCAPE_INITIALIZE {
15644 pub Header: DXGKVGPU_ESCAPE_HEAD,
15645 pub VmGuid: ::windows_sys::core::GUID,
15646 }
15647 #[cfg(feature = "Win32_Foundation")]
15648 impl ::core::marker::Copy for DXGKVGPU_ESCAPE_INITIALIZE {}
15649 #[cfg(feature = "Win32_Foundation")]
15650 impl ::core::clone::Clone for DXGKVGPU_ESCAPE_INITIALIZE {
15651 fn clone(&self) -> Self {
15652 *self
15653 }
15654 }
15655 #[repr(C)]
15656 #[doc = "Required features: `\"Win32_Foundation\"`"]
15657 #[cfg(feature = "Win32_Foundation")]
15658 pub struct DXGKVGPU_ESCAPE_PAUSE {
15659 pub Header: DXGKVGPU_ESCAPE_HEAD,
15660 pub DeviceLuid: super::super::super::Win32::Foundation::LUID,
15661 pub Anonymous: DXGKVGPU_ESCAPE_PAUSE_0,
15662 }
15663 #[cfg(feature = "Win32_Foundation")]
15664 impl ::core::marker::Copy for DXGKVGPU_ESCAPE_PAUSE {}
15665 #[cfg(feature = "Win32_Foundation")]
15666 impl ::core::clone::Clone for DXGKVGPU_ESCAPE_PAUSE {
15667 fn clone(&self) -> Self {
15668 *self
15669 }
15670 }
15671 #[repr(C)]
15672 #[doc = "Required features: `\"Win32_Foundation\"`"]
15673 #[cfg(feature = "Win32_Foundation")]
15674 pub union DXGKVGPU_ESCAPE_PAUSE_0 {
15675 pub Anonymous: DXGKVGPU_ESCAPE_PAUSE_0_0,
15676 pub Flags: u32,
15677 }
15678 #[cfg(feature = "Win32_Foundation")]
15679 impl ::core::marker::Copy for DXGKVGPU_ESCAPE_PAUSE_0 {}
15680 #[cfg(feature = "Win32_Foundation")]
15681 impl ::core::clone::Clone for DXGKVGPU_ESCAPE_PAUSE_0 {
15682 fn clone(&self) -> Self {
15683 *self
15684 }
15685 }
15686 #[repr(C)]
15687 #[doc = "Required features: `\"Win32_Foundation\"`"]
15688 #[cfg(feature = "Win32_Foundation")]
15689 pub struct DXGKVGPU_ESCAPE_PAUSE_0_0 {
15690 pub _bitfield: u32,
15691 }
15692 #[cfg(feature = "Win32_Foundation")]
15693 impl ::core::marker::Copy for DXGKVGPU_ESCAPE_PAUSE_0_0 {}
15694 #[cfg(feature = "Win32_Foundation")]
15695 impl ::core::clone::Clone for DXGKVGPU_ESCAPE_PAUSE_0_0 {
15696 fn clone(&self) -> Self {
15697 *self
15698 }
15699 }
15700 #[repr(C)]
15701 #[doc = "Required features: `\"Win32_Foundation\"`"]
15702 #[cfg(feature = "Win32_Foundation")]
15703 pub struct DXGKVGPU_ESCAPE_POWERTRANSITIONCOMPLETE {
15704 pub Header: DXGKVGPU_ESCAPE_HEAD,
15705 pub PowerState: u32,
15706 }
15707 #[cfg(feature = "Win32_Foundation")]
15708 impl ::core::marker::Copy for DXGKVGPU_ESCAPE_POWERTRANSITIONCOMPLETE {}
15709 #[cfg(feature = "Win32_Foundation")]
15710 impl ::core::clone::Clone for DXGKVGPU_ESCAPE_POWERTRANSITIONCOMPLETE {
15711 fn clone(&self) -> Self {
15712 *self
15713 }
15714 }
15715 #[repr(C)]
15716 #[doc = "Required features: `\"Win32_Foundation\"`"]
15717 #[cfg(feature = "Win32_Foundation")]
15718 pub struct DXGKVGPU_ESCAPE_READ_PCI_CONFIG {
15719 pub Header: DXGKVGPU_ESCAPE_HEAD,
15720 pub Offset: u32,
15721 pub Size: u32,
15722 }
15723 #[cfg(feature = "Win32_Foundation")]
15724 impl ::core::marker::Copy for DXGKVGPU_ESCAPE_READ_PCI_CONFIG {}
15725 #[cfg(feature = "Win32_Foundation")]
15726 impl ::core::clone::Clone for DXGKVGPU_ESCAPE_READ_PCI_CONFIG {
15727 fn clone(&self) -> Self {
15728 *self
15729 }
15730 }
15731 #[repr(C)]
15732 #[doc = "Required features: `\"Win32_Foundation\"`"]
15733 #[cfg(feature = "Win32_Foundation")]
15734 pub struct DXGKVGPU_ESCAPE_READ_VGPU_TYPE {
15735 pub Header: DXGKVGPU_ESCAPE_HEAD,
15736 }
15737 #[cfg(feature = "Win32_Foundation")]
15738 impl ::core::marker::Copy for DXGKVGPU_ESCAPE_READ_VGPU_TYPE {}
15739 #[cfg(feature = "Win32_Foundation")]
15740 impl ::core::clone::Clone for DXGKVGPU_ESCAPE_READ_VGPU_TYPE {
15741 fn clone(&self) -> Self {
15742 *self
15743 }
15744 }
15745 #[repr(C)]
15746 #[doc = "Required features: `\"Win32_Foundation\"`"]
15747 #[cfg(feature = "Win32_Foundation")]
15748 pub struct DXGKVGPU_ESCAPE_RELEASE {
15749 pub Header: DXGKVGPU_ESCAPE_HEAD,
15750 }
15751 #[cfg(feature = "Win32_Foundation")]
15752 impl ::core::marker::Copy for DXGKVGPU_ESCAPE_RELEASE {}
15753 #[cfg(feature = "Win32_Foundation")]
15754 impl ::core::clone::Clone for DXGKVGPU_ESCAPE_RELEASE {
15755 fn clone(&self) -> Self {
15756 *self
15757 }
15758 }
15759 #[repr(C)]
15760 #[doc = "Required features: `\"Win32_Foundation\"`"]
15761 #[cfg(feature = "Win32_Foundation")]
15762 pub struct DXGKVGPU_ESCAPE_RESUME {
15763 pub Header: DXGKVGPU_ESCAPE_HEAD,
15764 pub DeviceLuid: super::super::super::Win32::Foundation::LUID,
15765 pub Flags: u32,
15766 }
15767 #[cfg(feature = "Win32_Foundation")]
15768 impl ::core::marker::Copy for DXGKVGPU_ESCAPE_RESUME {}
15769 #[cfg(feature = "Win32_Foundation")]
15770 impl ::core::clone::Clone for DXGKVGPU_ESCAPE_RESUME {
15771 fn clone(&self) -> Self {
15772 *self
15773 }
15774 }
15775 #[repr(C)]
15776 #[doc = "Required features: `\"Win32_Foundation\"`"]
15777 #[cfg(feature = "Win32_Foundation")]
15778 pub struct DXGKVGPU_ESCAPE_WRITE_PCI_CONFIG {
15779 pub Header: DXGKVGPU_ESCAPE_HEAD,
15780 pub Offset: u32,
15781 pub Size: u32,
15782 }
15783 #[cfg(feature = "Win32_Foundation")]
15784 impl ::core::marker::Copy for DXGKVGPU_ESCAPE_WRITE_PCI_CONFIG {}
15785 #[cfg(feature = "Win32_Foundation")]
15786 impl ::core::clone::Clone for DXGKVGPU_ESCAPE_WRITE_PCI_CONFIG {
15787 fn clone(&self) -> Self {
15788 *self
15789 }
15790 }
15791 #[repr(C, packed(1))]
15792 pub struct DXGK_ADAPTER_PERFDATA {
15793 pub MemoryFrequency: u64,
15794 pub MaxMemoryFrequency: u64,
15795 pub MaxMemoryFrequencyOC: u64,
15796 pub MemoryBandwidth: u64,
15797 pub PCIEBandwidth: u64,
15798 pub FanRPM: u32,
15799 pub Power: u32,
15800 pub Temperature: u32,
15801 pub PowerStateOverride: u8,
15802 }
15803 impl ::core::marker::Copy for DXGK_ADAPTER_PERFDATA {}
15804 impl ::core::clone::Clone for DXGK_ADAPTER_PERFDATA {
15805 fn clone(&self) -> Self {
15806 *self
15807 }
15808 }
15809 #[repr(C, packed(1))]
15810 pub struct DXGK_ADAPTER_PERFDATACAPS {
15811 pub MaxMemoryBandwidth: u64,
15812 pub MaxPCIEBandwidth: u64,
15813 pub MaxFanRPM: u32,
15814 pub TemperatureMax: u32,
15815 pub TemperatureWarning: u32,
15816 }
15817 impl ::core::marker::Copy for DXGK_ADAPTER_PERFDATACAPS {}
15818 impl ::core::clone::Clone for DXGK_ADAPTER_PERFDATACAPS {
15819 fn clone(&self) -> Self {
15820 *self
15821 }
15822 }
15823 #[repr(C, packed(1))]
15824 pub struct DXGK_BACKLIGHT_INFO {
15825 pub BacklightUsersetting: u16,
15826 pub BacklightEffective: u16,
15827 pub GammaRamp: D3DDDI_GAMMA_RAMP_RGB256x3x16,
15828 }
15829 impl ::core::marker::Copy for DXGK_BACKLIGHT_INFO {}
15830 impl ::core::clone::Clone for DXGK_BACKLIGHT_INFO {
15831 fn clone(&self) -> Self {
15832 *self
15833 }
15834 }
15835 #[repr(C)]
15836 pub struct DXGK_BRIGHTNESS_CAPS {
15837 pub Anonymous: DXGK_BRIGHTNESS_CAPS_0,
15838 }
15839 impl ::core::marker::Copy for DXGK_BRIGHTNESS_CAPS {}
15840 impl ::core::clone::Clone for DXGK_BRIGHTNESS_CAPS {
15841 fn clone(&self) -> Self {
15842 *self
15843 }
15844 }
15845 #[repr(C, packed(1))]
15846 pub union DXGK_BRIGHTNESS_CAPS_0 {
15847 pub Anonymous: DXGK_BRIGHTNESS_CAPS_0_0,
15848 pub Value: u32,
15849 }
15850 impl ::core::marker::Copy for DXGK_BRIGHTNESS_CAPS_0 {}
15851 impl ::core::clone::Clone for DXGK_BRIGHTNESS_CAPS_0 {
15852 fn clone(&self) -> Self {
15853 *self
15854 }
15855 }
15856 #[repr(C, packed(1))]
15857 pub struct DXGK_BRIGHTNESS_CAPS_0_0 {
15858 pub _bitfield: u32,
15859 }
15860 impl ::core::marker::Copy for DXGK_BRIGHTNESS_CAPS_0_0 {}
15861 impl ::core::clone::Clone for DXGK_BRIGHTNESS_CAPS_0_0 {
15862 fn clone(&self) -> Self {
15863 *self
15864 }
15865 }
15866 #[repr(C, packed(1))]
15867 pub struct DXGK_BRIGHTNESS_GET_NIT_RANGES_OUT {
15868 pub NormalRangeCount: u32,
15869 pub RangeCount: u32,
15870 pub PreferredMaximumBrightness: u32,
15871 pub SupportedRanges: [DXGK_BRIGHTNESS_NIT_RANGE; 16],
15872 }
15873 impl ::core::marker::Copy for DXGK_BRIGHTNESS_GET_NIT_RANGES_OUT {}
15874 impl ::core::clone::Clone for DXGK_BRIGHTNESS_GET_NIT_RANGES_OUT {
15875 fn clone(&self) -> Self {
15876 *self
15877 }
15878 }
15879 #[repr(C, packed(1))]
15880 pub struct DXGK_BRIGHTNESS_GET_OUT {
15881 pub CurrentBrightnessMillinits: u32,
15882 pub TargetBrightnessMillinits: u32,
15883 }
15884 impl ::core::marker::Copy for DXGK_BRIGHTNESS_GET_OUT {}
15885 impl ::core::clone::Clone for DXGK_BRIGHTNESS_GET_OUT {
15886 fn clone(&self) -> Self {
15887 *self
15888 }
15889 }
15890 #[repr(C, packed(1))]
15891 pub struct DXGK_BRIGHTNESS_NIT_RANGE {
15892 pub MinimumLevelMillinit: u32,
15893 pub MaximumLevelMillinit: u32,
15894 pub StepSizeMillinit: u32,
15895 }
15896 impl ::core::marker::Copy for DXGK_BRIGHTNESS_NIT_RANGE {}
15897 impl ::core::clone::Clone for DXGK_BRIGHTNESS_NIT_RANGE {
15898 fn clone(&self) -> Self {
15899 *self
15900 }
15901 }
15902 #[repr(C, packed(1))]
15903 pub struct DXGK_BRIGHTNESS_SENSOR_DATA {
15904 pub Size: u32,
15905 pub Anonymous: DXGK_BRIGHTNESS_SENSOR_DATA_0,
15906 pub AlsReading: f32,
15907 pub Chromaticity: DXGK_BRIGHTNESS_SENSOR_DATA_CHROMATICITY,
15908 pub ColorTemperature: f32,
15909 }
15910 impl ::core::marker::Copy for DXGK_BRIGHTNESS_SENSOR_DATA {}
15911 impl ::core::clone::Clone for DXGK_BRIGHTNESS_SENSOR_DATA {
15912 fn clone(&self) -> Self {
15913 *self
15914 }
15915 }
15916 #[repr(C, packed(1))]
15917 pub union DXGK_BRIGHTNESS_SENSOR_DATA_0 {
15918 pub Flags: DXGK_BRIGHTNESS_SENSOR_DATA_0_0,
15919 pub ValidSensorValues: u32,
15920 }
15921 impl ::core::marker::Copy for DXGK_BRIGHTNESS_SENSOR_DATA_0 {}
15922 impl ::core::clone::Clone for DXGK_BRIGHTNESS_SENSOR_DATA_0 {
15923 fn clone(&self) -> Self {
15924 *self
15925 }
15926 }
15927 #[repr(C, packed(1))]
15928 pub struct DXGK_BRIGHTNESS_SENSOR_DATA_0_0 {
15929 pub _bitfield: u32,
15930 }
15931 impl ::core::marker::Copy for DXGK_BRIGHTNESS_SENSOR_DATA_0_0 {}
15932 impl ::core::clone::Clone for DXGK_BRIGHTNESS_SENSOR_DATA_0_0 {
15933 fn clone(&self) -> Self {
15934 *self
15935 }
15936 }
15937 #[repr(C, packed(1))]
15938 pub struct DXGK_BRIGHTNESS_SENSOR_DATA_CHROMATICITY {
15939 pub ChromaticityX: f32,
15940 pub ChromaticityY: f32,
15941 }
15942 impl ::core::marker::Copy for DXGK_BRIGHTNESS_SENSOR_DATA_CHROMATICITY {}
15943 impl ::core::clone::Clone for DXGK_BRIGHTNESS_SENSOR_DATA_CHROMATICITY {
15944 fn clone(&self) -> Self {
15945 *self
15946 }
15947 }
15948 #[repr(C, packed(1))]
15949 pub struct DXGK_BRIGHTNESS_SET_IN {
15950 pub BrightnessMillinits: u32,
15951 pub TransitionTimeMs: u32,
15952 pub SensorReadings: DXGK_BRIGHTNESS_SENSOR_DATA,
15953 }
15954 impl ::core::marker::Copy for DXGK_BRIGHTNESS_SET_IN {}
15955 impl ::core::clone::Clone for DXGK_BRIGHTNESS_SET_IN {
15956 fn clone(&self) -> Self {
15957 *self
15958 }
15959 }
15960 #[repr(C)]
15961 pub struct DXGK_BRIGHTNESS_STATE {
15962 pub Anonymous: DXGK_BRIGHTNESS_STATE_0,
15963 }
15964 impl ::core::marker::Copy for DXGK_BRIGHTNESS_STATE {}
15965 impl ::core::clone::Clone for DXGK_BRIGHTNESS_STATE {
15966 fn clone(&self) -> Self {
15967 *self
15968 }
15969 }
15970 #[repr(C, packed(1))]
15971 pub union DXGK_BRIGHTNESS_STATE_0 {
15972 pub Anonymous: DXGK_BRIGHTNESS_STATE_0_0,
15973 pub Value: u32,
15974 }
15975 impl ::core::marker::Copy for DXGK_BRIGHTNESS_STATE_0 {}
15976 impl ::core::clone::Clone for DXGK_BRIGHTNESS_STATE_0 {
15977 fn clone(&self) -> Self {
15978 *self
15979 }
15980 }
15981 #[repr(C, packed(1))]
15982 pub struct DXGK_BRIGHTNESS_STATE_0_0 {
15983 pub _bitfield: u32,
15984 }
15985 impl ::core::marker::Copy for DXGK_BRIGHTNESS_STATE_0_0 {}
15986 impl ::core::clone::Clone for DXGK_BRIGHTNESS_STATE_0_0 {
15987 fn clone(&self) -> Self {
15988 *self
15989 }
15990 }
15991 #[repr(C)]
15992 pub struct DXGK_DISPLAY_INFORMATION {
15993 pub Width: u32,
15994 pub Height: u32,
15995 pub Pitch: u32,
15996 pub ColorFormat: D3DDDIFORMAT,
15997 pub PhysicAddress: i64,
15998 pub TargetId: u32,
15999 pub AcpiId: u32,
16000 }
16001 impl ::core::marker::Copy for DXGK_DISPLAY_INFORMATION {}
16002 impl ::core::clone::Clone for DXGK_DISPLAY_INFORMATION {
16003 fn clone(&self) -> Self {
16004 *self
16005 }
16006 }
16007 #[repr(C)]
16008 #[doc = "Required features: `\"Win32_Foundation\"`"]
16009 #[cfg(feature = "Win32_Foundation")]
16010 pub struct DXGK_ESCAPE_GPUMMUCAPS {
16011 pub ReadOnlyMemorySupported: super::super::super::Win32::Foundation::BOOLEAN,
16012 pub NoExecuteMemorySupported: super::super::super::Win32::Foundation::BOOLEAN,
16013 pub ZeroInPteSupported: super::super::super::Win32::Foundation::BOOLEAN,
16014 pub CacheCoherentMemorySupported: super::super::super::Win32::Foundation::BOOLEAN,
16015 pub LargePageSupported: super::super::super::Win32::Foundation::BOOLEAN,
16016 pub DualPteSupported: super::super::super::Win32::Foundation::BOOLEAN,
16017 pub AllowNonAlignedLargePageAddress: super::super::super::Win32::Foundation::BOOLEAN,
16018 pub VirtualAddressBitCount: u32,
16019 pub PageTableLevelCount: u32,
16020 pub PageTableLevelDesk: [D3DKMT_PAGE_TABLE_LEVEL_DESC; 6],
16021 }
16022 #[cfg(feature = "Win32_Foundation")]
16023 impl ::core::marker::Copy for DXGK_ESCAPE_GPUMMUCAPS {}
16024 #[cfg(feature = "Win32_Foundation")]
16025 impl ::core::clone::Clone for DXGK_ESCAPE_GPUMMUCAPS {
16026 fn clone(&self) -> Self {
16027 *self
16028 }
16029 }
16030 #[repr(C)]
16031 pub struct DXGK_FAULT_ERROR_CODE {
16032 pub Anonymous: DXGK_FAULT_ERROR_CODE_0,
16033 }
16034 impl ::core::marker::Copy for DXGK_FAULT_ERROR_CODE {}
16035 impl ::core::clone::Clone for DXGK_FAULT_ERROR_CODE {
16036 fn clone(&self) -> Self {
16037 *self
16038 }
16039 }
16040 #[repr(C)]
16041 pub union DXGK_FAULT_ERROR_CODE_0 {
16042 pub Anonymous1: DXGK_FAULT_ERROR_CODE_0_0,
16043 pub Anonymous2: DXGK_FAULT_ERROR_CODE_0_1,
16044 }
16045 impl ::core::marker::Copy for DXGK_FAULT_ERROR_CODE_0 {}
16046 impl ::core::clone::Clone for DXGK_FAULT_ERROR_CODE_0 {
16047 fn clone(&self) -> Self {
16048 *self
16049 }
16050 }
16051 #[repr(C, packed(1))]
16052 pub struct DXGK_FAULT_ERROR_CODE_0_0 {
16053 pub _bitfield: u32,
16054 }
16055 impl ::core::marker::Copy for DXGK_FAULT_ERROR_CODE_0_0 {}
16056 impl ::core::clone::Clone for DXGK_FAULT_ERROR_CODE_0_0 {
16057 fn clone(&self) -> Self {
16058 *self
16059 }
16060 }
16061 #[repr(C, packed(1))]
16062 pub struct DXGK_FAULT_ERROR_CODE_0_1 {
16063 pub _bitfield: u32,
16064 }
16065 impl ::core::marker::Copy for DXGK_FAULT_ERROR_CODE_0_1 {}
16066 impl ::core::clone::Clone for DXGK_FAULT_ERROR_CODE_0_1 {
16067 fn clone(&self) -> Self {
16068 *self
16069 }
16070 }
16071 #[repr(C, packed(1))]
16072 pub struct DXGK_GPUCLOCKDATA {
16073 pub GpuFrequency: u64,
16074 pub GpuClockCounter: u64,
16075 pub CpuClockCounter: u64,
16076 pub Flags: DXGK_GPUCLOCKDATA_FLAGS,
16077 }
16078 impl ::core::marker::Copy for DXGK_GPUCLOCKDATA {}
16079 impl ::core::clone::Clone for DXGK_GPUCLOCKDATA {
16080 fn clone(&self) -> Self {
16081 *self
16082 }
16083 }
16084 #[repr(C)]
16085 pub struct DXGK_GPUCLOCKDATA_FLAGS {
16086 pub Anonymous: DXGK_GPUCLOCKDATA_FLAGS_0,
16087 }
16088 impl ::core::marker::Copy for DXGK_GPUCLOCKDATA_FLAGS {}
16089 impl ::core::clone::Clone for DXGK_GPUCLOCKDATA_FLAGS {
16090 fn clone(&self) -> Self {
16091 *self
16092 }
16093 }
16094 #[repr(C, packed(1))]
16095 pub union DXGK_GPUCLOCKDATA_FLAGS_0 {
16096 pub Anonymous: DXGK_GPUCLOCKDATA_FLAGS_0_0,
16097 pub Value: u32,
16098 }
16099 impl ::core::marker::Copy for DXGK_GPUCLOCKDATA_FLAGS_0 {}
16100 impl ::core::clone::Clone for DXGK_GPUCLOCKDATA_FLAGS_0 {
16101 fn clone(&self) -> Self {
16102 *self
16103 }
16104 }
16105 #[repr(C, packed(1))]
16106 pub struct DXGK_GPUCLOCKDATA_FLAGS_0_0 {
16107 pub _bitfield: u32,
16108 }
16109 impl ::core::marker::Copy for DXGK_GPUCLOCKDATA_FLAGS_0_0 {}
16110 impl ::core::clone::Clone for DXGK_GPUCLOCKDATA_FLAGS_0_0 {
16111 fn clone(&self) -> Self {
16112 *self
16113 }
16114 }
16115 #[repr(C, packed(1))]
16116 pub struct DXGK_GPUVERSION {
16117 pub BiosVersion: [u16; 32],
16118 pub GpuArchitecture: [u16; 32],
16119 }
16120 impl ::core::marker::Copy for DXGK_GPUVERSION {}
16121 impl ::core::clone::Clone for DXGK_GPUVERSION {
16122 fn clone(&self) -> Self {
16123 *self
16124 }
16125 }
16126 #[repr(C)]
16127 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Power\"`"]
16128 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))]
16129 pub struct DXGK_GRAPHICSPOWER_REGISTER_INPUT_V_1_2 {
16130 pub Version: u32,
16131 pub PrivateHandle: *mut ::core::ffi::c_void,
16132 pub PowerNotificationCb: PDXGK_POWER_NOTIFICATION,
16133 pub RemovalNotificationCb: PDXGK_REMOVAL_NOTIFICATION,
16134 pub FStateNotificationCb: PDXGK_FSTATE_NOTIFICATION,
16135 pub InitialComponentStateCb: PDXGK_INITIAL_COMPONENT_STATE,
16136 }
16137 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))]
16138 impl ::core::marker::Copy for DXGK_GRAPHICSPOWER_REGISTER_INPUT_V_1_2 {}
16139 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))]
16140 impl ::core::clone::Clone for DXGK_GRAPHICSPOWER_REGISTER_INPUT_V_1_2 {
16141 fn clone(&self) -> Self {
16142 *self
16143 }
16144 }
16145 #[repr(C)]
16146 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Power\"`"]
16147 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))]
16148 pub struct DXGK_GRAPHICSPOWER_REGISTER_OUTPUT {
16149 pub DeviceHandle: *mut ::core::ffi::c_void,
16150 pub InitialGrfxPowerState: super::super::super::Win32::System::Power::DEVICE_POWER_STATE,
16151 pub SetSharedPowerComponentStateCb: PDXGK_SET_SHARED_POWER_COMPONENT_STATE,
16152 pub UnregisterCb: PDXGK_GRAPHICSPOWER_UNREGISTER,
16153 }
16154 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))]
16155 impl ::core::marker::Copy for DXGK_GRAPHICSPOWER_REGISTER_OUTPUT {}
16156 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))]
16157 impl ::core::clone::Clone for DXGK_GRAPHICSPOWER_REGISTER_OUTPUT {
16158 fn clone(&self) -> Self {
16159 *self
16160 }
16161 }
16162 #[repr(C)]
16163 pub union DXGK_MIRACAST_CHUNK_ID {
16164 pub Anonymous: DXGK_MIRACAST_CHUNK_ID_0,
16165 pub Value: u64,
16166 }
16167 impl ::core::marker::Copy for DXGK_MIRACAST_CHUNK_ID {}
16168 impl ::core::clone::Clone for DXGK_MIRACAST_CHUNK_ID {
16169 fn clone(&self) -> Self {
16170 *self
16171 }
16172 }
16173 #[repr(C)]
16174 pub struct DXGK_MIRACAST_CHUNK_ID_0 {
16175 pub _bitfield: u64,
16176 }
16177 impl ::core::marker::Copy for DXGK_MIRACAST_CHUNK_ID_0 {}
16178 impl ::core::clone::Clone for DXGK_MIRACAST_CHUNK_ID_0 {
16179 fn clone(&self) -> Self {
16180 *self
16181 }
16182 }
16183 #[repr(C)]
16184 pub struct DXGK_MIRACAST_CHUNK_INFO {
16185 pub ChunkType: DXGK_MIRACAST_CHUNK_TYPE,
16186 pub ChunkId: DXGK_MIRACAST_CHUNK_ID,
16187 pub ProcessingTime: u32,
16188 pub EncodeRate: u32,
16189 }
16190 impl ::core::marker::Copy for DXGK_MIRACAST_CHUNK_INFO {}
16191 impl ::core::clone::Clone for DXGK_MIRACAST_CHUNK_INFO {
16192 fn clone(&self) -> Self {
16193 *self
16194 }
16195 }
16196 #[repr(C, packed(1))]
16197 pub union DXGK_MONITORLINKINFO_CAPABILITIES {
16198 pub Anonymous: DXGK_MONITORLINKINFO_CAPABILITIES_0,
16199 pub Value: u32,
16200 }
16201 impl ::core::marker::Copy for DXGK_MONITORLINKINFO_CAPABILITIES {}
16202 impl ::core::clone::Clone for DXGK_MONITORLINKINFO_CAPABILITIES {
16203 fn clone(&self) -> Self {
16204 *self
16205 }
16206 }
16207 #[repr(C, packed(1))]
16208 pub struct DXGK_MONITORLINKINFO_CAPABILITIES_0 {
16209 pub _bitfield: u32,
16210 }
16211 impl ::core::marker::Copy for DXGK_MONITORLINKINFO_CAPABILITIES_0 {}
16212 impl ::core::clone::Clone for DXGK_MONITORLINKINFO_CAPABILITIES_0 {
16213 fn clone(&self) -> Self {
16214 *self
16215 }
16216 }
16217 #[repr(C, packed(1))]
16218 pub union DXGK_MONITORLINKINFO_USAGEHINTS {
16219 pub Anonymous: DXGK_MONITORLINKINFO_USAGEHINTS_0,
16220 pub Value: u32,
16221 }
16222 impl ::core::marker::Copy for DXGK_MONITORLINKINFO_USAGEHINTS {}
16223 impl ::core::clone::Clone for DXGK_MONITORLINKINFO_USAGEHINTS {
16224 fn clone(&self) -> Self {
16225 *self
16226 }
16227 }
16228 #[repr(C, packed(1))]
16229 pub struct DXGK_MONITORLINKINFO_USAGEHINTS_0 {
16230 pub _bitfield: u32,
16231 }
16232 impl ::core::marker::Copy for DXGK_MONITORLINKINFO_USAGEHINTS_0 {}
16233 impl ::core::clone::Clone for DXGK_MONITORLINKINFO_USAGEHINTS_0 {
16234 fn clone(&self) -> Self {
16235 *self
16236 }
16237 }
16238 #[repr(C, packed(1))]
16239 #[doc = "Required features: `\"Win32_Foundation\"`"]
16240 #[cfg(feature = "Win32_Foundation")]
16241 pub struct DXGK_NODEMETADATA {
16242 pub EngineType: DXGK_ENGINE_TYPE,
16243 pub FriendlyName: [u16; 32],
16244 pub Flags: DXGK_NODEMETADATA_FLAGS,
16245 pub GpuMmuSupported: super::super::super::Win32::Foundation::BOOLEAN,
16246 pub IoMmuSupported: super::super::super::Win32::Foundation::BOOLEAN,
16247 }
16248 #[cfg(feature = "Win32_Foundation")]
16249 impl ::core::marker::Copy for DXGK_NODEMETADATA {}
16250 #[cfg(feature = "Win32_Foundation")]
16251 impl ::core::clone::Clone for DXGK_NODEMETADATA {
16252 fn clone(&self) -> Self {
16253 *self
16254 }
16255 }
16256 #[repr(C)]
16257 pub struct DXGK_NODEMETADATA_FLAGS {
16258 pub Anonymous: DXGK_NODEMETADATA_FLAGS_0,
16259 }
16260 impl ::core::marker::Copy for DXGK_NODEMETADATA_FLAGS {}
16261 impl ::core::clone::Clone for DXGK_NODEMETADATA_FLAGS {
16262 fn clone(&self) -> Self {
16263 *self
16264 }
16265 }
16266 #[repr(C, packed(1))]
16267 pub union DXGK_NODEMETADATA_FLAGS_0 {
16268 pub Anonymous: DXGK_NODEMETADATA_FLAGS_0_0,
16269 pub Value: u32,
16270 }
16271 impl ::core::marker::Copy for DXGK_NODEMETADATA_FLAGS_0 {}
16272 impl ::core::clone::Clone for DXGK_NODEMETADATA_FLAGS_0 {
16273 fn clone(&self) -> Self {
16274 *self
16275 }
16276 }
16277 #[repr(C, packed(1))]
16278 pub struct DXGK_NODEMETADATA_FLAGS_0_0 {
16279 pub _bitfield: u32,
16280 }
16281 impl ::core::marker::Copy for DXGK_NODEMETADATA_FLAGS_0_0 {}
16282 impl ::core::clone::Clone for DXGK_NODEMETADATA_FLAGS_0_0 {
16283 fn clone(&self) -> Self {
16284 *self
16285 }
16286 }
16287 #[repr(C, packed(1))]
16288 pub struct DXGK_NODE_PERFDATA {
16289 pub Frequency: u64,
16290 pub MaxFrequency: u64,
16291 pub MaxFrequencyOC: u64,
16292 pub Voltage: u32,
16293 pub VoltageMax: u32,
16294 pub VoltageMaxOC: u32,
16295 pub MaxTransitionLatency: u64,
16296 }
16297 impl ::core::marker::Copy for DXGK_NODE_PERFDATA {}
16298 impl ::core::clone::Clone for DXGK_NODE_PERFDATA {
16299 fn clone(&self) -> Self {
16300 *self
16301 }
16302 }
16303 #[repr(C)]
16304 pub struct DXGK_PTE {
16305 pub Anonymous1: DXGK_PTE_0,
16306 pub Anonymous2: DXGK_PTE_1,
16307 }
16308 impl ::core::marker::Copy for DXGK_PTE {}
16309 impl ::core::clone::Clone for DXGK_PTE {
16310 fn clone(&self) -> Self {
16311 *self
16312 }
16313 }
16314 #[repr(C)]
16315 pub union DXGK_PTE_0 {
16316 pub Anonymous: DXGK_PTE_0_0,
16317 pub Flags: u64,
16318 }
16319 impl ::core::marker::Copy for DXGK_PTE_0 {}
16320 impl ::core::clone::Clone for DXGK_PTE_0 {
16321 fn clone(&self) -> Self {
16322 *self
16323 }
16324 }
16325 #[repr(C)]
16326 pub struct DXGK_PTE_0_0 {
16327 pub _bitfield: u64,
16328 }
16329 impl ::core::marker::Copy for DXGK_PTE_0_0 {}
16330 impl ::core::clone::Clone for DXGK_PTE_0_0 {
16331 fn clone(&self) -> Self {
16332 *self
16333 }
16334 }
16335 #[repr(C)]
16336 pub union DXGK_PTE_1 {
16337 pub PageAddress: u64,
16338 pub PageTableAddress: u64,
16339 }
16340 impl ::core::marker::Copy for DXGK_PTE_1 {}
16341 impl ::core::clone::Clone for DXGK_PTE_1 {
16342 fn clone(&self) -> Self {
16343 *self
16344 }
16345 }
16346 #[repr(C)]
16347 pub struct DXGK_TARGETMODE_DETAIL_TIMING {
16348 pub VideoStandard: D3DKMDT_VIDEO_SIGNAL_STANDARD,
16349 pub TimingId: u32,
16350 pub DetailTiming: DISPLAYID_DETAILED_TIMING_TYPE_I,
16351 }
16352 impl ::core::marker::Copy for DXGK_TARGETMODE_DETAIL_TIMING {}
16353 impl ::core::clone::Clone for DXGK_TARGETMODE_DETAIL_TIMING {
16354 fn clone(&self) -> Self {
16355 *self
16356 }
16357 }
16358 #[repr(C)]
16359 #[doc = "Required features: `\"Win32_Foundation\"`"]
16360 #[cfg(feature = "Win32_Foundation")]
16361 pub struct GPUP_DRIVER_ESCAPE_INPUT {
16362 pub vfLUID: super::super::super::Win32::Foundation::LUID,
16363 }
16364 #[cfg(feature = "Win32_Foundation")]
16365 impl ::core::marker::Copy for GPUP_DRIVER_ESCAPE_INPUT {}
16366 #[cfg(feature = "Win32_Foundation")]
16367 impl ::core::clone::Clone for GPUP_DRIVER_ESCAPE_INPUT {
16368 fn clone(&self) -> Self {
16369 *self
16370 }
16371 }
16372 #[repr(C)]
16373 #[doc = "Required features: `\"Win32_Foundation\"`"]
16374 #[cfg(feature = "Win32_Foundation")]
16375 pub struct OUTPUTDUPL_CONTEXT_DEBUG_INFO {
16376 pub Status: OUTPUTDUPL_CONTEXT_DEBUG_STATUS,
16377 pub ProcessID: super::super::super::Win32::Foundation::HANDLE,
16378 pub AccumulatedPresents: u32,
16379 pub LastPresentTime: i64,
16380 pub LastMouseTime: i64,
16381 pub ProcessName: [u8; 16],
16382 }
16383 #[cfg(feature = "Win32_Foundation")]
16384 impl ::core::marker::Copy for OUTPUTDUPL_CONTEXT_DEBUG_INFO {}
16385 #[cfg(feature = "Win32_Foundation")]
16386 impl ::core::clone::Clone for OUTPUTDUPL_CONTEXT_DEBUG_INFO {
16387 fn clone(&self) -> Self {
16388 *self
16389 }
16390 }
16391 #[repr(C)]
16392 pub struct _NT_D3DLINEPATTERN {
16393 pub wRepeatFactor: u16,
16394 pub wLinePattern: u16,
16395 }
16396 impl ::core::marker::Copy for _NT_D3DLINEPATTERN {}
16397 impl ::core::clone::Clone for _NT_D3DLINEPATTERN {
16398 fn clone(&self) -> Self {
16399 *self
16400 }
16401 }
16402 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
16403 #[cfg(feature = "Win32_Graphics_Direct3D9")]
16404 pub type LPD3DHAL_CLEAR2CB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_CLEAR2DATA) -> u32>;
16405 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
16406 #[cfg(feature = "Win32_Graphics_Direct3D9")]
16407 pub type LPD3DHAL_CLEARCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_CLEARDATA) -> u32>;
16408 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
16409 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
16410 pub type LPD3DHAL_CONTEXTCREATECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_CONTEXTCREATEDATA) -> u32>;
16411 pub type LPD3DHAL_CONTEXTDESTROYALLCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_CONTEXTDESTROYALLDATA) -> u32>;
16412 pub type LPD3DHAL_CONTEXTDESTROYCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_CONTEXTDESTROYDATA) -> u32>;
16413 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
16414 #[cfg(feature = "Win32_Graphics_Direct3D9")]
16415 pub type LPD3DHAL_DRAWONEINDEXEDPRIMITIVECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_DRAWONEINDEXEDPRIMITIVEDATA) -> u32>;
16416 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
16417 #[cfg(feature = "Win32_Graphics_Direct3D9")]
16418 pub type LPD3DHAL_DRAWONEPRIMITIVECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_DRAWONEPRIMITIVEDATA) -> u32>;
16419 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
16420 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
16421 pub type LPD3DHAL_DRAWPRIMITIVES2CB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_DRAWPRIMITIVES2DATA) -> u32>;
16422 pub type LPD3DHAL_DRAWPRIMITIVESCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_DRAWPRIMITIVESDATA) -> u32>;
16423 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
16424 #[cfg(feature = "Win32_Graphics_Direct3D9")]
16425 pub type LPD3DHAL_GETSTATECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_GETSTATEDATA) -> u32>;
16426 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_DirectDraw\"`"]
16427 #[cfg(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
16428 pub type LPD3DHAL_RENDERPRIMITIVECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_RENDERPRIMITIVEDATA) -> u32>;
16429 #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"]
16430 #[cfg(feature = "Win32_Graphics_DirectDraw")]
16431 pub type LPD3DHAL_RENDERSTATECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_RENDERSTATEDATA) -> u32>;
16432 pub type LPD3DHAL_SCENECAPTURECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_SCENECAPTUREDATA) -> u32>;
16433 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
16434 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
16435 pub type LPD3DHAL_SETRENDERTARGETCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_SETRENDERTARGETDATA) -> u32>;
16436 #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"]
16437 #[cfg(feature = "Win32_Graphics_DirectDraw")]
16438 pub type LPD3DHAL_TEXTURECREATECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_TEXTURECREATEDATA) -> u32>;
16439 pub type LPD3DHAL_TEXTUREDESTROYCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_TEXTUREDESTROYDATA) -> u32>;
16440 pub type LPD3DHAL_TEXTUREGETSURFCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_TEXTUREGETSURFDATA) -> u32>;
16441 pub type LPD3DHAL_TEXTURESWAPCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_TEXTURESWAPDATA) -> u32>;
16442 pub type LPD3DHAL_VALIDATETEXTURESTAGESTATECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_VALIDATETEXTURESTAGESTATEDATA) -> u32>;
16443 #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
16444 #[cfg(feature = "Win32_Graphics_Direct3D9")]
16445 pub type LPD3DNTHAL_CLEAR2CB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DNTHAL_CLEAR2DATA) -> u32>;
16446 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
16447 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
16448 pub type LPD3DNTHAL_CONTEXTCREATECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DNTHAL_CONTEXTCREATEDATA) -> u32>;
16449 pub type LPD3DNTHAL_CONTEXTDESTROYALLCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DNTHAL_CONTEXTDESTROYALLDATA) -> u32>;
16450 pub type LPD3DNTHAL_CONTEXTDESTROYCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DNTHAL_CONTEXTDESTROYDATA) -> u32>;
16451 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
16452 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
16453 pub type LPD3DNTHAL_DRAWPRIMITIVES2CB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DNTHAL_DRAWPRIMITIVES2DATA) -> u32>;
16454 pub type LPD3DNTHAL_SCENECAPTURECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DNTHAL_SCENECAPTUREDATA) -> u32>;
16455 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
16456 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
16457 pub type LPD3DNTHAL_SETRENDERTARGETCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DNTHAL_SETRENDERTARGETDATA) -> u32>;
16458 #[doc = "Required features: `\"Win32_Foundation\"`"]
16459 #[cfg(feature = "Win32_Foundation")]
16460 pub type LPD3DNTHAL_TEXTURECREATECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DNTHAL_TEXTURECREATEDATA) -> u32>;
16461 pub type LPD3DNTHAL_TEXTUREDESTROYCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DNTHAL_TEXTUREDESTROYDATA) -> u32>;
16462 #[doc = "Required features: `\"Win32_Foundation\"`"]
16463 #[cfg(feature = "Win32_Foundation")]
16464 pub type LPD3DNTHAL_TEXTUREGETSURFCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DNTHAL_TEXTUREGETSURFDATA) -> u32>;
16465 pub type LPD3DNTHAL_TEXTURESWAPCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DNTHAL_TEXTURESWAPDATA) -> u32>;
16466 pub type LPD3DNTHAL_VALIDATETEXTURESTAGESTATECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA) -> u32>;
16467 #[doc = "Required features: `\"Win32_Foundation\"`"]
16468 #[cfg(feature = "Win32_Foundation")]
16469 pub type PDXGK_FSTATE_NOTIFICATION = ::core::option::Option<unsafe extern "system" fn(graphicsdevicehandle: *mut ::core::ffi::c_void, componentindex: u32, newfstate: u32, prenotification: super::super::super::Win32::Foundation::BOOLEAN, privatehandle: *mut ::core::ffi::c_void) -> ()>;
16470 #[doc = "Required features: `\"Win32_Foundation\"`"]
16471 #[cfg(feature = "Win32_Foundation")]
16472 pub type PDXGK_GRAPHICSPOWER_UNREGISTER = ::core::option::Option<unsafe extern "system" fn(devicehandle: *mut ::core::ffi::c_void, privatehandle: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
16473 #[doc = "Required features: `\"Win32_Foundation\"`"]
16474 #[cfg(feature = "Win32_Foundation")]
16475 pub type PDXGK_INITIAL_COMPONENT_STATE = ::core::option::Option<unsafe extern "system" fn(graphicsdevicehandle: *mut ::core::ffi::c_void, privatehandle: *mut ::core::ffi::c_void, componentindex: u32, isblockingtype: super::super::super::Win32::Foundation::BOOLEAN, initialfstate: u32, componentguid: ::windows_sys::core::GUID, powercomponentmappingflag: u32) -> ()>;
16476 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Power\"`"]
16477 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))]
16478 pub type PDXGK_POWER_NOTIFICATION = ::core::option::Option<unsafe extern "system" fn(graphicsdevicehandle: *mut ::core::ffi::c_void, newgrfxpowerstate: super::super::super::Win32::System::Power::DEVICE_POWER_STATE, prenotification: super::super::super::Win32::Foundation::BOOLEAN, privatehandle: *mut ::core::ffi::c_void) -> ()>;
16479 pub type PDXGK_REMOVAL_NOTIFICATION = ::core::option::Option<unsafe extern "system" fn(graphicsdevicehandle: *mut ::core::ffi::c_void, privatehandle: *mut ::core::ffi::c_void) -> ()>;
16480 #[doc = "Required features: `\"Win32_Foundation\"`"]
16481 #[cfg(feature = "Win32_Foundation")]
16482 pub type PDXGK_SET_SHARED_POWER_COMPONENT_STATE = ::core::option::Option<unsafe extern "system" fn(devicehandle: *mut ::core::ffi::c_void, privatehandle: *mut ::core::ffi::c_void, componentindex: u32, active: super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS>;
16483 #[doc = "Required features: `\"Win32_Foundation\"`"]
16484 #[cfg(feature = "Win32_Foundation")]
16485 pub type PFND3DKMT_ACQUIREKEYEDMUTEX = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_ACQUIREKEYEDMUTEX) -> super::super::super::Win32::Foundation::NTSTATUS>;
16486 #[doc = "Required features: `\"Win32_Foundation\"`"]
16487 #[cfg(feature = "Win32_Foundation")]
16488 pub type PFND3DKMT_ACQUIREKEYEDMUTEX2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_ACQUIREKEYEDMUTEX2) -> super::super::super::Win32::Foundation::NTSTATUS>;
16489 #[doc = "Required features: `\"Win32_Foundation\"`"]
16490 #[cfg(feature = "Win32_Foundation")]
16491 pub type PFND3DKMT_ADJUSTFULLSCREENGAMMA = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_ADJUSTFULLSCREENGAMMA) -> super::super::super::Win32::Foundation::NTSTATUS>;
16492 pub type PFND3DKMT_BUDGETCHANGENOTIFICATIONCALLBACK = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_BUDGETCHANGENOTIFICATION) -> ()>;
16493 #[doc = "Required features: `\"Win32_Foundation\"`"]
16494 #[cfg(feature = "Win32_Foundation")]
16495 pub type PFND3DKMT_CANCELPRESENTS = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_CANCEL_PRESENTS) -> super::super::super::Win32::Foundation::NTSTATUS>;
16496 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
16497 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
16498 pub type PFND3DKMT_CHANGESURFACEPOINTER = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_CHANGESURFACEPOINTER) -> super::super::super::Win32::Foundation::NTSTATUS>;
16499 #[doc = "Required features: `\"Win32_Foundation\"`"]
16500 #[cfg(feature = "Win32_Foundation")]
16501 pub type PFND3DKMT_CHANGEVIDEOMEMORYRESERVATION = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_CHANGEVIDEOMEMORYRESERVATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
16502 #[doc = "Required features: `\"Win32_Foundation\"`"]
16503 #[cfg(feature = "Win32_Foundation")]
16504 pub type PFND3DKMT_CHECKEXCLUSIVEOWNERSHIP = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::BOOLEAN>;
16505 #[doc = "Required features: `\"Win32_Foundation\"`"]
16506 #[cfg(feature = "Win32_Foundation")]
16507 pub type PFND3DKMT_CHECKMONITORPOWERSTATE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_CHECKMONITORPOWERSTATE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16508 #[doc = "Required features: `\"Win32_Foundation\"`"]
16509 #[cfg(feature = "Win32_Foundation")]
16510 pub type PFND3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT) -> super::super::super::Win32::Foundation::NTSTATUS>;
16511 #[doc = "Required features: `\"Win32_Foundation\"`"]
16512 #[cfg(feature = "Win32_Foundation")]
16513 pub type PFND3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT2) -> super::super::super::Win32::Foundation::NTSTATUS>;
16514 #[doc = "Required features: `\"Win32_Foundation\"`"]
16515 #[cfg(feature = "Win32_Foundation")]
16516 pub type PFND3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT3 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT3) -> super::super::super::Win32::Foundation::NTSTATUS>;
16517 #[doc = "Required features: `\"Win32_Foundation\"`"]
16518 #[cfg(feature = "Win32_Foundation")]
16519 pub type PFND3DKMT_CHECKOCCLUSION = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_CHECKOCCLUSION) -> super::super::super::Win32::Foundation::NTSTATUS>;
16520 #[doc = "Required features: `\"Win32_Foundation\"`"]
16521 #[cfg(feature = "Win32_Foundation")]
16522 pub type PFND3DKMT_CHECKSHAREDRESOURCEACCESS = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_CHECKSHAREDRESOURCEACCESS) -> super::super::super::Win32::Foundation::NTSTATUS>;
16523 #[doc = "Required features: `\"Win32_Foundation\"`"]
16524 #[cfg(feature = "Win32_Foundation")]
16525 pub type PFND3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP) -> super::super::super::Win32::Foundation::NTSTATUS>;
16526 #[doc = "Required features: `\"Win32_Foundation\"`"]
16527 #[cfg(feature = "Win32_Foundation")]
16528 pub type PFND3DKMT_CLOSEADAPTER = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_CLOSEADAPTER) -> super::super::super::Win32::Foundation::NTSTATUS>;
16529 #[doc = "Required features: `\"Win32_Foundation\"`"]
16530 #[cfg(feature = "Win32_Foundation")]
16531 pub type PFND3DKMT_CONFIGURESHAREDRESOURCE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_CONFIGURESHAREDRESOURCE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16532 #[doc = "Required features: `\"Win32_Foundation\"`"]
16533 #[cfg(feature = "Win32_Foundation")]
16534 pub type PFND3DKMT_CONNECTDOORBELL = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_CONNECT_DOORBELL) -> super::super::super::Win32::Foundation::NTSTATUS>;
16535 #[doc = "Required features: `\"Win32_Foundation\"`"]
16536 #[cfg(feature = "Win32_Foundation")]
16537 pub type PFND3DKMT_CREATEALLOCATION = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATEALLOCATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
16538 #[doc = "Required features: `\"Win32_Foundation\"`"]
16539 #[cfg(feature = "Win32_Foundation")]
16540 pub type PFND3DKMT_CREATEALLOCATION2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATEALLOCATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
16541 #[doc = "Required features: `\"Win32_Foundation\"`"]
16542 #[cfg(feature = "Win32_Foundation")]
16543 pub type PFND3DKMT_CREATECONTEXT = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATECONTEXT) -> super::super::super::Win32::Foundation::NTSTATUS>;
16544 #[doc = "Required features: `\"Win32_Foundation\"`"]
16545 #[cfg(feature = "Win32_Foundation")]
16546 pub type PFND3DKMT_CREATECONTEXTVIRTUAL = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATECONTEXTVIRTUAL) -> super::super::super::Win32::Foundation::NTSTATUS>;
16547 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
16548 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
16549 pub type PFND3DKMT_CREATEDCFROMMEMORY = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATEDCFROMMEMORY) -> super::super::super::Win32::Foundation::NTSTATUS>;
16550 #[doc = "Required features: `\"Win32_Foundation\"`"]
16551 #[cfg(feature = "Win32_Foundation")]
16552 pub type PFND3DKMT_CREATEDEVICE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATEDEVICE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16553 #[doc = "Required features: `\"Win32_Foundation\"`"]
16554 #[cfg(feature = "Win32_Foundation")]
16555 pub type PFND3DKMT_CREATEDOORBELL = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_CREATE_DOORBELL) -> super::super::super::Win32::Foundation::NTSTATUS>;
16556 #[doc = "Required features: `\"Win32_Foundation\"`"]
16557 #[cfg(feature = "Win32_Foundation")]
16558 pub type PFND3DKMT_CREATEHWQUEUE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATEHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16559 #[doc = "Required features: `\"Win32_Foundation\"`"]
16560 #[cfg(feature = "Win32_Foundation")]
16561 pub type PFND3DKMT_CREATEKEYEDMUTEX = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATEKEYEDMUTEX) -> super::super::super::Win32::Foundation::NTSTATUS>;
16562 #[doc = "Required features: `\"Win32_Foundation\"`"]
16563 #[cfg(feature = "Win32_Foundation")]
16564 pub type PFND3DKMT_CREATEKEYEDMUTEX2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATEKEYEDMUTEX2) -> super::super::super::Win32::Foundation::NTSTATUS>;
16565 #[doc = "Required features: `\"Win32_Foundation\"`"]
16566 #[cfg(feature = "Win32_Foundation")]
16567 pub type PFND3DKMT_CREATENATIVEFENCE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATENATIVEFENCE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16568 #[doc = "Required features: `\"Win32_Foundation\"`"]
16569 #[cfg(feature = "Win32_Foundation")]
16570 pub type PFND3DKMT_CREATEOUTPUTDUPL = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_CREATE_OUTPUTDUPL) -> super::super::super::Win32::Foundation::NTSTATUS>;
16571 #[doc = "Required features: `\"Win32_Foundation\"`"]
16572 #[cfg(feature = "Win32_Foundation")]
16573 pub type PFND3DKMT_CREATEOVERLAY = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATEOVERLAY) -> super::super::super::Win32::Foundation::NTSTATUS>;
16574 #[doc = "Required features: `\"Win32_Foundation\"`"]
16575 #[cfg(feature = "Win32_Foundation")]
16576 pub type PFND3DKMT_CREATEPAGINGQUEUE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATEPAGINGQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16577 #[doc = "Required features: `\"Win32_Foundation\"`"]
16578 #[cfg(feature = "Win32_Foundation")]
16579 pub type PFND3DKMT_CREATEPROTECTEDSESSION = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATEPROTECTEDSESSION) -> super::super::super::Win32::Foundation::NTSTATUS>;
16580 #[doc = "Required features: `\"Win32_Foundation\"`"]
16581 #[cfg(feature = "Win32_Foundation")]
16582 pub type PFND3DKMT_CREATESYNCHRONIZATIONOBJECT = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATESYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation::NTSTATUS>;
16583 #[doc = "Required features: `\"Win32_Foundation\"`"]
16584 #[cfg(feature = "Win32_Foundation")]
16585 pub type PFND3DKMT_CREATESYNCHRONIZATIONOBJECT2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATESYNCHRONIZATIONOBJECT2) -> super::super::super::Win32::Foundation::NTSTATUS>;
16586 #[doc = "Required features: `\"Win32_Foundation\"`"]
16587 #[cfg(feature = "Win32_Foundation")]
16588 pub type PFND3DKMT_DESTROYALLOCATION = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_DESTROYALLOCATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
16589 #[doc = "Required features: `\"Win32_Foundation\"`"]
16590 #[cfg(feature = "Win32_Foundation")]
16591 pub type PFND3DKMT_DESTROYALLOCATION2 = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_DESTROYALLOCATION2) -> super::super::super::Win32::Foundation::NTSTATUS>;
16592 #[doc = "Required features: `\"Win32_Foundation\"`"]
16593 #[cfg(feature = "Win32_Foundation")]
16594 pub type PFND3DKMT_DESTROYCONTEXT = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_DESTROYCONTEXT) -> super::super::super::Win32::Foundation::NTSTATUS>;
16595 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
16596 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
16597 pub type PFND3DKMT_DESTROYDCFROMMEMORY = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_DESTROYDCFROMMEMORY) -> super::super::super::Win32::Foundation::NTSTATUS>;
16598 #[doc = "Required features: `\"Win32_Foundation\"`"]
16599 #[cfg(feature = "Win32_Foundation")]
16600 pub type PFND3DKMT_DESTROYDEVICE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_DESTROYDEVICE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16601 #[doc = "Required features: `\"Win32_Foundation\"`"]
16602 #[cfg(feature = "Win32_Foundation")]
16603 pub type PFND3DKMT_DESTROYDOORBELL = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_DESTROY_DOORBELL) -> super::super::super::Win32::Foundation::NTSTATUS>;
16604 #[doc = "Required features: `\"Win32_Foundation\"`"]
16605 #[cfg(feature = "Win32_Foundation")]
16606 pub type PFND3DKMT_DESTROYHWQUEUE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_DESTROYHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16607 #[doc = "Required features: `\"Win32_Foundation\"`"]
16608 #[cfg(feature = "Win32_Foundation")]
16609 pub type PFND3DKMT_DESTROYKEYEDMUTEX = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_DESTROYKEYEDMUTEX) -> super::super::super::Win32::Foundation::NTSTATUS>;
16610 #[doc = "Required features: `\"Win32_Foundation\"`"]
16611 #[cfg(feature = "Win32_Foundation")]
16612 pub type PFND3DKMT_DESTROYOUTPUTDUPL = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_DESTROY_OUTPUTDUPL) -> super::super::super::Win32::Foundation::NTSTATUS>;
16613 #[doc = "Required features: `\"Win32_Foundation\"`"]
16614 #[cfg(feature = "Win32_Foundation")]
16615 pub type PFND3DKMT_DESTROYOVERLAY = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_DESTROYOVERLAY) -> super::super::super::Win32::Foundation::NTSTATUS>;
16616 #[doc = "Required features: `\"Win32_Foundation\"`"]
16617 #[cfg(feature = "Win32_Foundation")]
16618 pub type PFND3DKMT_DESTROYPAGINGQUEUE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DDDI_DESTROYPAGINGQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16619 #[doc = "Required features: `\"Win32_Foundation\"`"]
16620 #[cfg(feature = "Win32_Foundation")]
16621 pub type PFND3DKMT_DESTROYPROTECTEDSESSION = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_DESTROYPROTECTEDSESSION) -> super::super::super::Win32::Foundation::NTSTATUS>;
16622 #[doc = "Required features: `\"Win32_Foundation\"`"]
16623 #[cfg(feature = "Win32_Foundation")]
16624 pub type PFND3DKMT_DESTROYSYNCHRONIZATIONOBJECT = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_DESTROYSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation::NTSTATUS>;
16625 #[doc = "Required features: `\"Win32_Foundation\"`"]
16626 #[cfg(feature = "Win32_Foundation")]
16627 pub type PFND3DKMT_ENUMADAPTERS = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_ENUMADAPTERS) -> super::super::super::Win32::Foundation::NTSTATUS>;
16628 #[doc = "Required features: `\"Win32_Foundation\"`"]
16629 #[cfg(feature = "Win32_Foundation")]
16630 pub type PFND3DKMT_ENUMADAPTERS2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_ENUMADAPTERS2) -> super::super::super::Win32::Foundation::NTSTATUS>;
16631 #[doc = "Required features: `\"Win32_Foundation\"`"]
16632 #[cfg(feature = "Win32_Foundation")]
16633 pub type PFND3DKMT_ENUMADAPTERS3 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_ENUMADAPTERS3) -> super::super::super::Win32::Foundation::NTSTATUS>;
16634 #[doc = "Required features: `\"Win32_Foundation\"`"]
16635 #[cfg(feature = "Win32_Foundation")]
16636 pub type PFND3DKMT_ESCAPE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_ESCAPE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16637 #[doc = "Required features: `\"Win32_Foundation\"`"]
16638 #[cfg(feature = "Win32_Foundation")]
16639 pub type PFND3DKMT_EVICT = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_EVICT) -> super::super::super::Win32::Foundation::NTSTATUS>;
16640 #[doc = "Required features: `\"Win32_Foundation\"`"]
16641 #[cfg(feature = "Win32_Foundation")]
16642 pub type PFND3DKMT_FLIPOVERLAY = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_FLIPOVERLAY) -> super::super::super::Win32::Foundation::NTSTATUS>;
16643 #[doc = "Required features: `\"Win32_Foundation\"`"]
16644 #[cfg(feature = "Win32_Foundation")]
16645 pub type PFND3DKMT_FLUSHHEAPTRANSITIONS = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_FLUSHHEAPTRANSITIONS) -> super::super::super::Win32::Foundation::NTSTATUS>;
16646 #[doc = "Required features: `\"Win32_Foundation\"`"]
16647 #[cfg(feature = "Win32_Foundation")]
16648 pub type PFND3DKMT_FREEGPUVIRTUALADDRESS = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_FREEGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation::NTSTATUS>;
16649 #[doc = "Required features: `\"Win32_Foundation\"`"]
16650 #[cfg(feature = "Win32_Foundation")]
16651 pub type PFND3DKMT_GETALLOCATIONPRIORITY = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_GETALLOCATIONPRIORITY) -> super::super::super::Win32::Foundation::NTSTATUS>;
16652 #[doc = "Required features: `\"Win32_Foundation\"`"]
16653 #[cfg(feature = "Win32_Foundation")]
16654 pub type PFND3DKMT_GETCONTEXTINPROCESSSCHEDULINGPRIORITY = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GETCONTEXTINPROCESSSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation::NTSTATUS>;
16655 #[doc = "Required features: `\"Win32_Foundation\"`"]
16656 #[cfg(feature = "Win32_Foundation")]
16657 pub type PFND3DKMT_GETCONTEXTSCHEDULINGPRIORITY = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GETCONTEXTSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation::NTSTATUS>;
16658 #[doc = "Required features: `\"Win32_Foundation\"`"]
16659 #[cfg(feature = "Win32_Foundation")]
16660 pub type PFND3DKMT_GETDEVICESTATE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GETDEVICESTATE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16661 #[doc = "Required features: `\"Win32_Foundation\"`"]
16662 #[cfg(feature = "Win32_Foundation")]
16663 pub type PFND3DKMT_GETDISPLAYMODELIST = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GETDISPLAYMODELIST) -> super::super::super::Win32::Foundation::NTSTATUS>;
16664 #[doc = "Required features: `\"Win32_Foundation\"`"]
16665 #[cfg(feature = "Win32_Foundation")]
16666 pub type PFND3DKMT_GETDWMVERTICALBLANKEVENT = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_GETVERTICALBLANKEVENT) -> super::super::super::Win32::Foundation::NTSTATUS>;
16667 #[doc = "Required features: `\"Win32_Foundation\"`"]
16668 #[cfg(feature = "Win32_Foundation")]
16669 pub type PFND3DKMT_GETMULTIPLANEOVERLAYCAPS = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GET_MULTIPLANE_OVERLAY_CAPS) -> super::super::super::Win32::Foundation::NTSTATUS>;
16670 #[doc = "Required features: `\"Win32_Foundation\"`"]
16671 #[cfg(feature = "Win32_Foundation")]
16672 pub type PFND3DKMT_GETMULTISAMPLEMETHODLIST = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GETMULTISAMPLEMETHODLIST) -> super::super::super::Win32::Foundation::NTSTATUS>;
16673 #[doc = "Required features: `\"Win32_Foundation\"`"]
16674 #[cfg(feature = "Win32_Foundation")]
16675 pub type PFND3DKMT_GETOVERLAYSTATE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GETOVERLAYSTATE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16676 #[doc = "Required features: `\"Win32_Foundation\"`"]
16677 #[cfg(feature = "Win32_Foundation")]
16678 pub type PFND3DKMT_GETPOSTCOMPOSITIONCAPS = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GET_POST_COMPOSITION_CAPS) -> super::super::super::Win32::Foundation::NTSTATUS>;
16679 #[doc = "Required features: `\"Win32_Foundation\"`"]
16680 #[cfg(feature = "Win32_Foundation")]
16681 pub type PFND3DKMT_GETPRESENTHISTORY = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GETPRESENTHISTORY) -> super::super::super::Win32::Foundation::NTSTATUS>;
16682 #[doc = "Required features: `\"Win32_Foundation\"`"]
16683 #[cfg(feature = "Win32_Foundation")]
16684 pub type PFND3DKMT_GETPROCESSDEVICEREMOVALSUPPORT = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GETPROCESSDEVICEREMOVALSUPPORT) -> super::super::super::Win32::Foundation::NTSTATUS>;
16685 #[doc = "Required features: `\"Win32_Foundation\"`"]
16686 #[cfg(feature = "Win32_Foundation")]
16687 pub type PFND3DKMT_GETPROCESSSCHEDULINGPRIORITYCLASS = ::core::option::Option<unsafe extern "system" fn(param0: super::super::super::Win32::Foundation::HANDLE, param1: *mut D3DKMT_SCHEDULINGPRIORITYCLASS) -> super::super::super::Win32::Foundation::NTSTATUS>;
16688 #[doc = "Required features: `\"Win32_Foundation\"`"]
16689 #[cfg(feature = "Win32_Foundation")]
16690 pub type PFND3DKMT_GETRESOURCEPRESENTPRIVATEDRIVERDATA = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA) -> super::super::super::Win32::Foundation::NTSTATUS>;
16691 #[doc = "Required features: `\"Win32_Foundation\"`"]
16692 #[cfg(feature = "Win32_Foundation")]
16693 pub type PFND3DKMT_GETRUNTIMEDATA = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GETRUNTIMEDATA) -> super::super::super::Win32::Foundation::NTSTATUS>;
16694 #[doc = "Required features: `\"Win32_Foundation\"`"]
16695 #[cfg(feature = "Win32_Foundation")]
16696 pub type PFND3DKMT_GETSCANLINE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GETSCANLINE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16697 #[doc = "Required features: `\"Win32_Foundation\"`"]
16698 #[cfg(feature = "Win32_Foundation")]
16699 pub type PFND3DKMT_GETSHAREDPRIMARYHANDLE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GETSHAREDPRIMARYHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16700 #[doc = "Required features: `\"Win32_Foundation\"`"]
16701 #[cfg(feature = "Win32_Foundation")]
16702 pub type PFND3DKMT_GETSHAREDRESOURCEADAPTERLUID = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GETSHAREDRESOURCEADAPTERLUID) -> super::super::super::Win32::Foundation::NTSTATUS>;
16703 #[doc = "Required features: `\"Win32_Foundation\"`"]
16704 #[cfg(feature = "Win32_Foundation")]
16705 pub type PFND3DKMT_INVALIDATEACTIVEVIDPN = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_INVALIDATEACTIVEVIDPN) -> super::super::super::Win32::Foundation::NTSTATUS>;
16706 #[doc = "Required features: `\"Win32_Foundation\"`"]
16707 #[cfg(feature = "Win32_Foundation")]
16708 pub type PFND3DKMT_INVALIDATECACHE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_INVALIDATECACHE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16709 #[doc = "Required features: `\"Win32_Foundation\"`"]
16710 #[cfg(feature = "Win32_Foundation")]
16711 pub type PFND3DKMT_LOCK = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_LOCK) -> super::super::super::Win32::Foundation::NTSTATUS>;
16712 #[doc = "Required features: `\"Win32_Foundation\"`"]
16713 #[cfg(feature = "Win32_Foundation")]
16714 pub type PFND3DKMT_LOCK2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_LOCK2) -> super::super::super::Win32::Foundation::NTSTATUS>;
16715 #[doc = "Required features: `\"Win32_Foundation\"`"]
16716 #[cfg(feature = "Win32_Foundation")]
16717 pub type PFND3DKMT_MAKERESIDENT = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DDDI_MAKERESIDENT) -> super::super::super::Win32::Foundation::NTSTATUS>;
16718 #[doc = "Required features: `\"Win32_Foundation\"`"]
16719 #[cfg(feature = "Win32_Foundation")]
16720 pub type PFND3DKMT_MAPGPUVIRTUALADDRESS = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DDDI_MAPGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation::NTSTATUS>;
16721 #[doc = "Required features: `\"Win32_Foundation\"`"]
16722 #[cfg(feature = "Win32_Foundation")]
16723 pub type PFND3DKMT_MARKDEVICEASERROR = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_MARKDEVICEASERROR) -> super::super::super::Win32::Foundation::NTSTATUS>;
16724 #[doc = "Required features: `\"Win32_Foundation\"`"]
16725 #[cfg(feature = "Win32_Foundation")]
16726 pub type PFND3DKMT_NOTIFYWORKSUBMISSION = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_NOTIFY_WORK_SUBMISSION) -> super::super::super::Win32::Foundation::NTSTATUS>;
16727 #[doc = "Required features: `\"Win32_Foundation\"`"]
16728 #[cfg(feature = "Win32_Foundation")]
16729 pub type PFND3DKMT_OFFERALLOCATIONS = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_OFFERALLOCATIONS) -> super::super::super::Win32::Foundation::NTSTATUS>;
16730 #[doc = "Required features: `\"Win32_Foundation\"`"]
16731 #[cfg(feature = "Win32_Foundation")]
16732 pub type PFND3DKMT_OPENADAPTERFROMDEVICENAME = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENADAPTERFROMDEVICENAME) -> super::super::super::Win32::Foundation::NTSTATUS>;
16733 #[doc = "Required features: `\"Win32_Foundation\"`"]
16734 #[cfg(feature = "Win32_Foundation")]
16735 pub type PFND3DKMT_OPENADAPTERFROMGDIDISPLAYNAME = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME) -> super::super::super::Win32::Foundation::NTSTATUS>;
16736 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
16737 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
16738 pub type PFND3DKMT_OPENADAPTERFROMHDC = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENADAPTERFROMHDC) -> super::super::super::Win32::Foundation::NTSTATUS>;
16739 #[doc = "Required features: `\"Win32_Foundation\"`"]
16740 #[cfg(feature = "Win32_Foundation")]
16741 pub type PFND3DKMT_OPENADAPTERFROMLUID = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENADAPTERFROMLUID) -> super::super::super::Win32::Foundation::NTSTATUS>;
16742 #[doc = "Required features: `\"Win32_Foundation\"`"]
16743 #[cfg(feature = "Win32_Foundation")]
16744 pub type PFND3DKMT_OPENKEYEDMUTEX = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENKEYEDMUTEX) -> super::super::super::Win32::Foundation::NTSTATUS>;
16745 #[doc = "Required features: `\"Win32_Foundation\"`"]
16746 #[cfg(feature = "Win32_Foundation")]
16747 pub type PFND3DKMT_OPENKEYEDMUTEX2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENKEYEDMUTEX2) -> super::super::super::Win32::Foundation::NTSTATUS>;
16748 #[doc = "Required features: `\"Win32_Foundation\"`"]
16749 #[cfg(feature = "Win32_Foundation")]
16750 pub type PFND3DKMT_OPENKEYEDMUTEXFROMNTHANDLE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENKEYEDMUTEXFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16751 #[doc = "Required features: `\"Win32_Foundation\"`"]
16752 #[cfg(feature = "Win32_Foundation")]
16753 pub type PFND3DKMT_OPENNATIVEFENCEFROMNTHANDLE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENNATIVEFENCEFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16754 #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`"]
16755 #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
16756 pub type PFND3DKMT_OPENNTHANDLEFROMNAME = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENNTHANDLEFROMNAME) -> super::super::super::Win32::Foundation::NTSTATUS>;
16757 #[doc = "Required features: `\"Win32_Foundation\"`"]
16758 #[cfg(feature = "Win32_Foundation")]
16759 pub type PFND3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16760 #[doc = "Required features: `\"Win32_Foundation\"`"]
16761 #[cfg(feature = "Win32_Foundation")]
16762 pub type PFND3DKMT_OPENRESOURCE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENRESOURCE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16763 #[doc = "Required features: `\"Win32_Foundation\"`"]
16764 #[cfg(feature = "Win32_Foundation")]
16765 pub type PFND3DKMT_OPENRESOURCE2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENRESOURCE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16766 #[doc = "Required features: `\"Win32_Foundation\"`"]
16767 #[cfg(feature = "Win32_Foundation")]
16768 pub type PFND3DKMT_OPENRESOURCEFROMNTHANDLE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENRESOURCEFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16769 #[doc = "Required features: `\"Win32_Foundation\"`"]
16770 #[cfg(feature = "Win32_Foundation")]
16771 pub type PFND3DKMT_OPENSYNCHRONIZATIONOBJECT = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation::NTSTATUS>;
16772 #[doc = "Required features: `\"Win32_Foundation\"`"]
16773 #[cfg(feature = "Win32_Foundation")]
16774 pub type PFND3DKMT_OPENSYNCOBJECTFROMNTHANDLE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENSYNCOBJECTFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16775 #[doc = "Required features: `\"Win32_Foundation\"`"]
16776 #[cfg(feature = "Win32_Foundation")]
16777 pub type PFND3DKMT_OPENSYNCOBJECTFROMNTHANDLE2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2) -> super::super::super::Win32::Foundation::NTSTATUS>;
16778 #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`"]
16779 #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
16780 pub type PFND3DKMT_OPENSYNCOBJECTNTHANDLEFROMNAME = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENSYNCOBJECTNTHANDLEFROMNAME) -> super::super::super::Win32::Foundation::NTSTATUS>;
16781 #[doc = "Required features: `\"Win32_Foundation\"`"]
16782 #[cfg(feature = "Win32_Foundation")]
16783 pub type PFND3DKMT_OUTPUTDUPLGETFRAMEINFO = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OUTPUTDUPL_GET_FRAMEINFO) -> super::super::super::Win32::Foundation::NTSTATUS>;
16784 #[doc = "Required features: `\"Win32_Foundation\"`"]
16785 #[cfg(feature = "Win32_Foundation")]
16786 pub type PFND3DKMT_OUTPUTDUPLGETMETADATA = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OUTPUTDUPL_METADATA) -> super::super::super::Win32::Foundation::NTSTATUS>;
16787 #[doc = "Required features: `\"Win32_Foundation\"`"]
16788 #[cfg(feature = "Win32_Foundation")]
16789 pub type PFND3DKMT_OUTPUTDUPLGETPOINTERSHAPEDATA = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OUTPUTDUPL_GET_POINTER_SHAPE_DATA) -> super::super::super::Win32::Foundation::NTSTATUS>;
16790 #[doc = "Required features: `\"Win32_Foundation\"`"]
16791 #[cfg(feature = "Win32_Foundation")]
16792 pub type PFND3DKMT_OUTPUTDUPLPRESENT = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_OUTPUTDUPLPRESENT) -> super::super::super::Win32::Foundation::NTSTATUS>;
16793 #[doc = "Required features: `\"Win32_Foundation\"`"]
16794 #[cfg(feature = "Win32_Foundation")]
16795 pub type PFND3DKMT_OUTPUTDUPLPRESENTTOHWQUEUE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_OUTPUTDUPLPRESENTTOHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16796 #[doc = "Required features: `\"Win32_Foundation\"`"]
16797 #[cfg(feature = "Win32_Foundation")]
16798 pub type PFND3DKMT_OUTPUTDUPLRELEASEFRAME = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_OUTPUTDUPL_RELEASE_FRAME) -> super::super::super::Win32::Foundation::NTSTATUS>;
16799 #[doc = "Required features: `\"Win32_Foundation\"`"]
16800 #[cfg(feature = "Win32_Foundation")]
16801 pub type PFND3DKMT_PINDIRECTFLIPRESOURCES = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_PINDIRECTFLIPRESOURCES) -> super::super::super::Win32::Foundation::NTSTATUS>;
16802 #[doc = "Required features: `\"Win32_Foundation\"`"]
16803 #[cfg(feature = "Win32_Foundation")]
16804 pub type PFND3DKMT_POLLDISPLAYCHILDREN = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_POLLDISPLAYCHILDREN) -> super::super::super::Win32::Foundation::NTSTATUS>;
16805 #[doc = "Required features: `\"Win32_Foundation\"`"]
16806 #[cfg(feature = "Win32_Foundation")]
16807 pub type PFND3DKMT_PRESENT = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_PRESENT) -> super::super::super::Win32::Foundation::NTSTATUS>;
16808 #[doc = "Required features: `\"Win32_Foundation\"`"]
16809 #[cfg(feature = "Win32_Foundation")]
16810 pub type PFND3DKMT_PRESENTMULTIPLANEOVERLAY = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_PRESENT_MULTIPLANE_OVERLAY) -> super::super::super::Win32::Foundation::NTSTATUS>;
16811 #[doc = "Required features: `\"Win32_Foundation\"`"]
16812 #[cfg(feature = "Win32_Foundation")]
16813 pub type PFND3DKMT_PRESENTMULTIPLANEOVERLAY2 = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_PRESENT_MULTIPLANE_OVERLAY2) -> super::super::super::Win32::Foundation::NTSTATUS>;
16814 #[doc = "Required features: `\"Win32_Foundation\"`"]
16815 #[cfg(feature = "Win32_Foundation")]
16816 pub type PFND3DKMT_PRESENTMULTIPLANEOVERLAY3 = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_PRESENT_MULTIPLANE_OVERLAY3) -> super::super::super::Win32::Foundation::NTSTATUS>;
16817 #[doc = "Required features: `\"Win32_Foundation\"`"]
16818 #[cfg(feature = "Win32_Foundation")]
16819 pub type PFND3DKMT_QUERYADAPTERINFO = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_QUERYADAPTERINFO) -> super::super::super::Win32::Foundation::NTSTATUS>;
16820 #[doc = "Required features: `\"Win32_Foundation\"`"]
16821 #[cfg(feature = "Win32_Foundation")]
16822 pub type PFND3DKMT_QUERYALLOCATIONRESIDENCY = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_QUERYALLOCATIONRESIDENCY) -> super::super::super::Win32::Foundation::NTSTATUS>;
16823 #[doc = "Required features: `\"Win32_Foundation\"`"]
16824 #[cfg(feature = "Win32_Foundation")]
16825 pub type PFND3DKMT_QUERYCLOCKCALIBRATION = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_QUERYCLOCKCALIBRATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
16826 #[doc = "Required features: `\"Win32_Foundation\"`"]
16827 #[cfg(feature = "Win32_Foundation")]
16828 pub type PFND3DKMT_QUERYFSEBLOCK = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_QUERYFSEBLOCK) -> super::super::super::Win32::Foundation::NTSTATUS>;
16829 #[doc = "Required features: `\"Win32_Foundation\"`"]
16830 #[cfg(feature = "Win32_Foundation")]
16831 pub type PFND3DKMT_QUERYHYBRIDLISTVALUE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_HYBRID_LIST) -> super::super::super::Win32::Foundation::NTSTATUS>;
16832 #[doc = "Required features: `\"Win32_Foundation\"`"]
16833 #[cfg(feature = "Win32_Foundation")]
16834 pub type PFND3DKMT_QUERYPROCESSOFFERINFO = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_QUERYPROCESSOFFERINFO) -> super::super::super::Win32::Foundation::NTSTATUS>;
16835 #[doc = "Required features: `\"Win32_Foundation\"`"]
16836 #[cfg(feature = "Win32_Foundation")]
16837 pub type PFND3DKMT_QUERYPROTECTEDSESSIONINFOFROMNTHANDLE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_QUERYPROTECTEDSESSIONINFOFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16838 #[doc = "Required features: `\"Win32_Foundation\"`"]
16839 #[cfg(feature = "Win32_Foundation")]
16840 pub type PFND3DKMT_QUERYPROTECTEDSESSIONSTATUS = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_QUERYPROTECTEDSESSIONSTATUS) -> super::super::super::Win32::Foundation::NTSTATUS>;
16841 #[doc = "Required features: `\"Win32_Foundation\"`"]
16842 #[cfg(feature = "Win32_Foundation")]
16843 pub type PFND3DKMT_QUERYREMOTEVIDPNSOURCEFROMGDIDISPLAYNAME = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_QUERYREMOTEVIDPNSOURCEFROMGDIDISPLAYNAME) -> super::super::super::Win32::Foundation::NTSTATUS>;
16844 #[doc = "Required features: `\"Win32_Foundation\"`"]
16845 #[cfg(feature = "Win32_Foundation")]
16846 pub type PFND3DKMT_QUERYRESOURCEINFO = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_QUERYRESOURCEINFO) -> super::super::super::Win32::Foundation::NTSTATUS>;
16847 #[doc = "Required features: `\"Win32_Foundation\"`"]
16848 #[cfg(feature = "Win32_Foundation")]
16849 pub type PFND3DKMT_QUERYRESOURCEINFOFROMNTHANDLE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_QUERYRESOURCEINFOFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16850 #[doc = "Required features: `\"Win32_Foundation\"`"]
16851 #[cfg(feature = "Win32_Foundation")]
16852 pub type PFND3DKMT_QUERYSTATISTICS = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_QUERYSTATISTICS) -> super::super::super::Win32::Foundation::NTSTATUS>;
16853 #[doc = "Required features: `\"Win32_Foundation\"`"]
16854 #[cfg(feature = "Win32_Foundation")]
16855 pub type PFND3DKMT_QUERYVIDEOMEMORYINFO = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_QUERYVIDEOMEMORYINFO) -> super::super::super::Win32::Foundation::NTSTATUS>;
16856 #[doc = "Required features: `\"Win32_Foundation\"`"]
16857 #[cfg(feature = "Win32_Foundation")]
16858 pub type PFND3DKMT_QUERYVIDPNEXCLUSIVEOWNERSHIP = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_QUERYVIDPNEXCLUSIVEOWNERSHIP) -> super::super::super::Win32::Foundation::NTSTATUS>;
16859 #[doc = "Required features: `\"Win32_Foundation\"`"]
16860 #[cfg(feature = "Win32_Foundation")]
16861 pub type PFND3DKMT_RECLAIMALLOCATIONS = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_RECLAIMALLOCATIONS) -> super::super::super::Win32::Foundation::NTSTATUS>;
16862 #[doc = "Required features: `\"Win32_Foundation\"`"]
16863 #[cfg(feature = "Win32_Foundation")]
16864 pub type PFND3DKMT_RECLAIMALLOCATIONS2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_RECLAIMALLOCATIONS2) -> super::super::super::Win32::Foundation::NTSTATUS>;
16865 #[doc = "Required features: `\"Win32_Foundation\"`"]
16866 #[cfg(feature = "Win32_Foundation")]
16867 pub type PFND3DKMT_REGISTERBUDGETCHANGENOTIFICATION = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_REGISTERBUDGETCHANGENOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
16868 #[doc = "Required features: `\"Win32_Foundation\"`"]
16869 #[cfg(feature = "Win32_Foundation")]
16870 pub type PFND3DKMT_REGISTERTRIMNOTIFICATION = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_REGISTERTRIMNOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
16871 #[doc = "Required features: `\"Win32_Foundation\"`"]
16872 #[cfg(feature = "Win32_Foundation")]
16873 pub type PFND3DKMT_RELEASEKEYEDMUTEX = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_RELEASEKEYEDMUTEX) -> super::super::super::Win32::Foundation::NTSTATUS>;
16874 #[doc = "Required features: `\"Win32_Foundation\"`"]
16875 #[cfg(feature = "Win32_Foundation")]
16876 pub type PFND3DKMT_RELEASEKEYEDMUTEX2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_RELEASEKEYEDMUTEX2) -> super::super::super::Win32::Foundation::NTSTATUS>;
16877 #[doc = "Required features: `\"Win32_Foundation\"`"]
16878 #[cfg(feature = "Win32_Foundation")]
16879 pub type PFND3DKMT_RELEASEPROCESSVIDPNSOURCEOWNERS = ::core::option::Option<unsafe extern "system" fn(param0: super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16880 #[doc = "Required features: `\"Win32_Foundation\"`"]
16881 #[cfg(feature = "Win32_Foundation")]
16882 pub type PFND3DKMT_RENDER = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_RENDER) -> super::super::super::Win32::Foundation::NTSTATUS>;
16883 #[doc = "Required features: `\"Win32_Foundation\"`"]
16884 #[cfg(feature = "Win32_Foundation")]
16885 pub type PFND3DKMT_RESERVEGPUVIRTUALADDRESS = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DDDI_RESERVEGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation::NTSTATUS>;
16886 #[doc = "Required features: `\"Win32_Foundation\"`"]
16887 #[cfg(feature = "Win32_Foundation")]
16888 pub type PFND3DKMT_SETALLOCATIONPRIORITY = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETALLOCATIONPRIORITY) -> super::super::super::Win32::Foundation::NTSTATUS>;
16889 #[doc = "Required features: `\"Win32_Foundation\"`"]
16890 #[cfg(feature = "Win32_Foundation")]
16891 pub type PFND3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation::NTSTATUS>;
16892 #[doc = "Required features: `\"Win32_Foundation\"`"]
16893 #[cfg(feature = "Win32_Foundation")]
16894 pub type PFND3DKMT_SETCONTEXTSCHEDULINGPRIORITY = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETCONTEXTSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation::NTSTATUS>;
16895 #[doc = "Required features: `\"Win32_Foundation\"`"]
16896 #[cfg(feature = "Win32_Foundation")]
16897 pub type PFND3DKMT_SETDISPLAYMODE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_SETDISPLAYMODE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16898 #[doc = "Required features: `\"Win32_Foundation\"`"]
16899 #[cfg(feature = "Win32_Foundation")]
16900 pub type PFND3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT) -> super::super::super::Win32::Foundation::NTSTATUS>;
16901 #[doc = "Required features: `\"Win32_Foundation\"`"]
16902 #[cfg(feature = "Win32_Foundation")]
16903 pub type PFND3DKMT_SETFSEBLOCK = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETFSEBLOCK) -> super::super::super::Win32::Foundation::NTSTATUS>;
16904 #[doc = "Required features: `\"Win32_Foundation\"`"]
16905 #[cfg(feature = "Win32_Foundation")]
16906 pub type PFND3DKMT_SETGAMMARAMP = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETGAMMARAMP) -> super::super::super::Win32::Foundation::NTSTATUS>;
16907 #[doc = "Required features: `\"Win32_Foundation\"`"]
16908 #[cfg(feature = "Win32_Foundation")]
16909 pub type PFND3DKMT_SETHWPROTECTIONTEARDOWNRECOVERY = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETHWPROTECTIONTEARDOWNRECOVERY) -> super::super::super::Win32::Foundation::NTSTATUS>;
16910 #[doc = "Required features: `\"Win32_Foundation\"`"]
16911 #[cfg(feature = "Win32_Foundation")]
16912 pub type PFND3DKMT_SETHYBRIDLISTVVALUE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_HYBRID_LIST) -> super::super::super::Win32::Foundation::NTSTATUS>;
16913 #[doc = "Required features: `\"Win32_Foundation\"`"]
16914 #[cfg(feature = "Win32_Foundation")]
16915 pub type PFND3DKMT_SETPROCESSSCHEDULINGPRIORITYCLASS = ::core::option::Option<unsafe extern "system" fn(param0: super::super::super::Win32::Foundation::HANDLE, param1: D3DKMT_SCHEDULINGPRIORITYCLASS) -> super::super::super::Win32::Foundation::NTSTATUS>;
16916 #[doc = "Required features: `\"Win32_Foundation\"`"]
16917 #[cfg(feature = "Win32_Foundation")]
16918 pub type PFND3DKMT_SETQUEUEDLIMIT = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETQUEUEDLIMIT) -> super::super::super::Win32::Foundation::NTSTATUS>;
16919 #[doc = "Required features: `\"Win32_Foundation\"`"]
16920 #[cfg(feature = "Win32_Foundation")]
16921 pub type PFND3DKMT_SETSTABLEPOWERSTATE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETSTABLEPOWERSTATE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16922 #[doc = "Required features: `\"Win32_Foundation\"`"]
16923 #[cfg(feature = "Win32_Foundation")]
16924 pub type PFND3DKMT_SETSTEREOENABLED = ::core::option::Option<unsafe extern "system" fn(param0: super::super::super::Win32::Foundation::BOOL) -> super::super::super::Win32::Foundation::NTSTATUS>;
16925 #[doc = "Required features: `\"Win32_Foundation\"`"]
16926 #[cfg(feature = "Win32_Foundation")]
16927 pub type PFND3DKMT_SETSYNCREFRESHCOUNTWAITTARGET = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETSYNCREFRESHCOUNTWAITTARGET) -> super::super::super::Win32::Foundation::NTSTATUS>;
16928 #[doc = "Required features: `\"Win32_Foundation\"`"]
16929 #[cfg(feature = "Win32_Foundation")]
16930 pub type PFND3DKMT_SETVIDPNSOURCEHWPROTECTION = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETVIDPNSOURCEHWPROTECTION) -> super::super::super::Win32::Foundation::NTSTATUS>;
16931 #[doc = "Required features: `\"Win32_Foundation\"`"]
16932 #[cfg(feature = "Win32_Foundation")]
16933 pub type PFND3DKMT_SETVIDPNSOURCEOWNER = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETVIDPNSOURCEOWNER) -> super::super::super::Win32::Foundation::NTSTATUS>;
16934 #[doc = "Required features: `\"Win32_Foundation\"`"]
16935 #[cfg(feature = "Win32_Foundation")]
16936 pub type PFND3DKMT_SETVIDPNSOURCEOWNER1 = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETVIDPNSOURCEOWNER1) -> super::super::super::Win32::Foundation::NTSTATUS>;
16937 #[doc = "Required features: `\"Win32_Foundation\"`"]
16938 #[cfg(feature = "Win32_Foundation")]
16939 pub type PFND3DKMT_SETVIDPNSOURCEOWNER2 = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETVIDPNSOURCEOWNER2) -> super::super::super::Win32::Foundation::NTSTATUS>;
16940 #[doc = "Required features: `\"Win32_Foundation\"`"]
16941 #[cfg(feature = "Win32_Foundation")]
16942 pub type PFND3DKMT_SHAREDPRIMARYLOCKNOTIFICATION = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SHAREDPRIMARYLOCKNOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
16943 #[doc = "Required features: `\"Win32_Foundation\"`"]
16944 #[cfg(feature = "Win32_Foundation")]
16945 pub type PFND3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
16946 #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`"]
16947 #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
16948 pub type PFND3DKMT_SHAREOBJECTS = ::core::option::Option<unsafe extern "system" fn(cobjects: u32, hobjects: *const u32, pobjectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, dwdesiredaccess: u32, phsharednthandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16949 #[doc = "Required features: `\"Win32_Foundation\"`"]
16950 #[cfg(feature = "Win32_Foundation")]
16951 pub type PFND3DKMT_SIGNALSYNCHRONIZATIONOBJECT = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation::NTSTATUS>;
16952 #[doc = "Required features: `\"Win32_Foundation\"`"]
16953 #[cfg(feature = "Win32_Foundation")]
16954 pub type PFND3DKMT_SIGNALSYNCHRONIZATIONOBJECT2 = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2) -> super::super::super::Win32::Foundation::NTSTATUS>;
16955 #[doc = "Required features: `\"Win32_Foundation\"`"]
16956 #[cfg(feature = "Win32_Foundation")]
16957 pub type PFND3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMCPU = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMCPU) -> super::super::super::Win32::Foundation::NTSTATUS>;
16958 #[doc = "Required features: `\"Win32_Foundation\"`"]
16959 #[cfg(feature = "Win32_Foundation")]
16960 pub type PFND3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU) -> super::super::super::Win32::Foundation::NTSTATUS>;
16961 #[doc = "Required features: `\"Win32_Foundation\"`"]
16962 #[cfg(feature = "Win32_Foundation")]
16963 pub type PFND3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2 = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2) -> super::super::super::Win32::Foundation::NTSTATUS>;
16964 #[doc = "Required features: `\"Win32_Foundation\"`"]
16965 #[cfg(feature = "Win32_Foundation")]
16966 pub type PFND3DKMT_SUBMITCOMMAND = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SUBMITCOMMAND) -> super::super::super::Win32::Foundation::NTSTATUS>;
16967 #[doc = "Required features: `\"Win32_Foundation\"`"]
16968 #[cfg(feature = "Win32_Foundation")]
16969 pub type PFND3DKMT_SUBMITCOMMANDTOHWQUEUE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SUBMITCOMMANDTOHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16970 #[doc = "Required features: `\"Win32_Foundation\"`"]
16971 #[cfg(feature = "Win32_Foundation")]
16972 pub type PFND3DKMT_SUBMITPRESENTBLTTOHWQUEUE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SUBMITPRESENTBLTTOHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16973 #[doc = "Required features: `\"Win32_Foundation\"`"]
16974 #[cfg(feature = "Win32_Foundation")]
16975 pub type PFND3DKMT_SUBMITPRESENTTOHWQUEUE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_SUBMITPRESENTTOHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16976 #[doc = "Required features: `\"Win32_Foundation\"`"]
16977 #[cfg(feature = "Win32_Foundation")]
16978 pub type PFND3DKMT_SUBMITSIGNALSYNCOBJECTSTOHWQUEUE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SUBMITSIGNALSYNCOBJECTSTOHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16979 #[doc = "Required features: `\"Win32_Foundation\"`"]
16980 #[cfg(feature = "Win32_Foundation")]
16981 pub type PFND3DKMT_SUBMITWAITFORSYNCOBJECTSTOHWQUEUE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SUBMITWAITFORSYNCOBJECTSTOHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS>;
16982 pub type PFND3DKMT_TRIMNOTIFICATIONCALLBACK = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_TRIMNOTIFICATION) -> ()>;
16983 #[doc = "Required features: `\"Win32_Foundation\"`"]
16984 #[cfg(feature = "Win32_Foundation")]
16985 pub type PFND3DKMT_TRIMPROCESSCOMMITMENT = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_TRIMPROCESSCOMMITMENT) -> super::super::super::Win32::Foundation::NTSTATUS>;
16986 #[doc = "Required features: `\"Win32_Foundation\"`"]
16987 #[cfg(feature = "Win32_Foundation")]
16988 pub type PFND3DKMT_UNLOCK = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_UNLOCK) -> super::super::super::Win32::Foundation::NTSTATUS>;
16989 #[doc = "Required features: `\"Win32_Foundation\"`"]
16990 #[cfg(feature = "Win32_Foundation")]
16991 pub type PFND3DKMT_UNLOCK2 = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_UNLOCK2) -> super::super::super::Win32::Foundation::NTSTATUS>;
16992 #[doc = "Required features: `\"Win32_Foundation\"`"]
16993 #[cfg(feature = "Win32_Foundation")]
16994 pub type PFND3DKMT_UNPINDIRECTFLIPRESOURCES = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_UNPINDIRECTFLIPRESOURCES) -> super::super::super::Win32::Foundation::NTSTATUS>;
16995 #[doc = "Required features: `\"Win32_Foundation\"`"]
16996 #[cfg(feature = "Win32_Foundation")]
16997 pub type PFND3DKMT_UNREGISTERBUDGETCHANGENOTIFICATION = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_UNREGISTERBUDGETCHANGENOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
16998 #[doc = "Required features: `\"Win32_Foundation\"`"]
16999 #[cfg(feature = "Win32_Foundation")]
17000 pub type PFND3DKMT_UNREGISTERTRIMNOTIFICATION = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_UNREGISTERTRIMNOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
17001 #[doc = "Required features: `\"Win32_Foundation\"`"]
17002 #[cfg(feature = "Win32_Foundation")]
17003 pub type PFND3DKMT_UPDATEALLOCATIONPROPERTY = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DDDI_UPDATEALLOCPROPERTY) -> super::super::super::Win32::Foundation::NTSTATUS>;
17004 #[doc = "Required features: `\"Win32_Foundation\"`"]
17005 #[cfg(feature = "Win32_Foundation")]
17006 pub type PFND3DKMT_UPDATEGPUVIRTUALADDRESS = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_UPDATEGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation::NTSTATUS>;
17007 #[doc = "Required features: `\"Win32_Foundation\"`"]
17008 #[cfg(feature = "Win32_Foundation")]
17009 pub type PFND3DKMT_UPDATEOVERLAY = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_UPDATEOVERLAY) -> super::super::super::Win32::Foundation::NTSTATUS>;
17010 #[doc = "Required features: `\"Win32_Foundation\"`"]
17011 #[cfg(feature = "Win32_Foundation")]
17012 pub type PFND3DKMT_WAITFORIDLE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_WAITFORIDLE) -> super::super::super::Win32::Foundation::NTSTATUS>;
17013 #[doc = "Required features: `\"Win32_Foundation\"`"]
17014 #[cfg(feature = "Win32_Foundation")]
17015 pub type PFND3DKMT_WAITFORSYNCHRONIZATIONOBJECT = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation::NTSTATUS>;
17016 #[doc = "Required features: `\"Win32_Foundation\"`"]
17017 #[cfg(feature = "Win32_Foundation")]
17018 pub type PFND3DKMT_WAITFORSYNCHRONIZATIONOBJECT2 = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2) -> super::super::super::Win32::Foundation::NTSTATUS>;
17019 #[doc = "Required features: `\"Win32_Foundation\"`"]
17020 #[cfg(feature = "Win32_Foundation")]
17021 pub type PFND3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMCPU = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMCPU) -> super::super::super::Win32::Foundation::NTSTATUS>;
17022 #[doc = "Required features: `\"Win32_Foundation\"`"]
17023 #[cfg(feature = "Win32_Foundation")]
17024 pub type PFND3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU) -> super::super::super::Win32::Foundation::NTSTATUS>;
17025 #[doc = "Required features: `\"Win32_Foundation\"`"]
17026 #[cfg(feature = "Win32_Foundation")]
17027 pub type PFND3DKMT_WAITFORVERTICALBLANKEVENT = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_WAITFORVERTICALBLANKEVENT) -> super::super::super::Win32::Foundation::NTSTATUS>;
17028 #[doc = "Required features: `\"Win32_Foundation\"`"]
17029 #[cfg(feature = "Win32_Foundation")]
17030 pub type PFND3DKMT_WAITFORVERTICALBLANKEVENT2 = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_WAITFORVERTICALBLANKEVENT2) -> super::super::super::Win32::Foundation::NTSTATUS>;
17031 pub type PFND3DNTPARSEUNKNOWNCOMMAND = ::core::option::Option<unsafe extern "system" fn(lpvcommands: *mut ::core::ffi::c_void, lplpvreturnedcommand: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
17032 pub type PFND3DPARSEUNKNOWNCOMMAND = ::core::option::Option<unsafe extern "system" fn(lpvcommands: *mut ::core::ffi::c_void, lplpvreturnedcommand: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;