blob: afe28b737132c5d355b94c41157a5b7ea41a95ee [file] [log] [blame]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTAcquireKeyedMutex(param0: *mut D3DKMT_ACQUIREKEYEDMUTEX) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTAcquireKeyedMutex(param0 : *mut D3DKMT_ACQUIREKEYEDMUTEX) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTAcquireKeyedMutex(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTAcquireKeyedMutex2(param0: *mut D3DKMT_ACQUIREKEYEDMUTEX2) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTAcquireKeyedMutex2(param0 : *mut D3DKMT_ACQUIREKEYEDMUTEX2) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTAcquireKeyedMutex2(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTAdjustFullscreenGamma(param0: *const D3DKMT_ADJUSTFULLSCREENGAMMA) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTAdjustFullscreenGamma(param0 : *const D3DKMT_ADJUSTFULLSCREENGAMMA) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTAdjustFullscreenGamma(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTCancelPresents(param0: *const D3DKMT_CANCEL_PRESENTS) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCancelPresents(param0 : *const D3DKMT_CANCEL_PRESENTS) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTCancelPresents(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
#[inline]
pub unsafe fn D3DKMTChangeSurfacePointer(param0: *const D3DKMT_CHANGESURFACEPOINTER) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTChangeSurfacePointer(param0 : *const D3DKMT_CHANGESURFACEPOINTER) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTChangeSurfacePointer(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTChangeVideoMemoryReservation(param0: *const D3DKMT_CHANGEVIDEOMEMORYRESERVATION) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTChangeVideoMemoryReservation(param0 : *const D3DKMT_CHANGEVIDEOMEMORYRESERVATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTChangeVideoMemoryReservation(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTCheckExclusiveOwnership() -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCheckExclusiveOwnership() -> super::super::super::Win32::Foundation:: BOOLEAN);
D3DKMTCheckExclusiveOwnership()
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTCheckMonitorPowerState(param0: *const D3DKMT_CHECKMONITORPOWERSTATE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCheckMonitorPowerState(param0 : *const D3DKMT_CHECKMONITORPOWERSTATE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTCheckMonitorPowerState(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTCheckMultiPlaneOverlaySupport(param0: *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCheckMultiPlaneOverlaySupport(param0 : *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTCheckMultiPlaneOverlaySupport(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTCheckMultiPlaneOverlaySupport2(param0: *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT2) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCheckMultiPlaneOverlaySupport2(param0 : *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT2) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTCheckMultiPlaneOverlaySupport2(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTCheckMultiPlaneOverlaySupport3(param0: *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT3) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCheckMultiPlaneOverlaySupport3(param0 : *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT3) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTCheckMultiPlaneOverlaySupport3(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTCheckOcclusion(param0: *const D3DKMT_CHECKOCCLUSION) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCheckOcclusion(param0 : *const D3DKMT_CHECKOCCLUSION) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTCheckOcclusion(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTCheckSharedResourceAccess(param0: *const D3DKMT_CHECKSHAREDRESOURCEACCESS) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCheckSharedResourceAccess(param0 : *const D3DKMT_CHECKSHAREDRESOURCEACCESS) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTCheckSharedResourceAccess(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTCheckVidPnExclusiveOwnership(param0: *const D3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCheckVidPnExclusiveOwnership(param0 : *const D3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTCheckVidPnExclusiveOwnership(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTCloseAdapter(param0: *const D3DKMT_CLOSEADAPTER) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCloseAdapter(param0 : *const D3DKMT_CLOSEADAPTER) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTCloseAdapter(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTConfigureSharedResource(param0: *const D3DKMT_CONFIGURESHAREDRESOURCE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTConfigureSharedResource(param0 : *const D3DKMT_CONFIGURESHAREDRESOURCE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTConfigureSharedResource(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTCreateAllocation(param0: *mut D3DKMT_CREATEALLOCATION) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateAllocation(param0 : *mut D3DKMT_CREATEALLOCATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTCreateAllocation(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTCreateAllocation2(param0: *mut D3DKMT_CREATEALLOCATION) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateAllocation2(param0 : *mut D3DKMT_CREATEALLOCATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTCreateAllocation2(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTCreateContext(param0: *mut D3DKMT_CREATECONTEXT) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateContext(param0 : *mut D3DKMT_CREATECONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTCreateContext(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTCreateContextVirtual(param0: *const D3DKMT_CREATECONTEXTVIRTUAL) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateContextVirtual(param0 : *const D3DKMT_CREATECONTEXTVIRTUAL) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTCreateContextVirtual(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
#[inline]
pub unsafe fn D3DKMTCreateDCFromMemory(param0: *mut D3DKMT_CREATEDCFROMMEMORY) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateDCFromMemory(param0 : *mut D3DKMT_CREATEDCFROMMEMORY) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTCreateDCFromMemory(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTCreateDevice(param0: *mut D3DKMT_CREATEDEVICE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateDevice(param0 : *mut D3DKMT_CREATEDEVICE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTCreateDevice(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTCreateHwContext(param0: *mut D3DKMT_CREATEHWCONTEXT) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateHwContext(param0 : *mut D3DKMT_CREATEHWCONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTCreateHwContext(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTCreateHwQueue(param0: *mut D3DKMT_CREATEHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateHwQueue(param0 : *mut D3DKMT_CREATEHWQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTCreateHwQueue(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTCreateKeyedMutex(param0: *mut D3DKMT_CREATEKEYEDMUTEX) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateKeyedMutex(param0 : *mut D3DKMT_CREATEKEYEDMUTEX) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTCreateKeyedMutex(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTCreateKeyedMutex2(param0: *mut D3DKMT_CREATEKEYEDMUTEX2) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateKeyedMutex2(param0 : *mut D3DKMT_CREATEKEYEDMUTEX2) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTCreateKeyedMutex2(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTCreateOutputDupl(param0: *const D3DKMT_CREATE_OUTPUTDUPL) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateOutputDupl(param0 : *const D3DKMT_CREATE_OUTPUTDUPL) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTCreateOutputDupl(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTCreateOverlay(param0: *mut D3DKMT_CREATEOVERLAY) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateOverlay(param0 : *mut D3DKMT_CREATEOVERLAY) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTCreateOverlay(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTCreatePagingQueue(param0: *mut D3DKMT_CREATEPAGINGQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreatePagingQueue(param0 : *mut D3DKMT_CREATEPAGINGQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTCreatePagingQueue(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTCreateProtectedSession(param0: *mut D3DKMT_CREATEPROTECTEDSESSION) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateProtectedSession(param0 : *mut D3DKMT_CREATEPROTECTEDSESSION) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTCreateProtectedSession(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTCreateSynchronizationObject(param0: *mut D3DKMT_CREATESYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateSynchronizationObject(param0 : *mut D3DKMT_CREATESYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTCreateSynchronizationObject(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTCreateSynchronizationObject2(param0: *mut D3DKMT_CREATESYNCHRONIZATIONOBJECT2) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTCreateSynchronizationObject2(param0 : *mut D3DKMT_CREATESYNCHRONIZATIONOBJECT2) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTCreateSynchronizationObject2(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTDestroyAllocation(param0: *const D3DKMT_DESTROYALLOCATION) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroyAllocation(param0 : *const D3DKMT_DESTROYALLOCATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTDestroyAllocation(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTDestroyAllocation2(param0: *const D3DKMT_DESTROYALLOCATION2) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroyAllocation2(param0 : *const D3DKMT_DESTROYALLOCATION2) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTDestroyAllocation2(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTDestroyContext(param0: *const D3DKMT_DESTROYCONTEXT) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroyContext(param0 : *const D3DKMT_DESTROYCONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTDestroyContext(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
#[inline]
pub unsafe fn D3DKMTDestroyDCFromMemory(param0: *const D3DKMT_DESTROYDCFROMMEMORY) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroyDCFromMemory(param0 : *const D3DKMT_DESTROYDCFROMMEMORY) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTDestroyDCFromMemory(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTDestroyDevice(param0: *const D3DKMT_DESTROYDEVICE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroyDevice(param0 : *const D3DKMT_DESTROYDEVICE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTDestroyDevice(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTDestroyHwContext(param0: *const D3DKMT_DESTROYHWCONTEXT) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroyHwContext(param0 : *const D3DKMT_DESTROYHWCONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTDestroyHwContext(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTDestroyHwQueue(param0: *const D3DKMT_DESTROYHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroyHwQueue(param0 : *const D3DKMT_DESTROYHWQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTDestroyHwQueue(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTDestroyKeyedMutex(param0: *const D3DKMT_DESTROYKEYEDMUTEX) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroyKeyedMutex(param0 : *const D3DKMT_DESTROYKEYEDMUTEX) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTDestroyKeyedMutex(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTDestroyOutputDupl(param0: *const D3DKMT_DESTROY_OUTPUTDUPL) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroyOutputDupl(param0 : *const D3DKMT_DESTROY_OUTPUTDUPL) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTDestroyOutputDupl(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTDestroyOverlay(param0: *const D3DKMT_DESTROYOVERLAY) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroyOverlay(param0 : *const D3DKMT_DESTROYOVERLAY) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTDestroyOverlay(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTDestroyPagingQueue(param0: *mut D3DDDI_DESTROYPAGINGQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroyPagingQueue(param0 : *mut D3DDDI_DESTROYPAGINGQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTDestroyPagingQueue(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTDestroyProtectedSession(param0: *mut D3DKMT_DESTROYPROTECTEDSESSION) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroyProtectedSession(param0 : *mut D3DKMT_DESTROYPROTECTEDSESSION) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTDestroyProtectedSession(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTDestroySynchronizationObject(param0: *const D3DKMT_DESTROYSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTDestroySynchronizationObject(param0 : *const D3DKMT_DESTROYSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTDestroySynchronizationObject(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTEnumAdapters(param0: *mut D3DKMT_ENUMADAPTERS) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTEnumAdapters(param0 : *mut D3DKMT_ENUMADAPTERS) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTEnumAdapters(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTEnumAdapters2(param0: *mut D3DKMT_ENUMADAPTERS2) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTEnumAdapters2(param0 : *mut D3DKMT_ENUMADAPTERS2) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTEnumAdapters2(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTEnumAdapters3(param0: *mut D3DKMT_ENUMADAPTERS3) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("api-ms-win-dx-d3dkmt-l1-1-6.dll" "system" fn D3DKMTEnumAdapters3(param0 : *mut D3DKMT_ENUMADAPTERS3) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTEnumAdapters3(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTEscape(param0: *const D3DKMT_ESCAPE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTEscape(param0 : *const D3DKMT_ESCAPE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTEscape(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTEvict(param0: *mut D3DKMT_EVICT) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTEvict(param0 : *mut D3DKMT_EVICT) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTEvict(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTFlipOverlay(param0: *const D3DKMT_FLIPOVERLAY) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTFlipOverlay(param0 : *const D3DKMT_FLIPOVERLAY) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTFlipOverlay(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTFlushHeapTransitions(param0: *const D3DKMT_FLUSHHEAPTRANSITIONS) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTFlushHeapTransitions(param0 : *const D3DKMT_FLUSHHEAPTRANSITIONS) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTFlushHeapTransitions(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTFreeGpuVirtualAddress(param0: *const D3DKMT_FREEGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTFreeGpuVirtualAddress(param0 : *const D3DKMT_FREEGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTFreeGpuVirtualAddress(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTGetAllocationPriority(param0: *const D3DKMT_GETALLOCATIONPRIORITY) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetAllocationPriority(param0 : *const D3DKMT_GETALLOCATIONPRIORITY) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTGetAllocationPriority(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTGetContextInProcessSchedulingPriority(param0: *mut D3DKMT_GETCONTEXTINPROCESSSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetContextInProcessSchedulingPriority(param0 : *mut D3DKMT_GETCONTEXTINPROCESSSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTGetContextInProcessSchedulingPriority(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTGetContextSchedulingPriority(param0: *mut D3DKMT_GETCONTEXTSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetContextSchedulingPriority(param0 : *mut D3DKMT_GETCONTEXTSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTGetContextSchedulingPriority(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTGetDWMVerticalBlankEvent(param0: *const D3DKMT_GETVERTICALBLANKEVENT) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetDWMVerticalBlankEvent(param0 : *const D3DKMT_GETVERTICALBLANKEVENT) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTGetDWMVerticalBlankEvent(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTGetDeviceState(param0: *mut D3DKMT_GETDEVICESTATE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetDeviceState(param0 : *mut D3DKMT_GETDEVICESTATE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTGetDeviceState(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTGetDisplayModeList(param0: *mut D3DKMT_GETDISPLAYMODELIST) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetDisplayModeList(param0 : *mut D3DKMT_GETDISPLAYMODELIST) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTGetDisplayModeList(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTGetMultiPlaneOverlayCaps(param0: *mut D3DKMT_GET_MULTIPLANE_OVERLAY_CAPS) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetMultiPlaneOverlayCaps(param0 : *mut D3DKMT_GET_MULTIPLANE_OVERLAY_CAPS) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTGetMultiPlaneOverlayCaps(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTGetMultisampleMethodList(param0: *mut D3DKMT_GETMULTISAMPLEMETHODLIST) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetMultisampleMethodList(param0 : *mut D3DKMT_GETMULTISAMPLEMETHODLIST) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTGetMultisampleMethodList(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTGetOverlayState(param0: *mut D3DKMT_GETOVERLAYSTATE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetOverlayState(param0 : *mut D3DKMT_GETOVERLAYSTATE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTGetOverlayState(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTGetPostCompositionCaps(param0: *mut D3DKMT_GET_POST_COMPOSITION_CAPS) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetPostCompositionCaps(param0 : *mut D3DKMT_GET_POST_COMPOSITION_CAPS) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTGetPostCompositionCaps(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTGetPresentHistory(param0: *mut D3DKMT_GETPRESENTHISTORY) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetPresentHistory(param0 : *mut D3DKMT_GETPRESENTHISTORY) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTGetPresentHistory(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTGetPresentQueueEvent(hadapter: u32, param1: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetPresentQueueEvent(hadapter : u32, param1 : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTGetPresentQueueEvent(hadapter, param1)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTGetProcessDeviceRemovalSupport(param0: *mut D3DKMT_GETPROCESSDEVICEREMOVALSUPPORT) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetProcessDeviceRemovalSupport(param0 : *mut D3DKMT_GETPROCESSDEVICEREMOVALSUPPORT) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTGetProcessDeviceRemovalSupport(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTGetProcessSchedulingPriorityClass<P0>(param0: P0, param1: *mut D3DKMT_SCHEDULINGPRIORITYCLASS) -> super::super::super::Win32::Foundation::NTSTATUS
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetProcessSchedulingPriorityClass(param0 : super::super::super::Win32::Foundation:: HANDLE, param1 : *mut D3DKMT_SCHEDULINGPRIORITYCLASS) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTGetProcessSchedulingPriorityClass(param0.into_param().abi(), param1)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTGetResourcePresentPrivateDriverData(param0: *mut D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetResourcePresentPrivateDriverData(param0 : *mut D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTGetResourcePresentPrivateDriverData(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTGetRuntimeData(param0: *mut D3DKMT_GETRUNTIMEDATA) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetRuntimeData(param0 : *mut D3DKMT_GETRUNTIMEDATA) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTGetRuntimeData(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTGetScanLine(param0: *mut D3DKMT_GETSCANLINE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetScanLine(param0 : *mut D3DKMT_GETSCANLINE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTGetScanLine(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTGetSharedPrimaryHandle(param0: *mut D3DKMT_GETSHAREDPRIMARYHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetSharedPrimaryHandle(param0 : *mut D3DKMT_GETSHAREDPRIMARYHANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTGetSharedPrimaryHandle(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTGetSharedResourceAdapterLuid(param0: *mut D3DKMT_GETSHAREDRESOURCEADAPTERLUID) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTGetSharedResourceAdapterLuid(param0 : *mut D3DKMT_GETSHAREDRESOURCEADAPTERLUID) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTGetSharedResourceAdapterLuid(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTInvalidateActiveVidPn(param0: *const D3DKMT_INVALIDATEACTIVEVIDPN) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTInvalidateActiveVidPn(param0 : *const D3DKMT_INVALIDATEACTIVEVIDPN) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTInvalidateActiveVidPn(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTInvalidateCache(param0: *const D3DKMT_INVALIDATECACHE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTInvalidateCache(param0 : *const D3DKMT_INVALIDATECACHE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTInvalidateCache(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTLock(param0: *mut D3DKMT_LOCK) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTLock(param0 : *mut D3DKMT_LOCK) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTLock(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTLock2(param0: *mut D3DKMT_LOCK2) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTLock2(param0 : *mut D3DKMT_LOCK2) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTLock2(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTMakeResident(param0: *mut D3DDDI_MAKERESIDENT) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTMakeResident(param0 : *mut D3DDDI_MAKERESIDENT) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTMakeResident(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTMapGpuVirtualAddress(param0: *mut D3DDDI_MAPGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTMapGpuVirtualAddress(param0 : *mut D3DDDI_MAPGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTMapGpuVirtualAddress(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTMarkDeviceAsError(param0: *const D3DKMT_MARKDEVICEASERROR) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTMarkDeviceAsError(param0 : *const D3DKMT_MARKDEVICEASERROR) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTMarkDeviceAsError(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTOfferAllocations(param0: *const D3DKMT_OFFERALLOCATIONS) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOfferAllocations(param0 : *const D3DKMT_OFFERALLOCATIONS) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTOfferAllocations(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTOpenAdapterFromDeviceName(param0: *mut D3DKMT_OPENADAPTERFROMDEVICENAME) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenAdapterFromDeviceName(param0 : *mut D3DKMT_OPENADAPTERFROMDEVICENAME) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTOpenAdapterFromDeviceName(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTOpenAdapterFromGdiDisplayName(param0: *mut D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenAdapterFromGdiDisplayName(param0 : *mut D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTOpenAdapterFromGdiDisplayName(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
#[inline]
pub unsafe fn D3DKMTOpenAdapterFromHdc(param0: *mut D3DKMT_OPENADAPTERFROMHDC) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenAdapterFromHdc(param0 : *mut D3DKMT_OPENADAPTERFROMHDC) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTOpenAdapterFromHdc(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTOpenAdapterFromLuid(param0: *mut D3DKMT_OPENADAPTERFROMLUID) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenAdapterFromLuid(param0 : *mut D3DKMT_OPENADAPTERFROMLUID) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTOpenAdapterFromLuid(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTOpenKeyedMutex(param0: *mut D3DKMT_OPENKEYEDMUTEX) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenKeyedMutex(param0 : *mut D3DKMT_OPENKEYEDMUTEX) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTOpenKeyedMutex(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTOpenKeyedMutex2(param0: *mut D3DKMT_OPENKEYEDMUTEX2) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenKeyedMutex2(param0 : *mut D3DKMT_OPENKEYEDMUTEX2) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTOpenKeyedMutex2(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTOpenKeyedMutexFromNtHandle(param0: *mut D3DKMT_OPENKEYEDMUTEXFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenKeyedMutexFromNtHandle(param0 : *mut D3DKMT_OPENKEYEDMUTEXFROMNTHANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTOpenKeyedMutexFromNtHandle(param0)
}
#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn D3DKMTOpenNtHandleFromName(param0: *mut D3DKMT_OPENNTHANDLEFROMNAME) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenNtHandleFromName(param0 : *mut D3DKMT_OPENNTHANDLEFROMNAME) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTOpenNtHandleFromName(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTOpenProtectedSessionFromNtHandle(param0: *mut D3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenProtectedSessionFromNtHandle(param0 : *mut D3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTOpenProtectedSessionFromNtHandle(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTOpenResource(param0: *mut D3DKMT_OPENRESOURCE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenResource(param0 : *mut D3DKMT_OPENRESOURCE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTOpenResource(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTOpenResource2(param0: *mut D3DKMT_OPENRESOURCE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenResource2(param0 : *mut D3DKMT_OPENRESOURCE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTOpenResource2(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTOpenResourceFromNtHandle(param0: *mut D3DKMT_OPENRESOURCEFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenResourceFromNtHandle(param0 : *mut D3DKMT_OPENRESOURCEFROMNTHANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTOpenResourceFromNtHandle(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTOpenSyncObjectFromNtHandle(param0: *mut D3DKMT_OPENSYNCOBJECTFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenSyncObjectFromNtHandle(param0 : *mut D3DKMT_OPENSYNCOBJECTFROMNTHANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTOpenSyncObjectFromNtHandle(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTOpenSyncObjectFromNtHandle2(param0: *mut D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenSyncObjectFromNtHandle2(param0 : *mut D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTOpenSyncObjectFromNtHandle2(param0)
}
#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn D3DKMTOpenSyncObjectNtHandleFromName(param0: *mut D3DKMT_OPENSYNCOBJECTNTHANDLEFROMNAME) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenSyncObjectNtHandleFromName(param0 : *mut D3DKMT_OPENSYNCOBJECTNTHANDLEFROMNAME) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTOpenSyncObjectNtHandleFromName(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTOpenSynchronizationObject(param0: *mut D3DKMT_OPENSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOpenSynchronizationObject(param0 : *mut D3DKMT_OPENSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTOpenSynchronizationObject(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTOutputDuplGetFrameInfo(param0: *mut D3DKMT_OUTPUTDUPL_GET_FRAMEINFO) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOutputDuplGetFrameInfo(param0 : *mut D3DKMT_OUTPUTDUPL_GET_FRAMEINFO) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTOutputDuplGetFrameInfo(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTOutputDuplGetMetaData(param0: *mut D3DKMT_OUTPUTDUPL_METADATA) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOutputDuplGetMetaData(param0 : *mut D3DKMT_OUTPUTDUPL_METADATA) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTOutputDuplGetMetaData(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTOutputDuplGetPointerShapeData(param0: *mut D3DKMT_OUTPUTDUPL_GET_POINTER_SHAPE_DATA) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOutputDuplGetPointerShapeData(param0 : *mut D3DKMT_OUTPUTDUPL_GET_POINTER_SHAPE_DATA) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTOutputDuplGetPointerShapeData(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTOutputDuplPresent(param0: *const D3DKMT_OUTPUTDUPLPRESENT) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOutputDuplPresent(param0 : *const D3DKMT_OUTPUTDUPLPRESENT) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTOutputDuplPresent(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTOutputDuplPresentToHwQueue(param0: *const D3DKMT_OUTPUTDUPLPRESENTTOHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("api-ms-win-dx-d3dkmt-l1-1-4.dll" "system" fn D3DKMTOutputDuplPresentToHwQueue(param0 : *const D3DKMT_OUTPUTDUPLPRESENTTOHWQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTOutputDuplPresentToHwQueue(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTOutputDuplReleaseFrame(param0: *mut D3DKMT_OUTPUTDUPL_RELEASE_FRAME) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTOutputDuplReleaseFrame(param0 : *mut D3DKMT_OUTPUTDUPL_RELEASE_FRAME) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTOutputDuplReleaseFrame(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTPollDisplayChildren(param0: *const D3DKMT_POLLDISPLAYCHILDREN) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTPollDisplayChildren(param0 : *const D3DKMT_POLLDISPLAYCHILDREN) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTPollDisplayChildren(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTPresent(param0: *mut D3DKMT_PRESENT) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTPresent(param0 : *mut D3DKMT_PRESENT) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTPresent(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTPresentMultiPlaneOverlay(param0: *const D3DKMT_PRESENT_MULTIPLANE_OVERLAY) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTPresentMultiPlaneOverlay(param0 : *const D3DKMT_PRESENT_MULTIPLANE_OVERLAY) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTPresentMultiPlaneOverlay(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTPresentMultiPlaneOverlay2(param0: *const D3DKMT_PRESENT_MULTIPLANE_OVERLAY2) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTPresentMultiPlaneOverlay2(param0 : *const D3DKMT_PRESENT_MULTIPLANE_OVERLAY2) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTPresentMultiPlaneOverlay2(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTPresentMultiPlaneOverlay3(param0: *const D3DKMT_PRESENT_MULTIPLANE_OVERLAY3) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTPresentMultiPlaneOverlay3(param0 : *const D3DKMT_PRESENT_MULTIPLANE_OVERLAY3) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTPresentMultiPlaneOverlay3(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTPresentRedirected(param0: *const D3DKMT_PRESENT_REDIRECTED) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTPresentRedirected(param0 : *const D3DKMT_PRESENT_REDIRECTED) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTPresentRedirected(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTQueryAdapterInfo(param0: *mut D3DKMT_QUERYADAPTERINFO) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryAdapterInfo(param0 : *mut D3DKMT_QUERYADAPTERINFO) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTQueryAdapterInfo(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTQueryAllocationResidency(param0: *const D3DKMT_QUERYALLOCATIONRESIDENCY) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryAllocationResidency(param0 : *const D3DKMT_QUERYALLOCATIONRESIDENCY) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTQueryAllocationResidency(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTQueryClockCalibration(param0: *mut D3DKMT_QUERYCLOCKCALIBRATION) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryClockCalibration(param0 : *mut D3DKMT_QUERYCLOCKCALIBRATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTQueryClockCalibration(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTQueryFSEBlock(param0: *mut D3DKMT_QUERYFSEBLOCK) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryFSEBlock(param0 : *mut D3DKMT_QUERYFSEBLOCK) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTQueryFSEBlock(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTQueryProcessOfferInfo(param0: *mut D3DKMT_QUERYPROCESSOFFERINFO) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryProcessOfferInfo(param0 : *mut D3DKMT_QUERYPROCESSOFFERINFO) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTQueryProcessOfferInfo(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTQueryProtectedSessionInfoFromNtHandle(param0: *mut D3DKMT_QUERYPROTECTEDSESSIONINFOFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryProtectedSessionInfoFromNtHandle(param0 : *mut D3DKMT_QUERYPROTECTEDSESSIONINFOFROMNTHANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTQueryProtectedSessionInfoFromNtHandle(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTQueryProtectedSessionStatus(param0: *mut D3DKMT_QUERYPROTECTEDSESSIONSTATUS) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryProtectedSessionStatus(param0 : *mut D3DKMT_QUERYPROTECTEDSESSIONSTATUS) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTQueryProtectedSessionStatus(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTQueryRemoteVidPnSourceFromGdiDisplayName(param0: *mut D3DKMT_QUERYREMOTEVIDPNSOURCEFROMGDIDISPLAYNAME) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryRemoteVidPnSourceFromGdiDisplayName(param0 : *mut D3DKMT_QUERYREMOTEVIDPNSOURCEFROMGDIDISPLAYNAME) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTQueryRemoteVidPnSourceFromGdiDisplayName(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTQueryResourceInfo(param0: *mut D3DKMT_QUERYRESOURCEINFO) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryResourceInfo(param0 : *mut D3DKMT_QUERYRESOURCEINFO) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTQueryResourceInfo(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTQueryResourceInfoFromNtHandle(param0: *mut D3DKMT_QUERYRESOURCEINFOFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryResourceInfoFromNtHandle(param0 : *mut D3DKMT_QUERYRESOURCEINFOFROMNTHANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTQueryResourceInfoFromNtHandle(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTQueryStatistics(param0: *const D3DKMT_QUERYSTATISTICS) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryStatistics(param0 : *const D3DKMT_QUERYSTATISTICS) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTQueryStatistics(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTQueryVidPnExclusiveOwnership(param0: *mut D3DKMT_QUERYVIDPNEXCLUSIVEOWNERSHIP) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryVidPnExclusiveOwnership(param0 : *mut D3DKMT_QUERYVIDPNEXCLUSIVEOWNERSHIP) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTQueryVidPnExclusiveOwnership(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTQueryVideoMemoryInfo(param0: *mut D3DKMT_QUERYVIDEOMEMORYINFO) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTQueryVideoMemoryInfo(param0 : *mut D3DKMT_QUERYVIDEOMEMORYINFO) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTQueryVideoMemoryInfo(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTReclaimAllocations(param0: *mut D3DKMT_RECLAIMALLOCATIONS) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTReclaimAllocations(param0 : *mut D3DKMT_RECLAIMALLOCATIONS) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTReclaimAllocations(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTReclaimAllocations2(param0: *mut D3DKMT_RECLAIMALLOCATIONS2) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTReclaimAllocations2(param0 : *mut D3DKMT_RECLAIMALLOCATIONS2) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTReclaimAllocations2(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTRegisterTrimNotification(param0: *mut D3DKMT_REGISTERTRIMNOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTRegisterTrimNotification(param0 : *mut D3DKMT_REGISTERTRIMNOTIFICATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTRegisterTrimNotification(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTRegisterVailProcess(param0: *const ::windows_core::GUID) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTRegisterVailProcess(param0 : *const ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTRegisterVailProcess(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTReleaseKeyedMutex(param0: *mut D3DKMT_RELEASEKEYEDMUTEX) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTReleaseKeyedMutex(param0 : *mut D3DKMT_RELEASEKEYEDMUTEX) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTReleaseKeyedMutex(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTReleaseKeyedMutex2(param0: *mut D3DKMT_RELEASEKEYEDMUTEX2) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTReleaseKeyedMutex2(param0 : *mut D3DKMT_RELEASEKEYEDMUTEX2) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTReleaseKeyedMutex2(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTReleaseProcessVidPnSourceOwners<P0>(param0: P0) -> super::super::super::Win32::Foundation::NTSTATUS
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTReleaseProcessVidPnSourceOwners(param0 : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTReleaseProcessVidPnSourceOwners(param0.into_param().abi())
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTRender(param0: *mut D3DKMT_RENDER) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTRender(param0 : *mut D3DKMT_RENDER) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTRender(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTReserveGpuVirtualAddress(param0: *mut D3DDDI_RESERVEGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTReserveGpuVirtualAddress(param0 : *mut D3DDDI_RESERVEGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTReserveGpuVirtualAddress(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSetAllocationPriority(param0: *const D3DKMT_SETALLOCATIONPRIORITY) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetAllocationPriority(param0 : *const D3DKMT_SETALLOCATIONPRIORITY) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSetAllocationPriority(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSetContextInProcessSchedulingPriority(param0: *const D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetContextInProcessSchedulingPriority(param0 : *const D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSetContextInProcessSchedulingPriority(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSetContextSchedulingPriority(param0: *const D3DKMT_SETCONTEXTSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetContextSchedulingPriority(param0 : *const D3DKMT_SETCONTEXTSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSetContextSchedulingPriority(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSetDisplayMode(param0: *mut D3DKMT_SETDISPLAYMODE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetDisplayMode(param0 : *mut D3DKMT_SETDISPLAYMODE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSetDisplayMode(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSetDisplayPrivateDriverFormat(param0: *const D3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetDisplayPrivateDriverFormat(param0 : *const D3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSetDisplayPrivateDriverFormat(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSetFSEBlock(param0: *const D3DKMT_SETFSEBLOCK) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetFSEBlock(param0 : *const D3DKMT_SETFSEBLOCK) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSetFSEBlock(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSetGammaRamp(param0: *const D3DKMT_SETGAMMARAMP) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetGammaRamp(param0 : *const D3DKMT_SETGAMMARAMP) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSetGammaRamp(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSetHwProtectionTeardownRecovery(param0: *const D3DKMT_SETHWPROTECTIONTEARDOWNRECOVERY) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetHwProtectionTeardownRecovery(param0 : *const D3DKMT_SETHWPROTECTIONTEARDOWNRECOVERY) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSetHwProtectionTeardownRecovery(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSetMonitorColorSpaceTransform(param0: *const D3DKMT_SET_COLORSPACE_TRANSFORM) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetMonitorColorSpaceTransform(param0 : *const D3DKMT_SET_COLORSPACE_TRANSFORM) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSetMonitorColorSpaceTransform(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSetProcessSchedulingPriorityClass<P0>(param0: P0, param1: D3DKMT_SCHEDULINGPRIORITYCLASS) -> super::super::super::Win32::Foundation::NTSTATUS
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetProcessSchedulingPriorityClass(param0 : super::super::super::Win32::Foundation:: HANDLE, param1 : D3DKMT_SCHEDULINGPRIORITYCLASS) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSetProcessSchedulingPriorityClass(param0.into_param().abi(), param1)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSetQueuedLimit(param0: *const D3DKMT_SETQUEUEDLIMIT) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetQueuedLimit(param0 : *const D3DKMT_SETQUEUEDLIMIT) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSetQueuedLimit(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSetStablePowerState(param0: *const D3DKMT_SETSTABLEPOWERSTATE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetStablePowerState(param0 : *const D3DKMT_SETSTABLEPOWERSTATE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSetStablePowerState(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSetSyncRefreshCountWaitTarget(param0: *const D3DKMT_SETSYNCREFRESHCOUNTWAITTARGET) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetSyncRefreshCountWaitTarget(param0 : *const D3DKMT_SETSYNCREFRESHCOUNTWAITTARGET) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSetSyncRefreshCountWaitTarget(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSetVidPnSourceHwProtection(param0: *const D3DKMT_SETVIDPNSOURCEHWPROTECTION) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetVidPnSourceHwProtection(param0 : *const D3DKMT_SETVIDPNSOURCEHWPROTECTION) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSetVidPnSourceHwProtection(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSetVidPnSourceOwner(param0: *const D3DKMT_SETVIDPNSOURCEOWNER) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetVidPnSourceOwner(param0 : *const D3DKMT_SETVIDPNSOURCEOWNER) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSetVidPnSourceOwner(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSetVidPnSourceOwner1(param0: *const D3DKMT_SETVIDPNSOURCEOWNER1) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetVidPnSourceOwner1(param0 : *const D3DKMT_SETVIDPNSOURCEOWNER1) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSetVidPnSourceOwner1(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSetVidPnSourceOwner2(param0: *const D3DKMT_SETVIDPNSOURCEOWNER2) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSetVidPnSourceOwner2(param0 : *const D3DKMT_SETVIDPNSOURCEOWNER2) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSetVidPnSourceOwner2(param0)
}
#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn D3DKMTShareObjects(hobjects: &[u32], pobjectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, dwdesiredaccess: u32, phsharednthandle: *mut super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" 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);
D3DKMTShareObjects(hobjects.len().try_into().unwrap(), ::core::mem::transmute(hobjects.as_ptr()), pobjectattributes, dwdesiredaccess, phsharednthandle)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSharedPrimaryLockNotification(param0: *const D3DKMT_SHAREDPRIMARYLOCKNOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSharedPrimaryLockNotification(param0 : *const D3DKMT_SHAREDPRIMARYLOCKNOTIFICATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSharedPrimaryLockNotification(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSharedPrimaryUnLockNotification(param0: *const D3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSharedPrimaryUnLockNotification(param0 : *const D3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSharedPrimaryUnLockNotification(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSignalSynchronizationObject(param0: *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSignalSynchronizationObject(param0 : *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSignalSynchronizationObject(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSignalSynchronizationObject2(param0: *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSignalSynchronizationObject2(param0 : *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSignalSynchronizationObject2(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSignalSynchronizationObjectFromCpu(param0: *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMCPU) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSignalSynchronizationObjectFromCpu(param0 : *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMCPU) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSignalSynchronizationObjectFromCpu(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSignalSynchronizationObjectFromGpu(param0: *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSignalSynchronizationObjectFromGpu(param0 : *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSignalSynchronizationObjectFromGpu(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSignalSynchronizationObjectFromGpu2(param0: *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSignalSynchronizationObjectFromGpu2(param0 : *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSignalSynchronizationObjectFromGpu2(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSubmitCommand(param0: *const D3DKMT_SUBMITCOMMAND) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSubmitCommand(param0 : *const D3DKMT_SUBMITCOMMAND) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSubmitCommand(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSubmitCommandToHwQueue(param0: *const D3DKMT_SUBMITCOMMANDTOHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSubmitCommandToHwQueue(param0 : *const D3DKMT_SUBMITCOMMANDTOHWQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSubmitCommandToHwQueue(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSubmitPresentBltToHwQueue(param0: *const D3DKMT_SUBMITPRESENTBLTTOHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("api-ms-win-dx-d3dkmt-l1-1-4.dll" "system" fn D3DKMTSubmitPresentBltToHwQueue(param0 : *const D3DKMT_SUBMITPRESENTBLTTOHWQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSubmitPresentBltToHwQueue(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSubmitPresentToHwQueue(param0: *mut D3DKMT_SUBMITPRESENTTOHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("api-ms-win-dx-d3dkmt-l1-1-4.dll" "system" fn D3DKMTSubmitPresentToHwQueue(param0 : *mut D3DKMT_SUBMITPRESENTTOHWQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSubmitPresentToHwQueue(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSubmitSignalSyncObjectsToHwQueue(param0: *const D3DKMT_SUBMITSIGNALSYNCOBJECTSTOHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSubmitSignalSyncObjectsToHwQueue(param0 : *const D3DKMT_SUBMITSIGNALSYNCOBJECTSTOHWQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSubmitSignalSyncObjectsToHwQueue(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTSubmitWaitForSyncObjectsToHwQueue(param0: *const D3DKMT_SUBMITWAITFORSYNCOBJECTSTOHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTSubmitWaitForSyncObjectsToHwQueue(param0 : *const D3DKMT_SUBMITWAITFORSYNCOBJECTSTOHWQUEUE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTSubmitWaitForSyncObjectsToHwQueue(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTTrimProcessCommitment(param0: *mut D3DKMT_TRIMPROCESSCOMMITMENT) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTTrimProcessCommitment(param0 : *mut D3DKMT_TRIMPROCESSCOMMITMENT) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTTrimProcessCommitment(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTUnlock(param0: *const D3DKMT_UNLOCK) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTUnlock(param0 : *const D3DKMT_UNLOCK) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTUnlock(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTUnlock2(param0: *const D3DKMT_UNLOCK2) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTUnlock2(param0 : *const D3DKMT_UNLOCK2) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTUnlock2(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTUnregisterTrimNotification(param0: *mut D3DKMT_UNREGISTERTRIMNOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTUnregisterTrimNotification(param0 : *mut D3DKMT_UNREGISTERTRIMNOTIFICATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTUnregisterTrimNotification(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTUpdateAllocationProperty(param0: *mut D3DDDI_UPDATEALLOCPROPERTY) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTUpdateAllocationProperty(param0 : *mut D3DDDI_UPDATEALLOCPROPERTY) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTUpdateAllocationProperty(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTUpdateGpuVirtualAddress(param0: *const D3DKMT_UPDATEGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTUpdateGpuVirtualAddress(param0 : *const D3DKMT_UPDATEGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTUpdateGpuVirtualAddress(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTUpdateOverlay(param0: *const D3DKMT_UPDATEOVERLAY) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTUpdateOverlay(param0 : *const D3DKMT_UPDATEOVERLAY) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTUpdateOverlay(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTWaitForIdle(param0: *const D3DKMT_WAITFORIDLE) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTWaitForIdle(param0 : *const D3DKMT_WAITFORIDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTWaitForIdle(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTWaitForSynchronizationObject(param0: *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTWaitForSynchronizationObject(param0 : *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTWaitForSynchronizationObject(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTWaitForSynchronizationObject2(param0: *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTWaitForSynchronizationObject2(param0 : *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTWaitForSynchronizationObject2(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTWaitForSynchronizationObjectFromCpu(param0: *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMCPU) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTWaitForSynchronizationObjectFromCpu(param0 : *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMCPU) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTWaitForSynchronizationObjectFromCpu(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTWaitForSynchronizationObjectFromGpu(param0: *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTWaitForSynchronizationObjectFromGpu(param0 : *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTWaitForSynchronizationObjectFromGpu(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTWaitForVerticalBlankEvent(param0: *const D3DKMT_WAITFORVERTICALBLANKEVENT) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTWaitForVerticalBlankEvent(param0 : *const D3DKMT_WAITFORVERTICALBLANKEVENT) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTWaitForVerticalBlankEvent(param0)
}
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn D3DKMTWaitForVerticalBlankEvent2(param0: *const D3DKMT_WAITFORVERTICALBLANKEVENT2) -> super::super::super::Win32::Foundation::NTSTATUS {
::windows_targets::link!("gdi32.dll" "system" fn D3DKMTWaitForVerticalBlankEvent2(param0 : *const D3DKMT_WAITFORVERTICALBLANKEVENT2) -> super::super::super::Win32::Foundation:: NTSTATUS);
D3DKMTWaitForVerticalBlankEvent2(param0)
}
pub const D3DCLEAR_COMPUTERECTS: i32 = 8i32;
pub const D3DDDIFMT_A1: D3DDDIFORMAT = D3DDDIFORMAT(118u32);
pub const D3DDDIFMT_A16B16G16R16: D3DDDIFORMAT = D3DDDIFORMAT(36u32);
pub const D3DDDIFMT_A16B16G16R16F: D3DDDIFORMAT = D3DDDIFORMAT(113u32);
pub const D3DDDIFMT_A1R5G5B5: D3DDDIFORMAT = D3DDDIFORMAT(25u32);
pub const D3DDDIFMT_A2B10G10R10: D3DDDIFORMAT = D3DDDIFORMAT(31u32);
pub const D3DDDIFMT_A2B10G10R10_XR_BIAS: D3DDDIFORMAT = D3DDDIFORMAT(119u32);
pub const D3DDDIFMT_A2R10G10B10: D3DDDIFORMAT = D3DDDIFORMAT(35u32);
pub const D3DDDIFMT_A2W10V10U10: D3DDDIFORMAT = D3DDDIFORMAT(67u32);
pub const D3DDDIFMT_A32B32G32R32F: D3DDDIFORMAT = D3DDDIFORMAT(116u32);
pub const D3DDDIFMT_A4L4: D3DDDIFORMAT = D3DDDIFORMAT(52u32);
pub const D3DDDIFMT_A4R4G4B4: D3DDDIFORMAT = D3DDDIFORMAT(26u32);
pub const D3DDDIFMT_A8: D3DDDIFORMAT = D3DDDIFORMAT(28u32);
pub const D3DDDIFMT_A8B8G8R8: D3DDDIFORMAT = D3DDDIFORMAT(32u32);
pub const D3DDDIFMT_A8L8: D3DDDIFORMAT = D3DDDIFORMAT(51u32);
pub const D3DDDIFMT_A8P8: D3DDDIFORMAT = D3DDDIFORMAT(40u32);
pub const D3DDDIFMT_A8R3G3B2: D3DDDIFORMAT = D3DDDIFORMAT(29u32);
pub const D3DDDIFMT_A8R8G8B8: D3DDDIFORMAT = D3DDDIFORMAT(21u32);
pub const D3DDDIFMT_BINARYBUFFER: D3DDDIFORMAT = D3DDDIFORMAT(199u32);
pub const D3DDDIFMT_BITSTREAMDATA: D3DDDIFORMAT = D3DDDIFORMAT(156u32);
pub const D3DDDIFMT_CxV8U8: D3DDDIFORMAT = D3DDDIFORMAT(117u32);
pub const D3DDDIFMT_D15S1: D3DDDIFORMAT = D3DDDIFORMAT(73u32);
pub const D3DDDIFMT_D16: D3DDDIFORMAT = D3DDDIFORMAT(80u32);
pub const D3DDDIFMT_D16_LOCKABLE: D3DDDIFORMAT = D3DDDIFORMAT(70u32);
pub const D3DDDIFMT_D24FS8: D3DDDIFORMAT = D3DDDIFORMAT(83u32);
pub const D3DDDIFMT_D24S8: D3DDDIFORMAT = D3DDDIFORMAT(75u32);
pub const D3DDDIFMT_D24X4S4: D3DDDIFORMAT = D3DDDIFORMAT(79u32);
pub const D3DDDIFMT_D24X8: D3DDDIFORMAT = D3DDDIFORMAT(77u32);
pub const D3DDDIFMT_D32: D3DDDIFORMAT = D3DDDIFORMAT(71u32);
pub const D3DDDIFMT_D32F_LOCKABLE: D3DDDIFORMAT = D3DDDIFORMAT(82u32);
pub const D3DDDIFMT_D32_LOCKABLE: D3DDDIFORMAT = D3DDDIFORMAT(84u32);
pub const D3DDDIFMT_DEBLOCKINGDATA: D3DDDIFORMAT = D3DDDIFORMAT(153u32);
pub const D3DDDIFMT_DXT1: D3DDDIFORMAT = D3DDDIFORMAT(827611204u32);
pub const D3DDDIFMT_DXT2: D3DDDIFORMAT = D3DDDIFORMAT(844388420u32);
pub const D3DDDIFMT_DXT3: D3DDDIFORMAT = D3DDDIFORMAT(861165636u32);
pub const D3DDDIFMT_DXT4: D3DDDIFORMAT = D3DDDIFORMAT(877942852u32);
pub const D3DDDIFMT_DXT5: D3DDDIFORMAT = D3DDDIFORMAT(894720068u32);
pub const D3DDDIFMT_DXVACOMPBUFFER_BASE: D3DDDIFORMAT = D3DDDIFORMAT(150u32);
pub const D3DDDIFMT_DXVACOMPBUFFER_MAX: D3DDDIFORMAT = D3DDDIFORMAT(181u32);
pub const D3DDDIFMT_DXVA_RESERVED10: D3DDDIFORMAT = D3DDDIFORMAT(160u32);
pub const D3DDDIFMT_DXVA_RESERVED11: D3DDDIFORMAT = D3DDDIFORMAT(161u32);
pub const D3DDDIFMT_DXVA_RESERVED12: D3DDDIFORMAT = D3DDDIFORMAT(162u32);
pub const D3DDDIFMT_DXVA_RESERVED13: D3DDDIFORMAT = D3DDDIFORMAT(163u32);
pub const D3DDDIFMT_DXVA_RESERVED14: D3DDDIFORMAT = D3DDDIFORMAT(164u32);
pub const D3DDDIFMT_DXVA_RESERVED15: D3DDDIFORMAT = D3DDDIFORMAT(165u32);
pub const D3DDDIFMT_DXVA_RESERVED16: D3DDDIFORMAT = D3DDDIFORMAT(166u32);
pub const D3DDDIFMT_DXVA_RESERVED17: D3DDDIFORMAT = D3DDDIFORMAT(167u32);
pub const D3DDDIFMT_DXVA_RESERVED18: D3DDDIFORMAT = D3DDDIFORMAT(168u32);
pub const D3DDDIFMT_DXVA_RESERVED19: D3DDDIFORMAT = D3DDDIFORMAT(169u32);
pub const D3DDDIFMT_DXVA_RESERVED20: D3DDDIFORMAT = D3DDDIFORMAT(170u32);
pub const D3DDDIFMT_DXVA_RESERVED21: D3DDDIFORMAT = D3DDDIFORMAT(171u32);
pub const D3DDDIFMT_DXVA_RESERVED22: D3DDDIFORMAT = D3DDDIFORMAT(172u32);
pub const D3DDDIFMT_DXVA_RESERVED23: D3DDDIFORMAT = D3DDDIFORMAT(173u32);
pub const D3DDDIFMT_DXVA_RESERVED24: D3DDDIFORMAT = D3DDDIFORMAT(174u32);
pub const D3DDDIFMT_DXVA_RESERVED25: D3DDDIFORMAT = D3DDDIFORMAT(175u32);
pub const D3DDDIFMT_DXVA_RESERVED26: D3DDDIFORMAT = D3DDDIFORMAT(176u32);
pub const D3DDDIFMT_DXVA_RESERVED27: D3DDDIFORMAT = D3DDDIFORMAT(177u32);
pub const D3DDDIFMT_DXVA_RESERVED28: D3DDDIFORMAT = D3DDDIFORMAT(178u32);
pub const D3DDDIFMT_DXVA_RESERVED29: D3DDDIFORMAT = D3DDDIFORMAT(179u32);
pub const D3DDDIFMT_DXVA_RESERVED30: D3DDDIFORMAT = D3DDDIFORMAT(180u32);
pub const D3DDDIFMT_DXVA_RESERVED31: D3DDDIFORMAT = D3DDDIFORMAT(181u32);
pub const D3DDDIFMT_DXVA_RESERVED9: D3DDDIFORMAT = D3DDDIFORMAT(159u32);
pub const D3DDDIFMT_FILMGRAINBUFFER: D3DDDIFORMAT = D3DDDIFORMAT(158u32);
pub const D3DDDIFMT_G16R16: D3DDDIFORMAT = D3DDDIFORMAT(34u32);
pub const D3DDDIFMT_G16R16F: D3DDDIFORMAT = D3DDDIFORMAT(112u32);
pub const D3DDDIFMT_G32R32F: D3DDDIFORMAT = D3DDDIFORMAT(115u32);
pub const D3DDDIFMT_G8R8: D3DDDIFORMAT = D3DDDIFORMAT(91u32);
pub const D3DDDIFMT_G8R8_G8B8: D3DDDIFORMAT = D3DDDIFORMAT(1111970375u32);
pub const D3DDDIFMT_INDEX16: D3DDDIFORMAT = D3DDDIFORMAT(101u32);
pub const D3DDDIFMT_INDEX32: D3DDDIFORMAT = D3DDDIFORMAT(102u32);
pub const D3DDDIFMT_INVERSEQUANTIZATIONDATA: D3DDDIFORMAT = D3DDDIFORMAT(154u32);
pub const D3DDDIFMT_L16: D3DDDIFORMAT = D3DDDIFORMAT(81u32);
pub const D3DDDIFMT_L6V5U5: D3DDDIFORMAT = D3DDDIFORMAT(61u32);
pub const D3DDDIFMT_L8: D3DDDIFORMAT = D3DDDIFORMAT(50u32);
pub const D3DDDIFMT_MACROBLOCKDATA: D3DDDIFORMAT = D3DDDIFORMAT(151u32);
pub const D3DDDIFMT_MOTIONVECTORBUFFER: D3DDDIFORMAT = D3DDDIFORMAT(157u32);
pub const D3DDDIFMT_MULTI2_ARGB8: D3DDDIFORMAT = D3DDDIFORMAT(827606349u32);
pub const D3DDDIFMT_P8: D3DDDIFORMAT = D3DDDIFORMAT(41u32);
pub const D3DDDIFMT_PICTUREPARAMSDATA: D3DDDIFORMAT = D3DDDIFORMAT(150u32);
pub const D3DDDIFMT_Q16W16V16U16: D3DDDIFORMAT = D3DDDIFORMAT(110u32);
pub const D3DDDIFMT_Q8W8V8U8: D3DDDIFORMAT = D3DDDIFORMAT(63u32);
pub const D3DDDIFMT_R16F: D3DDDIFORMAT = D3DDDIFORMAT(111u32);
pub const D3DDDIFMT_R32F: D3DDDIFORMAT = D3DDDIFORMAT(114u32);
pub const D3DDDIFMT_R3G3B2: D3DDDIFORMAT = D3DDDIFORMAT(27u32);
pub const D3DDDIFMT_R5G6B5: D3DDDIFORMAT = D3DDDIFORMAT(23u32);
pub const D3DDDIFMT_R8: D3DDDIFORMAT = D3DDDIFORMAT(92u32);
pub const D3DDDIFMT_R8G8B8: D3DDDIFORMAT = D3DDDIFORMAT(20u32);
pub const D3DDDIFMT_R8G8_B8G8: D3DDDIFORMAT = D3DDDIFORMAT(1195525970u32);
pub const D3DDDIFMT_RESIDUALDIFFERENCEDATA: D3DDDIFORMAT = D3DDDIFORMAT(152u32);
pub const D3DDDIFMT_S1D15: D3DDDIFORMAT = D3DDDIFORMAT(72u32);
pub const D3DDDIFMT_S8D24: D3DDDIFORMAT = D3DDDIFORMAT(74u32);
pub const D3DDDIFMT_S8_LOCKABLE: D3DDDIFORMAT = D3DDDIFORMAT(85u32);
pub const D3DDDIFMT_SLICECONTROLDATA: D3DDDIFORMAT = D3DDDIFORMAT(155u32);
pub const D3DDDIFMT_UNKNOWN: D3DDDIFORMAT = D3DDDIFORMAT(0u32);
pub const D3DDDIFMT_UYVY: D3DDDIFORMAT = D3DDDIFORMAT(1498831189u32);
pub const D3DDDIFMT_V16U16: D3DDDIFORMAT = D3DDDIFORMAT(64u32);
pub const D3DDDIFMT_V8U8: D3DDDIFORMAT = D3DDDIFORMAT(60u32);
pub const D3DDDIFMT_VERTEXDATA: D3DDDIFORMAT = D3DDDIFORMAT(100u32);
pub const D3DDDIFMT_W11V11U10: D3DDDIFORMAT = D3DDDIFORMAT(65u32);
pub const D3DDDIFMT_X1R5G5B5: D3DDDIFORMAT = D3DDDIFORMAT(24u32);
pub const D3DDDIFMT_X4R4G4B4: D3DDDIFORMAT = D3DDDIFORMAT(30u32);
pub const D3DDDIFMT_X4S4D24: D3DDDIFORMAT = D3DDDIFORMAT(78u32);
pub const D3DDDIFMT_X8B8G8R8: D3DDDIFORMAT = D3DDDIFORMAT(33u32);
pub const D3DDDIFMT_X8D24: D3DDDIFORMAT = D3DDDIFORMAT(76u32);
pub const D3DDDIFMT_X8L8V8U8: D3DDDIFORMAT = D3DDDIFORMAT(62u32);
pub const D3DDDIFMT_X8R8G8B8: D3DDDIFORMAT = D3DDDIFORMAT(22u32);
pub const D3DDDIFMT_YUY2: D3DDDIFORMAT = D3DDDIFORMAT(844715353u32);
pub const D3DDDIGPUVIRTUALADDRESS_RESERVE_NO_ACCESS: D3DDDIGPUVIRTUALADDRESS_RESERVATION_TYPE = D3DDDIGPUVIRTUALADDRESS_RESERVATION_TYPE(0i32);
pub const D3DDDIGPUVIRTUALADDRESS_RESERVE_NO_COMMIT: D3DDDIGPUVIRTUALADDRESS_RESERVATION_TYPE = D3DDDIGPUVIRTUALADDRESS_RESERVATION_TYPE(2i32);
pub const D3DDDIGPUVIRTUALADDRESS_RESERVE_ZERO: D3DDDIGPUVIRTUALADDRESS_RESERVATION_TYPE = D3DDDIGPUVIRTUALADDRESS_RESERVATION_TYPE(1i32);
pub const D3DDDIMULTISAMPLE_10_SAMPLES: D3DDDIMULTISAMPLE_TYPE = D3DDDIMULTISAMPLE_TYPE(10i32);
pub const D3DDDIMULTISAMPLE_11_SAMPLES: D3DDDIMULTISAMPLE_TYPE = D3DDDIMULTISAMPLE_TYPE(11i32);
pub const D3DDDIMULTISAMPLE_12_SAMPLES: D3DDDIMULTISAMPLE_TYPE = D3DDDIMULTISAMPLE_TYPE(12i32);
pub const D3DDDIMULTISAMPLE_13_SAMPLES: D3DDDIMULTISAMPLE_TYPE = D3DDDIMULTISAMPLE_TYPE(13i32);
pub const D3DDDIMULTISAMPLE_14_SAMPLES: D3DDDIMULTISAMPLE_TYPE = D3DDDIMULTISAMPLE_TYPE(14i32);
pub const D3DDDIMULTISAMPLE_15_SAMPLES: D3DDDIMULTISAMPLE_TYPE = D3DDDIMULTISAMPLE_TYPE(15i32);
pub const D3DDDIMULTISAMPLE_16_SAMPLES: D3DDDIMULTISAMPLE_TYPE = D3DDDIMULTISAMPLE_TYPE(16i32);
pub const D3DDDIMULTISAMPLE_2_SAMPLES: D3DDDIMULTISAMPLE_TYPE = D3DDDIMULTISAMPLE_TYPE(2i32);
pub const D3DDDIMULTISAMPLE_3_SAMPLES: D3DDDIMULTISAMPLE_TYPE = D3DDDIMULTISAMPLE_TYPE(3i32);
pub const D3DDDIMULTISAMPLE_4_SAMPLES: D3DDDIMULTISAMPLE_TYPE = D3DDDIMULTISAMPLE_TYPE(4i32);
pub const D3DDDIMULTISAMPLE_5_SAMPLES: D3DDDIMULTISAMPLE_TYPE = D3DDDIMULTISAMPLE_TYPE(5i32);
pub const D3DDDIMULTISAMPLE_6_SAMPLES: D3DDDIMULTISAMPLE_TYPE = D3DDDIMULTISAMPLE_TYPE(6i32);
pub const D3DDDIMULTISAMPLE_7_SAMPLES: D3DDDIMULTISAMPLE_TYPE = D3DDDIMULTISAMPLE_TYPE(7i32);
pub const D3DDDIMULTISAMPLE_8_SAMPLES: D3DDDIMULTISAMPLE_TYPE = D3DDDIMULTISAMPLE_TYPE(8i32);
pub const D3DDDIMULTISAMPLE_9_SAMPLES: D3DDDIMULTISAMPLE_TYPE = D3DDDIMULTISAMPLE_TYPE(9i32);
pub const D3DDDIMULTISAMPLE_NONE: D3DDDIMULTISAMPLE_TYPE = D3DDDIMULTISAMPLE_TYPE(0i32);
pub const D3DDDIMULTISAMPLE_NONMASKABLE: D3DDDIMULTISAMPLE_TYPE = D3DDDIMULTISAMPLE_TYPE(1i32);
pub const D3DDDIPOOL_LOCALVIDMEM: D3DDDI_POOL = D3DDDI_POOL(3i32);
pub const D3DDDIPOOL_NONLOCALVIDMEM: D3DDDI_POOL = D3DDDI_POOL(4i32);
pub const D3DDDIPOOL_STAGINGMEM: D3DDDI_POOL = D3DDDI_POOL(5i32);
pub const D3DDDIPOOL_SYSTEMMEM: D3DDDI_POOL = D3DDDI_POOL(1i32);
pub const D3DDDIPOOL_VIDEOMEMORY: D3DDDI_POOL = D3DDDI_POOL(2i32);
pub const D3DDDI_ALLOCATIONPRIORITY_HIGH: u32 = 2684354560u32;
pub const D3DDDI_ALLOCATIONPRIORITY_LOW: u32 = 1342177280u32;
pub const D3DDDI_ALLOCATIONPRIORITY_MAXIMUM: u32 = 3355443200u32;
pub const D3DDDI_ALLOCATIONPRIORITY_MINIMUM: u32 = 671088640u32;
pub const D3DDDI_ALLOCATIONPRIORITY_NORMAL: u32 = 2013265920u32;
pub const D3DDDI_COLOR_SPACE_CUSTOM: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(-1i32);
pub const D3DDDI_COLOR_SPACE_RESERVED: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(4i32);
pub const D3DDDI_COLOR_SPACE_RGB_FULL_G10_NONE_P709: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(1i32);
pub const D3DDDI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(12i32);
pub const D3DDDI_COLOR_SPACE_RGB_FULL_G22_NONE_P2020: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(17i32);
pub const D3DDDI_COLOR_SPACE_RGB_FULL_G22_NONE_P709: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(0i32);
pub const D3DDDI_COLOR_SPACE_RGB_STUDIO_G2084_NONE_P2020: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(14i32);
pub const D3DDDI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P2020: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(3i32);
pub const D3DDDI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P709: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(2i32);
pub const D3DDDI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P2020: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(21i32);
pub const D3DDDI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P709: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(20i32);
pub const D3DDDI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P2020: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(11i32);
pub const D3DDDI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P601: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(7i32);
pub const D3DDDI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P709: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(9i32);
pub const D3DDDI_COLOR_SPACE_YCBCR_FULL_G22_NONE_P709_X601: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(5i32);
pub const D3DDDI_COLOR_SPACE_YCBCR_FULL_GHLG_TOPLEFT_P2020: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(19i32);
pub const D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G2084_LEFT_P2020: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(13i32);
pub const D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G2084_TOPLEFT_P2020: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(16i32);
pub const D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P2020: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(10i32);
pub const D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(6i32);
pub const D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(8i32);
pub const D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G22_TOPLEFT_P2020: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(15i32);
pub const D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P2020: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(23i32);
pub const D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P709: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(22i32);
pub const D3DDDI_COLOR_SPACE_YCBCR_STUDIO_G24_TOPLEFT_P2020: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(24i32);
pub const D3DDDI_COLOR_SPACE_YCBCR_STUDIO_GHLG_TOPLEFT_P2020: D3DDDI_COLOR_SPACE_TYPE = D3DDDI_COLOR_SPACE_TYPE(18i32);
pub const D3DDDI_CPU_NOTIFICATION: D3DDDI_SYNCHRONIZATIONOBJECT_TYPE = D3DDDI_SYNCHRONIZATIONOBJECT_TYPE(4i32);
pub const D3DDDI_DOORBELLSTATUS_CONNECTED: D3DDDI_DOORBELLSTATUS = D3DDDI_DOORBELLSTATUS(0i32);
pub const D3DDDI_DOORBELLSTATUS_CONNECTED_NOTIFY_KMD: D3DDDI_DOORBELLSTATUS = D3DDDI_DOORBELLSTATUS(1i32);
pub const D3DDDI_DOORBELLSTATUS_DISCONNECTED_ABORT: D3DDDI_DOORBELLSTATUS = D3DDDI_DOORBELLSTATUS(3i32);
pub const D3DDDI_DOORBELLSTATUS_DISCONNECTED_RETRY: D3DDDI_DOORBELLSTATUS = D3DDDI_DOORBELLSTATUS(2i32);
pub const D3DDDI_DOORBELL_PRIVATEDATA_MAX_BYTES_WDDM3_1: u32 = 16u32;
pub const D3DDDI_DRIVERESCAPETYPE_CPUEVENTUSAGE: D3DDDI_DRIVERESCAPETYPE = D3DDDI_DRIVERESCAPETYPE(2i32);
pub const D3DDDI_DRIVERESCAPETYPE_MAX: D3DDDI_DRIVERESCAPETYPE = D3DDDI_DRIVERESCAPETYPE(3i32);
pub const D3DDDI_DRIVERESCAPETYPE_TRANSLATEALLOCATIONHANDLE: D3DDDI_DRIVERESCAPETYPE = D3DDDI_DRIVERESCAPETYPE(0i32);
pub const D3DDDI_DRIVERESCAPETYPE_TRANSLATERESOURCEHANDLE: D3DDDI_DRIVERESCAPETYPE = D3DDDI_DRIVERESCAPETYPE(1i32);
pub const D3DDDI_FENCE: D3DDDI_SYNCHRONIZATIONOBJECT_TYPE = D3DDDI_SYNCHRONIZATIONOBJECT_TYPE(3i32);
pub const D3DDDI_FLIPINTERVAL_FOUR: D3DDDI_FLIPINTERVAL_TYPE = D3DDDI_FLIPINTERVAL_TYPE(4i32);
pub const D3DDDI_FLIPINTERVAL_IMMEDIATE: D3DDDI_FLIPINTERVAL_TYPE = D3DDDI_FLIPINTERVAL_TYPE(0i32);
pub const D3DDDI_FLIPINTERVAL_IMMEDIATE_ALLOW_TEARING: D3DDDI_FLIPINTERVAL_TYPE = D3DDDI_FLIPINTERVAL_TYPE(5i32);
pub const D3DDDI_FLIPINTERVAL_ONE: D3DDDI_FLIPINTERVAL_TYPE = D3DDDI_FLIPINTERVAL_TYPE(1i32);
pub const D3DDDI_FLIPINTERVAL_THREE: D3DDDI_FLIPINTERVAL_TYPE = D3DDDI_FLIPINTERVAL_TYPE(3i32);
pub const D3DDDI_FLIPINTERVAL_TWO: D3DDDI_FLIPINTERVAL_TYPE = D3DDDI_FLIPINTERVAL_TYPE(2i32);
pub const D3DDDI_GAMMARAMP_DEFAULT: D3DDDI_GAMMARAMP_TYPE = D3DDDI_GAMMARAMP_TYPE(1i32);
pub const D3DDDI_GAMMARAMP_DXGI_1: D3DDDI_GAMMARAMP_TYPE = D3DDDI_GAMMARAMP_TYPE(3i32);
pub const D3DDDI_GAMMARAMP_MATRIX_3x4: D3DDDI_GAMMARAMP_TYPE = D3DDDI_GAMMARAMP_TYPE(4i32);
pub const D3DDDI_GAMMARAMP_MATRIX_V2: D3DDDI_GAMMARAMP_TYPE = D3DDDI_GAMMARAMP_TYPE(5i32);
pub const D3DDDI_GAMMARAMP_RGB256x3x16: D3DDDI_GAMMARAMP_TYPE = D3DDDI_GAMMARAMP_TYPE(2i32);
pub const D3DDDI_GAMMARAMP_UNINITIALIZED: D3DDDI_GAMMARAMP_TYPE = D3DDDI_GAMMARAMP_TYPE(0i32);
pub const D3DDDI_HDR_METADATA_TYPE_HDR10: D3DDDI_HDR_METADATA_TYPE = D3DDDI_HDR_METADATA_TYPE(1i32);
pub const D3DDDI_HDR_METADATA_TYPE_HDR10PLUS: D3DDDI_HDR_METADATA_TYPE = D3DDDI_HDR_METADATA_TYPE(2i32);
pub const D3DDDI_HDR_METADATA_TYPE_NONE: D3DDDI_HDR_METADATA_TYPE = D3DDDI_HDR_METADATA_TYPE(0i32);
pub const D3DDDI_MAX_BROADCAST_CONTEXT: u32 = 64u32;
pub const D3DDDI_MAX_MPO_PRESENT_DIRTY_RECTS: u32 = 4095u32;
pub const D3DDDI_MAX_OBJECT_SIGNALED: u32 = 32u32;
pub const D3DDDI_MAX_OBJECT_WAITED_ON: u32 = 32u32;
pub const D3DDDI_MAX_WRITTEN_PRIMARIES: u32 = 16u32;
pub const D3DDDI_MONITORED_FENCE: D3DDDI_SYNCHRONIZATIONOBJECT_TYPE = D3DDDI_SYNCHRONIZATIONOBJECT_TYPE(5i32);
pub const D3DDDI_OFFER_PRIORITY_AUTO: D3DDDI_OFFER_PRIORITY = D3DDDI_OFFER_PRIORITY(4i32);
pub const D3DDDI_OFFER_PRIORITY_HIGH: D3DDDI_OFFER_PRIORITY = D3DDDI_OFFER_PRIORITY(3i32);
pub const D3DDDI_OFFER_PRIORITY_LOW: D3DDDI_OFFER_PRIORITY = D3DDDI_OFFER_PRIORITY(1i32);
pub const D3DDDI_OFFER_PRIORITY_NONE: D3DDDI_OFFER_PRIORITY = D3DDDI_OFFER_PRIORITY(0i32);
pub const D3DDDI_OFFER_PRIORITY_NORMAL: D3DDDI_OFFER_PRIORITY = D3DDDI_OFFER_PRIORITY(2i32);
pub const D3DDDI_OUTPUT_WIRE_COLOR_SPACE_G2084_P2020: D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE = D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE(12i32);
pub const D3DDDI_OUTPUT_WIRE_COLOR_SPACE_G2084_P2020_DVLL: D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE = D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE(33i32);
pub const D3DDDI_OUTPUT_WIRE_COLOR_SPACE_G2084_P2020_HDR10PLUS: D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE = D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE(32i32);
pub const D3DDDI_OUTPUT_WIRE_COLOR_SPACE_G22_P2020: D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE = D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE(31i32);
pub const D3DDDI_OUTPUT_WIRE_COLOR_SPACE_G22_P709: D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE = D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE(0i32);
pub const D3DDDI_OUTPUT_WIRE_COLOR_SPACE_G22_P709_WCG: D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE = D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE(30i32);
pub const D3DDDI_OUTPUT_WIRE_COLOR_SPACE_RESERVED: D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE = D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE(4i32);
pub const D3DDDI_PAGINGQUEUE_PRIORITY_ABOVE_NORMAL: D3DDDI_PAGINGQUEUE_PRIORITY = D3DDDI_PAGINGQUEUE_PRIORITY(1i32);
pub const D3DDDI_PAGINGQUEUE_PRIORITY_BELOW_NORMAL: D3DDDI_PAGINGQUEUE_PRIORITY = D3DDDI_PAGINGQUEUE_PRIORITY(-1i32);
pub const D3DDDI_PAGINGQUEUE_PRIORITY_NORMAL: D3DDDI_PAGINGQUEUE_PRIORITY = D3DDDI_PAGINGQUEUE_PRIORITY(0i32);
pub const D3DDDI_PERIODIC_MONITORED_FENCE: D3DDDI_SYNCHRONIZATIONOBJECT_TYPE = D3DDDI_SYNCHRONIZATIONOBJECT_TYPE(6i32);
pub const D3DDDI_QUERYREGISTRY_ADAPTERKEY: D3DDDI_QUERYREGISTRY_TYPE = D3DDDI_QUERYREGISTRY_TYPE(1i32);
pub const D3DDDI_QUERYREGISTRY_DRIVERIMAGEPATH: D3DDDI_QUERYREGISTRY_TYPE = D3DDDI_QUERYREGISTRY_TYPE(3i32);
pub const D3DDDI_QUERYREGISTRY_DRIVERSTOREPATH: D3DDDI_QUERYREGISTRY_TYPE = D3DDDI_QUERYREGISTRY_TYPE(2i32);
pub const D3DDDI_QUERYREGISTRY_MAX: D3DDDI_QUERYREGISTRY_TYPE = D3DDDI_QUERYREGISTRY_TYPE(4i32);
pub const D3DDDI_QUERYREGISTRY_SERVICEKEY: D3DDDI_QUERYREGISTRY_TYPE = D3DDDI_QUERYREGISTRY_TYPE(0i32);
pub const D3DDDI_QUERYREGISTRY_STATUS_BUFFER_OVERFLOW: D3DDDI_QUERYREGISTRY_STATUS = D3DDDI_QUERYREGISTRY_STATUS(1i32);
pub const D3DDDI_QUERYREGISTRY_STATUS_FAIL: D3DDDI_QUERYREGISTRY_STATUS = D3DDDI_QUERYREGISTRY_STATUS(2i32);
pub const D3DDDI_QUERYREGISTRY_STATUS_MAX: D3DDDI_QUERYREGISTRY_STATUS = D3DDDI_QUERYREGISTRY_STATUS(3i32);
pub const D3DDDI_QUERYREGISTRY_STATUS_SUCCESS: D3DDDI_QUERYREGISTRY_STATUS = D3DDDI_QUERYREGISTRY_STATUS(0i32);
pub const D3DDDI_RECLAIM_RESULT_DISCARDED: D3DDDI_RECLAIM_RESULT = D3DDDI_RECLAIM_RESULT(1i32);
pub const D3DDDI_RECLAIM_RESULT_NOT_COMMITTED: D3DDDI_RECLAIM_RESULT = D3DDDI_RECLAIM_RESULT(2i32);
pub const D3DDDI_RECLAIM_RESULT_OK: D3DDDI_RECLAIM_RESULT = D3DDDI_RECLAIM_RESULT(0i32);
pub const D3DDDI_ROTATION_180: D3DDDI_ROTATION = D3DDDI_ROTATION(3i32);
pub const D3DDDI_ROTATION_270: D3DDDI_ROTATION = D3DDDI_ROTATION(4i32);
pub const D3DDDI_ROTATION_90: D3DDDI_ROTATION = D3DDDI_ROTATION(2i32);
pub const D3DDDI_ROTATION_IDENTITY: D3DDDI_ROTATION = D3DDDI_ROTATION(1i32);
pub const D3DDDI_SCANLINEORDERING_INTERLACED: D3DDDI_SCANLINEORDERING = D3DDDI_SCANLINEORDERING(2i32);
pub const D3DDDI_SCANLINEORDERING_PROGRESSIVE: D3DDDI_SCANLINEORDERING = D3DDDI_SCANLINEORDERING(1i32);
pub const D3DDDI_SCANLINEORDERING_UNKNOWN: D3DDDI_SCANLINEORDERING = D3DDDI_SCANLINEORDERING(0i32);
pub const D3DDDI_SEMAPHORE: D3DDDI_SYNCHRONIZATIONOBJECT_TYPE = D3DDDI_SYNCHRONIZATIONOBJECT_TYPE(2i32);
pub const D3DDDI_SYNCHRONIZATION_MUTEX: D3DDDI_SYNCHRONIZATIONOBJECT_TYPE = D3DDDI_SYNCHRONIZATIONOBJECT_TYPE(1i32);
pub const D3DDDI_SYNCHRONIZATION_TYPE_LIMIT: D3DDDI_SYNCHRONIZATIONOBJECT_TYPE = D3DDDI_SYNCHRONIZATIONOBJECT_TYPE(7i32);
pub const D3DDDI_SYNC_OBJECT_SIGNAL: u32 = 2u32;
pub const D3DDDI_SYNC_OBJECT_WAIT: u32 = 1u32;
pub const D3DDDI_UPDATEGPUVIRTUALADDRESS_COPY: D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_TYPE = D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_TYPE(2i32);
pub const D3DDDI_UPDATEGPUVIRTUALADDRESS_MAP: D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_TYPE = D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_TYPE(0i32);
pub const D3DDDI_UPDATEGPUVIRTUALADDRESS_MAP_PROTECT: D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_TYPE = D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_TYPE(3i32);
pub const D3DDDI_UPDATEGPUVIRTUALADDRESS_UNMAP: D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_TYPE = D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_TYPE(1i32);
pub const D3DDDI_VSSLO_INTERLACED_LOWERFIELDFIRST: D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING = D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING(3i32);
pub const D3DDDI_VSSLO_INTERLACED_UPPERFIELDFIRST: D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING = D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING(2i32);
pub const D3DDDI_VSSLO_OTHER: D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING = D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING(255i32);
pub const D3DDDI_VSSLO_PROGRESSIVE: D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING = D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING(1i32);
pub const D3DDDI_VSSLO_UNINITIALIZED: D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING = D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING(0i32);
pub const D3DDEVCAPS_HWINDEXBUFFER: i32 = 67108864i32;
pub const D3DDEVCAPS_HWVERTEXBUFFER: i32 = 33554432i32;
pub const D3DDEVCAPS_SUBVOLUMELOCK: i32 = 134217728i32;
pub const D3DDEVINFOID_VCACHE: u32 = 4u32;
pub const D3DDP2OP_ADDDIRTYBOX: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(67i32);
pub const D3DDP2OP_ADDDIRTYRECT: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(66i32);
pub const D3DDP2OP_BLT: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(81i32);
pub const D3DDP2OP_BUFFERBLT: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(64i32);
pub const D3DDP2OP_CLEAR: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(42i32);
pub const D3DDP2OP_CLIPPEDTRIANGLEFAN: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(58i32);
pub const D3DDP2OP_COLORFILL: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(82i32);
pub const D3DDP2OP_COMPOSERECTS: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(98i32);
pub const D3DDP2OP_CREATELIGHT: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(35i32);
pub const D3DDP2OP_CREATEPIXELSHADER: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(54i32);
pub const D3DDP2OP_CREATEQUERY: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(84i32);
pub const D3DDP2OP_CREATEVERTEXSHADER: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(45i32);
pub const D3DDP2OP_CREATEVERTEXSHADERDECL: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(71i32);
pub const D3DDP2OP_CREATEVERTEXSHADERFUNC: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(74i32);
pub const D3DDP2OP_DELETEPIXELSHADER: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(55i32);
pub const D3DDP2OP_DELETEQUERY: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(90i32);
pub const D3DDP2OP_DELETEVERTEXSHADER: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(46i32);
pub const D3DDP2OP_DELETEVERTEXSHADERDECL: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(72i32);
pub const D3DDP2OP_DELETEVERTEXSHADERFUNC: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(75i32);
pub const D3DDP2OP_DRAWINDEXEDPRIMITIVE: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(53i32);
pub const D3DDP2OP_DRAWINDEXEDPRIMITIVE2: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(60i32);
pub const D3DDP2OP_DRAWPRIMITIVE: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(52i32);
pub const D3DDP2OP_DRAWPRIMITIVE2: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(59i32);
pub const D3DDP2OP_DRAWRECTPATCH: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(61i32);
pub const D3DDP2OP_DRAWTRIPATCH: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(62i32);
pub const D3DDP2OP_GENERATEMIPSUBLEVELS: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(89i32);
pub const D3DDP2OP_INDEXEDLINELIST: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(2i32);
pub const D3DDP2OP_INDEXEDLINELIST2: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(27i32);
pub const D3DDP2OP_INDEXEDLINESTRIP: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(17i32);
pub const D3DDP2OP_INDEXEDTRIANGLEFAN: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(22i32);
pub const D3DDP2OP_INDEXEDTRIANGLELIST: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(3i32);
pub const D3DDP2OP_INDEXEDTRIANGLELIST2: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(26i32);
pub const D3DDP2OP_INDEXEDTRIANGLESTRIP: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(20i32);
pub const D3DDP2OP_ISSUEQUERY: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(91i32);
pub const D3DDP2OP_LINELIST: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(15i32);
pub const D3DDP2OP_LINELIST_IMM: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(24i32);
pub const D3DDP2OP_LINESTRIP: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(16i32);
pub const D3DDP2OP_MULTIPLYTRANSFORM: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(65i32);
pub const D3DDP2OP_POINTS: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(1i32);
pub const D3DDP2OP_RENDERSTATE: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(8i32);
pub const D3DDP2OP_RESPONSECONTINUE: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(87i32);
pub const D3DDP2OP_RESPONSEQUERY: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(88i32);
pub const D3DDP2OP_SETCLIPPLANE: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(44i32);
pub const D3DDP2OP_SETCONVOLUTIONKERNELMONO: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(97i32);
pub const D3DDP2OP_SETDEPTHSTENCIL: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(86i32);
pub const D3DDP2OP_SETINDICES: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(51i32);
pub const D3DDP2OP_SETLIGHT: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(34i32);
pub const D3DDP2OP_SETMATERIAL: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(33i32);
pub const D3DDP2OP_SETPALETTE: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(30i32);
pub const D3DDP2OP_SETPIXELSHADER: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(56i32);
pub const D3DDP2OP_SETPIXELSHADERCONST: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(57i32);
pub const D3DDP2OP_SETPIXELSHADERCONSTB: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(94i32);
pub const D3DDP2OP_SETPIXELSHADERCONSTI: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(93i32);
pub const D3DDP2OP_SETPRIORITY: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(40i32);
pub const D3DDP2OP_SETRENDERTARGET: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(41i32);
pub const D3DDP2OP_SETRENDERTARGET2: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(85i32);
pub const D3DDP2OP_SETSCISSORRECT: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(79i32);
pub const D3DDP2OP_SETSTREAMSOURCE: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(49i32);
pub const D3DDP2OP_SETSTREAMSOURCE2: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(80i32);
pub const D3DDP2OP_SETSTREAMSOURCEFREQ: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(95i32);
pub const D3DDP2OP_SETSTREAMSOURCEUM: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(50i32);
pub const D3DDP2OP_SETTEXLOD: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(43i32);
pub const D3DDP2OP_SETTRANSFORM: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(36i32);
pub const D3DDP2OP_SETVERTEXSHADER: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(47i32);
pub const D3DDP2OP_SETVERTEXSHADERCONST: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(48i32);
pub const D3DDP2OP_SETVERTEXSHADERCONSTB: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(83i32);
pub const D3DDP2OP_SETVERTEXSHADERCONSTI: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(77i32);
pub const D3DDP2OP_SETVERTEXSHADERDECL: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(73i32);
pub const D3DDP2OP_SETVERTEXSHADERFUNC: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(76i32);
pub const D3DDP2OP_STATESET: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(39i32);
pub const D3DDP2OP_SURFACEBLT: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(96i32);
pub const D3DDP2OP_TEXBLT: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(38i32);
pub const D3DDP2OP_TEXTURESTAGESTATE: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(25i32);
pub const D3DDP2OP_TRIANGLEFAN: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(21i32);
pub const D3DDP2OP_TRIANGLEFAN_IMM: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(23i32);
pub const D3DDP2OP_TRIANGLELIST: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(18i32);
pub const D3DDP2OP_TRIANGLESTRIP: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(19i32);
pub const D3DDP2OP_UPDATEPALETTE: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(31i32);
pub const D3DDP2OP_VIEWPORTINFO: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(28i32);
pub const D3DDP2OP_VOLUMEBLT: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(63i32);
pub const D3DDP2OP_WINFO: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(29i32);
pub const D3DDP2OP_ZRANGE: D3DHAL_DP2OPERATION = D3DHAL_DP2OPERATION(32i32);
pub const D3DFVF_FOG: i32 = 8192i32;
pub const D3DGDI2_MAGIC: u32 = 4294967295u32;
pub const D3DGDI2_TYPE_DEFERRED_AGP_AWARE: u32 = 24u32;
pub const D3DGDI2_TYPE_DEFER_AGP_FREES: u32 = 32u32;
pub const D3DGDI2_TYPE_DXVERSION: u32 = 4u32;
pub const D3DGDI2_TYPE_FREE_DEFERRED_AGP: u32 = 25u32;
pub const D3DGDI2_TYPE_GETADAPTERGROUP: u32 = 19u32;
pub const D3DGDI2_TYPE_GETD3DCAPS8: u32 = 1u32;
pub const D3DGDI2_TYPE_GETD3DCAPS9: u32 = 16u32;
pub const D3DGDI2_TYPE_GETD3DQUERY: u32 = 34u32;
pub const D3DGDI2_TYPE_GETD3DQUERYCOUNT: u32 = 33u32;
pub const D3DGDI2_TYPE_GETDDIVERSION: u32 = 35u32;
pub const D3DGDI2_TYPE_GETEXTENDEDMODE: u32 = 18u32;
pub const D3DGDI2_TYPE_GETEXTENDEDMODECOUNT: u32 = 17u32;
pub const D3DGDI2_TYPE_GETFORMAT: u32 = 3u32;
pub const D3DGDI2_TYPE_GETFORMATCOUNT: u32 = 2u32;
pub const D3DGDI2_TYPE_GETMULTISAMPLEQUALITYLEVELS: u32 = 22u32;
pub const D3DGPU_NULL: u32 = 0u32;
pub const D3DHAL2_CB32_CLEAR: i32 = 2i32;
pub const D3DHAL2_CB32_DRAWONEINDEXEDPRIMITIVE: i32 = 8i32;
pub const D3DHAL2_CB32_DRAWONEPRIMITIVE: i32 = 4i32;
pub const D3DHAL2_CB32_DRAWPRIMITIVES: i32 = 16i32;
pub const D3DHAL2_CB32_SETRENDERTARGET: i32 = 1i32;
pub const D3DHAL3_CB32_CLEAR2: i32 = 1i32;
pub const D3DHAL3_CB32_DRAWPRIMITIVES2: i32 = 8i32;
pub const D3DHAL3_CB32_RESERVED: i32 = 2i32;
pub const D3DHAL3_CB32_VALIDATETEXTURESTAGESTATE: i32 = 4i32;
pub const D3DHALDP2_EXECUTEBUFFER: i32 = 2i32;
pub const D3DHALDP2_REQCOMMANDBUFSIZE: i32 = 32i32;
pub const D3DHALDP2_REQVERTEXBUFSIZE: i32 = 16i32;
pub const D3DHALDP2_SWAPCOMMANDBUFFER: i32 = 8i32;
pub const D3DHALDP2_SWAPVERTEXBUFFER: i32 = 4i32;
pub const D3DHALDP2_USERMEMVERTICES: i32 = 1i32;
pub const D3DHALDP2_VIDMEMCOMMANDBUF: i32 = 128i32;
pub const D3DHALDP2_VIDMEMVERTEXBUF: i32 = 64i32;
pub const D3DHALSTATE_GET_LIGHT: i32 = 2i32;
pub const D3DHALSTATE_GET_RENDER: i32 = 4i32;
pub const D3DHALSTATE_GET_TRANSFORM: i32 = 1i32;
pub const D3DHAL_COL_WEIGHTS: u32 = 2u32;
pub const D3DHAL_CONTEXT_BAD: i64 = 512i64;
pub const D3DHAL_EXECUTE_ABORT: i32 = 528i32;
pub const D3DHAL_EXECUTE_NORMAL: i32 = 0i32;
pub const D3DHAL_EXECUTE_OVERRIDE: i32 = 1i32;
pub const D3DHAL_EXECUTE_UNHANDLED: i32 = 529i32;
pub const D3DHAL_MAX_RSTATES: u32 = 256u32;
pub const D3DHAL_MAX_RSTATES_DX6: u32 = 256u32;
pub const D3DHAL_MAX_RSTATES_DX7: u32 = 256u32;
pub const D3DHAL_MAX_RSTATES_DX8: u32 = 256u32;
pub const D3DHAL_MAX_RSTATES_DX9: u32 = 256u32;
pub const D3DHAL_MAX_TEXTURESTATES: u32 = 13u32;
pub const D3DHAL_NUMCLIPVERTICES: u32 = 20u32;
pub const D3DHAL_OUTOFCONTEXTS: i64 = 513i64;
pub const D3DHAL_ROW_WEIGHTS: u32 = 1u32;
pub const D3DHAL_SAMPLER_MAXSAMP: u32 = 16u32;
pub const D3DHAL_SAMPLER_MAXVERTEXSAMP: u32 = 4u32;
pub const D3DHAL_SCENE_CAPTURE_END: i32 = 1i32;
pub const D3DHAL_SCENE_CAPTURE_START: i32 = 0i32;
pub const D3DHAL_SETLIGHT_DATA: u32 = 2u32;
pub const D3DHAL_SETLIGHT_DISABLE: u32 = 1u32;
pub const D3DHAL_SETLIGHT_ENABLE: u32 = 0u32;
pub const D3DHAL_STATESETBEGIN: u32 = 0u32;
pub const D3DHAL_STATESETCAPTURE: u32 = 4u32;
pub const D3DHAL_STATESETCREATE: u32 = 5u32;
pub const D3DHAL_STATESETDELETE: u32 = 2u32;
pub const D3DHAL_STATESETEND: u32 = 1u32;
pub const D3DHAL_STATESETEXECUTE: u32 = 3u32;
pub const D3DHAL_TEXTURESTATEBUF_SIZE: u32 = 14u32;
pub const D3DHAL_TSS_MAXSTAGES: u32 = 8u32;
pub const D3DHAL_TSS_RENDERSTATEBASE: u32 = 256u32;
pub const D3DHAL_TSS_STATESPERSTAGE: u32 = 64u32;
pub const D3DINFINITEINSTRUCTIONS: u32 = 4294967295u32;
pub const D3DKMDT_BITS_PER_COMPONENT_06: u32 = 1u32;
pub const D3DKMDT_BITS_PER_COMPONENT_08: u32 = 2u32;
pub const D3DKMDT_BITS_PER_COMPONENT_10: u32 = 4u32;
pub const D3DKMDT_BITS_PER_COMPONENT_12: u32 = 8u32;
pub const D3DKMDT_BITS_PER_COMPONENT_14: u32 = 16u32;
pub const D3DKMDT_BITS_PER_COMPONENT_16: u32 = 32u32;
pub const D3DKMDT_CB_INTENSITY: D3DKMDT_COLOR_BASIS = D3DKMDT_COLOR_BASIS(1i32);
pub const D3DKMDT_CB_SCRGB: D3DKMDT_COLOR_BASIS = D3DKMDT_COLOR_BASIS(3i32);
pub const D3DKMDT_CB_SRGB: D3DKMDT_COLOR_BASIS = D3DKMDT_COLOR_BASIS(2i32);
pub const D3DKMDT_CB_UNINITIALIZED: D3DKMDT_COLOR_BASIS = D3DKMDT_COLOR_BASIS(0i32);
pub const D3DKMDT_CB_YCBCR: D3DKMDT_COLOR_BASIS = D3DKMDT_COLOR_BASIS(4i32);
pub const D3DKMDT_CB_YPBPR: D3DKMDT_COLOR_BASIS = D3DKMDT_COLOR_BASIS(5i32);
pub const D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL_BYPASS: D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL = D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL(2i32);
pub const D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL_ENABLE: D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL = D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL(1i32);
pub const D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL_NO_CHANGE: D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL = D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL(0i32);
pub const D3DKMDT_COMPUTE_PREEMPTION_DISPATCH_BOUNDARY: D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY = D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY(200i32);
pub const D3DKMDT_COMPUTE_PREEMPTION_DMA_BUFFER_BOUNDARY: D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY = D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY(100i32);
pub const D3DKMDT_COMPUTE_PREEMPTION_NONE: D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY = D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY(0i32);
pub const D3DKMDT_COMPUTE_PREEMPTION_SHADER_BOUNDARY: D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY = D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY(500i32);
pub const D3DKMDT_COMPUTE_PREEMPTION_THREAD_BOUNDARY: D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY = D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY(400i32);
pub const D3DKMDT_COMPUTE_PREEMPTION_THREAD_GROUP_BOUNDARY: D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY = D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY(300i32);
pub const D3DKMDT_EPT_NOPIVOT: D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE = D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE(5i32);
pub const D3DKMDT_EPT_ROTATION: D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE = D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE(4i32);
pub const D3DKMDT_EPT_SCALING: D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE = D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE(3i32);
pub const D3DKMDT_EPT_UNINITIALIZED: D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE = D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE(0i32);
pub const D3DKMDT_EPT_VIDPNSOURCE: D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE = D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE(1i32);
pub const D3DKMDT_EPT_VIDPNTARGET: D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE = D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE(2i32);
pub const D3DKMDT_GDISURFACE_EXISTINGSYSMEM: D3DKMDT_GDISURFACETYPE = D3DKMDT_GDISURFACETYPE(5i32);
pub const D3DKMDT_GDISURFACE_INVALID: D3DKMDT_GDISURFACETYPE = D3DKMDT_GDISURFACETYPE(0i32);
pub const D3DKMDT_GDISURFACE_LOOKUPTABLE: D3DKMDT_GDISURFACETYPE = D3DKMDT_GDISURFACETYPE(4i32);
pub const D3DKMDT_GDISURFACE_STAGING: D3DKMDT_GDISURFACETYPE = D3DKMDT_GDISURFACETYPE(3i32);
pub const D3DKMDT_GDISURFACE_STAGING_CPUVISIBLE: D3DKMDT_GDISURFACETYPE = D3DKMDT_GDISURFACETYPE(2i32);
pub const D3DKMDT_GDISURFACE_TEXTURE: D3DKMDT_GDISURFACETYPE = D3DKMDT_GDISURFACETYPE(1i32);
pub const D3DKMDT_GDISURFACE_TEXTURE_CPUVISIBLE: D3DKMDT_GDISURFACETYPE = D3DKMDT_GDISURFACETYPE(6i32);
pub const D3DKMDT_GDISURFACE_TEXTURE_CPUVISIBLE_CROSSADAPTER: D3DKMDT_GDISURFACETYPE = D3DKMDT_GDISURFACETYPE(8i32);
pub const D3DKMDT_GDISURFACE_TEXTURE_CROSSADAPTER: D3DKMDT_GDISURFACETYPE = D3DKMDT_GDISURFACETYPE(7i32);
pub const D3DKMDT_GRAPHICS_PREEMPTION_DMA_BUFFER_BOUNDARY: D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY = D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY(100i32);
pub const D3DKMDT_GRAPHICS_PREEMPTION_NONE: D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY = D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY(0i32);
pub const D3DKMDT_GRAPHICS_PREEMPTION_PIXEL_BOUNDARY: D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY = D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY(400i32);
pub const D3DKMDT_GRAPHICS_PREEMPTION_PRIMITIVE_BOUNDARY: D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY = D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY(200i32);
pub const D3DKMDT_GRAPHICS_PREEMPTION_SHADER_BOUNDARY: D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY = D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY(500i32);
pub const D3DKMDT_GRAPHICS_PREEMPTION_TRIANGLE_BOUNDARY: D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY = D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY(300i32);
pub const D3DKMDT_GTF_COMPLIANT: D3DKMDT_GTFCOMPLIANCE = D3DKMDT_GTFCOMPLIANCE(1i32);
pub const D3DKMDT_GTF_NOTCOMPLIANT: D3DKMDT_GTFCOMPLIANCE = D3DKMDT_GTFCOMPLIANCE(2i32);
pub const D3DKMDT_GTF_UNINITIALIZED: D3DKMDT_GTFCOMPLIANCE = D3DKMDT_GTFCOMPLIANCE(0i32);
pub const D3DKMDT_MACROVISION_OEMCOPYPROTECTION_SIZE: u32 = 256u32;
pub const D3DKMDT_MAX_OVERLAYS_BITCOUNT: u32 = 2u32;
pub const D3DKMDT_MAX_VIDPN_SOURCES_BITCOUNT: u32 = 4u32;
pub const D3DKMDT_MCC_ENFORCE: D3DKMDT_MONITOR_CONNECTIVITY_CHECKS = D3DKMDT_MONITOR_CONNECTIVITY_CHECKS(2i32);
pub const D3DKMDT_MCC_IGNORE: D3DKMDT_MONITOR_CONNECTIVITY_CHECKS = D3DKMDT_MONITOR_CONNECTIVITY_CHECKS(1i32);
pub const D3DKMDT_MCC_UNINITIALIZED: D3DKMDT_MONITOR_CONNECTIVITY_CHECKS = D3DKMDT_MONITOR_CONNECTIVITY_CHECKS(0i32);
pub const D3DKMDT_MCO_DEFAULTMONITORPROFILE: D3DKMDT_MONITOR_CAPABILITIES_ORIGIN = D3DKMDT_MONITOR_CAPABILITIES_ORIGIN(1i32);
pub const D3DKMDT_MCO_DRIVER: D3DKMDT_MONITOR_CAPABILITIES_ORIGIN = D3DKMDT_MONITOR_CAPABILITIES_ORIGIN(5i32);
pub const D3DKMDT_MCO_MONITORDESCRIPTOR: D3DKMDT_MONITOR_CAPABILITIES_ORIGIN = D3DKMDT_MONITOR_CAPABILITIES_ORIGIN(2i32);
pub const D3DKMDT_MCO_MONITORDESCRIPTOR_REGISTRYOVERRIDE: D3DKMDT_MONITOR_CAPABILITIES_ORIGIN = D3DKMDT_MONITOR_CAPABILITIES_ORIGIN(3i32);
pub const D3DKMDT_MCO_SPECIFICCAP_REGISTRYOVERRIDE: D3DKMDT_MONITOR_CAPABILITIES_ORIGIN = D3DKMDT_MONITOR_CAPABILITIES_ORIGIN(4i32);
pub const D3DKMDT_MCO_UNINITIALIZED: D3DKMDT_MONITOR_CAPABILITIES_ORIGIN = D3DKMDT_MONITOR_CAPABILITIES_ORIGIN(0i32);
pub const D3DKMDT_MDT_OTHER: D3DKMDT_MONITOR_DESCRIPTOR_TYPE = D3DKMDT_MONITOR_DESCRIPTOR_TYPE(255i32);
pub const D3DKMDT_MDT_UNINITIALIZED: D3DKMDT_MONITOR_DESCRIPTOR_TYPE = D3DKMDT_MONITOR_DESCRIPTOR_TYPE(0i32);
pub const D3DKMDT_MDT_VESA_EDID_V1_BASEBLOCK: D3DKMDT_MONITOR_DESCRIPTOR_TYPE = D3DKMDT_MONITOR_DESCRIPTOR_TYPE(1i32);
pub const D3DKMDT_MDT_VESA_EDID_V1_BLOCKMAP: D3DKMDT_MONITOR_DESCRIPTOR_TYPE = D3DKMDT_MONITOR_DESCRIPTOR_TYPE(2i32);
pub const D3DKMDT_MFRC_ACTIVESIZE: D3DKMDT_MONITOR_FREQUENCY_RANGE_CONSTRAINT = D3DKMDT_MONITOR_FREQUENCY_RANGE_CONSTRAINT(1i32);
pub const D3DKMDT_MFRC_MAXPIXELRATE: D3DKMDT_MONITOR_FREQUENCY_RANGE_CONSTRAINT = D3DKMDT_MONITOR_FREQUENCY_RANGE_CONSTRAINT(2i32);
pub const D3DKMDT_MFRC_UNINITIALIZED: D3DKMDT_MONITOR_FREQUENCY_RANGE_CONSTRAINT = D3DKMDT_MONITOR_FREQUENCY_RANGE_CONSTRAINT(0i32);
pub const D3DKMDT_MOA_INTERRUPTIBLE: D3DKMDT_MONITOR_ORIENTATION_AWARENESS = D3DKMDT_MONITOR_ORIENTATION_AWARENESS(3i32);
pub const D3DKMDT_MOA_NONE: D3DKMDT_MONITOR_ORIENTATION_AWARENESS = D3DKMDT_MONITOR_ORIENTATION_AWARENESS(1i32);
pub const D3DKMDT_MOA_POLLED: D3DKMDT_MONITOR_ORIENTATION_AWARENESS = D3DKMDT_MONITOR_ORIENTATION_AWARENESS(2i32);
pub const D3DKMDT_MOA_UNINITIALIZED: D3DKMDT_MONITOR_ORIENTATION_AWARENESS = D3DKMDT_MONITOR_ORIENTATION_AWARENESS(0i32);
pub const D3DKMDT_MO_0DEG: D3DKMDT_MONITOR_ORIENTATION = D3DKMDT_MONITOR_ORIENTATION(1i32);
pub const D3DKMDT_MO_180DEG: D3DKMDT_MONITOR_ORIENTATION = D3DKMDT_MONITOR_ORIENTATION(3i32);
pub const D3DKMDT_MO_270DEG: D3DKMDT_MONITOR_ORIENTATION = D3DKMDT_MONITOR_ORIENTATION(4i32);
pub const D3DKMDT_MO_90DEG: D3DKMDT_MONITOR_ORIENTATION = D3DKMDT_MONITOR_ORIENTATION(2i32);
pub const D3DKMDT_MO_UNINITIALIZED: D3DKMDT_MONITOR_ORIENTATION = D3DKMDT_MONITOR_ORIENTATION(0i32);
pub const D3DKMDT_MPR_ALLCAPS: D3DKMDT_MODE_PRUNING_REASON = D3DKMDT_MODE_PRUNING_REASON(1i32);
pub const D3DKMDT_MPR_CLONE_PATH_PRUNED: D3DKMDT_MODE_PRUNING_REASON = D3DKMDT_MODE_PRUNING_REASON(9i32);
pub const D3DKMDT_MPR_DEFAULT_PROFILE_MONITOR_SOURCE_MODE: D3DKMDT_MODE_PRUNING_REASON = D3DKMDT_MODE_PRUNING_REASON(6i32);
pub const D3DKMDT_MPR_DESCRIPTOR_MONITOR_FREQUENCY_RANGE: D3DKMDT_MODE_PRUNING_REASON = D3DKMDT_MODE_PRUNING_REASON(3i32);
pub const D3DKMDT_MPR_DESCRIPTOR_MONITOR_SOURCE_MODE: D3DKMDT_MODE_PRUNING_REASON = D3DKMDT_MODE_PRUNING_REASON(2i32);
pub const D3DKMDT_MPR_DESCRIPTOR_OVERRIDE_MONITOR_FREQUENCY_RANGE: D3DKMDT_MODE_PRUNING_REASON = D3DKMDT_MODE_PRUNING_REASON(5i32);
pub const D3DKMDT_MPR_DESCRIPTOR_OVERRIDE_MONITOR_SOURCE_MODE: D3DKMDT_MODE_PRUNING_REASON = D3DKMDT_MODE_PRUNING_REASON(4i32);
pub const D3DKMDT_MPR_DRIVER_RECOMMENDED_MONITOR_SOURCE_MODE: D3DKMDT_MODE_PRUNING_REASON = D3DKMDT_MODE_PRUNING_REASON(7i32);
pub const D3DKMDT_MPR_MAXVALID: D3DKMDT_MODE_PRUNING_REASON = D3DKMDT_MODE_PRUNING_REASON(10i32);
pub const D3DKMDT_MPR_MONITOR_FREQUENCY_RANGE_OVERRIDE: D3DKMDT_MODE_PRUNING_REASON = D3DKMDT_MODE_PRUNING_REASON(8i32);
pub const D3DKMDT_MPR_UNINITIALIZED: D3DKMDT_MODE_PRUNING_REASON = D3DKMDT_MODE_PRUNING_REASON(0i32);
pub const D3DKMDT_MP_NOTPREFERRED: D3DKMDT_MODE_PREFERENCE = D3DKMDT_MODE_PREFERENCE(2i32);
pub const D3DKMDT_MP_PREFERRED: D3DKMDT_MODE_PREFERENCE = D3DKMDT_MODE_PREFERENCE(1i32);
pub const D3DKMDT_MP_UNINITIALIZED: D3DKMDT_MODE_PREFERENCE = D3DKMDT_MODE_PREFERENCE(0i32);
pub const D3DKMDT_MTT_DEFAULTMONITORPROFILE: D3DKMDT_MONITOR_TIMING_TYPE = D3DKMDT_MONITOR_TIMING_TYPE(5i32);
pub const D3DKMDT_MTT_DETAILED: D3DKMDT_MONITOR_TIMING_TYPE = D3DKMDT_MONITOR_TIMING_TYPE(4i32);
pub const D3DKMDT_MTT_DRIVER: D3DKMDT_MONITOR_TIMING_TYPE = D3DKMDT_MONITOR_TIMING_TYPE(6i32);
pub const D3DKMDT_MTT_ESTABLISHED: D3DKMDT_MONITOR_TIMING_TYPE = D3DKMDT_MONITOR_TIMING_TYPE(1i32);
pub const D3DKMDT_MTT_EXTRASTANDARD: D3DKMDT_MONITOR_TIMING_TYPE = D3DKMDT_MONITOR_TIMING_TYPE(3i32);
pub const D3DKMDT_MTT_STANDARD: D3DKMDT_MONITOR_TIMING_TYPE = D3DKMDT_MONITOR_TIMING_TYPE(2i32);
pub const D3DKMDT_MTT_UNINITIALIZED: D3DKMDT_MONITOR_TIMING_TYPE = D3DKMDT_MONITOR_TIMING_TYPE(0i32);
pub const D3DKMDT_PVAM_DIRECT: D3DKMDT_PIXEL_VALUE_ACCESS_MODE = D3DKMDT_PIXEL_VALUE_ACCESS_MODE(1i32);
pub const D3DKMDT_PVAM_PRESETPALETTE: D3DKMDT_PIXEL_VALUE_ACCESS_MODE = D3DKMDT_PIXEL_VALUE_ACCESS_MODE(2i32);
pub const D3DKMDT_PVAM_SETTABLEPALETTE: D3DKMDT_PIXEL_VALUE_ACCESS_MODE = D3DKMDT_PIXEL_VALUE_ACCESS_MODE(3i32);
pub const D3DKMDT_PVAM_UNINITIALIZED: D3DKMDT_PIXEL_VALUE_ACCESS_MODE = D3DKMDT_PIXEL_VALUE_ACCESS_MODE(0i32);
pub const D3DKMDT_RMT_GRAPHICS: D3DKMDT_VIDPN_SOURCE_MODE_TYPE = D3DKMDT_VIDPN_SOURCE_MODE_TYPE(1i32);
pub const D3DKMDT_RMT_GRAPHICS_STEREO: D3DKMDT_VIDPN_SOURCE_MODE_TYPE = D3DKMDT_VIDPN_SOURCE_MODE_TYPE(3i32);
pub const D3DKMDT_RMT_GRAPHICS_STEREO_ADVANCED_SCAN: D3DKMDT_VIDPN_SOURCE_MODE_TYPE = D3DKMDT_VIDPN_SOURCE_MODE_TYPE(4i32);
pub const D3DKMDT_RMT_TEXT: D3DKMDT_VIDPN_SOURCE_MODE_TYPE = D3DKMDT_VIDPN_SOURCE_MODE_TYPE(2i32);
pub const D3DKMDT_RMT_UNINITIALIZED: D3DKMDT_VIDPN_SOURCE_MODE_TYPE = D3DKMDT_VIDPN_SOURCE_MODE_TYPE(0i32);
pub const D3DKMDT_STANDARDALLOCATION_GDISURFACE: D3DKMDT_STANDARDALLOCATION_TYPE = D3DKMDT_STANDARDALLOCATION_TYPE(4i32);
pub const D3DKMDT_STANDARDALLOCATION_SHADOWSURFACE: D3DKMDT_STANDARDALLOCATION_TYPE = D3DKMDT_STANDARDALLOCATION_TYPE(2i32);
pub const D3DKMDT_STANDARDALLOCATION_SHAREDPRIMARYSURFACE: D3DKMDT_STANDARDALLOCATION_TYPE = D3DKMDT_STANDARDALLOCATION_TYPE(1i32);
pub const D3DKMDT_STANDARDALLOCATION_STAGINGSURFACE: D3DKMDT_STANDARDALLOCATION_TYPE = D3DKMDT_STANDARDALLOCATION_TYPE(3i32);
pub const D3DKMDT_STANDARDALLOCATION_VGPU: D3DKMDT_STANDARDALLOCATION_TYPE = D3DKMDT_STANDARDALLOCATION_TYPE(5i32);
pub const D3DKMDT_TRF_UNINITIALIZED: D3DKMDT_TEXT_RENDERING_FORMAT = D3DKMDT_TEXT_RENDERING_FORMAT(0i32);
pub const D3DKMDT_VOT_BNC: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY(3i32);
pub const D3DKMDT_VOT_COMPONENT_VIDEO: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY(3i32);
pub const D3DKMDT_VOT_COMPOSITE_VIDEO: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY(2i32);
pub const D3DKMDT_VOT_DISPLAYPORT_EMBEDDED: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY(11i32);
pub const D3DKMDT_VOT_DISPLAYPORT_EXTERNAL: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY(10i32);
pub const D3DKMDT_VOT_DVI: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY(4i32);
pub const D3DKMDT_VOT_D_JPN: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY(8i32);
pub const D3DKMDT_VOT_HD15: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY(0i32);
pub const D3DKMDT_VOT_HDMI: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY(5i32);
pub const D3DKMDT_VOT_INDIRECT_WIRED: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY(16i32);
pub const D3DKMDT_VOT_INTERNAL: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY(-2147483648i32);
pub const D3DKMDT_VOT_LVDS: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY(6i32);
pub const D3DKMDT_VOT_MIRACAST: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY(15i32);
pub const D3DKMDT_VOT_OTHER: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY(-1i32);
pub const D3DKMDT_VOT_RCA_3COMPONENT: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY(3i32);
pub const D3DKMDT_VOT_RF: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY(2i32);
pub const D3DKMDT_VOT_SDI: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY(9i32);
pub const D3DKMDT_VOT_SDTVDONGLE: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY(14i32);
pub const D3DKMDT_VOT_SVIDEO: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY(1i32);
pub const D3DKMDT_VOT_SVIDEO_4PIN: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY(1i32);
pub const D3DKMDT_VOT_SVIDEO_7PIN: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY(1i32);
pub const D3DKMDT_VOT_UDI_EMBEDDED: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY(13i32);
pub const D3DKMDT_VOT_UDI_EXTERNAL: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY(12i32);
pub const D3DKMDT_VOT_UNINITIALIZED: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY = D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY(-2i32);
pub const D3DKMDT_VPPC_GRAPHICS: D3DKMDT_VIDPN_PRESENT_PATH_CONTENT = D3DKMDT_VIDPN_PRESENT_PATH_CONTENT(1i32);
pub const D3DKMDT_VPPC_NOTSPECIFIED: D3DKMDT_VIDPN_PRESENT_PATH_CONTENT = D3DKMDT_VIDPN_PRESENT_PATH_CONTENT(255i32);
pub const D3DKMDT_VPPC_UNINITIALIZED: D3DKMDT_VIDPN_PRESENT_PATH_CONTENT = D3DKMDT_VIDPN_PRESENT_PATH_CONTENT(0i32);
pub const D3DKMDT_VPPC_VIDEO: D3DKMDT_VIDPN_PRESENT_PATH_CONTENT = D3DKMDT_VIDPN_PRESENT_PATH_CONTENT(2i32);
pub const D3DKMDT_VPPI_DENARY: D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE = D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE(10i32);
pub const D3DKMDT_VPPI_NONARY: D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE = D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE(9i32);
pub const D3DKMDT_VPPI_OCTONARY: D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE = D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE(8i32);
pub const D3DKMDT_VPPI_PRIMARY: D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE = D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE(1i32);
pub const D3DKMDT_VPPI_QUATERNARY: D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE = D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE(4i32);
pub const D3DKMDT_VPPI_QUINARY: D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE = D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE(5i32);
pub const D3DKMDT_VPPI_SECONDARY: D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE = D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE(2i32);
pub const D3DKMDT_VPPI_SENARY: D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE = D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE(6i32);
pub const D3DKMDT_VPPI_SEPTENARY: D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE = D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE(7i32);
pub const D3DKMDT_VPPI_TERTIARY: D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE = D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE(3i32);
pub const D3DKMDT_VPPI_UNINITIALIZED: D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE = D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE(0i32);
pub const D3DKMDT_VPPMT_MACROVISION_APSTRIGGER: D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_TYPE = D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_TYPE(2i32);
pub const D3DKMDT_VPPMT_MACROVISION_FULLSUPPORT: D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_TYPE = D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_TYPE(3i32);
pub const D3DKMDT_VPPMT_NOPROTECTION: D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_TYPE = D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_TYPE(1i32);
pub const D3DKMDT_VPPMT_UNINITIALIZED: D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_TYPE = D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_TYPE(0i32);
pub const D3DKMDT_VPPR_IDENTITY: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = D3DKMDT_VIDPN_PRESENT_PATH_ROTATION(1i32);
pub const D3DKMDT_VPPR_IDENTITY_OFFSET180: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = D3DKMDT_VIDPN_PRESENT_PATH_ROTATION(9i32);
pub const D3DKMDT_VPPR_IDENTITY_OFFSET270: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = D3DKMDT_VIDPN_PRESENT_PATH_ROTATION(13i32);
pub const D3DKMDT_VPPR_IDENTITY_OFFSET90: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = D3DKMDT_VIDPN_PRESENT_PATH_ROTATION(5i32);
pub const D3DKMDT_VPPR_NOTSPECIFIED: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = D3DKMDT_VIDPN_PRESENT_PATH_ROTATION(255i32);
pub const D3DKMDT_VPPR_ROTATE180: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = D3DKMDT_VIDPN_PRESENT_PATH_ROTATION(3i32);
pub const D3DKMDT_VPPR_ROTATE180_OFFSET180: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = D3DKMDT_VIDPN_PRESENT_PATH_ROTATION(11i32);
pub const D3DKMDT_VPPR_ROTATE180_OFFSET270: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = D3DKMDT_VIDPN_PRESENT_PATH_ROTATION(15i32);
pub const D3DKMDT_VPPR_ROTATE180_OFFSET90: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = D3DKMDT_VIDPN_PRESENT_PATH_ROTATION(7i32);
pub const D3DKMDT_VPPR_ROTATE270: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = D3DKMDT_VIDPN_PRESENT_PATH_ROTATION(4i32);
pub const D3DKMDT_VPPR_ROTATE270_OFFSET180: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = D3DKMDT_VIDPN_PRESENT_PATH_ROTATION(12i32);
pub const D3DKMDT_VPPR_ROTATE270_OFFSET270: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = D3DKMDT_VIDPN_PRESENT_PATH_ROTATION(16i32);
pub const D3DKMDT_VPPR_ROTATE270_OFFSET90: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = D3DKMDT_VIDPN_PRESENT_PATH_ROTATION(8i32);
pub const D3DKMDT_VPPR_ROTATE90: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = D3DKMDT_VIDPN_PRESENT_PATH_ROTATION(2i32);
pub const D3DKMDT_VPPR_ROTATE90_OFFSET180: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = D3DKMDT_VIDPN_PRESENT_PATH_ROTATION(10i32);
pub const D3DKMDT_VPPR_ROTATE90_OFFSET270: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = D3DKMDT_VIDPN_PRESENT_PATH_ROTATION(14i32);
pub const D3DKMDT_VPPR_ROTATE90_OFFSET90: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = D3DKMDT_VIDPN_PRESENT_PATH_ROTATION(6i32);
pub const D3DKMDT_VPPR_UNINITIALIZED: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = D3DKMDT_VIDPN_PRESENT_PATH_ROTATION(0i32);
pub const D3DKMDT_VPPR_UNPINNED: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION = D3DKMDT_VIDPN_PRESENT_PATH_ROTATION(254i32);
pub const D3DKMDT_VPPS_ASPECTRATIOCENTEREDMAX: D3DKMDT_VIDPN_PRESENT_PATH_SCALING = D3DKMDT_VIDPN_PRESENT_PATH_SCALING(4i32);
pub const D3DKMDT_VPPS_CENTERED: D3DKMDT_VIDPN_PRESENT_PATH_SCALING = D3DKMDT_VIDPN_PRESENT_PATH_SCALING(2i32);
pub const D3DKMDT_VPPS_CUSTOM: D3DKMDT_VIDPN_PRESENT_PATH_SCALING = D3DKMDT_VIDPN_PRESENT_PATH_SCALING(5i32);
pub const D3DKMDT_VPPS_IDENTITY: D3DKMDT_VIDPN_PRESENT_PATH_SCALING = D3DKMDT_VIDPN_PRESENT_PATH_SCALING(1i32);
pub const D3DKMDT_VPPS_NOTSPECIFIED: D3DKMDT_VIDPN_PRESENT_PATH_SCALING = D3DKMDT_VIDPN_PRESENT_PATH_SCALING(255i32);
pub const D3DKMDT_VPPS_RESERVED1: D3DKMDT_VIDPN_PRESENT_PATH_SCALING = D3DKMDT_VIDPN_PRESENT_PATH_SCALING(253i32);
pub const D3DKMDT_VPPS_STRETCHED: D3DKMDT_VIDPN_PRESENT_PATH_SCALING = D3DKMDT_VIDPN_PRESENT_PATH_SCALING(3i32);
pub const D3DKMDT_VPPS_UNINITIALIZED: D3DKMDT_VIDPN_PRESENT_PATH_SCALING = D3DKMDT_VIDPN_PRESENT_PATH_SCALING(0i32);
pub const D3DKMDT_VPPS_UNPINNED: D3DKMDT_VIDPN_PRESENT_PATH_SCALING = D3DKMDT_VIDPN_PRESENT_PATH_SCALING(254i32);
pub const D3DKMDT_VSS_APPLE: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(5i32);
pub const D3DKMDT_VSS_EIA_861: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(25i32);
pub const D3DKMDT_VSS_EIA_861A: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(26i32);
pub const D3DKMDT_VSS_EIA_861B: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(27i32);
pub const D3DKMDT_VSS_IBM: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(4i32);
pub const D3DKMDT_VSS_NTSC_443: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(8i32);
pub const D3DKMDT_VSS_NTSC_J: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(7i32);
pub const D3DKMDT_VSS_NTSC_M: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(6i32);
pub const D3DKMDT_VSS_OTHER: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(255i32);
pub const D3DKMDT_VSS_PAL_B: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(9i32);
pub const D3DKMDT_VSS_PAL_B1: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(10i32);
pub const D3DKMDT_VSS_PAL_D: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(14i32);
pub const D3DKMDT_VSS_PAL_G: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(11i32);
pub const D3DKMDT_VSS_PAL_H: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(12i32);
pub const D3DKMDT_VSS_PAL_I: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(13i32);
pub const D3DKMDT_VSS_PAL_K: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(28i32);
pub const D3DKMDT_VSS_PAL_K1: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(29i32);
pub const D3DKMDT_VSS_PAL_L: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(30i32);
pub const D3DKMDT_VSS_PAL_M: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(31i32);
pub const D3DKMDT_VSS_PAL_N: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(15i32);
pub const D3DKMDT_VSS_PAL_NC: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(16i32);
pub const D3DKMDT_VSS_SECAM_B: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(17i32);
pub const D3DKMDT_VSS_SECAM_D: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(18i32);
pub const D3DKMDT_VSS_SECAM_G: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(19i32);
pub const D3DKMDT_VSS_SECAM_H: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(20i32);
pub const D3DKMDT_VSS_SECAM_K: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(21i32);
pub const D3DKMDT_VSS_SECAM_K1: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(22i32);
pub const D3DKMDT_VSS_SECAM_L: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(23i32);
pub const D3DKMDT_VSS_SECAM_L1: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(24i32);
pub const D3DKMDT_VSS_UNINITIALIZED: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(0i32);
pub const D3DKMDT_VSS_VESA_CVT: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(3i32);
pub const D3DKMDT_VSS_VESA_DMT: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(1i32);
pub const D3DKMDT_VSS_VESA_GTF: D3DKMDT_VIDEO_SIGNAL_STANDARD = D3DKMDT_VIDEO_SIGNAL_STANDARD(2i32);
pub const D3DKMT_ACTIVATE_SPECIFIC_DIAG_TYPE_EXTRA_CCD_DATABASE_INFO: D3DKMT_ACTIVATE_SPECIFIC_DIAG_TYPE = D3DKMT_ACTIVATE_SPECIFIC_DIAG_TYPE(0i32);
pub const D3DKMT_ACTIVATE_SPECIFIC_DIAG_TYPE_MODES_PRUNED: D3DKMT_ACTIVATE_SPECIFIC_DIAG_TYPE = D3DKMT_ACTIVATE_SPECIFIC_DIAG_TYPE(15i32);
pub const D3DKMT_ADAPTER_VERIFIER_OPTION_VIDMM_FLAGS: D3DKMT_ADAPTER_VERIFIER_OPTION_TYPE = D3DKMT_ADAPTER_VERIFIER_OPTION_TYPE(1000i32);
pub const D3DKMT_ADAPTER_VERIFIER_OPTION_VIDMM_TRIM_INTERVAL: D3DKMT_ADAPTER_VERIFIER_OPTION_TYPE = D3DKMT_ADAPTER_VERIFIER_OPTION_TYPE(1001i32);
pub const D3DKMT_ALLOCATIONRESIDENCYSTATUS_NOTRESIDENT: D3DKMT_ALLOCATIONRESIDENCYSTATUS = D3DKMT_ALLOCATIONRESIDENCYSTATUS(3i32);
pub const D3DKMT_ALLOCATIONRESIDENCYSTATUS_RESIDENTINGPUMEMORY: D3DKMT_ALLOCATIONRESIDENCYSTATUS = D3DKMT_ALLOCATIONRESIDENCYSTATUS(1i32);
pub const D3DKMT_ALLOCATIONRESIDENCYSTATUS_RESIDENTINSHAREDMEMORY: D3DKMT_ALLOCATIONRESIDENCYSTATUS = D3DKMT_ALLOCATIONRESIDENCYSTATUS(2i32);
pub const D3DKMT_AUXILIARYPRESENTINFO_TYPE_FLIPMANAGER: D3DKMT_AUXILIARYPRESENTINFO_TYPE = D3DKMT_AUXILIARYPRESENTINFO_TYPE(0i32);
pub const D3DKMT_AllocationPriorityClassHigh: D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS = D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS(3i32);
pub const D3DKMT_AllocationPriorityClassLow: D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS = D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS(1i32);
pub const D3DKMT_AllocationPriorityClassMaximum: D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS = D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS(4i32);
pub const D3DKMT_AllocationPriorityClassMinimum: D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS = D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS(0i32);
pub const D3DKMT_AllocationPriorityClassNormal: D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS = D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS(2i32);
pub const D3DKMT_BRIGHTNESS_INFO_BEGIN_MANUAL_MODE: D3DKMT_BRIGHTNESS_INFO_TYPE = D3DKMT_BRIGHTNESS_INFO_TYPE(8i32);
pub const D3DKMT_BRIGHTNESS_INFO_END_MANUAL_MODE: D3DKMT_BRIGHTNESS_INFO_TYPE = D3DKMT_BRIGHTNESS_INFO_TYPE(9i32);
pub const D3DKMT_BRIGHTNESS_INFO_GET: D3DKMT_BRIGHTNESS_INFO_TYPE = D3DKMT_BRIGHTNESS_INFO_TYPE(2i32);
pub const D3DKMT_BRIGHTNESS_INFO_GET_CAPS: D3DKMT_BRIGHTNESS_INFO_TYPE = D3DKMT_BRIGHTNESS_INFO_TYPE(4i32);
pub const D3DKMT_BRIGHTNESS_INFO_GET_NIT_RANGES: D3DKMT_BRIGHTNESS_INFO_TYPE = D3DKMT_BRIGHTNESS_INFO_TYPE(11i32);
pub const D3DKMT_BRIGHTNESS_INFO_GET_POSSIBLE_LEVELS: D3DKMT_BRIGHTNESS_INFO_TYPE = D3DKMT_BRIGHTNESS_INFO_TYPE(1i32);
pub const D3DKMT_BRIGHTNESS_INFO_GET_REDUCTION: D3DKMT_BRIGHTNESS_INFO_TYPE = D3DKMT_BRIGHTNESS_INFO_TYPE(7i32);
pub const D3DKMT_BRIGHTNESS_INFO_SET: D3DKMT_BRIGHTNESS_INFO_TYPE = D3DKMT_BRIGHTNESS_INFO_TYPE(3i32);
pub const D3DKMT_BRIGHTNESS_INFO_SET_OPTIMIZATION: D3DKMT_BRIGHTNESS_INFO_TYPE = D3DKMT_BRIGHTNESS_INFO_TYPE(6i32);
pub const D3DKMT_BRIGHTNESS_INFO_SET_STATE: D3DKMT_BRIGHTNESS_INFO_TYPE = D3DKMT_BRIGHTNESS_INFO_TYPE(5i32);
pub const D3DKMT_BRIGHTNESS_INFO_TOGGLE_LOGGING: D3DKMT_BRIGHTNESS_INFO_TYPE = D3DKMT_BRIGHTNESS_INFO_TYPE(10i32);
pub const D3DKMT_CANCEL_PRESENTS_OPERATION_CANCEL_FROM: D3DKMT_CANCEL_PRESENTS_OPERATION = D3DKMT_CANCEL_PRESENTS_OPERATION(0i32);
pub const D3DKMT_CANCEL_PRESENTS_OPERATION_REPROGRAM_INTERRUPT: D3DKMT_CANCEL_PRESENTS_OPERATION = D3DKMT_CANCEL_PRESENTS_OPERATION(1i32);
pub const D3DKMT_CLIENTHINT_11ON12: D3DKMT_CLIENTHINT = D3DKMT_CLIENTHINT(14i32);
pub const D3DKMT_CLIENTHINT_9ON12: D3DKMT_CLIENTHINT = D3DKMT_CLIENTHINT(13i32);
pub const D3DKMT_CLIENTHINT_CDD: D3DKMT_CLIENTHINT = D3DKMT_CLIENTHINT(2i32);
pub const D3DKMT_CLIENTHINT_CLON12: D3DKMT_CLIENTHINT = D3DKMT_CLIENTHINT(17i32);
pub const D3DKMT_CLIENTHINT_CUDA: D3DKMT_CLIENTHINT = D3DKMT_CLIENTHINT(5i32);
pub const D3DKMT_CLIENTHINT_DML_PYTORCH: D3DKMT_CLIENTHINT = D3DKMT_CLIENTHINT(20i32);
pub const D3DKMT_CLIENTHINT_DML_TENSORFLOW: D3DKMT_CLIENTHINT = D3DKMT_CLIENTHINT(18i32);
pub const D3DKMT_CLIENTHINT_DX10: D3DKMT_CLIENTHINT = D3DKMT_CLIENTHINT(10i32);
pub const D3DKMT_CLIENTHINT_DX11: D3DKMT_CLIENTHINT = D3DKMT_CLIENTHINT(11i32);
pub const D3DKMT_CLIENTHINT_DX12: D3DKMT_CLIENTHINT = D3DKMT_CLIENTHINT(12i32);
pub const D3DKMT_CLIENTHINT_DX7: D3DKMT_CLIENTHINT = D3DKMT_CLIENTHINT(7i32);
pub const D3DKMT_CLIENTHINT_DX8: D3DKMT_CLIENTHINT = D3DKMT_CLIENTHINT(8i32);
pub const D3DKMT_CLIENTHINT_DX9: D3DKMT_CLIENTHINT = D3DKMT_CLIENTHINT(9i32);
pub const D3DKMT_CLIENTHINT_GLON12: D3DKMT_CLIENTHINT = D3DKMT_CLIENTHINT(16i32);
pub const D3DKMT_CLIENTHINT_MAX: D3DKMT_CLIENTHINT = D3DKMT_CLIENTHINT(21i32);
pub const D3DKMT_CLIENTHINT_MFT_ENCODE: D3DKMT_CLIENTHINT = D3DKMT_CLIENTHINT(15i32);
pub const D3DKMT_CLIENTHINT_ONEAPI_LEVEL0: D3DKMT_CLIENTHINT = D3DKMT_CLIENTHINT(19i32);
pub const D3DKMT_CLIENTHINT_OPENCL: D3DKMT_CLIENTHINT = D3DKMT_CLIENTHINT(3i32);
pub const D3DKMT_CLIENTHINT_OPENGL: D3DKMT_CLIENTHINT = D3DKMT_CLIENTHINT(1i32);
pub const D3DKMT_CLIENTHINT_RESERVED: D3DKMT_CLIENTHINT = D3DKMT_CLIENTHINT(6i32);
pub const D3DKMT_CLIENTHINT_UNKNOWN: D3DKMT_CLIENTHINT = D3DKMT_CLIENTHINT(0i32);
pub const D3DKMT_CLIENTHINT_VULKAN: D3DKMT_CLIENTHINT = D3DKMT_CLIENTHINT(4i32);
pub const D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER_COPY: D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER = D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER(1i32);
pub const D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER_NONE: D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER = D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER(0i32);
pub const D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER_SCANOUT: D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER = D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER(3i32);
pub const D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER_TEXTURE: D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER = D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER(2i32);
pub const D3DKMT_CROSS_ADAPTER_RESOURCE_HEIGHT_ALIGNMENT: u32 = 4u32;
pub const D3DKMT_CROSS_ADAPTER_RESOURCE_PITCH_ALIGNMENT: u32 = 128u32;
pub const D3DKMT_ClientPagingBuffer: D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE = D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE(1i32);
pub const D3DKMT_ClientRenderBuffer: D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE = D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE(0i32);
pub const D3DKMT_DEFRAG_ESCAPE_DEFRAG_DOWNWARD: D3DKMT_DEFRAG_ESCAPE_OPERATION = D3DKMT_DEFRAG_ESCAPE_OPERATION(2i32);
pub const D3DKMT_DEFRAG_ESCAPE_DEFRAG_PASS: D3DKMT_DEFRAG_ESCAPE_OPERATION = D3DKMT_DEFRAG_ESCAPE_OPERATION(3i32);
pub const D3DKMT_DEFRAG_ESCAPE_DEFRAG_UPWARD: D3DKMT_DEFRAG_ESCAPE_OPERATION = D3DKMT_DEFRAG_ESCAPE_OPERATION(1i32);
pub const D3DKMT_DEFRAG_ESCAPE_GET_FRAGMENTATION_STATS: D3DKMT_DEFRAG_ESCAPE_OPERATION = D3DKMT_DEFRAG_ESCAPE_OPERATION(0i32);
pub const D3DKMT_DEFRAG_ESCAPE_VERIFY_TRANSFER: D3DKMT_DEFRAG_ESCAPE_OPERATION = D3DKMT_DEFRAG_ESCAPE_OPERATION(4i32);
pub const D3DKMT_DEVICEESCAPE_RESTOREGAMMA: D3DKMT_DEVICEESCAPE_TYPE = D3DKMT_DEVICEESCAPE_TYPE(1i32);
pub const D3DKMT_DEVICEESCAPE_VIDPNFROMALLOCATION: D3DKMT_DEVICEESCAPE_TYPE = D3DKMT_DEVICEESCAPE_TYPE(0i32);
pub const D3DKMT_DEVICEEXECUTION_ACTIVE: D3DKMT_DEVICEEXECUTION_STATE = D3DKMT_DEVICEEXECUTION_STATE(1i32);
pub const D3DKMT_DEVICEEXECUTION_ERROR_DMAFAULT: D3DKMT_DEVICEEXECUTION_STATE = D3DKMT_DEVICEEXECUTION_STATE(6i32);
pub const D3DKMT_DEVICEEXECUTION_ERROR_DMAPAGEFAULT: D3DKMT_DEVICEEXECUTION_STATE = D3DKMT_DEVICEEXECUTION_STATE(7i32);
pub const D3DKMT_DEVICEEXECUTION_ERROR_OUTOFMEMORY: D3DKMT_DEVICEEXECUTION_STATE = D3DKMT_DEVICEEXECUTION_STATE(5i32);
pub const D3DKMT_DEVICEEXECUTION_HUNG: D3DKMT_DEVICEEXECUTION_STATE = D3DKMT_DEVICEEXECUTION_STATE(3i32);
pub const D3DKMT_DEVICEEXECUTION_RESET: D3DKMT_DEVICEEXECUTION_STATE = D3DKMT_DEVICEEXECUTION_STATE(2i32);
pub const D3DKMT_DEVICEEXECUTION_STOPPED: D3DKMT_DEVICEEXECUTION_STATE = D3DKMT_DEVICEEXECUTION_STATE(4i32);
pub const D3DKMT_DEVICESTATE_EXECUTION: D3DKMT_DEVICESTATE_TYPE = D3DKMT_DEVICESTATE_TYPE(1i32);
pub const D3DKMT_DEVICESTATE_PAGE_FAULT: D3DKMT_DEVICESTATE_TYPE = D3DKMT_DEVICESTATE_TYPE(5i32);
pub const D3DKMT_DEVICESTATE_PRESENT: D3DKMT_DEVICESTATE_TYPE = D3DKMT_DEVICESTATE_TYPE(2i32);
pub const D3DKMT_DEVICESTATE_PRESENT_DWM: D3DKMT_DEVICESTATE_TYPE = D3DKMT_DEVICESTATE_TYPE(4i32);
pub const D3DKMT_DEVICESTATE_PRESENT_QUEUE: D3DKMT_DEVICESTATE_TYPE = D3DKMT_DEVICESTATE_TYPE(6i32);
pub const D3DKMT_DEVICESTATE_RESET: D3DKMT_DEVICESTATE_TYPE = D3DKMT_DEVICESTATE_TYPE(3i32);
pub const D3DKMT_DEVICE_ERROR_REASON_DRIVER_ERROR: D3DKMT_DEVICE_ERROR_REASON = D3DKMT_DEVICE_ERROR_REASON(-2147483642i32);
pub const D3DKMT_DEVICE_ERROR_REASON_GENERIC: D3DKMT_DEVICE_ERROR_REASON = D3DKMT_DEVICE_ERROR_REASON(-2147483648i32);
pub const D3DKMT_DMMESCAPETYPE_ACTIVEVIDPN_COFUNCPATHMODALITY_INFO: D3DKMT_DMMESCAPETYPE = D3DKMT_DMMESCAPETYPE(11i32);
pub const D3DKMT_DMMESCAPETYPE_ACTIVEVIDPN_SOURCEMODESET_INFO: D3DKMT_DMMESCAPETYPE = D3DKMT_DMMESCAPETYPE(10i32);
pub const D3DKMT_DMMESCAPETYPE_GET_ACTIVEVIDPN_INFO: D3DKMT_DMMESCAPETYPE = D3DKMT_DMMESCAPETYPE(4i32);
pub const D3DKMT_DMMESCAPETYPE_GET_LASTCLIENTCOMMITTEDVIDPN_INFO: D3DKMT_DMMESCAPETYPE = D3DKMT_DMMESCAPETYPE(12i32);
pub const D3DKMT_DMMESCAPETYPE_GET_MONITORS_INFO: D3DKMT_DMMESCAPETYPE = D3DKMT_DMMESCAPETYPE(5i32);
pub const D3DKMT_DMMESCAPETYPE_GET_SUMMARY_INFO: D3DKMT_DMMESCAPETYPE = D3DKMT_DMMESCAPETYPE(1i32);
pub const D3DKMT_DMMESCAPETYPE_GET_VERSION_INFO: D3DKMT_DMMESCAPETYPE = D3DKMT_DMMESCAPETYPE(13i32);
pub const D3DKMT_DMMESCAPETYPE_GET_VIDEO_PRESENT_SOURCES_INFO: D3DKMT_DMMESCAPETYPE = D3DKMT_DMMESCAPETYPE(2i32);
pub const D3DKMT_DMMESCAPETYPE_GET_VIDEO_PRESENT_TARGETS_INFO: D3DKMT_DMMESCAPETYPE = D3DKMT_DMMESCAPETYPE(3i32);
pub const D3DKMT_DMMESCAPETYPE_RECENTLY_COMMITTED_VIDPNS_INFO: D3DKMT_DMMESCAPETYPE = D3DKMT_DMMESCAPETYPE(6i32);
pub const D3DKMT_DMMESCAPETYPE_RECENTLY_RECOMMENDED_VIDPNS_INFO: D3DKMT_DMMESCAPETYPE = D3DKMT_DMMESCAPETYPE(8i32);
pub const D3DKMT_DMMESCAPETYPE_RECENT_MODECHANGE_REQUESTS_INFO: D3DKMT_DMMESCAPETYPE = D3DKMT_DMMESCAPETYPE(7i32);
pub const D3DKMT_DMMESCAPETYPE_RECENT_MONITOR_PRESENCE_EVENTS_INFO: D3DKMT_DMMESCAPETYPE = D3DKMT_DMMESCAPETYPE(9i32);
pub const D3DKMT_DMMESCAPETYPE_UNINITIALIZED: D3DKMT_DMMESCAPETYPE = D3DKMT_DMMESCAPETYPE(0i32);
pub const D3DKMT_DMMESCAPETYPE_VIDPN_MGR_DIAGNOSTICS: D3DKMT_DMMESCAPETYPE = D3DKMT_DMMESCAPETYPE(14i32);
pub const D3DKMT_DeferredCommandBuffer: D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE = D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE(1i32);
pub const D3DKMT_DeviceCommandBuffer: D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE = D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE(6i32);
pub const D3DKMT_DmaPacketTypeMax: D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE = D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE(4i32);
pub const D3DKMT_ESCAPE_ACTIVATE_SPECIFIC_DIAG: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(14i32);
pub const D3DKMT_ESCAPE_ADAPTER_VERIFIER_OPTION: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(29i32);
pub const D3DKMT_ESCAPE_BDD_FALLBACK: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(13i32);
pub const D3DKMT_ESCAPE_BDD_PNP: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(12i32);
pub const D3DKMT_ESCAPE_BRIGHTNESS: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(17i32);
pub const D3DKMT_ESCAPE_CCD_DATABASE: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(38i32);
pub const D3DKMT_ESCAPE_DEBUG_SNAPSHOT: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(6i32);
pub const D3DKMT_ESCAPE_DEVICE: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(4i32);
pub const D3DKMT_ESCAPE_DIAGNOSTICS: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(9i32);
pub const D3DKMT_ESCAPE_DMM: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(5i32);
pub const D3DKMT_ESCAPE_DOD_SET_DIRTYRECT_MODE: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(31i32);
pub const D3DKMT_ESCAPE_DRIVERPRIVATE: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(0i32);
pub const D3DKMT_ESCAPE_DRT_TEST: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(8i32);
pub const D3DKMT_ESCAPE_EDID_CACHE: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(18i32);
pub const D3DKMT_ESCAPE_FORCE_BDDFALLBACK_HEADLESS: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(24i32);
pub const D3DKMT_ESCAPE_GET_DISPLAY_CONFIGURATIONS: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(36i32);
pub const D3DKMT_ESCAPE_GET_EXTERNAL_DIAGNOSTICS: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(34i32);
pub const D3DKMT_ESCAPE_HISTORY_BUFFER_STATUS: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(21i32);
pub const D3DKMT_ESCAPE_IDD_REQUEST: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(30i32);
pub const D3DKMT_ESCAPE_LOG_CODEPOINT_PACKET: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(32i32);
pub const D3DKMT_ESCAPE_LOG_USERMODE_DAIG_PACKET: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(33i32);
pub const D3DKMT_ESCAPE_MIRACAST_ADAPTER_DIAG_INFO: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(23i32);
pub const D3DKMT_ESCAPE_MIRACAST_DISPLAY_REQUEST: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(20i32);
pub const D3DKMT_ESCAPE_MODES_PRUNED_OUT: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(15i32);
pub const D3DKMT_ESCAPE_OUTPUTDUPL_DIAGNOSTICS: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(11i32);
pub const D3DKMT_ESCAPE_OUTPUTDUPL_SNAPSHOT: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(10i32);
pub const D3DKMT_ESCAPE_PFN_CONTROL_DEFAULT: D3DKMT_ESCAPE_PFN_CONTROL_COMMAND = D3DKMT_ESCAPE_PFN_CONTROL_COMMAND(0i32);
pub const D3DKMT_ESCAPE_PFN_CONTROL_FORCE_CPU: D3DKMT_ESCAPE_PFN_CONTROL_COMMAND = D3DKMT_ESCAPE_PFN_CONTROL_COMMAND(1i32);
pub const D3DKMT_ESCAPE_PFN_CONTROL_FORCE_GPU: D3DKMT_ESCAPE_PFN_CONTROL_COMMAND = D3DKMT_ESCAPE_PFN_CONTROL_COMMAND(2i32);
pub const D3DKMT_ESCAPE_PROCESS_VERIFIER_OPTION: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(28i32);
pub const D3DKMT_ESCAPE_QUERY_DMA_REMAPPING_STATUS: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(39i32);
pub const D3DKMT_ESCAPE_QUERY_IOMMU_STATUS: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(37i32);
pub const D3DKMT_ESCAPE_REQUEST_MACHINE_CRASH: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(25i32);
pub const D3DKMT_ESCAPE_SOFTGPU_ENABLE_DISABLE_HMD: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(27i32);
pub const D3DKMT_ESCAPE_TDRDBGCTRL: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(2i32);
pub const D3DKMT_ESCAPE_VIDMM: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(1i32);
pub const D3DKMT_ESCAPE_VIDSCH: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(3i32);
pub const D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE_SET_BASE_DESKTOP_DURATION: D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE = D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE(0i32);
pub const D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE_SET_PROCESS_BOOST_ELIGIBLE: D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE = D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE(2i32);
pub const D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE_SET_VSYNC_MULTIPLIER: D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE = D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE(1i32);
pub const D3DKMT_ESCAPE_WHQL_INFO: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(16i32);
pub const D3DKMT_ESCAPE_WIN32K_BDD_FALLBACK: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(1029i32);
pub const D3DKMT_ESCAPE_WIN32K_COLOR_PROFILE_INFO: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(1036i32);
pub const D3DKMT_ESCAPE_WIN32K_DDA_TEST_CTL: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(1030i32);
pub const D3DKMT_ESCAPE_WIN32K_DISPBROKER_TEST: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(1035i32);
pub const D3DKMT_ESCAPE_WIN32K_DPI_INFO: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(1026i32);
pub const D3DKMT_ESCAPE_WIN32K_HIP_DEVICE_INFO: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(1024i32);
pub const D3DKMT_ESCAPE_WIN32K_PRESENTER_VIEW_INFO: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(1027i32);
pub const D3DKMT_ESCAPE_WIN32K_QUERY_CD_ROTATION_BLOCK: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(1025i32);
pub const D3DKMT_ESCAPE_WIN32K_SET_DIMMED_STATE: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(1037i32);
pub const D3DKMT_ESCAPE_WIN32K_SPECIALIZED_DISPLAY_TEST: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(1038i32);
pub const D3DKMT_ESCAPE_WIN32K_START: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(1024i32);
pub const D3DKMT_ESCAPE_WIN32K_SYSTEM_DPI: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(1028i32);
pub const D3DKMT_ESCAPE_WIN32K_USER_DETECTED_BLACK_SCREEN: D3DKMT_ESCAPETYPE = D3DKMT_ESCAPETYPE(1031i32);
pub const D3DKMT_FLIPMODEL_INDEPENDENT_FLIP_STAGE_FLIP_COMPLETE: D3DKMT_FLIPMODEL_INDEPENDENT_FLIP_STAGE = D3DKMT_FLIPMODEL_INDEPENDENT_FLIP_STAGE(1i32);
pub const D3DKMT_FLIPMODEL_INDEPENDENT_FLIP_STAGE_FLIP_SUBMITTED: D3DKMT_FLIPMODEL_INDEPENDENT_FLIP_STAGE = D3DKMT_FLIPMODEL_INDEPENDENT_FLIP_STAGE(0i32);
pub const D3DKMT_GDI_STYLE_HANDLE_DECORATION: u32 = 2u32;
pub const D3DKMT_GETPRESENTHISTORY_MAXTOKENS: u32 = 2048u32;
pub const D3DKMT_GET_PTE_MAX: u32 = 64u32;
pub const D3DKMT_GET_QUEUEDLIMIT_PRESENT: D3DKMT_QUEUEDLIMIT_TYPE = D3DKMT_QUEUEDLIMIT_TYPE(2i32);
pub const D3DKMT_GPU_PREFERENCE_STATE_HIGH_PERFORMANCE: D3DKMT_GPU_PREFERENCE_QUERY_STATE = D3DKMT_GPU_PREFERENCE_QUERY_STATE(1i32);
pub const D3DKMT_GPU_PREFERENCE_STATE_MINIMUM_POWER: D3DKMT_GPU_PREFERENCE_QUERY_STATE = D3DKMT_GPU_PREFERENCE_QUERY_STATE(2i32);
pub const D3DKMT_GPU_PREFERENCE_STATE_NOT_FOUND: D3DKMT_GPU_PREFERENCE_QUERY_STATE = D3DKMT_GPU_PREFERENCE_QUERY_STATE(4i32);
pub const D3DKMT_GPU_PREFERENCE_STATE_UNINITIALIZED: D3DKMT_GPU_PREFERENCE_QUERY_STATE = D3DKMT_GPU_PREFERENCE_QUERY_STATE(0i32);
pub const D3DKMT_GPU_PREFERENCE_STATE_UNSPECIFIED: D3DKMT_GPU_PREFERENCE_QUERY_STATE = D3DKMT_GPU_PREFERENCE_QUERY_STATE(3i32);
pub const D3DKMT_GPU_PREFERENCE_STATE_USER_SPECIFIED_GPU: D3DKMT_GPU_PREFERENCE_QUERY_STATE = D3DKMT_GPU_PREFERENCE_QUERY_STATE(5i32);
pub const D3DKMT_GPU_PREFERENCE_TYPE_DX_DATABASE: D3DKMT_GPU_PREFERENCE_QUERY_TYPE = D3DKMT_GPU_PREFERENCE_QUERY_TYPE(1i32);
pub const D3DKMT_GPU_PREFERENCE_TYPE_IHV_DLIST: D3DKMT_GPU_PREFERENCE_QUERY_TYPE = D3DKMT_GPU_PREFERENCE_QUERY_TYPE(0i32);
pub const D3DKMT_GPU_PREFERENCE_TYPE_USER_PREFERENCE: D3DKMT_GPU_PREFERENCE_QUERY_TYPE = D3DKMT_GPU_PREFERENCE_QUERY_TYPE(2i32);
pub const D3DKMT_MAX_BUNDLE_OBJECTS_PER_HANDLE: u32 = 16u32;
pub const D3DKMT_MAX_DMM_ESCAPE_DATASIZE: i32 = 102400i32;
pub const D3DKMT_MAX_MULTIPLANE_OVERLAY_ALLOCATIONS_PER_PLANE: u32 = 256u32;
pub const D3DKMT_MAX_MULTIPLANE_OVERLAY_PLANES: u32 = 8u32;
pub const D3DKMT_MAX_OBJECTS_PER_HANDLE: u32 = 3u32;
pub const D3DKMT_MAX_PRESENT_HISTORY_RECTS: u32 = 16u32;
pub const D3DKMT_MAX_PRESENT_HISTORY_SCATTERBLTS: u32 = 12u32;
pub const D3DKMT_MAX_SEGMENT_COUNT: u32 = 32u32;
pub const D3DKMT_MAX_WAITFORVERTICALBLANK_OBJECTS: u32 = 8u32;
pub const D3DKMT_MEMORY_SEGMENT_GROUP_LOCAL: D3DKMT_MEMORY_SEGMENT_GROUP = D3DKMT_MEMORY_SEGMENT_GROUP(0i32);
pub const D3DKMT_MEMORY_SEGMENT_GROUP_NON_LOCAL: D3DKMT_MEMORY_SEGMENT_GROUP = D3DKMT_MEMORY_SEGMENT_GROUP(1i32);
pub const D3DKMT_MIRACAST_DEVICE_STATUS_CANCELLED: D3DKMT_MIRACAST_DEVICE_STATUS = D3DKMT_MIRACAST_DEVICE_STATUS(-2147483637i32);
pub const D3DKMT_MIRACAST_DEVICE_STATUS_DEVICE_ERROR: D3DKMT_MIRACAST_DEVICE_STATUS = D3DKMT_MIRACAST_DEVICE_STATUS(-2147483645i32);
pub const D3DKMT_MIRACAST_DEVICE_STATUS_DEVICE_NOT_FOUND: D3DKMT_MIRACAST_DEVICE_STATUS = D3DKMT_MIRACAST_DEVICE_STATUS(-2147483642i32);
pub const D3DKMT_MIRACAST_DEVICE_STATUS_DEVICE_NOT_STARTED: D3DKMT_MIRACAST_DEVICE_STATUS = D3DKMT_MIRACAST_DEVICE_STATUS(-2147483641i32);
pub const D3DKMT_MIRACAST_DEVICE_STATUS_GPU_RESOURCE_IN_USE: D3DKMT_MIRACAST_DEVICE_STATUS = D3DKMT_MIRACAST_DEVICE_STATUS(-2147483646i32);
pub const D3DKMT_MIRACAST_DEVICE_STATUS_INSUFFICIENT_BANDWIDTH: D3DKMT_MIRACAST_DEVICE_STATUS = D3DKMT_MIRACAST_DEVICE_STATUS(-2147483639i32);
pub const D3DKMT_MIRACAST_DEVICE_STATUS_INSUFFICIENT_MEMORY: D3DKMT_MIRACAST_DEVICE_STATUS = D3DKMT_MIRACAST_DEVICE_STATUS(-2147483638i32);
pub const D3DKMT_MIRACAST_DEVICE_STATUS_INVALID_PARAMETER: D3DKMT_MIRACAST_DEVICE_STATUS = D3DKMT_MIRACAST_DEVICE_STATUS(-2147483640i32);
pub const D3DKMT_MIRACAST_DEVICE_STATUS_PENDING: D3DKMT_MIRACAST_DEVICE_STATUS = D3DKMT_MIRACAST_DEVICE_STATUS(2i32);
pub const D3DKMT_MIRACAST_DEVICE_STATUS_REMOTE_SESSION: D3DKMT_MIRACAST_DEVICE_STATUS = D3DKMT_MIRACAST_DEVICE_STATUS(-2147483643i32);
pub const D3DKMT_MIRACAST_DEVICE_STATUS_SUCCESS: D3DKMT_MIRACAST_DEVICE_STATUS = D3DKMT_MIRACAST_DEVICE_STATUS(0i32);
pub const D3DKMT_MIRACAST_DEVICE_STATUS_SUCCESS_NO_MONITOR: D3DKMT_MIRACAST_DEVICE_STATUS = D3DKMT_MIRACAST_DEVICE_STATUS(1i32);
pub const D3DKMT_MIRACAST_DEVICE_STATUS_UNKOWN_ERROR: D3DKMT_MIRACAST_DEVICE_STATUS = D3DKMT_MIRACAST_DEVICE_STATUS(-2147483647i32);
pub const D3DKMT_MIRACAST_DEVICE_STATUS_UNKOWN_PAIRING: D3DKMT_MIRACAST_DEVICE_STATUS = D3DKMT_MIRACAST_DEVICE_STATUS(-2147483644i32);
pub const D3DKMT_MIRACAST_DRIVER_IHV: D3DKMT_MIRACAST_DRIVER_TYPE = D3DKMT_MIRACAST_DRIVER_TYPE(1i32);
pub const D3DKMT_MIRACAST_DRIVER_MS: D3DKMT_MIRACAST_DRIVER_TYPE = D3DKMT_MIRACAST_DRIVER_TYPE(2i32);
pub const D3DKMT_MIRACAST_DRIVER_NOT_SUPPORTED: D3DKMT_MIRACAST_DRIVER_TYPE = D3DKMT_MIRACAST_DRIVER_TYPE(0i32);
pub const D3DKMT_MULIIPLANE_OVERLAY_VIDEO_FRAME_FORMAT_PROGRESSIVE: D3DKMT_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT = D3DKMT_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT(0i32);
pub const D3DKMT_MULTIPLANE_OVERLAY_BLEND_ALPHABLEND: D3DKMT_MULTIPLANE_OVERLAY_BLEND = D3DKMT_MULTIPLANE_OVERLAY_BLEND(1i32);
pub const D3DKMT_MULTIPLANE_OVERLAY_BLEND_OPAQUE: D3DKMT_MULTIPLANE_OVERLAY_BLEND = D3DKMT_MULTIPLANE_OVERLAY_BLEND(0i32);
pub const D3DKMT_MULTIPLANE_OVERLAY_FLAG_HORIZONTAL_FLIP: D3DKMT_MULTIPLANE_OVERLAY_FLAGS = D3DKMT_MULTIPLANE_OVERLAY_FLAGS(2i32);
pub const D3DKMT_MULTIPLANE_OVERLAY_FLAG_STATIC_CHECK: D3DKMT_MULTIPLANE_OVERLAY_FLAGS = D3DKMT_MULTIPLANE_OVERLAY_FLAGS(4i32);
pub const D3DKMT_MULTIPLANE_OVERLAY_FLAG_VERTICAL_FLIP: D3DKMT_MULTIPLANE_OVERLAY_FLAGS = D3DKMT_MULTIPLANE_OVERLAY_FLAGS(1i32);
pub const D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT_HORIZONTAL: D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT = D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT(1i32);
pub const D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT_VERTICAL: D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT = D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT(2i32);
pub const D3DKMT_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT_INTERLACED_BOTTOM_FIELD_FIRST: D3DKMT_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT = D3DKMT_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT(2i32);
pub const D3DKMT_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT_INTERLACED_TOP_FIELD_FIRST: D3DKMT_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT = D3DKMT_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT(1i32);
pub const D3DKMT_MULTIPLANE_OVERLAY_YCbCr_FLAG_BT709: D3DKMT_MULTIPLANE_OVERLAY_YCbCr_FLAGS = D3DKMT_MULTIPLANE_OVERLAY_YCbCr_FLAGS(2i32);
pub const D3DKMT_MULTIPLANE_OVERLAY_YCbCr_FLAG_NOMINAL_RANGE: D3DKMT_MULTIPLANE_OVERLAY_YCbCr_FLAGS = D3DKMT_MULTIPLANE_OVERLAY_YCbCr_FLAGS(1i32);
pub const D3DKMT_MULTIPLANE_OVERLAY_YCbCr_FLAG_xvYCC: D3DKMT_MULTIPLANE_OVERLAY_YCbCr_FLAGS = D3DKMT_MULTIPLANE_OVERLAY_YCbCr_FLAGS(4i32);
pub const D3DKMT_MaxAllocationPriorityClass: D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS = D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS(5i32);
pub const D3DKMT_MmIoFlipCommandBuffer: D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE = D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE(3i32);
pub const D3DKMT_OFFER_PRIORITY_AUTO: D3DKMT_OFFER_PRIORITY = D3DKMT_OFFER_PRIORITY(4i32);
pub const D3DKMT_OFFER_PRIORITY_HIGH: D3DKMT_OFFER_PRIORITY = D3DKMT_OFFER_PRIORITY(3i32);
pub const D3DKMT_OFFER_PRIORITY_LOW: D3DKMT_OFFER_PRIORITY = D3DKMT_OFFER_PRIORITY(1i32);
pub const D3DKMT_OFFER_PRIORITY_NORMAL: D3DKMT_OFFER_PRIORITY = D3DKMT_OFFER_PRIORITY(2i32);
pub const D3DKMT_OUTDUPL_POINTER_SHAPE_TYPE_COLOR: D3DKMT_OUTDUPL_POINTER_SHAPE_TYPE = D3DKMT_OUTDUPL_POINTER_SHAPE_TYPE(2i32);
pub const D3DKMT_OUTDUPL_POINTER_SHAPE_TYPE_MASKED_COLOR: D3DKMT_OUTDUPL_POINTER_SHAPE_TYPE = D3DKMT_OUTDUPL_POINTER_SHAPE_TYPE(4i32);
pub const D3DKMT_OUTDUPL_POINTER_SHAPE_TYPE_MONOCHROME: D3DKMT_OUTDUPL_POINTER_SHAPE_TYPE = D3DKMT_OUTDUPL_POINTER_SHAPE_TYPE(1i32);
pub const D3DKMT_OUTPUTDUPL_METADATATYPE_DIRTY_RECTS: D3DKMT_OUTPUTDUPL_METADATATYPE = D3DKMT_OUTPUTDUPL_METADATATYPE(0i32);
pub const D3DKMT_OUTPUTDUPL_METADATATYPE_MOVE_RECTS: D3DKMT_OUTPUTDUPL_METADATATYPE = D3DKMT_OUTPUTDUPL_METADATATYPE(1i32);
pub const D3DKMT_PM_FLIPMANAGER: D3DKMT_PRESENT_MODEL = D3DKMT_PRESENT_MODEL(9i32);
pub const D3DKMT_PM_REDIRECTED_BLT: D3DKMT_PRESENT_MODEL = D3DKMT_PRESENT_MODEL(3i32);
pub const D3DKMT_PM_REDIRECTED_COMPOSITION: D3DKMT_PRESENT_MODEL = D3DKMT_PRESENT_MODEL(7i32);
pub const D3DKMT_PM_REDIRECTED_FLIP: D3DKMT_PRESENT_MODEL = D3DKMT_PRESENT_MODEL(2i32);
pub const D3DKMT_PM_REDIRECTED_GDI: D3DKMT_PRESENT_MODEL = D3DKMT_PRESENT_MODEL(1i32);
pub const D3DKMT_PM_REDIRECTED_GDI_SYSMEM: D3DKMT_PRESENT_MODEL = D3DKMT_PRESENT_MODEL(6i32);
pub const D3DKMT_PM_REDIRECTED_VISTABLT: D3DKMT_PRESENT_MODEL = D3DKMT_PRESENT_MODEL(4i32);
pub const D3DKMT_PM_SCREENCAPTUREFENCE: D3DKMT_PRESENT_MODEL = D3DKMT_PRESENT_MODEL(5i32);
pub const D3DKMT_PM_SURFACECOMPLETE: D3DKMT_PRESENT_MODEL = D3DKMT_PRESENT_MODEL(8i32);
pub const D3DKMT_PM_UNINITIALIZED: D3DKMT_PRESENT_MODEL = D3DKMT_PRESENT_MODEL(0i32);
pub const D3DKMT_PNP_KEY_HARDWARE: D3DKMT_PNP_KEY_TYPE = D3DKMT_PNP_KEY_TYPE(1i32);
pub const D3DKMT_PNP_KEY_SOFTWARE: D3DKMT_PNP_KEY_TYPE = D3DKMT_PNP_KEY_TYPE(2i32);
pub const D3DKMT_PROCESS_VERIFIER_OPTION_VIDMM_FLAGS: D3DKMT_PROCESS_VERIFIER_OPTION_TYPE = D3DKMT_PROCESS_VERIFIER_OPTION_TYPE(1000i32);
pub const D3DKMT_PROCESS_VERIFIER_OPTION_VIDMM_RESTRICT_BUDGET: D3DKMT_PROCESS_VERIFIER_OPTION_TYPE = D3DKMT_PROCESS_VERIFIER_OPTION_TYPE(1001i32);
pub const D3DKMT_PROTECTED_SESSION_STATUS_INVALID: D3DKMT_PROTECTED_SESSION_STATUS = D3DKMT_PROTECTED_SESSION_STATUS(1i32);
pub const D3DKMT_PROTECTED_SESSION_STATUS_OK: D3DKMT_PROTECTED_SESSION_STATUS = D3DKMT_PROTECTED_SESSION_STATUS(0i32);
pub const D3DKMT_PreemptionAttempt: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT(0i32);
pub const D3DKMT_PreemptionAttemptMissAlreadyPreempting: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT(13i32);
pub const D3DKMT_PreemptionAttemptMissAlreadyRunning: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT(15i32);
pub const D3DKMT_PreemptionAttemptMissFenceCommand: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT(7i32);
pub const D3DKMT_PreemptionAttemptMissGlobalBlock: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT(14i32);
pub const D3DKMT_PreemptionAttemptMissLessPriority: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT(10i32);
pub const D3DKMT_PreemptionAttemptMissNextFence: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT(4i32);
pub const D3DKMT_PreemptionAttemptMissNoCommand: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT(2i32);
pub const D3DKMT_PreemptionAttemptMissNotEnabled: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT(3i32);
pub const D3DKMT_PreemptionAttemptMissNotMakingProgress: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT(9i32);
pub const D3DKMT_PreemptionAttemptMissPagingCommand: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT(5i32);
pub const D3DKMT_PreemptionAttemptMissRemainingPreemptionQuantum: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT(12i32);
pub const D3DKMT_PreemptionAttemptMissRemainingQuantum: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT(11i32);
pub const D3DKMT_PreemptionAttemptMissRenderPendingFlip: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT(8i32);
pub const D3DKMT_PreemptionAttemptMissSplittedCommand: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT(6i32);
pub const D3DKMT_PreemptionAttemptStatisticsMax: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT(16i32);
pub const D3DKMT_PreemptionAttemptSuccess: D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT = D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT(1i32);
pub const D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT_MAX: u32 = 16u32;
pub const D3DKMT_QUERYSTATISTICS_ADAPTER: D3DKMT_QUERYSTATISTICS_TYPE = D3DKMT_QUERYSTATISTICS_TYPE(0i32);
pub const D3DKMT_QUERYSTATISTICS_ADAPTER2: D3DKMT_QUERYSTATISTICS_TYPE = D3DKMT_QUERYSTATISTICS_TYPE(11i32);
pub const D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS_MAX: u32 = 5u32;
pub const D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE_MAX: u32 = 4u32;
pub const D3DKMT_QUERYSTATISTICS_NODE: D3DKMT_QUERYSTATISTICS_TYPE = D3DKMT_QUERYSTATISTICS_TYPE(5i32);
pub const D3DKMT_QUERYSTATISTICS_NODE2: D3DKMT_QUERYSTATISTICS_TYPE = D3DKMT_QUERYSTATISTICS_TYPE(18i32);
pub const D3DKMT_QUERYSTATISTICS_PHYSICAL_ADAPTER: D3DKMT_QUERYSTATISTICS_TYPE = D3DKMT_QUERYSTATISTICS_TYPE(10i32);
pub const D3DKMT_QUERYSTATISTICS_PROCESS: D3DKMT_QUERYSTATISTICS_TYPE = D3DKMT_QUERYSTATISTICS_TYPE(1i32);
pub const D3DKMT_QUERYSTATISTICS_PROCESS_ADAPTER: D3DKMT_QUERYSTATISTICS_TYPE = D3DKMT_QUERYSTATISTICS_TYPE(2i32);
pub const D3DKMT_QUERYSTATISTICS_PROCESS_ADAPTER2: D3DKMT_QUERYSTATISTICS_TYPE = D3DKMT_QUERYSTATISTICS_TYPE(13i32);
pub const D3DKMT_QUERYSTATISTICS_PROCESS_INTERFERENCE_BUCKET_COUNT: u32 = 9u32;
pub const D3DKMT_QUERYSTATISTICS_PROCESS_NODE: D3DKMT_QUERYSTATISTICS_TYPE = D3DKMT_QUERYSTATISTICS_TYPE(6i32);
pub const D3DKMT_QUERYSTATISTICS_PROCESS_NODE2: D3DKMT_QUERYSTATISTICS_TYPE = D3DKMT_QUERYSTATISTICS_TYPE(19i32);
pub const D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT: D3DKMT_QUERYSTATISTICS_TYPE = D3DKMT_QUERYSTATISTICS_TYPE(4i32);
pub const D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT2: D3DKMT_QUERYSTATISTICS_TYPE = D3DKMT_QUERYSTATISTICS_TYPE(14i32);
pub const D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_GROUP: D3DKMT_QUERYSTATISTICS_TYPE = D3DKMT_QUERYSTATISTICS_TYPE(9i32);
pub const D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_GROUP2: D3DKMT_QUERYSTATISTICS_TYPE = D3DKMT_QUERYSTATISTICS_TYPE(15i32);
pub const D3DKMT_QUERYSTATISTICS_PROCESS_VIDPNSOURCE: D3DKMT_QUERYSTATISTICS_TYPE = D3DKMT_QUERYSTATISTICS_TYPE(8i32);
pub const D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE_MAX: u32 = 8u32;
pub const D3DKMT_QUERYSTATISTICS_SEGMENT: D3DKMT_QUERYSTATISTICS_TYPE = D3DKMT_QUERYSTATISTICS_TYPE(3i32);
pub const D3DKMT_QUERYSTATISTICS_SEGMENT2: D3DKMT_QUERYSTATISTICS_TYPE = D3DKMT_QUERYSTATISTICS_TYPE(12i32);
pub const D3DKMT_QUERYSTATISTICS_SEGMENT_GROUP_USAGE: D3DKMT_QUERYSTATISTICS_TYPE = D3DKMT_QUERYSTATISTICS_TYPE(17i32);
pub const D3DKMT_QUERYSTATISTICS_SEGMENT_PREFERENCE_MAX: u32 = 5u32;
pub const D3DKMT_QUERYSTATISTICS_SEGMENT_TYPE_APERTURE: D3DKMT_QUERYSTATISTICS_SEGMENT_TYPE = D3DKMT_QUERYSTATISTICS_SEGMENT_TYPE(0i32);
pub const D3DKMT_QUERYSTATISTICS_SEGMENT_TYPE_MEMORY: D3DKMT_QUERYSTATISTICS_SEGMENT_TYPE = D3DKMT_QUERYSTATISTICS_SEGMENT_TYPE(1i32);
pub const D3DKMT_QUERYSTATISTICS_SEGMENT_TYPE_SYSMEM: D3DKMT_QUERYSTATISTICS_SEGMENT_TYPE = D3DKMT_QUERYSTATISTICS_SEGMENT_TYPE(2i32);
pub const D3DKMT_QUERYSTATISTICS_SEGMENT_USAGE: D3DKMT_QUERYSTATISTICS_TYPE = D3DKMT_QUERYSTATISTICS_TYPE(16i32);
pub const D3DKMT_QUERYSTATISTICS_VIDPNSOURCE: D3DKMT_QUERYSTATISTICS_TYPE = D3DKMT_QUERYSTATISTICS_TYPE(7i32);
pub const D3DKMT_QueuePacketTypeMax: D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE = D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE(8i32);
pub const D3DKMT_RenderCommandBuffer: D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE = D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE(0i32);
pub const D3DKMT_SCHEDULINGPRIORITYCLASS_ABOVE_NORMAL: D3DKMT_SCHEDULINGPRIORITYCLASS = D3DKMT_SCHEDULINGPRIORITYCLASS(3i32);
pub const D3DKMT_SCHEDULINGPRIORITYCLASS_BELOW_NORMAL: D3DKMT_SCHEDULINGPRIORITYCLASS = D3DKMT_SCHEDULINGPRIORITYCLASS(1i32);
pub const D3DKMT_SCHEDULINGPRIORITYCLASS_HIGH: D3DKMT_SCHEDULINGPRIORITYCLASS = D3DKMT_SCHEDULINGPRIORITYCLASS(4i32);
pub const D3DKMT_SCHEDULINGPRIORITYCLASS_IDLE: D3DKMT_SCHEDULINGPRIORITYCLASS = D3DKMT_SCHEDULINGPRIORITYCLASS(0i32);
pub const D3DKMT_SCHEDULINGPRIORITYCLASS_NORMAL: D3DKMT_SCHEDULINGPRIORITYCLASS = D3DKMT_SCHEDULINGPRIORITYCLASS(2i32);
pub const D3DKMT_SCHEDULINGPRIORITYCLASS_REALTIME: D3DKMT_SCHEDULINGPRIORITYCLASS = D3DKMT_SCHEDULINGPRIORITYCLASS(5i32);
pub const D3DKMT_SETCONTEXTSCHEDULINGPRIORITY_ABSOLUTE: u32 = 1073741824u32;
pub const D3DKMT_SET_QUEUEDLIMIT_PRESENT: D3DKMT_QUEUEDLIMIT_TYPE = D3DKMT_QUEUEDLIMIT_TYPE(1i32);
pub const D3DKMT_STANDARDALLOCATIONTYPE_EXISTINGHEAP: D3DKMT_STANDARDALLOCATIONTYPE = D3DKMT_STANDARDALLOCATIONTYPE(1i32);
pub const D3DKMT_STANDARDALLOCATIONTYPE_INTERNALBACKINGSTORE: D3DKMT_STANDARDALLOCATIONTYPE = D3DKMT_STANDARDALLOCATIONTYPE(2i32);
pub const D3DKMT_STANDARDALLOCATIONTYPE_MAX: D3DKMT_STANDARDALLOCATIONTYPE = D3DKMT_STANDARDALLOCATIONTYPE(3i32);
pub const D3DKMT_SUBKEY_DX9: ::windows_core::PCWSTR = ::windows_core::w!("DX9");
pub const D3DKMT_SUBKEY_OPENGL: ::windows_core::PCWSTR = ::windows_core::w!("OpenGL");
pub const D3DKMT_SignalCommandBuffer: D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE = D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE(5i32);
pub const D3DKMT_SoftwareCommandBuffer: D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE = D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE(7i32);
pub const D3DKMT_SystemCommandBuffer: D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE = D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE(2i32);
pub const D3DKMT_SystemPagingBuffer: D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE = D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE(2i32);
pub const D3DKMT_SystemPreemptionBuffer: D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE = D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE(3i32);
pub const D3DKMT_TDRDBGCTRLTYPE_DISABLEBREAK: D3DKMT_TDRDBGCTRLTYPE = D3DKMT_TDRDBGCTRLTYPE(1i32);
pub const D3DKMT_TDRDBGCTRLTYPE_ENABLEBREAK: D3DKMT_TDRDBGCTRLTYPE = D3DKMT_TDRDBGCTRLTYPE(2i32);
pub const D3DKMT_TDRDBGCTRLTYPE_ENGINETDR: D3DKMT_TDRDBGCTRLTYPE = D3DKMT_TDRDBGCTRLTYPE(8i32);
pub const D3DKMT_TDRDBGCTRLTYPE_FORCEDODTDR: D3DKMT_TDRDBGCTRLTYPE = D3DKMT_TDRDBGCTRLTYPE(6i32);
pub const D3DKMT_TDRDBGCTRLTYPE_FORCEDODVSYNCTDR: D3DKMT_TDRDBGCTRLTYPE = D3DKMT_TDRDBGCTRLTYPE(7i32);
pub const D3DKMT_TDRDBGCTRLTYPE_FORCETDR: D3DKMT_TDRDBGCTRLTYPE = D3DKMT_TDRDBGCTRLTYPE(0i32);
pub const D3DKMT_TDRDBGCTRLTYPE_GPUTDR: D3DKMT_TDRDBGCTRLTYPE = D3DKMT_TDRDBGCTRLTYPE(5i32);
pub const D3DKMT_TDRDBGCTRLTYPE_UNCONDITIONAL: D3DKMT_TDRDBGCTRLTYPE = D3DKMT_TDRDBGCTRLTYPE(3i32);
pub const D3DKMT_TDRDBGCTRLTYPE_VSYNCTDR: D3DKMT_TDRDBGCTRLTYPE = D3DKMT_TDRDBGCTRLTYPE(4i32);
pub const D3DKMT_VAD_ESCAPE_GETNUMVADS: D3DKMT_VAD_ESCAPE_COMMAND = D3DKMT_VAD_ESCAPE_COMMAND(0i32);
pub const D3DKMT_VAD_ESCAPE_GETVAD: D3DKMT_VAD_ESCAPE_COMMAND = D3DKMT_VAD_ESCAPE_COMMAND(1i32);
pub const D3DKMT_VAD_ESCAPE_GETVADRANGE: D3DKMT_VAD_ESCAPE_COMMAND = D3DKMT_VAD_ESCAPE_COMMAND(2i32);
pub const D3DKMT_VAD_ESCAPE_GET_GPUMMU_CAPS: D3DKMT_VAD_ESCAPE_COMMAND = D3DKMT_VAD_ESCAPE_COMMAND(4i32);
pub const D3DKMT_VAD_ESCAPE_GET_PTE: D3DKMT_VAD_ESCAPE_COMMAND = D3DKMT_VAD_ESCAPE_COMMAND(3i32);
pub const D3DKMT_VAD_ESCAPE_GET_SEGMENT_CAPS: D3DKMT_VAD_ESCAPE_COMMAND = D3DKMT_VAD_ESCAPE_COMMAND(5i32);
pub const D3DKMT_VERIFIER_OPTION_QUERY: D3DKMT_VERIFIER_OPTION_MODE = D3DKMT_VERIFIER_OPTION_MODE(0i32);
pub const D3DKMT_VERIFIER_OPTION_SET: D3DKMT_VERIFIER_OPTION_MODE = D3DKMT_VERIFIER_OPTION_MODE(1i32);
pub const D3DKMT_VIDMMESCAPETYPE_APERTURE_CORRUPTION_CHECK: D3DKMT_VIDMMESCAPETYPE = D3DKMT_VIDMMESCAPETYPE(3i32);
pub const D3DKMT_VIDMMESCAPETYPE_DEFRAG: D3DKMT_VIDMMESCAPETYPE = D3DKMT_VIDMMESCAPETYPE(15i32);
pub const D3DKMT_VIDMMESCAPETYPE_DELAYEXECUTION: D3DKMT_VIDMMESCAPETYPE = D3DKMT_VIDMMESCAPETYPE(16i32);
pub const D3DKMT_VIDMMESCAPETYPE_EVICT: D3DKMT_VIDMMESCAPETYPE = D3DKMT_VIDMMESCAPETYPE(5i32);
pub const D3DKMT_VIDMMESCAPETYPE_EVICT_BY_CRITERIA: D3DKMT_VIDMMESCAPETYPE = D3DKMT_VIDMMESCAPETYPE(13i32);
pub const D3DKMT_VIDMMESCAPETYPE_EVICT_BY_NT_HANDLE: D3DKMT_VIDMMESCAPETYPE = D3DKMT_VIDMMESCAPETYPE(6i32);
pub const D3DKMT_VIDMMESCAPETYPE_GET_BUDGET: D3DKMT_VIDMMESCAPETYPE = D3DKMT_VIDMMESCAPETYPE(11i32);
pub const D3DKMT_VIDMMESCAPETYPE_GET_VAD_INFO: D3DKMT_VIDMMESCAPETYPE = D3DKMT_VIDMMESCAPETYPE(7i32);
pub const D3DKMT_VIDMMESCAPETYPE_RESUME_PROCESS: D3DKMT_VIDMMESCAPETYPE = D3DKMT_VIDMMESCAPETYPE(10i32);
pub const D3DKMT_VIDMMESCAPETYPE_RUN_COHERENCY_TEST: D3DKMT_VIDMMESCAPETYPE = D3DKMT_VIDMMESCAPETYPE(1i32);
pub const D3DKMT_VIDMMESCAPETYPE_RUN_UNMAP_TO_DUMMY_PAGE_TEST: D3DKMT_VIDMMESCAPETYPE = D3DKMT_VIDMMESCAPETYPE(2i32);
pub const D3DKMT_VIDMMESCAPETYPE_SETFAULT: D3DKMT_VIDMMESCAPETYPE = D3DKMT_VIDMMESCAPETYPE(0i32);
pub const D3DKMT_VIDMMESCAPETYPE_SET_BUDGET: D3DKMT_VIDMMESCAPETYPE = D3DKMT_VIDMMESCAPETYPE(8i32);
pub const D3DKMT_VIDMMESCAPETYPE_SET_EVICTION_CONFIG: D3DKMT_VIDMMESCAPETYPE = D3DKMT_VIDMMESCAPETYPE(18i32);
pub const D3DKMT_VIDMMESCAPETYPE_SET_TRIM_INTERVALS: D3DKMT_VIDMMESCAPETYPE = D3DKMT_VIDMMESCAPETYPE(12i32);
pub const D3DKMT_VIDMMESCAPETYPE_SUSPEND_CPU_ACCESS_TEST: D3DKMT_VIDMMESCAPETYPE = D3DKMT_VIDMMESCAPETYPE(4i32);
pub const D3DKMT_VIDMMESCAPETYPE_SUSPEND_PROCESS: D3DKMT_VIDMMESCAPETYPE = D3DKMT_VIDMMESCAPETYPE(9i32);
pub const D3DKMT_VIDMMESCAPETYPE_VALIDATE_INTEGRITY: D3DKMT_VIDMMESCAPETYPE = D3DKMT_VIDMMESCAPETYPE(17i32);
pub const D3DKMT_VIDMMESCAPETYPE_WAKE: D3DKMT_VIDMMESCAPETYPE = D3DKMT_VIDMMESCAPETYPE(14i32);
pub const D3DKMT_VIDPNSOURCEOWNER_EMULATED: D3DKMT_VIDPNSOURCEOWNER_TYPE = D3DKMT_VIDPNSOURCEOWNER_TYPE(4i32);
pub const D3DKMT_VIDPNSOURCEOWNER_EXCLUSIVE: D3DKMT_VIDPNSOURCEOWNER_TYPE = D3DKMT_VIDPNSOURCEOWNER_TYPE(2i32);
pub const D3DKMT_VIDPNSOURCEOWNER_EXCLUSIVEGDI: D3DKMT_VIDPNSOURCEOWNER_TYPE = D3DKMT_VIDPNSOURCEOWNER_TYPE(3i32);
pub const D3DKMT_VIDPNSOURCEOWNER_SHARED: D3DKMT_VIDPNSOURCEOWNER_TYPE = D3DKMT_VIDPNSOURCEOWNER_TYPE(1i32);
pub const D3DKMT_VIDPNSOURCEOWNER_UNOWNED: D3DKMT_VIDPNSOURCEOWNER_TYPE = D3DKMT_VIDPNSOURCEOWNER_TYPE(0i32);
pub const D3DKMT_VIDSCHESCAPETYPE_CONFIGURE_TDR_LIMIT: D3DKMT_VIDSCHESCAPETYPE = D3DKMT_VIDSCHESCAPETYPE(5i32);
pub const D3DKMT_VIDSCHESCAPETYPE_ENABLECONTEXTDELAY: D3DKMT_VIDSCHESCAPETYPE = D3DKMT_VIDSCHESCAPETYPE(4i32);
pub const D3DKMT_VIDSCHESCAPETYPE_PFN_CONTROL: D3DKMT_VIDSCHESCAPETYPE = D3DKMT_VIDSCHESCAPETYPE(7i32);
pub const D3DKMT_VIDSCHESCAPETYPE_PREEMPTIONCONTROL: D3DKMT_VIDSCHESCAPETYPE = D3DKMT_VIDSCHESCAPETYPE(0i32);
pub const D3DKMT_VIDSCHESCAPETYPE_SUSPENDRESUME: D3DKMT_VIDSCHESCAPETYPE = D3DKMT_VIDSCHESCAPETYPE(3i32);
pub const D3DKMT_VIDSCHESCAPETYPE_SUSPENDSCHEDULER: D3DKMT_VIDSCHESCAPETYPE = D3DKMT_VIDSCHESCAPETYPE(1i32);
pub const D3DKMT_VIDSCHESCAPETYPE_TDRCONTROL: D3DKMT_VIDSCHESCAPETYPE = D3DKMT_VIDSCHESCAPETYPE(2i32);
pub const D3DKMT_VIDSCHESCAPETYPE_VGPU_RESET: D3DKMT_VIDSCHESCAPETYPE = D3DKMT_VIDSCHESCAPETYPE(6i32);
pub const D3DKMT_VIDSCHESCAPETYPE_VIRTUAL_REFRESH_RATE: D3DKMT_VIDSCHESCAPETYPE = D3DKMT_VIDSCHESCAPETYPE(8i32);
pub const D3DKMT_WaitCommandBuffer: D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE = D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE(4i32);
pub const D3DNTCLEAR_COMPUTERECTS: i32 = 8i32;
pub const D3DNTDP2OP_ADDDIRTYBOX: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(67i32);
pub const D3DNTDP2OP_ADDDIRTYRECT: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(66i32);
pub const D3DNTDP2OP_BLT: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(81i32);
pub const D3DNTDP2OP_BUFFERBLT: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(64i32);
pub const D3DNTDP2OP_CLEAR: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(42i32);
pub const D3DNTDP2OP_CLIPPEDTRIANGLEFAN: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(58i32);
pub const D3DNTDP2OP_COLORFILL: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(82i32);
pub const D3DNTDP2OP_COMPOSERECTS: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(98i32);
pub const D3DNTDP2OP_CREATELIGHT: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(35i32);
pub const D3DNTDP2OP_CREATEPIXELSHADER: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(54i32);
pub const D3DNTDP2OP_CREATEQUERY: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(84i32);
pub const D3DNTDP2OP_CREATEVERTEXSHADER: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(45i32);
pub const D3DNTDP2OP_CREATEVERTEXSHADERDECL: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(71i32);
pub const D3DNTDP2OP_CREATEVERTEXSHADERFUNC: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(74i32);
pub const D3DNTDP2OP_DELETEPIXELSHADER: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(55i32);
pub const D3DNTDP2OP_DELETEQUERY: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(90i32);
pub const D3DNTDP2OP_DELETEVERTEXSHADER: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(46i32);
pub const D3DNTDP2OP_DELETEVERTEXSHADERDECL: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(72i32);
pub const D3DNTDP2OP_DELETEVERTEXSHADERFUNC: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(75i32);
pub const D3DNTDP2OP_DRAWINDEXEDPRIMITIVE: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(53i32);
pub const D3DNTDP2OP_DRAWINDEXEDPRIMITIVE2: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(60i32);
pub const D3DNTDP2OP_DRAWPRIMITIVE: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(52i32);
pub const D3DNTDP2OP_DRAWPRIMITIVE2: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(59i32);
pub const D3DNTDP2OP_DRAWRECTPATCH: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(61i32);
pub const D3DNTDP2OP_DRAWTRIPATCH: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(62i32);
pub const D3DNTDP2OP_GENERATEMIPSUBLEVELS: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(89i32);
pub const D3DNTDP2OP_INDEXEDLINELIST: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(2i32);
pub const D3DNTDP2OP_INDEXEDLINELIST2: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(27i32);
pub const D3DNTDP2OP_INDEXEDLINESTRIP: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(17i32);
pub const D3DNTDP2OP_INDEXEDTRIANGLEFAN: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(22i32);
pub const D3DNTDP2OP_INDEXEDTRIANGLELIST: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(3i32);
pub const D3DNTDP2OP_INDEXEDTRIANGLELIST2: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(26i32);
pub const D3DNTDP2OP_INDEXEDTRIANGLESTRIP: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(20i32);
pub const D3DNTDP2OP_ISSUEQUERY: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(91i32);
pub const D3DNTDP2OP_LINELIST: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(15i32);
pub const D3DNTDP2OP_LINELIST_IMM: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(24i32);
pub const D3DNTDP2OP_LINESTRIP: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(16i32);
pub const D3DNTDP2OP_MULTIPLYTRANSFORM: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(65i32);
pub const D3DNTDP2OP_POINTS: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(1i32);
pub const D3DNTDP2OP_RENDERSTATE: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(8i32);
pub const D3DNTDP2OP_RESPONSECONTINUE: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(87i32);
pub const D3DNTDP2OP_RESPONSEQUERY: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(88i32);
pub const D3DNTDP2OP_SETCLIPPLANE: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(44i32);
pub const D3DNTDP2OP_SETCONVOLUTIONKERNELMONO: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(97i32);
pub const D3DNTDP2OP_SETDEPTHSTENCIL: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(86i32);
pub const D3DNTDP2OP_SETINDICES: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(51i32);
pub const D3DNTDP2OP_SETLIGHT: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(34i32);
pub const D3DNTDP2OP_SETMATERIAL: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(33i32);
pub const D3DNTDP2OP_SETPALETTE: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(30i32);
pub const D3DNTDP2OP_SETPIXELSHADER: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(56i32);
pub const D3DNTDP2OP_SETPIXELSHADERCONST: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(57i32);
pub const D3DNTDP2OP_SETPIXELSHADERCONSTB: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(94i32);
pub const D3DNTDP2OP_SETPIXELSHADERCONSTI: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(93i32);
pub const D3DNTDP2OP_SETPRIORITY: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(40i32);
pub const D3DNTDP2OP_SETRENDERTARGET: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(41i32);
pub const D3DNTDP2OP_SETRENDERTARGET2: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(85i32);
pub const D3DNTDP2OP_SETSCISSORRECT: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(79i32);
pub const D3DNTDP2OP_SETSTREAMSOURCE: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(49i32);
pub const D3DNTDP2OP_SETSTREAMSOURCE2: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(80i32);
pub const D3DNTDP2OP_SETSTREAMSOURCEFREQ: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(95i32);
pub const D3DNTDP2OP_SETSTREAMSOURCEUM: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(50i32);
pub const D3DNTDP2OP_SETTEXLOD: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(43i32);
pub const D3DNTDP2OP_SETTRANSFORM: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(36i32);
pub const D3DNTDP2OP_SETVERTEXSHADER: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(47i32);
pub const D3DNTDP2OP_SETVERTEXSHADERCONST: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(48i32);
pub const D3DNTDP2OP_SETVERTEXSHADERCONSTB: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(83i32);
pub const D3DNTDP2OP_SETVERTEXSHADERCONSTI: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(77i32);
pub const D3DNTDP2OP_SETVERTEXSHADERDECL: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(73i32);
pub const D3DNTDP2OP_SETVERTEXSHADERFUNC: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(76i32);
pub const D3DNTDP2OP_STATESET: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(39i32);
pub const D3DNTDP2OP_SURFACEBLT: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(96i32);
pub const D3DNTDP2OP_TEXBLT: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(38i32);
pub const D3DNTDP2OP_TEXTURESTAGESTATE: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(25i32);
pub const D3DNTDP2OP_TRIANGLEFAN: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(21i32);
pub const D3DNTDP2OP_TRIANGLEFAN_IMM: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(23i32);
pub const D3DNTDP2OP_TRIANGLELIST: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(18i32);
pub const D3DNTDP2OP_TRIANGLESTRIP: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(19i32);
pub const D3DNTDP2OP_UPDATEPALETTE: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(31i32);
pub const D3DNTDP2OP_VIEWPORTINFO: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(28i32);
pub const D3DNTDP2OP_VOLUMEBLT: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(63i32);
pub const D3DNTDP2OP_WINFO: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(29i32);
pub const D3DNTDP2OP_ZRANGE: D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION(32i32);
pub const D3DNTHAL2_CB32_SETRENDERTARGET: i32 = 1i32;
pub const D3DNTHAL3_CB32_CLEAR2: i32 = 1i32;
pub const D3DNTHAL3_CB32_DRAWPRIMITIVES2: i32 = 8i32;
pub const D3DNTHAL3_CB32_RESERVED: i32 = 2i32;
pub const D3DNTHAL3_CB32_VALIDATETEXTURESTAGESTATE: i32 = 4i32;
pub const D3DNTHALDP2_EXECUTEBUFFER: i32 = 2i32;
pub const D3DNTHALDP2_REQCOMMANDBUFSIZE: i32 = 32i32;
pub const D3DNTHALDP2_REQVERTEXBUFSIZE: i32 = 16i32;
pub const D3DNTHALDP2_SWAPCOMMANDBUFFER: i32 = 8i32;
pub const D3DNTHALDP2_SWAPVERTEXBUFFER: i32 = 4i32;
pub const D3DNTHALDP2_USERMEMVERTICES: i32 = 1i32;
pub const D3DNTHALDP2_VIDMEMCOMMANDBUF: i32 = 128i32;
pub const D3DNTHALDP2_VIDMEMVERTEXBUF: i32 = 64i32;
pub const D3DNTHAL_COL_WEIGHTS: u32 = 2u32;
pub const D3DNTHAL_CONTEXT_BAD: i64 = 512i64;
pub const D3DNTHAL_NUMCLIPVERTICES: u32 = 20u32;
pub const D3DNTHAL_OUTOFCONTEXTS: i64 = 513i64;
pub const D3DNTHAL_ROW_WEIGHTS: u32 = 1u32;
pub const D3DNTHAL_SCENE_CAPTURE_END: i32 = 1i32;
pub const D3DNTHAL_SCENE_CAPTURE_START: i32 = 0i32;
pub const D3DNTHAL_STATESETCREATE: u32 = 5u32;
pub const D3DNTHAL_TSS_MAXSTAGES: u32 = 8u32;
pub const D3DNTHAL_TSS_RENDERSTATEBASE: u32 = 256u32;
pub const D3DNTHAL_TSS_STATESPERSTAGE: u32 = 64u32;
pub const D3DPMISCCAPS_FOGINFVF: i32 = 8192i32;
pub const D3DPMISCCAPS_LINEPATTERNREP: i32 = 4i32;
pub const D3DPRASTERCAPS_PAT: i32 = 8i32;
pub const D3DPRASTERCAPS_STRETCHBLTMULTISAMPLE: i32 = 8388608i32;
pub const D3DPS_COLOROUT_MAX_V2_0: u32 = 4u32;
pub const D3DPS_COLOROUT_MAX_V2_1: u32 = 4u32;
pub const D3DPS_COLOROUT_MAX_V3_0: u32 = 4u32;
pub const D3DPS_CONSTBOOLREG_MAX_SW_DX9: u32 = 2048u32;
pub const D3DPS_CONSTBOOLREG_MAX_V2_1: u32 = 16u32;
pub const D3DPS_CONSTBOOLREG_MAX_V3_0: u32 = 16u32;
pub const D3DPS_CONSTINTREG_MAX_SW_DX9: u32 = 2048u32;
pub const D3DPS_CONSTINTREG_MAX_V2_1: u32 = 16u32;
pub const D3DPS_CONSTINTREG_MAX_V3_0: u32 = 16u32;
pub const D3DPS_CONSTREG_MAX_DX8: u32 = 8u32;
pub const D3DPS_CONSTREG_MAX_SW_DX9: u32 = 8192u32;
pub const D3DPS_CONSTREG_MAX_V1_1: u32 = 8u32;
pub const D3DPS_CONSTREG_MAX_V1_2: u32 = 8u32;
pub const D3DPS_CONSTREG_MAX_V1_3: u32 = 8u32;
pub const D3DPS_CONSTREG_MAX_V1_4: u32 = 8u32;
pub const D3DPS_CONSTREG_MAX_V2_0: u32 = 32u32;
pub const D3DPS_CONSTREG_MAX_V2_1: u32 = 32u32;
pub const D3DPS_CONSTREG_MAX_V3_0: u32 = 224u32;
pub const D3DPS_INPUTREG_MAX_DX8: u32 = 8u32;
pub const D3DPS_INPUTREG_MAX_SW_DX9: u32 = 14u32;
pub const D3DPS_INPUTREG_MAX_V1_1: u32 = 2u32;
pub const D3DPS_INPUTREG_MAX_V1_2: u32 = 2u32;
pub const D3DPS_INPUTREG_MAX_V1_3: u32 = 2u32;
pub const D3DPS_INPUTREG_MAX_V1_4: u32 = 2u32;
pub const D3DPS_INPUTREG_MAX_V2_0: u32 = 2u32;
pub const D3DPS_INPUTREG_MAX_V2_1: u32 = 2u32;
pub const D3DPS_INPUTREG_MAX_V3_0: u32 = 10u32;
pub const D3DPS_MAXLOOPINITVALUE_V2_1: u32 = 255u32;
pub const D3DPS_MAXLOOPINITVALUE_V3_0: u32 = 255u32;
pub const D3DPS_MAXLOOPITERATIONCOUNT_V2_1: u32 = 255u32;
pub const D3DPS_MAXLOOPITERATIONCOUNT_V3_0: u32 = 255u32;
pub const D3DPS_MAXLOOPSTEP_V2_1: u32 = 128u32;
pub const D3DPS_MAXLOOPSTEP_V3_0: u32 = 128u32;
pub const D3DPS_PREDICATE_MAX_V2_1: u32 = 1u32;
pub const D3DPS_PREDICATE_MAX_V3_0: u32 = 1u32;
pub const D3DPS_TEMPREG_MAX_DX8: u32 = 8u32;
pub const D3DPS_TEMPREG_MAX_V1_1: u32 = 2u32;
pub const D3DPS_TEMPREG_MAX_V1_2: u32 = 2u32;
pub const D3DPS_TEMPREG_MAX_V1_3: u32 = 2u32;
pub const D3DPS_TEMPREG_MAX_V1_4: u32 = 6u32;
pub const D3DPS_TEMPREG_MAX_V2_0: u32 = 12u32;
pub const D3DPS_TEMPREG_MAX_V2_1: u32 = 32u32;
pub const D3DPS_TEMPREG_MAX_V3_0: u32 = 32u32;
pub const D3DPS_TEXTUREREG_MAX_DX8: u32 = 8u32;
pub const D3DPS_TEXTUREREG_MAX_V1_1: u32 = 4u32;
pub const D3DPS_TEXTUREREG_MAX_V1_2: u32 = 4u32;
pub const D3DPS_TEXTUREREG_MAX_V1_3: u32 = 4u32;
pub const D3DPS_TEXTUREREG_MAX_V1_4: u32 = 6u32;
pub const D3DPS_TEXTUREREG_MAX_V2_0: u32 = 8u32;
pub const D3DPS_TEXTUREREG_MAX_V2_1: u32 = 8u32;
pub const D3DPS_TEXTUREREG_MAX_V3_0: u32 = 0u32;
pub const D3DRENDERSTATE_EVICTMANAGEDTEXTURES: u32 = 61u32;
pub const D3DRENDERSTATE_SCENECAPTURE: u32 = 62u32;
pub const D3DRS_DELETERTPATCH: u32 = 169u32;
pub const D3DRS_MAXPIXELSHADERINST: u32 = 197u32;
pub const D3DRS_MAXVERTEXSHADERINST: u32 = 196u32;
pub const D3DTEXF_FLATCUBIC: u32 = 4u32;
pub const D3DTEXF_GAUSSIANCUBIC: u32 = 5u32;
pub const D3DTRANSFORMSTATE_WORLD1_DX7: u32 = 4u32;
pub const D3DTRANSFORMSTATE_WORLD2_DX7: u32 = 5u32;
pub const D3DTRANSFORMSTATE_WORLD3_DX7: u32 = 6u32;
pub const D3DTRANSFORMSTATE_WORLD_DX7: u32 = 1u32;
pub const D3DTSS_TEXTUREMAP: u32 = 0u32;
pub const D3DVSDE_BLENDINDICES: u32 = 2u32;
pub const D3DVSDE_BLENDWEIGHT: u32 = 1u32;
pub const D3DVSDE_DIFFUSE: u32 = 5u32;
pub const D3DVSDE_NORMAL: u32 = 3u32;
pub const D3DVSDE_NORMAL2: u32 = 16u32;
pub const D3DVSDE_POSITION: u32 = 0u32;
pub const D3DVSDE_POSITION2: u32 = 15u32;
pub const D3DVSDE_PSIZE: u32 = 4u32;
pub const D3DVSDE_SPECULAR: u32 = 6u32;
pub const D3DVSDE_TEXCOORD0: u32 = 7u32;
pub const D3DVSDE_TEXCOORD1: u32 = 8u32;
pub const D3DVSDE_TEXCOORD2: u32 = 9u32;
pub const D3DVSDE_TEXCOORD3: u32 = 10u32;
pub const D3DVSDE_TEXCOORD4: u32 = 11u32;
pub const D3DVSDE_TEXCOORD5: u32 = 12u32;
pub const D3DVSDE_TEXCOORD6: u32 = 13u32;
pub const D3DVSDE_TEXCOORD7: u32 = 14u32;
pub const D3DVSDT_D3DCOLOR: u32 = 4u32;
pub const D3DVSDT_FLOAT1: u32 = 0u32;
pub const D3DVSDT_FLOAT2: u32 = 1u32;
pub const D3DVSDT_FLOAT3: u32 = 2u32;
pub const D3DVSDT_FLOAT4: u32 = 3u32;
pub const D3DVSDT_SHORT2: u32 = 6u32;
pub const D3DVSDT_SHORT4: u32 = 7u32;
pub const D3DVSDT_UBYTE4: u32 = 5u32;
pub const D3DVSD_CONSTADDRESSSHIFT: u32 = 0u32;
pub const D3DVSD_CONSTCOUNTSHIFT: u32 = 25u32;
pub const D3DVSD_CONSTRSSHIFT: u32 = 16u32;
pub const D3DVSD_DATALOADTYPESHIFT: u32 = 28u32;
pub const D3DVSD_DATATYPESHIFT: u32 = 16u32;
pub const D3DVSD_EXTCOUNTSHIFT: u32 = 24u32;
pub const D3DVSD_EXTINFOSHIFT: u32 = 0u32;
pub const D3DVSD_SKIPCOUNTSHIFT: u32 = 16u32;
pub const D3DVSD_STREAMNUMBERSHIFT: u32 = 0u32;
pub const D3DVSD_STREAMTESSSHIFT: u32 = 28u32;
pub const D3DVSD_TOKENTYPESHIFT: u32 = 29u32;
pub const D3DVSD_TOKEN_CONSTMEM: D3DVSD_TOKENTYPE = D3DVSD_TOKENTYPE(4i32);
pub const D3DVSD_TOKEN_END: D3DVSD_TOKENTYPE = D3DVSD_TOKENTYPE(7i32);
pub const D3DVSD_TOKEN_EXT: D3DVSD_TOKENTYPE = D3DVSD_TOKENTYPE(5i32);
pub const D3DVSD_TOKEN_NOP: D3DVSD_TOKENTYPE = D3DVSD_TOKENTYPE(0i32);
pub const D3DVSD_TOKEN_STREAM: D3DVSD_TOKENTYPE = D3DVSD_TOKENTYPE(1i32);
pub const D3DVSD_TOKEN_STREAMDATA: D3DVSD_TOKENTYPE = D3DVSD_TOKENTYPE(2i32);
pub const D3DVSD_TOKEN_TESSELLATOR: D3DVSD_TOKENTYPE = D3DVSD_TOKENTYPE(3i32);
pub const D3DVSD_VERTEXREGINSHIFT: u32 = 20u32;
pub const D3DVSD_VERTEXREGSHIFT: u32 = 0u32;
pub const D3DVS_ADDRREG_MAX_V1_1: u32 = 1u32;
pub const D3DVS_ADDRREG_MAX_V2_0: u32 = 1u32;
pub const D3DVS_ADDRREG_MAX_V2_1: u32 = 1u32;
pub const D3DVS_ADDRREG_MAX_V3_0: u32 = 1u32;
pub const D3DVS_ATTROUTREG_MAX_V1_1: u32 = 2u32;
pub const D3DVS_ATTROUTREG_MAX_V2_0: u32 = 2u32;
pub const D3DVS_ATTROUTREG_MAX_V2_1: u32 = 2u32;
pub const D3DVS_CONSTBOOLREG_MAX_SW_DX9: u32 = 2048u32;
pub const D3DVS_CONSTBOOLREG_MAX_V2_0: u32 = 16u32;
pub const D3DVS_CONSTBOOLREG_MAX_V2_1: u32 = 16u32;
pub const D3DVS_CONSTBOOLREG_MAX_V3_0: u32 = 16u32;
pub const D3DVS_CONSTINTREG_MAX_SW_DX9: u32 = 2048u32;
pub const D3DVS_CONSTINTREG_MAX_V2_0: u32 = 16u32;
pub const D3DVS_CONSTINTREG_MAX_V2_1: u32 = 16u32;
pub const D3DVS_CONSTINTREG_MAX_V3_0: u32 = 16u32;
pub const D3DVS_CONSTREG_MAX_V1_1: u32 = 96u32;
pub const D3DVS_CONSTREG_MAX_V2_0: u32 = 8192u32;
pub const D3DVS_CONSTREG_MAX_V2_1: u32 = 8192u32;
pub const D3DVS_CONSTREG_MAX_V3_0: u32 = 8192u32;
pub const D3DVS_INPUTREG_MAX_V1_1: u32 = 16u32;
pub const D3DVS_INPUTREG_MAX_V2_0: u32 = 16u32;
pub const D3DVS_INPUTREG_MAX_V2_1: u32 = 16u32;
pub const D3DVS_INPUTREG_MAX_V3_0: u32 = 16u32;
pub const D3DVS_LABEL_MAX_V3_0: u32 = 2048u32;
pub const D3DVS_MAXINSTRUCTIONCOUNT_V1_1: u32 = 128u32;
pub const D3DVS_MAXLOOPINITVALUE_V2_0: u32 = 255u32;
pub const D3DVS_MAXLOOPINITVALUE_V2_1: u32 = 255u32;
pub const D3DVS_MAXLOOPINITVALUE_V3_0: u32 = 255u32;
pub const D3DVS_MAXLOOPITERATIONCOUNT_V2_0: u32 = 255u32;
pub const D3DVS_MAXLOOPITERATIONCOUNT_V2_1: u32 = 255u32;
pub const D3DVS_MAXLOOPITERATIONCOUNT_V3_0: u32 = 255u32;
pub const D3DVS_MAXLOOPSTEP_V2_0: u32 = 128u32;
pub const D3DVS_MAXLOOPSTEP_V2_1: u32 = 128u32;
pub const D3DVS_MAXLOOPSTEP_V3_0: u32 = 128u32;
pub const D3DVS_OUTPUTREG_MAX_SW_DX9: u32 = 16u32;
pub const D3DVS_OUTPUTREG_MAX_V3_0: u32 = 12u32;
pub const D3DVS_PREDICATE_MAX_V2_1: u32 = 1u32;
pub const D3DVS_PREDICATE_MAX_V3_0: u32 = 1u32;
pub const D3DVS_TCRDOUTREG_MAX_V1_1: u32 = 8u32;
pub const D3DVS_TCRDOUTREG_MAX_V2_0: u32 = 8u32;
pub const D3DVS_TCRDOUTREG_MAX_V2_1: u32 = 8u32;
pub const D3DVS_TEMPREG_MAX_V1_1: u32 = 12u32;
pub const D3DVS_TEMPREG_MAX_V2_0: u32 = 12u32;
pub const D3DVS_TEMPREG_MAX_V2_1: u32 = 32u32;
pub const D3DVS_TEMPREG_MAX_V3_0: u32 = 32u32;
pub const D3DVTXPCAPS_NO_VSDT_UBYTE4: i32 = 128i32;
pub const D3D_UMD_INTERFACE_VERSION: u32 = 65536u32;
pub const D3D_UMD_INTERFACE_VERSION_VISTA: u32 = 12u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM1_3: u32 = 16386u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_0: u32 = 20482u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_0_M1: u32 = 20480u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_0_M1_3: u32 = 20481u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_0_M2_2: u32 = 20482u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_1: u32 = 24579u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_1_1: u32 = 24576u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_1_2: u32 = 24577u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_1_3: u32 = 24578u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_1_4: u32 = 24579u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_2: u32 = 28673u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_2_1: u32 = 28672u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_2_2: u32 = 28673u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_3: u32 = 32769u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_3_1: u32 = 32768u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_3_2: u32 = 32769u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_4: u32 = 36865u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_4_1: u32 = 36864u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_4_2: u32 = 36865u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_5: u32 = 40962u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_5_1: u32 = 40960u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_5_2: u32 = 40961u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_5_3: u32 = 40962u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_6: u32 = 45059u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_6_1: u32 = 45056u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_6_2: u32 = 45057u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_6_3: u32 = 45058u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_6_4: u32 = 45059u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_7: u32 = 49153u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_7_1: u32 = 49152u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_7_2: u32 = 49153u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_8: u32 = 53248u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_8_1: u32 = 53248u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_9: u32 = 57344u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM2_9_1: u32 = 57344u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM3_0: u32 = 61440u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM3_0_1: u32 = 61440u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM3_1: u32 = 65536u32;
pub const D3D_UMD_INTERFACE_VERSION_WDDM3_1_1: u32 = 65536u32;
pub const D3D_UMD_INTERFACE_VERSION_WIN7: u32 = 8195u32;
pub const D3D_UMD_INTERFACE_VERSION_WIN8: u32 = 12292u32;
pub const D3D_UMD_INTERFACE_VERSION_WIN8_CP: u32 = 12290u32;
pub const D3D_UMD_INTERFACE_VERSION_WIN8_M3: u32 = 12289u32;
pub const D3D_UMD_INTERFACE_VERSION_WIN8_RC: u32 = 12291u32;
pub const DDBLT_EXTENDED_PRESENTATION_STRETCHFACTOR: i32 = 16i32;
pub const DIDDT1_AspectRatio_15x9: DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO = DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO(3i32);
pub const DIDDT1_AspectRatio_16x10: DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO = DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO(5i32);
pub const DIDDT1_AspectRatio_16x9: DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO = DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO(4i32);
pub const DIDDT1_AspectRatio_1x1: DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO = DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO(0i32);
pub const DIDDT1_AspectRatio_4x3: DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO = DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO(2i32);
pub const DIDDT1_AspectRatio_5x4: DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO = DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO(1i32);
pub const DIDDT1_Dependent: DISPLAYID_DETAILED_TIMING_TYPE_I_STEREO_MODE = DISPLAYID_DETAILED_TIMING_TYPE_I_STEREO_MODE(2i32);
pub const DIDDT1_Interlaced: DISPLAYID_DETAILED_TIMING_TYPE_I_SCANNING_MODE = DISPLAYID_DETAILED_TIMING_TYPE_I_SCANNING_MODE(1i32);
pub const DIDDT1_Monoscopic: DISPLAYID_DETAILED_TIMING_TYPE_I_STEREO_MODE = DISPLAYID_DETAILED_TIMING_TYPE_I_STEREO_MODE(0i32);
pub const DIDDT1_Progressive: DISPLAYID_DETAILED_TIMING_TYPE_I_SCANNING_MODE = DISPLAYID_DETAILED_TIMING_TYPE_I_SCANNING_MODE(0i32);
pub const DIDDT1_Stereo: DISPLAYID_DETAILED_TIMING_TYPE_I_STEREO_MODE = DISPLAYID_DETAILED_TIMING_TYPE_I_STEREO_MODE(1i32);
pub const DIDDT1_Sync_Negative: DISPLAYID_DETAILED_TIMING_TYPE_I_SYNC_POLARITY = DISPLAYID_DETAILED_TIMING_TYPE_I_SYNC_POLARITY(1i32);
pub const DIDDT1_Sync_Positive: DISPLAYID_DETAILED_TIMING_TYPE_I_SYNC_POLARITY = DISPLAYID_DETAILED_TIMING_TYPE_I_SYNC_POLARITY(0i32);
pub const DISPLAYID_DETAILED_TIMING_TYPE_I_SIZE: u32 = 20u32;
pub const DP2BLT_LINEAR: i32 = 2i32;
pub const DP2BLT_POINT: i32 = 1i32;
pub const DX9_DDI_VERSION: u32 = 4u32;
pub const DXGKDDI_INTERFACE_VERSION: u32 = 65540u32;
pub const DXGKDDI_INTERFACE_VERSION_VISTA: u32 = 4178u32;
pub const DXGKDDI_INTERFACE_VERSION_VISTA_SP1: u32 = 4179u32;
pub const DXGKDDI_INTERFACE_VERSION_WDDM1_3: u32 = 16386u32;
pub const DXGKDDI_INTERFACE_VERSION_WDDM1_3_PATH_INDEPENDENT_ROTATION: u32 = 16387u32;
pub const DXGKDDI_INTERFACE_VERSION_WDDM2_0: u32 = 20515u32;
pub const DXGKDDI_INTERFACE_VERSION_WDDM2_1: u32 = 24579u32;
pub const DXGKDDI_INTERFACE_VERSION_WDDM2_1_5: u32 = 24592u32;
pub const DXGKDDI_INTERFACE_VERSION_WDDM2_1_6: u32 = 24593u32;
pub const DXGKDDI_INTERFACE_VERSION_WDDM2_2: u32 = 28682u32;
pub const DXGKDDI_INTERFACE_VERSION_WDDM2_3: u32 = 32769u32;
pub const DXGKDDI_INTERFACE_VERSION_WDDM2_4: u32 = 36870u32;
pub const DXGKDDI_INTERFACE_VERSION_WDDM2_5: u32 = 40971u32;
pub const DXGKDDI_INTERFACE_VERSION_WDDM2_6: u32 = 45060u32;
pub const DXGKDDI_INTERFACE_VERSION_WDDM2_7: u32 = 49156u32;
pub const DXGKDDI_INTERFACE_VERSION_WDDM2_8: u32 = 53249u32;
pub const DXGKDDI_INTERFACE_VERSION_WDDM2_9: u32 = 57347u32;
pub const DXGKDDI_INTERFACE_VERSION_WDDM3_0: u32 = 61443u32;
pub const DXGKDDI_INTERFACE_VERSION_WDDM3_1: u32 = 65540u32;
pub const DXGKDDI_INTERFACE_VERSION_WIN7: u32 = 8197u32;
pub const DXGKDDI_INTERFACE_VERSION_WIN8: u32 = 12302u32;
pub const DXGKMDT_COPP_CERTIFICATE: DXGKMDT_CERTIFICATE_TYPE = DXGKMDT_CERTIFICATE_TYPE(1i32);
pub const DXGKMDT_I2C_DEVICE_TRANSMITS_DATA_LENGTH: u32 = 1u32;
pub const DXGKMDT_I2C_NO_FLAGS: u32 = 0u32;
pub const DXGKMDT_INDIRECT_DISPLAY_CERTIFICATE: DXGKMDT_CERTIFICATE_TYPE = DXGKMDT_CERTIFICATE_TYPE(3i32);
pub const DXGKMDT_OPM_128_BIT_RANDOM_NUMBER_SIZE: u32 = 16u32;
pub const DXGKMDT_OPM_ACP_LEVEL_ONE: DXGKMDT_OPM_ACP_PROTECTION_LEVEL = DXGKMDT_OPM_ACP_PROTECTION_LEVEL(1i32);
pub const DXGKMDT_OPM_ACP_LEVEL_THREE: DXGKMDT_OPM_ACP_PROTECTION_LEVEL = DXGKMDT_OPM_ACP_PROTECTION_LEVEL(3i32);
pub const DXGKMDT_OPM_ACP_LEVEL_TWO: DXGKMDT_OPM_ACP_PROTECTION_LEVEL = DXGKMDT_OPM_ACP_PROTECTION_LEVEL(2i32);
pub const DXGKMDT_OPM_ACP_OFF: DXGKMDT_OPM_ACP_PROTECTION_LEVEL = DXGKMDT_OPM_ACP_PROTECTION_LEVEL(0i32);
pub const DXGKMDT_OPM_ASPECT_RATIO_EN300294_BOX_14_BY_9_CENTER: DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294 = DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294(1i32);
pub const DXGKMDT_OPM_ASPECT_RATIO_EN300294_BOX_14_BY_9_TOP: DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294 = DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294(2i32);
pub const DXGKMDT_OPM_ASPECT_RATIO_EN300294_BOX_16_BY_9_CENTER: DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294 = DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294(3i32);
pub const DXGKMDT_OPM_ASPECT_RATIO_EN300294_BOX_16_BY_9_TOP: DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294 = DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294(4i32);
pub const DXGKMDT_OPM_ASPECT_RATIO_EN300294_BOX_GT_16_BY_9_CENTER: DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294 = DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294(5i32);
pub const DXGKMDT_OPM_ASPECT_RATIO_EN300294_FULL_FORMAT_16_BY_9_ANAMORPHIC: DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294 = DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294(7i32);
pub const DXGKMDT_OPM_ASPECT_RATIO_EN300294_FULL_FORMAT_4_BY_3: DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294 = DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294(0i32);
pub const DXGKMDT_OPM_ASPECT_RATIO_EN300294_FULL_FORMAT_4_BY_3_PROTECTED_CENTER: DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294 = DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294(6i32);
pub const DXGKMDT_OPM_BUS_IMPLEMENTATION_MODIFIER_DAUGHTER_BOARD_CONNECTOR: DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION = DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION(262144i32);
pub const DXGKMDT_OPM_BUS_IMPLEMENTATION_MODIFIER_DAUGHTER_BOARD_CONNECTOR_INSIDE_OF_NUAE: DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION = DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION(327680i32);
pub const DXGKMDT_OPM_BUS_IMPLEMENTATION_MODIFIER_INSIDE_OF_CHIPSET: DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION = DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION(65536i32);
pub const DXGKMDT_OPM_BUS_IMPLEMENTATION_MODIFIER_NON_STANDARD: DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION = DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION(-2147483648i32);
pub const DXGKMDT_OPM_BUS_IMPLEMENTATION_MODIFIER_TRACKS_ON_MOTHER_BOARD_TO_CHIP: DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION = DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION(131072i32);
pub const DXGKMDT_OPM_BUS_IMPLEMENTATION_MODIFIER_TRACKS_ON_MOTHER_BOARD_TO_SOCKET: DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION = DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION(196608i32);
pub const DXGKMDT_OPM_BUS_TYPE_AGP: DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION = DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION(4i32);
pub const DXGKMDT_OPM_BUS_TYPE_OTHER: DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION = DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION(0i32);
pub const DXGKMDT_OPM_BUS_TYPE_PCI: DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION = DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION(1i32);
pub const DXGKMDT_OPM_BUS_TYPE_PCIEXPRESS: DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION = DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION(3i32);
pub const DXGKMDT_OPM_BUS_TYPE_PCIX: DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION = DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION(2i32);
pub const DXGKMDT_OPM_CERTIFICATE: DXGKMDT_CERTIFICATE_TYPE = DXGKMDT_CERTIFICATE_TYPE(0i32);
pub const DXGKMDT_OPM_CGMSA_COPY_FREELY: DXGKMDT_OPM_CGMSA = DXGKMDT_OPM_CGMSA(1i32);
pub const DXGKMDT_OPM_CGMSA_COPY_NEVER: DXGKMDT_OPM_CGMSA = DXGKMDT_OPM_CGMSA(4i32);
pub const DXGKMDT_OPM_CGMSA_COPY_NO_MORE: DXGKMDT_OPM_CGMSA = DXGKMDT_OPM_CGMSA(2i32);
pub const DXGKMDT_OPM_CGMSA_COPY_ONE_GENERATION: DXGKMDT_OPM_CGMSA = DXGKMDT_OPM_CGMSA(3i32);
pub const DXGKMDT_OPM_CGMSA_OFF: DXGKMDT_OPM_CGMSA = DXGKMDT_OPM_CGMSA(0i32);
pub const DXGKMDT_OPM_CONFIGURE_SETTING_DATA_SIZE: u32 = 4056u32;
pub const DXGKMDT_OPM_CONNECTOR_TYPE_COMPONENT_VIDEO: DXGKMDT_OPM_CONNECTOR_TYPE = DXGKMDT_OPM_CONNECTOR_TYPE(3i32);
pub const DXGKMDT_OPM_CONNECTOR_TYPE_COMPOSITE_VIDEO: DXGKMDT_OPM_CONNECTOR_TYPE = DXGKMDT_OPM_CONNECTOR_TYPE(2i32);
pub const DXGKMDT_OPM_CONNECTOR_TYPE_DISPLAYPORT_EMBEDDED: DXGKMDT_OPM_CONNECTOR_TYPE = DXGKMDT_OPM_CONNECTOR_TYPE(11i32);
pub const DXGKMDT_OPM_CONNECTOR_TYPE_DISPLAYPORT_EXTERNAL: DXGKMDT_OPM_CONNECTOR_TYPE = DXGKMDT_OPM_CONNECTOR_TYPE(10i32);
pub const DXGKMDT_OPM_CONNECTOR_TYPE_DVI: DXGKMDT_OPM_CONNECTOR_TYPE = DXGKMDT_OPM_CONNECTOR_TYPE(4i32);
pub const DXGKMDT_OPM_CONNECTOR_TYPE_D_JPN: DXGKMDT_OPM_CONNECTOR_TYPE = DXGKMDT_OPM_CONNECTOR_TYPE(8i32);
pub const DXGKMDT_OPM_CONNECTOR_TYPE_HD15: DXGKMDT_OPM_CONNECTOR_TYPE = DXGKMDT_OPM_CONNECTOR_TYPE(0i32);
pub const DXGKMDT_OPM_CONNECTOR_TYPE_HDMI: DXGKMDT_OPM_CONNECTOR_TYPE = DXGKMDT_OPM_CONNECTOR_TYPE(5i32);
pub const DXGKMDT_OPM_CONNECTOR_TYPE_LVDS: DXGKMDT_OPM_CONNECTOR_TYPE = DXGKMDT_OPM_CONNECTOR_TYPE(6i32);
pub const DXGKMDT_OPM_CONNECTOR_TYPE_MIRACAST: DXGKMDT_OPM_CONNECTOR_TYPE = DXGKMDT_OPM_CONNECTOR_TYPE(15i32);
pub const DXGKMDT_OPM_CONNECTOR_TYPE_OTHER: DXGKMDT_OPM_CONNECTOR_TYPE = DXGKMDT_OPM_CONNECTOR_TYPE(-1i32);
pub const DXGKMDT_OPM_CONNECTOR_TYPE_RESERVED: DXGKMDT_OPM_CONNECTOR_TYPE = DXGKMDT_OPM_CONNECTOR_TYPE(14i32);
pub const DXGKMDT_OPM_CONNECTOR_TYPE_SDI: DXGKMDT_OPM_CONNECTOR_TYPE = DXGKMDT_OPM_CONNECTOR_TYPE(9i32);
pub const DXGKMDT_OPM_CONNECTOR_TYPE_SVIDEO: DXGKMDT_OPM_CONNECTOR_TYPE = DXGKMDT_OPM_CONNECTOR_TYPE(1i32);
pub const DXGKMDT_OPM_CONNECTOR_TYPE_TRANSPORT_AGNOSTIC_DIGITAL_MODE_A: DXGKMDT_OPM_CONNECTOR_TYPE = DXGKMDT_OPM_CONNECTOR_TYPE(16i32);
pub const DXGKMDT_OPM_CONNECTOR_TYPE_TRANSPORT_AGNOSTIC_DIGITAL_MODE_B: DXGKMDT_OPM_CONNECTOR_TYPE = DXGKMDT_OPM_CONNECTOR_TYPE(17i32);
pub const DXGKMDT_OPM_CONNECTOR_TYPE_UDI_EMBEDDED: DXGKMDT_OPM_CONNECTOR_TYPE = DXGKMDT_OPM_CONNECTOR_TYPE(13i32);
pub const DXGKMDT_OPM_CONNECTOR_TYPE_UDI_EXTERNAL: DXGKMDT_OPM_CONNECTOR_TYPE = DXGKMDT_OPM_CONNECTOR_TYPE(12i32);
pub const DXGKMDT_OPM_COPP_COMPATIBLE_BUS_TYPE_INTEGRATED: DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION = DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION(-2147483648i32);
pub const DXGKMDT_OPM_COPP_COMPATIBLE_CONNECTOR_TYPE_INTERNAL: DXGKMDT_OPM_CONNECTOR_TYPE = DXGKMDT_OPM_CONNECTOR_TYPE(-2147483648i32);
pub const DXGKMDT_OPM_DPCP_OFF: DXGKMDT_OPM_DPCP_PROTECTION_LEVEL = DXGKMDT_OPM_DPCP_PROTECTION_LEVEL(0i32);
pub const DXGKMDT_OPM_DPCP_ON: DXGKMDT_OPM_DPCP_PROTECTION_LEVEL = DXGKMDT_OPM_DPCP_PROTECTION_LEVEL(1i32);
pub const DXGKMDT_OPM_DVI_CHARACTERISTIC_1_0: DXGKDT_OPM_DVI_CHARACTERISTICS = DXGKDT_OPM_DVI_CHARACTERISTICS(1i32);
pub const DXGKMDT_OPM_DVI_CHARACTERISTIC_1_1_OR_ABOVE: DXGKDT_OPM_DVI_CHARACTERISTICS = DXGKDT_OPM_DVI_CHARACTERISTICS(2i32);
pub const DXGKMDT_OPM_ENCRYPTED_PARAMETERS_SIZE: u32 = 256u32;
pub const DXGKMDT_OPM_GET_ACP_AND_CGMSA_SIGNALING: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6629a591_3b79_4cf3_924a_11e8e7811671);
pub const DXGKMDT_OPM_GET_ACTUAL_OUTPUT_FORMAT: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd7bf1ba3_ad13_4f8e_af98_0dcb3ca204cc);
pub const DXGKMDT_OPM_GET_ACTUAL_PROTECTION_LEVEL: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1957210a_7766_452a_b99a_d27aed54f03a);
pub const DXGKMDT_OPM_GET_ADAPTER_BUS_TYPE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc6f4d673_6174_4184_8e35_f6db5200bcba);
pub const DXGKMDT_OPM_GET_CODEC_INFO: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4f374491_8f5f_4445_9dba_95588f6b58b4);
pub const DXGKMDT_OPM_GET_CONNECTED_HDCP_DEVICE_INFORMATION: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0db59d74_a992_492e_a0bd_c23fda564e00);
pub const DXGKMDT_OPM_GET_CONNECTOR_TYPE: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81d0bfd5_6afe_48c2_99c0_95a08f97c5da);
pub const DXGKMDT_OPM_GET_CURRENT_HDCP_SRM_VERSION: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x99c5ceff_5f1d_4879_81c1_c52443c9482b);
pub const DXGKMDT_OPM_GET_DVI_CHARACTERISTICS: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa470b3bb_5dd7_4172_839c_3d3776e0ebf5);
pub const DXGKMDT_OPM_GET_INFORMATION_PARAMETERS_SIZE: u32 = 4056u32;
pub const DXGKMDT_OPM_GET_OUTPUT_HARDWARE_PROTECTION_SUPPORT: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3b129589_2af8_4ef0_96a2_704a845a218e);
pub const DXGKMDT_OPM_GET_OUTPUT_ID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x72cb6df3_244f_40ce_b09e_20506af6302f);
pub const DXGKMDT_OPM_GET_SUPPORTED_PROTECTION_TYPES: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x38f2a801_9a6c_48bb_9107_b6696e6f1797);
pub const DXGKMDT_OPM_GET_VIRTUAL_PROTECTION_LEVEL: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xb2075857_3eda_4d5d_88db_748f8c1a0549);
pub const DXGKMDT_OPM_HDCP_FLAG_NONE: DXGKMDT_OPM_HDCP_FLAG = DXGKMDT_OPM_HDCP_FLAG(0i32);
pub const DXGKMDT_OPM_HDCP_FLAG_REPEATER: DXGKMDT_OPM_HDCP_FLAG = DXGKMDT_OPM_HDCP_FLAG(1i32);
pub const DXGKMDT_OPM_HDCP_KEY_SELECTION_VECTOR_SIZE: u32 = 5u32;
pub const DXGKMDT_OPM_HDCP_OFF: DXGKMDT_OPM_HDCP_PROTECTION_LEVEL = DXGKMDT_OPM_HDCP_PROTECTION_LEVEL(0i32);
pub const DXGKMDT_OPM_HDCP_ON: DXGKMDT_OPM_HDCP_PROTECTION_LEVEL = DXGKMDT_OPM_HDCP_PROTECTION_LEVEL(1i32);
pub const DXGKMDT_OPM_INTERLEAVE_FORMAT_INTERLEAVED_EVEN_FIRST: DXGKMDT_OPM_INTERLEAVE_FORMAT = DXGKMDT_OPM_INTERLEAVE_FORMAT(3i32);
pub const DXGKMDT_OPM_INTERLEAVE_FORMAT_INTERLEAVED_ODD_FIRST: DXGKMDT_OPM_INTERLEAVE_FORMAT = DXGKMDT_OPM_INTERLEAVE_FORMAT(4i32);
pub const DXGKMDT_OPM_INTERLEAVE_FORMAT_OTHER: DXGKMDT_OPM_INTERLEAVE_FORMAT = DXGKMDT_OPM_INTERLEAVE_FORMAT(0i32);
pub const DXGKMDT_OPM_INTERLEAVE_FORMAT_PROGRESSIVE: DXGKMDT_OPM_INTERLEAVE_FORMAT = DXGKMDT_OPM_INTERLEAVE_FORMAT(2i32);
pub const DXGKMDT_OPM_OMAC_SIZE: u32 = 16u32;
pub const DXGKMDT_OPM_OUTPUT_HARDWARE_PROTECTION_NOT_SUPPORTED: DXGKMDT_OPM_OUTPUT_HARDWARE_PROTECTION = DXGKMDT_OPM_OUTPUT_HARDWARE_PROTECTION(0i32);
pub const DXGKMDT_OPM_OUTPUT_HARDWARE_PROTECTION_SUPPORTED: DXGKMDT_OPM_OUTPUT_HARDWARE_PROTECTION = DXGKMDT_OPM_OUTPUT_HARDWARE_PROTECTION(1i32);
pub const DXGKMDT_OPM_PROTECTION_STANDARD_ARIBTRB15_1125I: DXGKMDT_OPM_PROTECTION_STANDARD = DXGKMDT_OPM_PROTECTION_STANDARD(16384i32);
pub const DXGKMDT_OPM_PROTECTION_STANDARD_ARIBTRB15_525I: DXGKMDT_OPM_PROTECTION_STANDARD = DXGKMDT_OPM_PROTECTION_STANDARD(2048i32);
pub const DXGKMDT_OPM_PROTECTION_STANDARD_ARIBTRB15_525P: DXGKMDT_OPM_PROTECTION_STANDARD = DXGKMDT_OPM_PROTECTION_STANDARD(4096i32);
pub const DXGKMDT_OPM_PROTECTION_STANDARD_ARIBTRB15_750P: DXGKMDT_OPM_PROTECTION_STANDARD = DXGKMDT_OPM_PROTECTION_STANDARD(8192i32);
pub const DXGKMDT_OPM_PROTECTION_STANDARD_CEA805A_TYPEA_1125I: DXGKMDT_OPM_PROTECTION_STANDARD = DXGKMDT_OPM_PROTECTION_STANDARD(128i32);
pub const DXGKMDT_OPM_PROTECTION_STANDARD_CEA805A_TYPEA_525P: DXGKMDT_OPM_PROTECTION_STANDARD = DXGKMDT_OPM_PROTECTION_STANDARD(32i32);
pub const DXGKMDT_OPM_PROTECTION_STANDARD_CEA805A_TYPEA_750P: DXGKMDT_OPM_PROTECTION_STANDARD = DXGKMDT_OPM_PROTECTION_STANDARD(64i32);
pub const DXGKMDT_OPM_PROTECTION_STANDARD_CEA805A_TYPEB_1125I: DXGKMDT_OPM_PROTECTION_STANDARD = DXGKMDT_OPM_PROTECTION_STANDARD(1024i32);
pub const DXGKMDT_OPM_PROTECTION_STANDARD_CEA805A_TYPEB_525P: DXGKMDT_OPM_PROTECTION_STANDARD = DXGKMDT_OPM_PROTECTION_STANDARD(256i32);
pub const DXGKMDT_OPM_PROTECTION_STANDARD_CEA805A_TYPEB_750P: DXGKMDT_OPM_PROTECTION_STANDARD = DXGKMDT_OPM_PROTECTION_STANDARD(512i32);
pub const DXGKMDT_OPM_PROTECTION_STANDARD_EIA608B_525: DXGKMDT_OPM_PROTECTION_STANDARD = DXGKMDT_OPM_PROTECTION_STANDARD(8i32);
pub const DXGKMDT_OPM_PROTECTION_STANDARD_EN300294_625I: DXGKMDT_OPM_PROTECTION_STANDARD = DXGKMDT_OPM_PROTECTION_STANDARD(16i32);
pub const DXGKMDT_OPM_PROTECTION_STANDARD_IEC61880_2_525I: DXGKMDT_OPM_PROTECTION_STANDARD = DXGKMDT_OPM_PROTECTION_STANDARD(2i32);
pub const DXGKMDT_OPM_PROTECTION_STANDARD_IEC61880_525I: DXGKMDT_OPM_PROTECTION_STANDARD = DXGKMDT_OPM_PROTECTION_STANDARD(1i32);
pub const DXGKMDT_OPM_PROTECTION_STANDARD_IEC62375_625P: DXGKMDT_OPM_PROTECTION_STANDARD = DXGKMDT_OPM_PROTECTION_STANDARD(4i32);
pub const DXGKMDT_OPM_PROTECTION_STANDARD_NONE: DXGKMDT_OPM_PROTECTION_STANDARD = DXGKMDT_OPM_PROTECTION_STANDARD(0i32);
pub const DXGKMDT_OPM_PROTECTION_STANDARD_OTHER: DXGKMDT_OPM_PROTECTION_STANDARD = DXGKMDT_OPM_PROTECTION_STANDARD(-2147483648i32);
pub const DXGKMDT_OPM_PROTECTION_TYPE_ACP: DXGKMDT_OPM_PROTECTION_TYPE = DXGKMDT_OPM_PROTECTION_TYPE(2i32);
pub const DXGKMDT_OPM_PROTECTION_TYPE_CGMSA: DXGKMDT_OPM_PROTECTION_TYPE = DXGKMDT_OPM_PROTECTION_TYPE(4i32);
pub const DXGKMDT_OPM_PROTECTION_TYPE_COPP_COMPATIBLE_HDCP: DXGKMDT_OPM_PROTECTION_TYPE = DXGKMDT_OPM_PROTECTION_TYPE(1i32);
pub const DXGKMDT_OPM_PROTECTION_TYPE_DPCP: DXGKMDT_OPM_PROTECTION_TYPE = DXGKMDT_OPM_PROTECTION_TYPE(16i32);
pub const DXGKMDT_OPM_PROTECTION_TYPE_HDCP: DXGKMDT_OPM_PROTECTION_TYPE = DXGKMDT_OPM_PROTECTION_TYPE(8i32);
pub const DXGKMDT_OPM_PROTECTION_TYPE_MASK: DXGKMDT_OPM_PROTECTION_TYPE = DXGKMDT_OPM_PROTECTION_TYPE(-2147483585i32);
pub const DXGKMDT_OPM_PROTECTION_TYPE_NONE: DXGKMDT_OPM_PROTECTION_TYPE = DXGKMDT_OPM_PROTECTION_TYPE(0i32);
pub const DXGKMDT_OPM_PROTECTION_TYPE_OTHER: DXGKMDT_OPM_PROTECTION_TYPE = DXGKMDT_OPM_PROTECTION_TYPE(-2147483648i32);
pub const DXGKMDT_OPM_PROTECTION_TYPE_SIZE: u32 = 4u32;
pub const DXGKMDT_OPM_PROTECTION_TYPE_TYPE_ENFORCEMENT_HDCP: DXGKMDT_OPM_PROTECTION_TYPE = DXGKMDT_OPM_PROTECTION_TYPE(32i32);
pub const DXGKMDT_OPM_REDISTRIBUTION_CONTROL_REQUIRED: DXGKMDT_OPM_CGMSA = DXGKMDT_OPM_CGMSA(8i32);
pub const DXGKMDT_OPM_REQUESTED_INFORMATION_SIZE: u32 = 4076u32;
pub const DXGKMDT_OPM_SET_ACP_AND_CGMSA_SIGNALING: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09a631a5_d684_4c60_8e4d_d3bb0f0be3ee);
pub const DXGKMDT_OPM_SET_HDCP_SRM: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8b5ef5d1_c30d_44ff_84a5_ea71dce78f13);
pub const DXGKMDT_OPM_SET_PROTECTION_LEVEL: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9bb9327c_4eb5_4727_9f00_b42b0919c0da);
pub const DXGKMDT_OPM_SET_PROTECTION_LEVEL_ACCORDING_TO_CSS_DVD: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x39ce333e_4cc0_44ae_bfcc_da50b5f82e72);
pub const DXGKMDT_OPM_STATUS_LINK_LOST: DXGKMDT_OPM_STATUS = DXGKMDT_OPM_STATUS(1i32);
pub const DXGKMDT_OPM_STATUS_NORMAL: DXGKMDT_OPM_STATUS = DXGKMDT_OPM_STATUS(0i32);
pub const DXGKMDT_OPM_STATUS_RENEGOTIATION_REQUIRED: DXGKMDT_OPM_STATUS = DXGKMDT_OPM_STATUS(2i32);
pub const DXGKMDT_OPM_STATUS_REVOKED_HDCP_DEVICE_ATTACHED: DXGKMDT_OPM_STATUS = DXGKMDT_OPM_STATUS(8i32);
pub const DXGKMDT_OPM_STATUS_TAMPERING_DETECTED: DXGKMDT_OPM_STATUS = DXGKMDT_OPM_STATUS(4i32);
pub const DXGKMDT_OPM_TYPE_ENFORCEMENT_HDCP_OFF: DXGKMDT_OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL = DXGKMDT_OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL(0i32);
pub const DXGKMDT_OPM_TYPE_ENFORCEMENT_HDCP_ON_WITH_NO_TYPE_RESTRICTION: DXGKMDT_OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL = DXGKMDT_OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL(1i32);
pub const DXGKMDT_OPM_TYPE_ENFORCEMENT_HDCP_ON_WITH_TYPE1_RESTRICTION: DXGKMDT_OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL = DXGKMDT_OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL(2i32);
pub const DXGKMDT_OPM_VOS_COPP_SEMANTICS: DXGKMDT_OPM_VIDEO_OUTPUT_SEMANTICS = DXGKMDT_OPM_VIDEO_OUTPUT_SEMANTICS(0i32);
pub const DXGKMDT_OPM_VOS_OPM_INDIRECT_DISPLAY: DXGKMDT_OPM_VIDEO_OUTPUT_SEMANTICS = DXGKMDT_OPM_VIDEO_OUTPUT_SEMANTICS(2i32);
pub const DXGKMDT_OPM_VOS_OPM_SEMANTICS: DXGKMDT_OPM_VIDEO_OUTPUT_SEMANTICS = DXGKMDT_OPM_VIDEO_OUTPUT_SEMANTICS(1i32);
pub const DXGKMDT_UAB_CERTIFICATE: DXGKMDT_CERTIFICATE_TYPE = DXGKMDT_CERTIFICATE_TYPE(2i32);
pub const DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_FRAME0: DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_MODE = DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_MODE(1i32);
pub const DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_FRAME1: DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_MODE = DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_MODE(2i32);
pub const DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_NONE: DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_MODE = DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_MODE(0i32);
pub const DXGKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT_CHECKERBOARD: D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT = D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT(7i32);
pub const DXGKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT_COLUMN_INTERLEAVED: D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT = D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT(6i32);
pub const DXGKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT_MONO: D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT = D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT(0i32);
pub const DXGKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT_MONO_OFFSET: D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT = D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT(4i32);
pub const DXGKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT_ROW_INTERLEAVED: D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT = D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT(5i32);
pub const DXGKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT_SEPARATE: D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT = D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT(3i32);
pub const DXGKMT_MULTIPLANE_OVERLAY_STRETCH_QUALITY_BILINEAR: DXGKMT_MULTIPLANE_OVERLAY_STRETCH_QUALITY = DXGKMT_MULTIPLANE_OVERLAY_STRETCH_QUALITY(1i32);
pub const DXGKMT_MULTIPLANE_OVERLAY_STRETCH_QUALITY_HIGH: DXGKMT_MULTIPLANE_OVERLAY_STRETCH_QUALITY = DXGKMT_MULTIPLANE_OVERLAY_STRETCH_QUALITY(2i32);
pub const DXGKMT_POWER_SHARED_TYPE_AUDIO: DXGKMT_POWER_SHARED_TYPE = DXGKMT_POWER_SHARED_TYPE(0i32);
pub const DXGKVGPU_ESCAPE_TYPE_GET_VGPU_TYPE: DXGKVGPU_ESCAPE_TYPE = DXGKVGPU_ESCAPE_TYPE(4i32);
pub const DXGKVGPU_ESCAPE_TYPE_INITIALIZE: DXGKVGPU_ESCAPE_TYPE = DXGKVGPU_ESCAPE_TYPE(2i32);
pub const DXGKVGPU_ESCAPE_TYPE_PAUSE: DXGKVGPU_ESCAPE_TYPE = DXGKVGPU_ESCAPE_TYPE(6i32);
pub const DXGKVGPU_ESCAPE_TYPE_POWERTRANSITIONCOMPLETE: DXGKVGPU_ESCAPE_TYPE = DXGKVGPU_ESCAPE_TYPE(5i32);
pub const DXGKVGPU_ESCAPE_TYPE_READ_PCI_CONFIG: DXGKVGPU_ESCAPE_TYPE = DXGKVGPU_ESCAPE_TYPE(0i32);
pub const DXGKVGPU_ESCAPE_TYPE_RELEASE: DXGKVGPU_ESCAPE_TYPE = DXGKVGPU_ESCAPE_TYPE(3i32);
pub const DXGKVGPU_ESCAPE_TYPE_RESUME: DXGKVGPU_ESCAPE_TYPE = DXGKVGPU_ESCAPE_TYPE(7i32);
pub const DXGKVGPU_ESCAPE_TYPE_WRITE_PCI_CONFIG: DXGKVGPU_ESCAPE_TYPE = DXGKVGPU_ESCAPE_TYPE(1i32);
pub const DXGK_BRIGHTNESS_MAXIMUM_NIT_RANGE_COUNT: u32 = 16u32;
pub const DXGK_DDT_DISPLAYID: DXGK_DISPLAY_DESCRIPTOR_TYPE = DXGK_DISPLAY_DESCRIPTOR_TYPE(2u8);
pub const DXGK_DDT_EDID: DXGK_DISPLAY_DESCRIPTOR_TYPE = DXGK_DISPLAY_DESCRIPTOR_TYPE(1u8);
pub const DXGK_DDT_INVALID: DXGK_DISPLAY_DESCRIPTOR_TYPE = DXGK_DISPLAY_DESCRIPTOR_TYPE(0u8);
pub const DXGK_DIAG_PROCESS_NAME_LENGTH: u32 = 16u32;
pub const DXGK_DT_INVALID: DXGK_DISPLAY_TECHNOLOGY = DXGK_DISPLAY_TECHNOLOGY(0u8);
pub const DXGK_DT_LCD: DXGK_DISPLAY_TECHNOLOGY = DXGK_DISPLAY_TECHNOLOGY(2u8);
pub const DXGK_DT_MAX: DXGK_DISPLAY_TECHNOLOGY = DXGK_DISPLAY_TECHNOLOGY(5u8);
pub const DXGK_DT_OLED: DXGK_DISPLAY_TECHNOLOGY = DXGK_DISPLAY_TECHNOLOGY(3u8);
pub const DXGK_DT_OTHER: DXGK_DISPLAY_TECHNOLOGY = DXGK_DISPLAY_TECHNOLOGY(1u8);
pub const DXGK_DT_PROJECTOR: DXGK_DISPLAY_TECHNOLOGY = DXGK_DISPLAY_TECHNOLOGY(4u8);
pub const DXGK_DU_ACCESSORY: DXGK_DISPLAY_USAGE = DXGK_DISPLAY_USAGE(5u8);
pub const DXGK_DU_AR: DXGK_DISPLAY_USAGE = DXGK_DISPLAY_USAGE(2u8);
pub const DXGK_DU_GENERIC: DXGK_DISPLAY_USAGE = DXGK_DISPLAY_USAGE(1u8);
pub const DXGK_DU_INVALID: DXGK_DISPLAY_USAGE = DXGK_DISPLAY_USAGE(0u8);
pub const DXGK_DU_MAX: DXGK_DISPLAY_USAGE = DXGK_DISPLAY_USAGE(6u8);
pub const DXGK_DU_MEDICAL_IMAGING: DXGK_DISPLAY_USAGE = DXGK_DISPLAY_USAGE(4u8);
pub const DXGK_DU_VR: DXGK_DISPLAY_USAGE = DXGK_DISPLAY_USAGE(3u8);
pub const DXGK_ENGINE_TYPE_3D: DXGK_ENGINE_TYPE = DXGK_ENGINE_TYPE(1i32);
pub const DXGK_ENGINE_TYPE_COPY: DXGK_ENGINE_TYPE = DXGK_ENGINE_TYPE(6i32);
pub const DXGK_ENGINE_TYPE_CRYPTO: DXGK_ENGINE_TYPE = DXGK_ENGINE_TYPE(8i32);
pub const DXGK_ENGINE_TYPE_MAX: DXGK_ENGINE_TYPE = DXGK_ENGINE_TYPE(9i32);
pub const DXGK_ENGINE_TYPE_OTHER: DXGK_ENGINE_TYPE = DXGK_ENGINE_TYPE(0i32);
pub const DXGK_ENGINE_TYPE_OVERLAY: DXGK_ENGINE_TYPE = DXGK_ENGINE_TYPE(7i32);
pub const DXGK_ENGINE_TYPE_SCENE_ASSEMBLY: DXGK_ENGINE_TYPE = DXGK_ENGINE_TYPE(5i32);
pub const DXGK_ENGINE_TYPE_VIDEO_DECODE: DXGK_ENGINE_TYPE = DXGK_ENGINE_TYPE(2i32);
pub const DXGK_ENGINE_TYPE_VIDEO_ENCODE: DXGK_ENGINE_TYPE = DXGK_ENGINE_TYPE(3i32);
pub const DXGK_ENGINE_TYPE_VIDEO_PROCESSING: DXGK_ENGINE_TYPE = DXGK_ENGINE_TYPE(4i32);
pub const DXGK_GENERAL_ERROR_INVALID_INSTRUCTION: DXGK_GENERAL_ERROR_CODE = DXGK_GENERAL_ERROR_CODE(1i32);
pub const DXGK_GENERAL_ERROR_PAGE_FAULT: DXGK_GENERAL_ERROR_CODE = DXGK_GENERAL_ERROR_CODE(0i32);
pub const DXGK_GRAPHICSPOWER_VERSION: u32 = 4098u32;
pub const DXGK_GRAPHICSPOWER_VERSION_1_0: u32 = 4096u32;
pub const DXGK_GRAPHICSPOWER_VERSION_1_1: u32 = 4097u32;
pub const DXGK_GRAPHICSPOWER_VERSION_1_2: u32 = 4098u32;
pub const DXGK_MAX_GPUVERSION_NAME_LENGTH: u32 = 32u32;
pub const DXGK_MAX_METADATA_NAME_LENGTH: u32 = 32u32;
pub const DXGK_MAX_PAGE_TABLE_LEVEL_COUNT: u32 = 6u32;
pub const DXGK_MIN_PAGE_TABLE_LEVEL_COUNT: u32 = 2u32;
pub const DXGK_MIRACAST_CHUNK_TYPE_COLOR_CONVERT_COMPLETE: DXGK_MIRACAST_CHUNK_TYPE = DXGK_MIRACAST_CHUNK_TYPE(1i32);
pub const DXGK_MIRACAST_CHUNK_TYPE_ENCODE_COMPLETE: DXGK_MIRACAST_CHUNK_TYPE = DXGK_MIRACAST_CHUNK_TYPE(2i32);
pub const DXGK_MIRACAST_CHUNK_TYPE_ENCODE_DRIVER_DEFINED_1: DXGK_MIRACAST_CHUNK_TYPE = DXGK_MIRACAST_CHUNK_TYPE(-2147483648i32);
pub const DXGK_MIRACAST_CHUNK_TYPE_ENCODE_DRIVER_DEFINED_2: DXGK_MIRACAST_CHUNK_TYPE = DXGK_MIRACAST_CHUNK_TYPE(-2147483647i32);
pub const DXGK_MIRACAST_CHUNK_TYPE_FRAME_DROPPED: DXGK_MIRACAST_CHUNK_TYPE = DXGK_MIRACAST_CHUNK_TYPE(4i32);
pub const DXGK_MIRACAST_CHUNK_TYPE_FRAME_START: DXGK_MIRACAST_CHUNK_TYPE = DXGK_MIRACAST_CHUNK_TYPE(3i32);
pub const DXGK_MIRACAST_CHUNK_TYPE_UNKNOWN: DXGK_MIRACAST_CHUNK_TYPE = DXGK_MIRACAST_CHUNK_TYPE(0i32);
pub const DXGK_PAGE_FAULT_ADAPTER_RESET_REQUIRED: DXGK_PAGE_FAULT_FLAGS = DXGK_PAGE_FAULT_FLAGS(4i32);
pub const DXGK_PAGE_FAULT_ENGINE_RESET_REQUIRED: DXGK_PAGE_FAULT_FLAGS = DXGK_PAGE_FAULT_FLAGS(8i32);
pub const DXGK_PAGE_FAULT_FATAL_HARDWARE_ERROR: DXGK_PAGE_FAULT_FLAGS = DXGK_PAGE_FAULT_FLAGS(16i32);
pub const DXGK_PAGE_FAULT_FENCE_INVALID: DXGK_PAGE_FAULT_FLAGS = DXGK_PAGE_FAULT_FLAGS(2i32);
pub const DXGK_PAGE_FAULT_HW_CONTEXT_VALID: DXGK_PAGE_FAULT_FLAGS = DXGK_PAGE_FAULT_FLAGS(64i32);
pub const DXGK_PAGE_FAULT_IOMMU: DXGK_PAGE_FAULT_FLAGS = DXGK_PAGE_FAULT_FLAGS(32i32);
pub const DXGK_PAGE_FAULT_PROCESS_HANDLE_VALID: DXGK_PAGE_FAULT_FLAGS = DXGK_PAGE_FAULT_FLAGS(128i32);
pub const DXGK_PAGE_FAULT_WRITE: DXGK_PAGE_FAULT_FLAGS = DXGK_PAGE_FAULT_FLAGS(1i32);
pub const DXGK_PTE_PAGE_TABLE_PAGE_4KB: DXGK_PTE_PAGE_SIZE = DXGK_PTE_PAGE_SIZE(0i32);
pub const DXGK_PTE_PAGE_TABLE_PAGE_64KB: DXGK_PTE_PAGE_SIZE = DXGK_PTE_PAGE_SIZE(1i32);
pub const DXGK_RENDER_PIPELINE_STAGE_GEOMETRY_SHADER: DXGK_RENDER_PIPELINE_STAGE = DXGK_RENDER_PIPELINE_STAGE(3i32);
pub const DXGK_RENDER_PIPELINE_STAGE_INPUT_ASSEMBLER: DXGK_RENDER_PIPELINE_STAGE = DXGK_RENDER_PIPELINE_STAGE(1i32);
pub const DXGK_RENDER_PIPELINE_STAGE_OUTPUT_MERGER: DXGK_RENDER_PIPELINE_STAGE = DXGK_RENDER_PIPELINE_STAGE(7i32);
pub const DXGK_RENDER_PIPELINE_STAGE_PIXEL_SHADER: DXGK_RENDER_PIPELINE_STAGE = DXGK_RENDER_PIPELINE_STAGE(6i32);
pub const DXGK_RENDER_PIPELINE_STAGE_RASTERIZER: DXGK_RENDER_PIPELINE_STAGE = DXGK_RENDER_PIPELINE_STAGE(5i32);
pub const DXGK_RENDER_PIPELINE_STAGE_STREAM_OUTPUT: DXGK_RENDER_PIPELINE_STAGE = DXGK_RENDER_PIPELINE_STAGE(4i32);
pub const DXGK_RENDER_PIPELINE_STAGE_UNKNOWN: DXGK_RENDER_PIPELINE_STAGE = DXGK_RENDER_PIPELINE_STAGE(0i32);
pub const DXGK_RENDER_PIPELINE_STAGE_VERTEX_SHADER: DXGK_RENDER_PIPELINE_STAGE = DXGK_RENDER_PIPELINE_STAGE(2i32);
pub const DxgkBacklightOptimizationDesktop: DXGK_BACKLIGHT_OPTIMIZATION_LEVEL = DXGK_BACKLIGHT_OPTIMIZATION_LEVEL(1i32);
pub const DxgkBacklightOptimizationDimmed: DXGK_BACKLIGHT_OPTIMIZATION_LEVEL = DXGK_BACKLIGHT_OPTIMIZATION_LEVEL(3i32);
pub const DxgkBacklightOptimizationDisable: DXGK_BACKLIGHT_OPTIMIZATION_LEVEL = DXGK_BACKLIGHT_OPTIMIZATION_LEVEL(0i32);
pub const DxgkBacklightOptimizationDynamic: DXGK_BACKLIGHT_OPTIMIZATION_LEVEL = DXGK_BACKLIGHT_OPTIMIZATION_LEVEL(2i32);
pub const DxgkBacklightOptimizationEDR: DXGK_BACKLIGHT_OPTIMIZATION_LEVEL = DXGK_BACKLIGHT_OPTIMIZATION_LEVEL(4i32);
pub const FLIPEX_TIMEOUT_USER: u32 = 2000u32;
pub const GUID_DEVINTERFACE_GRAPHICSPOWER: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xea5c6870_e93c_4588_bef1_fec42fc9429a);
pub const HpdAwarenessAlwaysConnected: DXGK_CHILD_DEVICE_HPD_AWARENESS = DXGK_CHILD_DEVICE_HPD_AWARENESS(1i32);
pub const HpdAwarenessInterruptible: DXGK_CHILD_DEVICE_HPD_AWARENESS = DXGK_CHILD_DEVICE_HPD_AWARENESS(4i32);
pub const HpdAwarenessNone: DXGK_CHILD_DEVICE_HPD_AWARENESS = DXGK_CHILD_DEVICE_HPD_AWARENESS(2i32);
pub const HpdAwarenessPolled: DXGK_CHILD_DEVICE_HPD_AWARENESS = DXGK_CHILD_DEVICE_HPD_AWARENESS(3i32);
pub const HpdAwarenessUninitialized: DXGK_CHILD_DEVICE_HPD_AWARENESS = DXGK_CHILD_DEVICE_HPD_AWARENESS(0i32);
pub const IOCTL_GPUP_DRIVER_ESCAPE: u32 = 2253920u32;
pub const IOCTL_INTERNAL_GRAPHICSPOWER_REGISTER: u32 = 2304007u32;
pub const KMTQAITYPE_ADAPTERADDRESS: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(6i32);
pub const KMTQAITYPE_ADAPTERADDRESS_RENDER: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(53i32);
pub const KMTQAITYPE_ADAPTERGUID: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(4i32);
pub const KMTQAITYPE_ADAPTERGUID_RENDER: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(52i32);
pub const KMTQAITYPE_ADAPTERPERFDATA: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(62i32);
pub const KMTQAITYPE_ADAPTERPERFDATA_CAPS: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(63i32);
pub const KMTQAITYPE_ADAPTERREGISTRYINFO: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(8i32);
pub const KMTQAITYPE_ADAPTERREGISTRYINFO_RENDER: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(54i32);
pub const KMTQAITYPE_ADAPTERTYPE: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(15i32);
pub const KMTQAITYPE_ADAPTERTYPE_RENDER: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(57i32);
pub const KMTQAITYPE_BLOCKLIST_KERNEL: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(50i32);
pub const KMTQAITYPE_BLOCKLIST_RUNTIME: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(51i32);
pub const KMTQAITYPE_CHECKDRIVERUPDATESTATUS: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(11i32);
pub const KMTQAITYPE_CHECKDRIVERUPDATESTATUS_RENDER: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(55i32);
pub const KMTQAITYPE_CPDRIVERNAME: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(26i32);
pub const KMTQAITYPE_CROSSADAPTERRESOURCE_SUPPORT: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(76i32);
pub const KMTQAITYPE_CURRENTDISPLAYMODE: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(9i32);
pub const KMTQAITYPE_DIRECTFLIP_SUPPORT: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(19i32);
pub const KMTQAITYPE_DISPLAY_CAPS: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(74i32);
pub const KMTQAITYPE_DISPLAY_UMDRIVERNAME: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(71i32);
pub const KMTQAITYPE_DLIST_DRIVER_NAME: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(21i32);
pub const KMTQAITYPE_DRIVERCAPS_EXT: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(32i32);
pub const KMTQAITYPE_DRIVERVERSION: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(13i32);
pub const KMTQAITYPE_DRIVERVERSION_RENDER: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(56i32);
pub const KMTQAITYPE_DRIVER_DESCRIPTION: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(65i32);
pub const KMTQAITYPE_DRIVER_DESCRIPTION_RENDER: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(66i32);
pub const KMTQAITYPE_FLIPQUEUEINFO: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(5i32);
pub const KMTQAITYPE_GETSEGMENTGROUPSIZE: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(42i32);
pub const KMTQAITYPE_GETSEGMENTSIZE: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(3i32);
pub const KMTQAITYPE_GET_DEVICE_VIDPN_OWNERSHIP_INFO: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(47i32);
pub const KMTQAITYPE_HWDRM_SUPPORT: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(44i32);
pub const KMTQAITYPE_HYBRID_DLIST_DLL_SUPPORT: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(73i32);
pub const KMTQAITYPE_INDEPENDENTFLIP_SECONDARY_SUPPORT: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(39i32);
pub const KMTQAITYPE_INDEPENDENTFLIP_SUPPORT: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(28i32);
pub const KMTQAITYPE_KMD_DRIVER_VERSION: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(49i32);
pub const KMTQAITYPE_MIRACASTCOMPANIONDRIVERNAME: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(29i32);
pub const KMTQAITYPE_MODELIST: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(10i32);
pub const KMTQAITYPE_MPO3DDI_SUPPORT: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(43i32);
pub const KMTQAITYPE_MPOKERNELCAPS_SUPPORT: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(45i32);
pub const KMTQAITYPE_MULTIPLANEOVERLAY_HUD_SUPPORT: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(23i32);
pub const KMTQAITYPE_MULTIPLANEOVERLAY_SECONDARY_SUPPORT: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(38i32);
pub const KMTQAITYPE_MULTIPLANEOVERLAY_STRETCH_SUPPORT: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(46i32);
pub const KMTQAITYPE_MULTIPLANEOVERLAY_SUPPORT: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(20i32);
pub const KMTQAITYPE_NODEMETADATA: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(25i32);
pub const KMTQAITYPE_NODEPERFDATA: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(61i32);
pub const KMTQAITYPE_OUTPUTDUPLCONTEXTSCOUNT: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(16i32);
pub const KMTQAITYPE_PANELFITTER_SUPPORT: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(40i32);
pub const KMTQAITYPE_PARAVIRTUALIZATION_RENDER: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(68i32);
pub const KMTQAITYPE_PHYSICALADAPTERCOUNT: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(30i32);
pub const KMTQAITYPE_PHYSICALADAPTERDEVICEIDS: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(31i32);
pub const KMTQAITYPE_PHYSICALADAPTERPNPKEY: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(41i32);
pub const KMTQAITYPE_QUERYREGISTRY: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(48i32);
pub const KMTQAITYPE_QUERY_ADAPTER_UNIQUE_GUID: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(60i32);
pub const KMTQAITYPE_QUERY_GPUMMU_CAPS: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(34i32);
pub const KMTQAITYPE_QUERY_HW_PROTECTION_TEARDOWN_COUNT: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(36i32);
pub const KMTQAITYPE_QUERY_ISBADDRIVERFORHWPROTECTIONDISABLED: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(37i32);
pub const KMTQAITYPE_QUERY_MIRACAST_DRIVER_TYPE: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(33i32);
pub const KMTQAITYPE_QUERY_MULTIPLANEOVERLAY_DECODE_SUPPORT: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(35i32);
pub const KMTQAITYPE_SCANOUT_CAPS: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(67i32);
pub const KMTQAITYPE_SERVICENAME: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(69i32);
pub const KMTQAITYPE_SETWORKINGSETINFO: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(7i32);
pub const KMTQAITYPE_TRACKEDWORKLOAD_SUPPORT: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(72i32);
pub const KMTQAITYPE_UMDRIVERNAME: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(1i32);
pub const KMTQAITYPE_UMDRIVERPRIVATE: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(0i32);
pub const KMTQAITYPE_UMD_DRIVER_VERSION: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(18i32);
pub const KMTQAITYPE_UMOPENGLINFO: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(2i32);
pub const KMTQAITYPE_VGPUINTERFACEID: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(79i32);
pub const KMTQAITYPE_VIRTUALADDRESSINFO: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(12i32);
pub const KMTQAITYPE_WDDM_1_2_CAPS: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(17i32);
pub const KMTQAITYPE_WDDM_1_2_CAPS_RENDER: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(58i32);
pub const KMTQAITYPE_WDDM_1_3_CAPS: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(22i32);
pub const KMTQAITYPE_WDDM_1_3_CAPS_RENDER: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(59i32);
pub const KMTQAITYPE_WDDM_2_0_CAPS: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(24i32);
pub const KMTQAITYPE_WDDM_2_7_CAPS: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(70i32);
pub const KMTQAITYPE_WDDM_2_9_CAPS: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(75i32);
pub const KMTQAITYPE_WDDM_3_0_CAPS: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(77i32);
pub const KMTQAITYPE_WDDM_3_1_CAPS: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(80i32);
pub const KMTQAITYPE_WSAUMDIMAGENAME: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(78i32);
pub const KMTQAITYPE_XBOX: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(27i32);
pub const KMTQUITYPE_GPUVERSION: KMTQUERYADAPTERINFOTYPE = KMTQUERYADAPTERINFOTYPE(64i32);
pub const KMTUMDVERSION_DX10: KMTUMDVERSION = KMTUMDVERSION(1i32);
pub const KMTUMDVERSION_DX11: KMTUMDVERSION = KMTUMDVERSION(2i32);
pub const KMTUMDVERSION_DX12: KMTUMDVERSION = KMTUMDVERSION(3i32);
pub const KMTUMDVERSION_DX12_WSA32: KMTUMDVERSION = KMTUMDVERSION(4i32);
pub const KMTUMDVERSION_DX12_WSA64: KMTUMDVERSION = KMTUMDVERSION(5i32);
pub const KMTUMDVERSION_DX9: KMTUMDVERSION = KMTUMDVERSION(0i32);
pub const KMT_DISPLAY_UMDVERSION_1: KMT_DISPLAY_UMD_VERSION = KMT_DISPLAY_UMD_VERSION(0i32);
pub const KMT_DRIVERVERSION_WDDM_1_0: D3DKMT_DRIVERVERSION = D3DKMT_DRIVERVERSION(1000i32);
pub const KMT_DRIVERVERSION_WDDM_1_1: D3DKMT_DRIVERVERSION = D3DKMT_DRIVERVERSION(1105i32);
pub const KMT_DRIVERVERSION_WDDM_1_1_PRERELEASE: D3DKMT_DRIVERVERSION = D3DKMT_DRIVERVERSION(1102i32);
pub const KMT_DRIVERVERSION_WDDM_1_2: D3DKMT_DRIVERVERSION = D3DKMT_DRIVERVERSION(1200i32);
pub const KMT_DRIVERVERSION_WDDM_1_3: D3DKMT_DRIVERVERSION = D3DKMT_DRIVERVERSION(1300i32);
pub const KMT_DRIVERVERSION_WDDM_2_0: D3DKMT_DRIVERVERSION = D3DKMT_DRIVERVERSION(2000i32);
pub const KMT_DRIVERVERSION_WDDM_2_1: D3DKMT_DRIVERVERSION = D3DKMT_DRIVERVERSION(2100i32);
pub const KMT_DRIVERVERSION_WDDM_2_2: D3DKMT_DRIVERVERSION = D3DKMT_DRIVERVERSION(2200i32);
pub const KMT_DRIVERVERSION_WDDM_2_3: D3DKMT_DRIVERVERSION = D3DKMT_DRIVERVERSION(2300i32);
pub const KMT_DRIVERVERSION_WDDM_2_4: D3DKMT_DRIVERVERSION = D3DKMT_DRIVERVERSION(2400i32);
pub const KMT_DRIVERVERSION_WDDM_2_5: D3DKMT_DRIVERVERSION = D3DKMT_DRIVERVERSION(2500i32);
pub const KMT_DRIVERVERSION_WDDM_2_6: D3DKMT_DRIVERVERSION = D3DKMT_DRIVERVERSION(2600i32);
pub const KMT_DRIVERVERSION_WDDM_2_7: D3DKMT_DRIVERVERSION = D3DKMT_DRIVERVERSION(2700i32);
pub const KMT_DRIVERVERSION_WDDM_2_8: D3DKMT_DRIVERVERSION = D3DKMT_DRIVERVERSION(2800i32);
pub const KMT_DRIVERVERSION_WDDM_2_9: D3DKMT_DRIVERVERSION = D3DKMT_DRIVERVERSION(2900i32);
pub const KMT_DRIVERVERSION_WDDM_3_0: D3DKMT_DRIVERVERSION = D3DKMT_DRIVERVERSION(3000i32);
pub const KMT_DRIVERVERSION_WDDM_3_1: D3DKMT_DRIVERVERSION = D3DKMT_DRIVERVERSION(3100i32);
pub const MAX_ENUM_ADAPTERS: u32 = 16u32;
pub const MiracastStartPending: D3DKMT_MIRACAST_DISPLAY_DEVICE_STATE = D3DKMT_MIRACAST_DISPLAY_DEVICE_STATE(1i32);
pub const MiracastStarted: D3DKMT_MIRACAST_DISPLAY_DEVICE_STATE = D3DKMT_MIRACAST_DISPLAY_DEVICE_STATE(2i32);
pub const MiracastStopPending: D3DKMT_MIRACAST_DISPLAY_DEVICE_STATE = D3DKMT_MIRACAST_DISPLAY_DEVICE_STATE(3i32);
pub const MiracastStopped: D3DKMT_MIRACAST_DISPLAY_DEVICE_STATE = D3DKMT_MIRACAST_DISPLAY_DEVICE_STATE(0i32);
pub const NUM_KMTUMDVERSIONS: KMTUMDVERSION = KMTUMDVERSION(6i32);
pub const NUM_KMT_DISPLAY_UMDVERSIONS: KMT_DISPLAY_UMD_VERSION = KMT_DISPLAY_UMD_VERSION(1i32);
pub const OUTPUTDUPL_CONTEXT_DEBUG_STATUS_ACTIVE: OUTPUTDUPL_CONTEXT_DEBUG_STATUS = OUTPUTDUPL_CONTEXT_DEBUG_STATUS(1i32);
pub const OUTPUTDUPL_CONTEXT_DEBUG_STATUS_INACTIVE: OUTPUTDUPL_CONTEXT_DEBUG_STATUS = OUTPUTDUPL_CONTEXT_DEBUG_STATUS(0i32);
pub const OUTPUTDUPL_CONTEXT_DEBUG_STATUS_PENDING_DESTROY: OUTPUTDUPL_CONTEXT_DEBUG_STATUS = OUTPUTDUPL_CONTEXT_DEBUG_STATUS(2i32);
pub const OUTPUTDUPL_CREATE_MAX_KEYEDMUTXES: u32 = 3u32;
pub const RTPATCHFLAG_HASINFO: i32 = 2i32;
pub const RTPATCHFLAG_HASSEGS: i32 = 1i32;
pub const SHARED_ALLOCATION_WRITE: u32 = 1u32;
pub const _NT_D3DDEVCAPS_HWINDEXBUFFER: i32 = 67108864i32;
pub const _NT_D3DDEVCAPS_HWVERTEXBUFFER: i32 = 33554432i32;
pub const _NT_D3DDEVCAPS_SUBVOLUMELOCK: i32 = 134217728i32;
pub const _NT_D3DFVF_FOG: i32 = 8192i32;
pub const _NT_D3DGDI2_MAGIC: u32 = 4294967295u32;
pub const _NT_D3DGDI2_TYPE_DEFERRED_AGP_AWARE: u32 = 24u32;
pub const _NT_D3DGDI2_TYPE_DEFER_AGP_FREES: u32 = 32u32;
pub const _NT_D3DGDI2_TYPE_DXVERSION: u32 = 4u32;
pub const _NT_D3DGDI2_TYPE_FREE_DEFERRED_AGP: u32 = 25u32;
pub const _NT_D3DGDI2_TYPE_GETADAPTERGROUP: u32 = 19u32;
pub const _NT_D3DGDI2_TYPE_GETD3DCAPS8: u32 = 1u32;
pub const _NT_D3DGDI2_TYPE_GETD3DCAPS9: u32 = 16u32;
pub const _NT_D3DGDI2_TYPE_GETD3DQUERY: u32 = 34u32;
pub const _NT_D3DGDI2_TYPE_GETD3DQUERYCOUNT: u32 = 33u32;
pub const _NT_D3DGDI2_TYPE_GETDDIVERSION: u32 = 35u32;
pub const _NT_D3DGDI2_TYPE_GETEXTENDEDMODE: u32 = 18u32;
pub const _NT_D3DGDI2_TYPE_GETEXTENDEDMODECOUNT: u32 = 17u32;
pub const _NT_D3DGDI2_TYPE_GETFORMAT: u32 = 3u32;
pub const _NT_D3DGDI2_TYPE_GETFORMATCOUNT: u32 = 2u32;
pub const _NT_D3DGDI2_TYPE_GETMULTISAMPLEQUALITYLEVELS: u32 = 22u32;
pub const _NT_D3DPMISCCAPS_FOGINFVF: i32 = 8192i32;
pub const _NT_D3DPS_COLOROUT_MAX_V2_0: u32 = 4u32;
pub const _NT_D3DPS_COLOROUT_MAX_V2_1: u32 = 4u32;
pub const _NT_D3DPS_COLOROUT_MAX_V3_0: u32 = 4u32;
pub const _NT_D3DPS_CONSTBOOLREG_MAX_SW_DX9: u32 = 2048u32;
pub const _NT_D3DPS_CONSTBOOLREG_MAX_V2_1: u32 = 16u32;
pub const _NT_D3DPS_CONSTBOOLREG_MAX_V3_0: u32 = 16u32;
pub const _NT_D3DPS_CONSTINTREG_MAX_SW_DX9: u32 = 2048u32;
pub const _NT_D3DPS_CONSTINTREG_MAX_V2_1: u32 = 16u32;
pub const _NT_D3DPS_CONSTINTREG_MAX_V3_0: u32 = 16u32;
pub const _NT_D3DPS_CONSTREG_MAX_DX8: u32 = 8u32;
pub const _NT_D3DPS_CONSTREG_MAX_SW_DX9: u32 = 8192u32;
pub const _NT_D3DPS_CONSTREG_MAX_V1_1: u32 = 8u32;
pub const _NT_D3DPS_CONSTREG_MAX_V1_2: u32 = 8u32;
pub const _NT_D3DPS_CONSTREG_MAX_V1_3: u32 = 8u32;
pub const _NT_D3DPS_CONSTREG_MAX_V1_4: u32 = 8u32;
pub const _NT_D3DPS_CONSTREG_MAX_V2_0: u32 = 32u32;
pub const _NT_D3DPS_CONSTREG_MAX_V2_1: u32 = 32u32;
pub const _NT_D3DPS_CONSTREG_MAX_V3_0: u32 = 224u32;
pub const _NT_D3DPS_INPUTREG_MAX_DX8: u32 = 8u32;
pub const _NT_D3DPS_INPUTREG_MAX_V1_1: u32 = 2u32;
pub const _NT_D3DPS_INPUTREG_MAX_V1_2: u32 = 2u32;
pub const _NT_D3DPS_INPUTREG_MAX_V1_3: u32 = 2u32;
pub const _NT_D3DPS_INPUTREG_MAX_V1_4: u32 = 2u32;
pub const _NT_D3DPS_INPUTREG_MAX_V2_0: u32 = 2u32;
pub const _NT_D3DPS_INPUTREG_MAX_V2_1: u32 = 2u32;
pub const _NT_D3DPS_INPUTREG_MAX_V3_0: u32 = 12u32;
pub const _NT_D3DPS_MAXLOOPINITVALUE_V2_1: u32 = 255u32;
pub const _NT_D3DPS_MAXLOOPINITVALUE_V3_0: u32 = 255u32;
pub const _NT_D3DPS_MAXLOOPITERATIONCOUNT_V2_1: u32 = 255u32;
pub const _NT_D3DPS_MAXLOOPITERATIONCOUNT_V3_0: u32 = 255u32;
pub const _NT_D3DPS_MAXLOOPSTEP_V2_1: u32 = 128u32;
pub const _NT_D3DPS_MAXLOOPSTEP_V3_0: u32 = 128u32;
pub const _NT_D3DPS_PREDICATE_MAX_V2_1: u32 = 1u32;
pub const _NT_D3DPS_PREDICATE_MAX_V3_0: u32 = 1u32;
pub const _NT_D3DPS_TEMPREG_MAX_DX8: u32 = 8u32;
pub const _NT_D3DPS_TEMPREG_MAX_V1_1: u32 = 2u32;
pub const _NT_D3DPS_TEMPREG_MAX_V1_2: u32 = 2u32;
pub const _NT_D3DPS_TEMPREG_MAX_V1_3: u32 = 2u32;
pub const _NT_D3DPS_TEMPREG_MAX_V1_4: u32 = 6u32;
pub const _NT_D3DPS_TEMPREG_MAX_V2_0: u32 = 12u32;
pub const _NT_D3DPS_TEMPREG_MAX_V2_1: u32 = 32u32;
pub const _NT_D3DPS_TEMPREG_MAX_V3_0: u32 = 32u32;
pub const _NT_D3DPS_TEXTUREREG_MAX_DX8: u32 = 8u32;
pub const _NT_D3DPS_TEXTUREREG_MAX_V1_1: u32 = 4u32;
pub const _NT_D3DPS_TEXTUREREG_MAX_V1_2: u32 = 4u32;
pub const _NT_D3DPS_TEXTUREREG_MAX_V1_3: u32 = 4u32;
pub const _NT_D3DPS_TEXTUREREG_MAX_V1_4: u32 = 6u32;
pub const _NT_D3DPS_TEXTUREREG_MAX_V2_0: u32 = 8u32;
pub const _NT_D3DPS_TEXTUREREG_MAX_V2_1: u32 = 8u32;
pub const _NT_D3DPS_TEXTUREREG_MAX_V3_0: u32 = 0u32;
pub const _NT_D3DRS_DELETERTPATCH: u32 = 169u32;
pub const _NT_D3DVS_ADDRREG_MAX_V1_1: u32 = 1u32;
pub const _NT_D3DVS_ADDRREG_MAX_V2_0: u32 = 1u32;
pub const _NT_D3DVS_ADDRREG_MAX_V2_1: u32 = 1u32;
pub const _NT_D3DVS_ADDRREG_MAX_V3_0: u32 = 1u32;
pub const _NT_D3DVS_ATTROUTREG_MAX_V1_1: u32 = 2u32;
pub const _NT_D3DVS_ATTROUTREG_MAX_V2_0: u32 = 2u32;
pub const _NT_D3DVS_ATTROUTREG_MAX_V2_1: u32 = 2u32;
pub const _NT_D3DVS_CONSTBOOLREG_MAX_SW_DX9: u32 = 2048u32;
pub const _NT_D3DVS_CONSTBOOLREG_MAX_V2_0: u32 = 16u32;
pub const _NT_D3DVS_CONSTBOOLREG_MAX_V2_1: u32 = 16u32;
pub const _NT_D3DVS_CONSTBOOLREG_MAX_V3_0: u32 = 16u32;
pub const _NT_D3DVS_CONSTINTREG_MAX_SW_DX9: u32 = 2048u32;
pub const _NT_D3DVS_CONSTINTREG_MAX_V2_0: u32 = 16u32;
pub const _NT_D3DVS_CONSTINTREG_MAX_V2_1: u32 = 16u32;
pub const _NT_D3DVS_CONSTINTREG_MAX_V3_0: u32 = 16u32;
pub const _NT_D3DVS_CONSTREG_MAX_V1_1: u32 = 96u32;
pub const _NT_D3DVS_CONSTREG_MAX_V2_0: u32 = 8192u32;
pub const _NT_D3DVS_CONSTREG_MAX_V2_1: u32 = 8192u32;
pub const _NT_D3DVS_CONSTREG_MAX_V3_0: u32 = 8192u32;
pub const _NT_D3DVS_INPUTREG_MAX_V1_1: u32 = 16u32;
pub const _NT_D3DVS_INPUTREG_MAX_V2_0: u32 = 16u32;
pub const _NT_D3DVS_INPUTREG_MAX_V2_1: u32 = 16u32;
pub const _NT_D3DVS_INPUTREG_MAX_V3_0: u32 = 16u32;
pub const _NT_D3DVS_LABEL_MAX_V3_0: u32 = 2048u32;
pub const _NT_D3DVS_MAXINSTRUCTIONCOUNT_V1_1: u32 = 128u32;
pub const _NT_D3DVS_MAXLOOPINITVALUE_V2_0: u32 = 255u32;
pub const _NT_D3DVS_MAXLOOPINITVALUE_V2_1: u32 = 255u32;
pub const _NT_D3DVS_MAXLOOPINITVALUE_V3_0: u32 = 255u32;
pub const _NT_D3DVS_MAXLOOPITERATIONCOUNT_V2_0: u32 = 255u32;
pub const _NT_D3DVS_MAXLOOPITERATIONCOUNT_V2_1: u32 = 255u32;
pub const _NT_D3DVS_MAXLOOPITERATIONCOUNT_V3_0: u32 = 255u32;
pub const _NT_D3DVS_MAXLOOPSTEP_V2_0: u32 = 128u32;
pub const _NT_D3DVS_MAXLOOPSTEP_V2_1: u32 = 128u32;
pub const _NT_D3DVS_MAXLOOPSTEP_V3_0: u32 = 128u32;
pub const _NT_D3DVS_OUTPUTREG_MAX_SW_DX9: u32 = 16u32;
pub const _NT_D3DVS_OUTPUTREG_MAX_V3_0: u32 = 12u32;
pub const _NT_D3DVS_PREDICATE_MAX_V2_1: u32 = 1u32;
pub const _NT_D3DVS_PREDICATE_MAX_V3_0: u32 = 1u32;
pub const _NT_D3DVS_TCRDOUTREG_MAX_V1_1: u32 = 8u32;
pub const _NT_D3DVS_TCRDOUTREG_MAX_V2_0: u32 = 8u32;
pub const _NT_D3DVS_TCRDOUTREG_MAX_V2_1: u32 = 8u32;
pub const _NT_D3DVS_TEMPREG_MAX_V1_1: u32 = 12u32;
pub const _NT_D3DVS_TEMPREG_MAX_V2_0: u32 = 12u32;
pub const _NT_D3DVS_TEMPREG_MAX_V2_1: u32 = 32u32;
pub const _NT_D3DVS_TEMPREG_MAX_V3_0: u32 = 32u32;
pub const _NT_RTPATCHFLAG_HASINFO: i32 = 2i32;
pub const _NT_RTPATCHFLAG_HASSEGS: i32 = 1i32;
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DDDIFORMAT(pub u32);
impl ::core::marker::Copy for D3DDDIFORMAT {}
impl ::core::clone::Clone for D3DDDIFORMAT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DDDIFORMAT {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DDDIFORMAT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DDDIFORMAT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DDDIFORMAT").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DDDIGPUVIRTUALADDRESS_RESERVATION_TYPE(pub i32);
impl ::core::marker::Copy for D3DDDIGPUVIRTUALADDRESS_RESERVATION_TYPE {}
impl ::core::clone::Clone for D3DDDIGPUVIRTUALADDRESS_RESERVATION_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DDDIGPUVIRTUALADDRESS_RESERVATION_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DDDIGPUVIRTUALADDRESS_RESERVATION_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DDDIGPUVIRTUALADDRESS_RESERVATION_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DDDIGPUVIRTUALADDRESS_RESERVATION_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DDDIMULTISAMPLE_TYPE(pub i32);
impl ::core::marker::Copy for D3DDDIMULTISAMPLE_TYPE {}
impl ::core::clone::Clone for D3DDDIMULTISAMPLE_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DDDIMULTISAMPLE_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DDDIMULTISAMPLE_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DDDIMULTISAMPLE_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DDDIMULTISAMPLE_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DDDI_COLOR_SPACE_TYPE(pub i32);
impl ::core::marker::Copy for D3DDDI_COLOR_SPACE_TYPE {}
impl ::core::clone::Clone for D3DDDI_COLOR_SPACE_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DDDI_COLOR_SPACE_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DDDI_COLOR_SPACE_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DDDI_COLOR_SPACE_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DDDI_COLOR_SPACE_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DDDI_DOORBELLSTATUS(pub i32);
impl ::core::marker::Copy for D3DDDI_DOORBELLSTATUS {}
impl ::core::clone::Clone for D3DDDI_DOORBELLSTATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DDDI_DOORBELLSTATUS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DDDI_DOORBELLSTATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DDDI_DOORBELLSTATUS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DDDI_DOORBELLSTATUS").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DDDI_DRIVERESCAPETYPE(pub i32);
impl ::core::marker::Copy for D3DDDI_DRIVERESCAPETYPE {}
impl ::core::clone::Clone for D3DDDI_DRIVERESCAPETYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DDDI_DRIVERESCAPETYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DDDI_DRIVERESCAPETYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DDDI_DRIVERESCAPETYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DDDI_DRIVERESCAPETYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DDDI_FLIPINTERVAL_TYPE(pub i32);
impl ::core::marker::Copy for D3DDDI_FLIPINTERVAL_TYPE {}
impl ::core::clone::Clone for D3DDDI_FLIPINTERVAL_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DDDI_FLIPINTERVAL_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DDDI_FLIPINTERVAL_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DDDI_FLIPINTERVAL_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DDDI_FLIPINTERVAL_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DDDI_GAMMARAMP_TYPE(pub i32);
impl ::core::marker::Copy for D3DDDI_GAMMARAMP_TYPE {}
impl ::core::clone::Clone for D3DDDI_GAMMARAMP_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DDDI_GAMMARAMP_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DDDI_GAMMARAMP_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DDDI_GAMMARAMP_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DDDI_GAMMARAMP_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DDDI_HDR_METADATA_TYPE(pub i32);
impl ::core::marker::Copy for D3DDDI_HDR_METADATA_TYPE {}
impl ::core::clone::Clone for D3DDDI_HDR_METADATA_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DDDI_HDR_METADATA_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DDDI_HDR_METADATA_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DDDI_HDR_METADATA_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DDDI_HDR_METADATA_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DDDI_OFFER_PRIORITY(pub i32);
impl ::core::marker::Copy for D3DDDI_OFFER_PRIORITY {}
impl ::core::clone::Clone for D3DDDI_OFFER_PRIORITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DDDI_OFFER_PRIORITY {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DDDI_OFFER_PRIORITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DDDI_OFFER_PRIORITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DDDI_OFFER_PRIORITY").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE(pub i32);
impl ::core::marker::Copy for D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE {}
impl ::core::clone::Clone for D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DDDI_OUTPUT_WIRE_COLOR_SPACE_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DDDI_PAGINGQUEUE_PRIORITY(pub i32);
impl ::core::marker::Copy for D3DDDI_PAGINGQUEUE_PRIORITY {}
impl ::core::clone::Clone for D3DDDI_PAGINGQUEUE_PRIORITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DDDI_PAGINGQUEUE_PRIORITY {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DDDI_PAGINGQUEUE_PRIORITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DDDI_PAGINGQUEUE_PRIORITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DDDI_PAGINGQUEUE_PRIORITY").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DDDI_POOL(pub i32);
impl ::core::marker::Copy for D3DDDI_POOL {}
impl ::core::clone::Clone for D3DDDI_POOL {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DDDI_POOL {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DDDI_POOL {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DDDI_POOL {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DDDI_POOL").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DDDI_QUERYREGISTRY_STATUS(pub i32);
impl ::core::marker::Copy for D3DDDI_QUERYREGISTRY_STATUS {}
impl ::core::clone::Clone for D3DDDI_QUERYREGISTRY_STATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DDDI_QUERYREGISTRY_STATUS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DDDI_QUERYREGISTRY_STATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DDDI_QUERYREGISTRY_STATUS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DDDI_QUERYREGISTRY_STATUS").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DDDI_QUERYREGISTRY_TYPE(pub i32);
impl ::core::marker::Copy for D3DDDI_QUERYREGISTRY_TYPE {}
impl ::core::clone::Clone for D3DDDI_QUERYREGISTRY_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DDDI_QUERYREGISTRY_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DDDI_QUERYREGISTRY_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DDDI_QUERYREGISTRY_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DDDI_QUERYREGISTRY_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DDDI_RECLAIM_RESULT(pub i32);
impl ::core::marker::Copy for D3DDDI_RECLAIM_RESULT {}
impl ::core::clone::Clone for D3DDDI_RECLAIM_RESULT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DDDI_RECLAIM_RESULT {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DDDI_RECLAIM_RESULT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DDDI_RECLAIM_RESULT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DDDI_RECLAIM_RESULT").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DDDI_ROTATION(pub i32);
impl ::core::marker::Copy for D3DDDI_ROTATION {}
impl ::core::clone::Clone for D3DDDI_ROTATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DDDI_ROTATION {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DDDI_ROTATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DDDI_ROTATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DDDI_ROTATION").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DDDI_SCANLINEORDERING(pub i32);
impl ::core::marker::Copy for D3DDDI_SCANLINEORDERING {}
impl ::core::clone::Clone for D3DDDI_SCANLINEORDERING {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DDDI_SCANLINEORDERING {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DDDI_SCANLINEORDERING {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DDDI_SCANLINEORDERING {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DDDI_SCANLINEORDERING").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DDDI_SYNCHRONIZATIONOBJECT_TYPE(pub i32);
impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECT_TYPE {}
impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECT_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DDDI_SYNCHRONIZATIONOBJECT_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DDDI_SYNCHRONIZATIONOBJECT_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DDDI_SYNCHRONIZATIONOBJECT_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DDDI_SYNCHRONIZATIONOBJECT_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_TYPE(pub i32);
impl ::core::marker::Copy for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_TYPE {}
impl ::core::clone::Clone for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING(pub i32);
impl ::core::marker::Copy for D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING {}
impl ::core::clone::Clone for D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DHAL_DP2OPERATION(pub i32);
impl ::core::marker::Copy for D3DHAL_DP2OPERATION {}
impl ::core::clone::Clone for D3DHAL_DP2OPERATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DHAL_DP2OPERATION {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2OPERATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DHAL_DP2OPERATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DHAL_DP2OPERATION").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL(pub i32);
impl ::core::marker::Copy for D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL {}
impl ::core::clone::Clone for D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_COLOR_BASIS(pub i32);
impl ::core::marker::Copy for D3DKMDT_COLOR_BASIS {}
impl ::core::clone::Clone for D3DKMDT_COLOR_BASIS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_COLOR_BASIS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_COLOR_BASIS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_COLOR_BASIS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_COLOR_BASIS").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY(pub i32);
impl ::core::marker::Copy for D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY {}
impl ::core::clone::Clone for D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE(pub i32);
impl ::core::marker::Copy for D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE {}
impl ::core::clone::Clone for D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_ENUMCOFUNCMODALITY_PIVOT_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_GDISURFACETYPE(pub i32);
impl ::core::marker::Copy for D3DKMDT_GDISURFACETYPE {}
impl ::core::clone::Clone for D3DKMDT_GDISURFACETYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_GDISURFACETYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_GDISURFACETYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_GDISURFACETYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_GDISURFACETYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY(pub i32);
impl ::core::marker::Copy for D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY {}
impl ::core::clone::Clone for D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_GTFCOMPLIANCE(pub i32);
impl ::core::marker::Copy for D3DKMDT_GTFCOMPLIANCE {}
impl ::core::clone::Clone for D3DKMDT_GTFCOMPLIANCE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_GTFCOMPLIANCE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_GTFCOMPLIANCE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_GTFCOMPLIANCE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_GTFCOMPLIANCE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_MODE_PREFERENCE(pub i32);
impl ::core::marker::Copy for D3DKMDT_MODE_PREFERENCE {}
impl ::core::clone::Clone for D3DKMDT_MODE_PREFERENCE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_MODE_PREFERENCE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_MODE_PREFERENCE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_MODE_PREFERENCE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_MODE_PREFERENCE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_MODE_PRUNING_REASON(pub i32);
impl ::core::marker::Copy for D3DKMDT_MODE_PRUNING_REASON {}
impl ::core::clone::Clone for D3DKMDT_MODE_PRUNING_REASON {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_MODE_PRUNING_REASON {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_MODE_PRUNING_REASON {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_MODE_PRUNING_REASON {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_MODE_PRUNING_REASON").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_MONITOR_CAPABILITIES_ORIGIN(pub i32);
impl ::core::marker::Copy for D3DKMDT_MONITOR_CAPABILITIES_ORIGIN {}
impl ::core::clone::Clone for D3DKMDT_MONITOR_CAPABILITIES_ORIGIN {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_MONITOR_CAPABILITIES_ORIGIN {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_MONITOR_CAPABILITIES_ORIGIN {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_MONITOR_CAPABILITIES_ORIGIN {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_MONITOR_CAPABILITIES_ORIGIN").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_MONITOR_CONNECTIVITY_CHECKS(pub i32);
impl ::core::marker::Copy for D3DKMDT_MONITOR_CONNECTIVITY_CHECKS {}
impl ::core::clone::Clone for D3DKMDT_MONITOR_CONNECTIVITY_CHECKS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_MONITOR_CONNECTIVITY_CHECKS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_MONITOR_CONNECTIVITY_CHECKS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_MONITOR_CONNECTIVITY_CHECKS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_MONITOR_CONNECTIVITY_CHECKS").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_MONITOR_DESCRIPTOR_TYPE(pub i32);
impl ::core::marker::Copy for D3DKMDT_MONITOR_DESCRIPTOR_TYPE {}
impl ::core::clone::Clone for D3DKMDT_MONITOR_DESCRIPTOR_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_MONITOR_DESCRIPTOR_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_MONITOR_DESCRIPTOR_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_MONITOR_DESCRIPTOR_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_MONITOR_DESCRIPTOR_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_MONITOR_FREQUENCY_RANGE_CONSTRAINT(pub i32);
impl ::core::marker::Copy for D3DKMDT_MONITOR_FREQUENCY_RANGE_CONSTRAINT {}
impl ::core::clone::Clone for D3DKMDT_MONITOR_FREQUENCY_RANGE_CONSTRAINT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_MONITOR_FREQUENCY_RANGE_CONSTRAINT {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_MONITOR_FREQUENCY_RANGE_CONSTRAINT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_MONITOR_FREQUENCY_RANGE_CONSTRAINT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_MONITOR_FREQUENCY_RANGE_CONSTRAINT").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_MONITOR_ORIENTATION(pub i32);
impl ::core::marker::Copy for D3DKMDT_MONITOR_ORIENTATION {}
impl ::core::clone::Clone for D3DKMDT_MONITOR_ORIENTATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_MONITOR_ORIENTATION {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_MONITOR_ORIENTATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_MONITOR_ORIENTATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_MONITOR_ORIENTATION").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_MONITOR_ORIENTATION_AWARENESS(pub i32);
impl ::core::marker::Copy for D3DKMDT_MONITOR_ORIENTATION_AWARENESS {}
impl ::core::clone::Clone for D3DKMDT_MONITOR_ORIENTATION_AWARENESS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_MONITOR_ORIENTATION_AWARENESS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_MONITOR_ORIENTATION_AWARENESS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_MONITOR_ORIENTATION_AWARENESS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_MONITOR_ORIENTATION_AWARENESS").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_MONITOR_TIMING_TYPE(pub i32);
impl ::core::marker::Copy for D3DKMDT_MONITOR_TIMING_TYPE {}
impl ::core::clone::Clone for D3DKMDT_MONITOR_TIMING_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_MONITOR_TIMING_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_MONITOR_TIMING_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_MONITOR_TIMING_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_MONITOR_TIMING_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_PIXEL_VALUE_ACCESS_MODE(pub i32);
impl ::core::marker::Copy for D3DKMDT_PIXEL_VALUE_ACCESS_MODE {}
impl ::core::clone::Clone for D3DKMDT_PIXEL_VALUE_ACCESS_MODE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_PIXEL_VALUE_ACCESS_MODE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_PIXEL_VALUE_ACCESS_MODE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_PIXEL_VALUE_ACCESS_MODE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_PIXEL_VALUE_ACCESS_MODE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_STANDARDALLOCATION_TYPE(pub i32);
impl ::core::marker::Copy for D3DKMDT_STANDARDALLOCATION_TYPE {}
impl ::core::clone::Clone for D3DKMDT_STANDARDALLOCATION_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_STANDARDALLOCATION_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_STANDARDALLOCATION_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_STANDARDALLOCATION_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_STANDARDALLOCATION_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_TEXT_RENDERING_FORMAT(pub i32);
impl ::core::marker::Copy for D3DKMDT_TEXT_RENDERING_FORMAT {}
impl ::core::clone::Clone for D3DKMDT_TEXT_RENDERING_FORMAT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_TEXT_RENDERING_FORMAT {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_TEXT_RENDERING_FORMAT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_TEXT_RENDERING_FORMAT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_TEXT_RENDERING_FORMAT").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY(pub i32);
impl ::core::marker::Copy for D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY {}
impl ::core::clone::Clone for D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_VIDEO_SIGNAL_STANDARD(pub i32);
impl ::core::marker::Copy for D3DKMDT_VIDEO_SIGNAL_STANDARD {}
impl ::core::clone::Clone for D3DKMDT_VIDEO_SIGNAL_STANDARD {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_VIDEO_SIGNAL_STANDARD {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_VIDEO_SIGNAL_STANDARD {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_VIDEO_SIGNAL_STANDARD {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_VIDEO_SIGNAL_STANDARD").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_VIDPN_PRESENT_PATH_CONTENT(pub i32);
impl ::core::marker::Copy for D3DKMDT_VIDPN_PRESENT_PATH_CONTENT {}
impl ::core::clone::Clone for D3DKMDT_VIDPN_PRESENT_PATH_CONTENT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_VIDPN_PRESENT_PATH_CONTENT {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_VIDPN_PRESENT_PATH_CONTENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_VIDPN_PRESENT_PATH_CONTENT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_VIDPN_PRESENT_PATH_CONTENT").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_TYPE(pub i32);
impl ::core::marker::Copy for D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_TYPE {}
impl ::core::clone::Clone for D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE(pub i32);
impl ::core::marker::Copy for D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE {}
impl ::core::clone::Clone for D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_VIDPN_PRESENT_PATH_ROTATION(pub i32);
impl ::core::marker::Copy for D3DKMDT_VIDPN_PRESENT_PATH_ROTATION {}
impl ::core::clone::Clone for D3DKMDT_VIDPN_PRESENT_PATH_ROTATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_VIDPN_PRESENT_PATH_ROTATION {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_VIDPN_PRESENT_PATH_ROTATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_VIDPN_PRESENT_PATH_ROTATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_VIDPN_PRESENT_PATH_ROTATION").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_VIDPN_PRESENT_PATH_SCALING(pub i32);
impl ::core::marker::Copy for D3DKMDT_VIDPN_PRESENT_PATH_SCALING {}
impl ::core::clone::Clone for D3DKMDT_VIDPN_PRESENT_PATH_SCALING {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_VIDPN_PRESENT_PATH_SCALING {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_VIDPN_PRESENT_PATH_SCALING {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_VIDPN_PRESENT_PATH_SCALING {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_VIDPN_PRESENT_PATH_SCALING").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMDT_VIDPN_SOURCE_MODE_TYPE(pub i32);
impl ::core::marker::Copy for D3DKMDT_VIDPN_SOURCE_MODE_TYPE {}
impl ::core::clone::Clone for D3DKMDT_VIDPN_SOURCE_MODE_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMDT_VIDPN_SOURCE_MODE_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMDT_VIDPN_SOURCE_MODE_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMDT_VIDPN_SOURCE_MODE_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMDT_VIDPN_SOURCE_MODE_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_ACTIVATE_SPECIFIC_DIAG_TYPE(pub i32);
impl ::core::marker::Copy for D3DKMT_ACTIVATE_SPECIFIC_DIAG_TYPE {}
impl ::core::clone::Clone for D3DKMT_ACTIVATE_SPECIFIC_DIAG_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_ACTIVATE_SPECIFIC_DIAG_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_ACTIVATE_SPECIFIC_DIAG_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_ACTIVATE_SPECIFIC_DIAG_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_ACTIVATE_SPECIFIC_DIAG_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_ADAPTER_VERIFIER_OPTION_TYPE(pub i32);
impl ::core::marker::Copy for D3DKMT_ADAPTER_VERIFIER_OPTION_TYPE {}
impl ::core::clone::Clone for D3DKMT_ADAPTER_VERIFIER_OPTION_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_ADAPTER_VERIFIER_OPTION_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_ADAPTER_VERIFIER_OPTION_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_ADAPTER_VERIFIER_OPTION_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_ADAPTER_VERIFIER_OPTION_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_ALLOCATIONRESIDENCYSTATUS(pub i32);
impl ::core::marker::Copy for D3DKMT_ALLOCATIONRESIDENCYSTATUS {}
impl ::core::clone::Clone for D3DKMT_ALLOCATIONRESIDENCYSTATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_ALLOCATIONRESIDENCYSTATUS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_ALLOCATIONRESIDENCYSTATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_ALLOCATIONRESIDENCYSTATUS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_ALLOCATIONRESIDENCYSTATUS").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_AUXILIARYPRESENTINFO_TYPE(pub i32);
impl ::core::marker::Copy for D3DKMT_AUXILIARYPRESENTINFO_TYPE {}
impl ::core::clone::Clone for D3DKMT_AUXILIARYPRESENTINFO_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_AUXILIARYPRESENTINFO_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_AUXILIARYPRESENTINFO_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_AUXILIARYPRESENTINFO_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_AUXILIARYPRESENTINFO_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_BRIGHTNESS_INFO_TYPE(pub i32);
impl ::core::marker::Copy for D3DKMT_BRIGHTNESS_INFO_TYPE {}
impl ::core::clone::Clone for D3DKMT_BRIGHTNESS_INFO_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_BRIGHTNESS_INFO_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_BRIGHTNESS_INFO_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_BRIGHTNESS_INFO_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_BRIGHTNESS_INFO_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_CANCEL_PRESENTS_OPERATION(pub i32);
impl ::core::marker::Copy for D3DKMT_CANCEL_PRESENTS_OPERATION {}
impl ::core::clone::Clone for D3DKMT_CANCEL_PRESENTS_OPERATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_CANCEL_PRESENTS_OPERATION {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_CANCEL_PRESENTS_OPERATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_CANCEL_PRESENTS_OPERATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_CANCEL_PRESENTS_OPERATION").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_CLIENTHINT(pub i32);
impl ::core::marker::Copy for D3DKMT_CLIENTHINT {}
impl ::core::clone::Clone for D3DKMT_CLIENTHINT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_CLIENTHINT {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_CLIENTHINT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_CLIENTHINT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_CLIENTHINT").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER(pub i32);
impl ::core::marker::Copy for D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER {}
impl ::core::clone::Clone for D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_DEFRAG_ESCAPE_OPERATION(pub i32);
impl ::core::marker::Copy for D3DKMT_DEFRAG_ESCAPE_OPERATION {}
impl ::core::clone::Clone for D3DKMT_DEFRAG_ESCAPE_OPERATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_DEFRAG_ESCAPE_OPERATION {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_DEFRAG_ESCAPE_OPERATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_DEFRAG_ESCAPE_OPERATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_DEFRAG_ESCAPE_OPERATION").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_DEVICEESCAPE_TYPE(pub i32);
impl ::core::marker::Copy for D3DKMT_DEVICEESCAPE_TYPE {}
impl ::core::clone::Clone for D3DKMT_DEVICEESCAPE_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_DEVICEESCAPE_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_DEVICEESCAPE_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_DEVICEESCAPE_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_DEVICEESCAPE_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_DEVICEEXECUTION_STATE(pub i32);
impl ::core::marker::Copy for D3DKMT_DEVICEEXECUTION_STATE {}
impl ::core::clone::Clone for D3DKMT_DEVICEEXECUTION_STATE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_DEVICEEXECUTION_STATE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_DEVICEEXECUTION_STATE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_DEVICEEXECUTION_STATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_DEVICEEXECUTION_STATE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_DEVICESTATE_TYPE(pub i32);
impl ::core::marker::Copy for D3DKMT_DEVICESTATE_TYPE {}
impl ::core::clone::Clone for D3DKMT_DEVICESTATE_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_DEVICESTATE_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_DEVICESTATE_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_DEVICESTATE_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_DEVICESTATE_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_DEVICE_ERROR_REASON(pub i32);
impl ::core::marker::Copy for D3DKMT_DEVICE_ERROR_REASON {}
impl ::core::clone::Clone for D3DKMT_DEVICE_ERROR_REASON {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_DEVICE_ERROR_REASON {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_DEVICE_ERROR_REASON {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_DEVICE_ERROR_REASON {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_DEVICE_ERROR_REASON").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_DMMESCAPETYPE(pub i32);
impl ::core::marker::Copy for D3DKMT_DMMESCAPETYPE {}
impl ::core::clone::Clone for D3DKMT_DMMESCAPETYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_DMMESCAPETYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_DMMESCAPETYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_DMMESCAPETYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_DMMESCAPETYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_DRIVERVERSION(pub i32);
impl ::core::marker::Copy for D3DKMT_DRIVERVERSION {}
impl ::core::clone::Clone for D3DKMT_DRIVERVERSION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_DRIVERVERSION {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_DRIVERVERSION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_DRIVERVERSION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_DRIVERVERSION").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_ESCAPETYPE(pub i32);
impl ::core::marker::Copy for D3DKMT_ESCAPETYPE {}
impl ::core::clone::Clone for D3DKMT_ESCAPETYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_ESCAPETYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_ESCAPETYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_ESCAPETYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_ESCAPETYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_ESCAPE_PFN_CONTROL_COMMAND(pub i32);
impl ::core::marker::Copy for D3DKMT_ESCAPE_PFN_CONTROL_COMMAND {}
impl ::core::clone::Clone for D3DKMT_ESCAPE_PFN_CONTROL_COMMAND {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_ESCAPE_PFN_CONTROL_COMMAND {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_ESCAPE_PFN_CONTROL_COMMAND {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_ESCAPE_PFN_CONTROL_COMMAND {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_ESCAPE_PFN_CONTROL_COMMAND").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE(pub i32);
impl ::core::marker::Copy for D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE {}
impl ::core::clone::Clone for D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_FLIPMODEL_INDEPENDENT_FLIP_STAGE(pub i32);
impl ::core::marker::Copy for D3DKMT_FLIPMODEL_INDEPENDENT_FLIP_STAGE {}
impl ::core::clone::Clone for D3DKMT_FLIPMODEL_INDEPENDENT_FLIP_STAGE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_FLIPMODEL_INDEPENDENT_FLIP_STAGE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_FLIPMODEL_INDEPENDENT_FLIP_STAGE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_FLIPMODEL_INDEPENDENT_FLIP_STAGE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_FLIPMODEL_INDEPENDENT_FLIP_STAGE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_GPU_PREFERENCE_QUERY_STATE(pub i32);
impl ::core::marker::Copy for D3DKMT_GPU_PREFERENCE_QUERY_STATE {}
impl ::core::clone::Clone for D3DKMT_GPU_PREFERENCE_QUERY_STATE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_GPU_PREFERENCE_QUERY_STATE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_GPU_PREFERENCE_QUERY_STATE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_GPU_PREFERENCE_QUERY_STATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_GPU_PREFERENCE_QUERY_STATE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_GPU_PREFERENCE_QUERY_TYPE(pub i32);
impl ::core::marker::Copy for D3DKMT_GPU_PREFERENCE_QUERY_TYPE {}
impl ::core::clone::Clone for D3DKMT_GPU_PREFERENCE_QUERY_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_GPU_PREFERENCE_QUERY_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_GPU_PREFERENCE_QUERY_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_GPU_PREFERENCE_QUERY_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_GPU_PREFERENCE_QUERY_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_MEMORY_SEGMENT_GROUP(pub i32);
impl ::core::marker::Copy for D3DKMT_MEMORY_SEGMENT_GROUP {}
impl ::core::clone::Clone for D3DKMT_MEMORY_SEGMENT_GROUP {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_MEMORY_SEGMENT_GROUP {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_MEMORY_SEGMENT_GROUP {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_MEMORY_SEGMENT_GROUP {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_MEMORY_SEGMENT_GROUP").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_MIRACAST_DEVICE_STATUS(pub i32);
impl ::core::marker::Copy for D3DKMT_MIRACAST_DEVICE_STATUS {}
impl ::core::clone::Clone for D3DKMT_MIRACAST_DEVICE_STATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_MIRACAST_DEVICE_STATUS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_MIRACAST_DEVICE_STATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_MIRACAST_DEVICE_STATUS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_MIRACAST_DEVICE_STATUS").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_MIRACAST_DISPLAY_DEVICE_STATE(pub i32);
impl ::core::marker::Copy for D3DKMT_MIRACAST_DISPLAY_DEVICE_STATE {}
impl ::core::clone::Clone for D3DKMT_MIRACAST_DISPLAY_DEVICE_STATE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_MIRACAST_DISPLAY_DEVICE_STATE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_MIRACAST_DISPLAY_DEVICE_STATE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_MIRACAST_DISPLAY_DEVICE_STATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_MIRACAST_DISPLAY_DEVICE_STATE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_MIRACAST_DRIVER_TYPE(pub i32);
impl ::core::marker::Copy for D3DKMT_MIRACAST_DRIVER_TYPE {}
impl ::core::clone::Clone for D3DKMT_MIRACAST_DRIVER_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_MIRACAST_DRIVER_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_MIRACAST_DRIVER_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_MIRACAST_DRIVER_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_MIRACAST_DRIVER_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_MULTIPLANE_OVERLAY_BLEND(pub i32);
impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_BLEND {}
impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_BLEND {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_MULTIPLANE_OVERLAY_BLEND {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_MULTIPLANE_OVERLAY_BLEND {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_MULTIPLANE_OVERLAY_BLEND {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_MULTIPLANE_OVERLAY_BLEND").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_MULTIPLANE_OVERLAY_FLAGS(pub i32);
impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_FLAGS {}
impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_MULTIPLANE_OVERLAY_FLAGS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_MULTIPLANE_OVERLAY_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_MULTIPLANE_OVERLAY_FLAGS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_MULTIPLANE_OVERLAY_FLAGS").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT(pub i32);
impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT {}
impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT(pub i32);
impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT {}
impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_MULTIPLANE_OVERLAY_YCbCr_FLAGS(pub i32);
impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_YCbCr_FLAGS {}
impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_YCbCr_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_MULTIPLANE_OVERLAY_YCbCr_FLAGS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_MULTIPLANE_OVERLAY_YCbCr_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_MULTIPLANE_OVERLAY_YCbCr_FLAGS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_MULTIPLANE_OVERLAY_YCbCr_FLAGS").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_OFFER_PRIORITY(pub i32);
impl ::core::marker::Copy for D3DKMT_OFFER_PRIORITY {}
impl ::core::clone::Clone for D3DKMT_OFFER_PRIORITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_OFFER_PRIORITY {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_OFFER_PRIORITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_OFFER_PRIORITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_OFFER_PRIORITY").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_OUTDUPL_POINTER_SHAPE_TYPE(pub i32);
impl ::core::marker::Copy for D3DKMT_OUTDUPL_POINTER_SHAPE_TYPE {}
impl ::core::clone::Clone for D3DKMT_OUTDUPL_POINTER_SHAPE_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_OUTDUPL_POINTER_SHAPE_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_OUTDUPL_POINTER_SHAPE_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_OUTDUPL_POINTER_SHAPE_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_OUTDUPL_POINTER_SHAPE_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_OUTPUTDUPL_METADATATYPE(pub i32);
impl ::core::marker::Copy for D3DKMT_OUTPUTDUPL_METADATATYPE {}
impl ::core::clone::Clone for D3DKMT_OUTPUTDUPL_METADATATYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_OUTPUTDUPL_METADATATYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_OUTPUTDUPL_METADATATYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_OUTPUTDUPL_METADATATYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_OUTPUTDUPL_METADATATYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_PNP_KEY_TYPE(pub i32);
impl ::core::marker::Copy for D3DKMT_PNP_KEY_TYPE {}
impl ::core::clone::Clone for D3DKMT_PNP_KEY_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_PNP_KEY_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_PNP_KEY_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_PNP_KEY_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_PNP_KEY_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_PRESENT_MODEL(pub i32);
impl ::core::marker::Copy for D3DKMT_PRESENT_MODEL {}
impl ::core::clone::Clone for D3DKMT_PRESENT_MODEL {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_PRESENT_MODEL {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_PRESENT_MODEL {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_PRESENT_MODEL {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_PRESENT_MODEL").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_PROCESS_VERIFIER_OPTION_TYPE(pub i32);
impl ::core::marker::Copy for D3DKMT_PROCESS_VERIFIER_OPTION_TYPE {}
impl ::core::clone::Clone for D3DKMT_PROCESS_VERIFIER_OPTION_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_PROCESS_VERIFIER_OPTION_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_PROCESS_VERIFIER_OPTION_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_PROCESS_VERIFIER_OPTION_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_PROCESS_VERIFIER_OPTION_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_PROTECTED_SESSION_STATUS(pub i32);
impl ::core::marker::Copy for D3DKMT_PROTECTED_SESSION_STATUS {}
impl ::core::clone::Clone for D3DKMT_PROTECTED_SESSION_STATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_PROTECTED_SESSION_STATUS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_PROTECTED_SESSION_STATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_PROTECTED_SESSION_STATUS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_PROTECTED_SESSION_STATUS").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT(pub i32);
impl ::core::marker::Copy for D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT {}
impl ::core::clone::Clone for D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_QUERYRESULT_PREEMPTION_ATTEMPT_RESULT").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS(pub i32);
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_QUERYSTATISTICS_ALLOCATION_PRIORITY_CLASS").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE(pub i32);
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE(pub i32);
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_QUERYSTATISTICS_SEGMENT_TYPE(pub i32);
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_SEGMENT_TYPE {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_SEGMENT_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_SEGMENT_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_SEGMENT_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_SEGMENT_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_QUERYSTATISTICS_SEGMENT_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_QUERYSTATISTICS_TYPE(pub i32);
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_TYPE {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_QUERYSTATISTICS_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_QUEUEDLIMIT_TYPE(pub i32);
impl ::core::marker::Copy for D3DKMT_QUEUEDLIMIT_TYPE {}
impl ::core::clone::Clone for D3DKMT_QUEUEDLIMIT_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_QUEUEDLIMIT_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_QUEUEDLIMIT_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_QUEUEDLIMIT_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_QUEUEDLIMIT_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_SCHEDULINGPRIORITYCLASS(pub i32);
impl ::core::marker::Copy for D3DKMT_SCHEDULINGPRIORITYCLASS {}
impl ::core::clone::Clone for D3DKMT_SCHEDULINGPRIORITYCLASS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_SCHEDULINGPRIORITYCLASS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_SCHEDULINGPRIORITYCLASS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_SCHEDULINGPRIORITYCLASS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_SCHEDULINGPRIORITYCLASS").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_STANDARDALLOCATIONTYPE(pub i32);
impl ::core::marker::Copy for D3DKMT_STANDARDALLOCATIONTYPE {}
impl ::core::clone::Clone for D3DKMT_STANDARDALLOCATIONTYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_STANDARDALLOCATIONTYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_STANDARDALLOCATIONTYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_STANDARDALLOCATIONTYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_STANDARDALLOCATIONTYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_TDRDBGCTRLTYPE(pub i32);
impl ::core::marker::Copy for D3DKMT_TDRDBGCTRLTYPE {}
impl ::core::clone::Clone for D3DKMT_TDRDBGCTRLTYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_TDRDBGCTRLTYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_TDRDBGCTRLTYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_TDRDBGCTRLTYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_TDRDBGCTRLTYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_VAD_ESCAPE_COMMAND(pub i32);
impl ::core::marker::Copy for D3DKMT_VAD_ESCAPE_COMMAND {}
impl ::core::clone::Clone for D3DKMT_VAD_ESCAPE_COMMAND {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_VAD_ESCAPE_COMMAND {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_VAD_ESCAPE_COMMAND {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_VAD_ESCAPE_COMMAND {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_VAD_ESCAPE_COMMAND").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_VERIFIER_OPTION_MODE(pub i32);
impl ::core::marker::Copy for D3DKMT_VERIFIER_OPTION_MODE {}
impl ::core::clone::Clone for D3DKMT_VERIFIER_OPTION_MODE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_VERIFIER_OPTION_MODE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_VERIFIER_OPTION_MODE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_VERIFIER_OPTION_MODE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_VERIFIER_OPTION_MODE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_VIDMMESCAPETYPE(pub i32);
impl ::core::marker::Copy for D3DKMT_VIDMMESCAPETYPE {}
impl ::core::clone::Clone for D3DKMT_VIDMMESCAPETYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_VIDMMESCAPETYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_VIDMMESCAPETYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_VIDMMESCAPETYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_VIDMMESCAPETYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_VIDPNSOURCEOWNER_TYPE(pub i32);
impl ::core::marker::Copy for D3DKMT_VIDPNSOURCEOWNER_TYPE {}
impl ::core::clone::Clone for D3DKMT_VIDPNSOURCEOWNER_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_VIDPNSOURCEOWNER_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_VIDPNSOURCEOWNER_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_VIDPNSOURCEOWNER_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_VIDPNSOURCEOWNER_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DKMT_VIDSCHESCAPETYPE(pub i32);
impl ::core::marker::Copy for D3DKMT_VIDSCHESCAPETYPE {}
impl ::core::clone::Clone for D3DKMT_VIDSCHESCAPETYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DKMT_VIDSCHESCAPETYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DKMT_VIDSCHESCAPETYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DKMT_VIDSCHESCAPETYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DKMT_VIDSCHESCAPETYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DNTHAL_DP2OPERATION(pub i32);
impl ::core::marker::Copy for D3DNTHAL_DP2OPERATION {}
impl ::core::clone::Clone for D3DNTHAL_DP2OPERATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DNTHAL_DP2OPERATION {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2OPERATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DNTHAL_DP2OPERATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DNTHAL_DP2OPERATION").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3DVSD_TOKENTYPE(pub i32);
impl ::core::marker::Copy for D3DVSD_TOKENTYPE {}
impl ::core::clone::Clone for D3DVSD_TOKENTYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3DVSD_TOKENTYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3DVSD_TOKENTYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3DVSD_TOKENTYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3DVSD_TOKENTYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO(pub i32);
impl ::core::marker::Copy for DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO {}
impl ::core::clone::Clone for DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DISPLAYID_DETAILED_TIMING_TYPE_I_ASPECT_RATIO").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DISPLAYID_DETAILED_TIMING_TYPE_I_SCANNING_MODE(pub i32);
impl ::core::marker::Copy for DISPLAYID_DETAILED_TIMING_TYPE_I_SCANNING_MODE {}
impl ::core::clone::Clone for DISPLAYID_DETAILED_TIMING_TYPE_I_SCANNING_MODE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DISPLAYID_DETAILED_TIMING_TYPE_I_SCANNING_MODE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DISPLAYID_DETAILED_TIMING_TYPE_I_SCANNING_MODE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DISPLAYID_DETAILED_TIMING_TYPE_I_SCANNING_MODE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DISPLAYID_DETAILED_TIMING_TYPE_I_SCANNING_MODE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DISPLAYID_DETAILED_TIMING_TYPE_I_STEREO_MODE(pub i32);
impl ::core::marker::Copy for DISPLAYID_DETAILED_TIMING_TYPE_I_STEREO_MODE {}
impl ::core::clone::Clone for DISPLAYID_DETAILED_TIMING_TYPE_I_STEREO_MODE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DISPLAYID_DETAILED_TIMING_TYPE_I_STEREO_MODE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DISPLAYID_DETAILED_TIMING_TYPE_I_STEREO_MODE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DISPLAYID_DETAILED_TIMING_TYPE_I_STEREO_MODE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DISPLAYID_DETAILED_TIMING_TYPE_I_STEREO_MODE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DISPLAYID_DETAILED_TIMING_TYPE_I_SYNC_POLARITY(pub i32);
impl ::core::marker::Copy for DISPLAYID_DETAILED_TIMING_TYPE_I_SYNC_POLARITY {}
impl ::core::clone::Clone for DISPLAYID_DETAILED_TIMING_TYPE_I_SYNC_POLARITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DISPLAYID_DETAILED_TIMING_TYPE_I_SYNC_POLARITY {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DISPLAYID_DETAILED_TIMING_TYPE_I_SYNC_POLARITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DISPLAYID_DETAILED_TIMING_TYPE_I_SYNC_POLARITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DISPLAYID_DETAILED_TIMING_TYPE_I_SYNC_POLARITY").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGKDT_OPM_DVI_CHARACTERISTICS(pub i32);
impl ::core::marker::Copy for DXGKDT_OPM_DVI_CHARACTERISTICS {}
impl ::core::clone::Clone for DXGKDT_OPM_DVI_CHARACTERISTICS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGKDT_OPM_DVI_CHARACTERISTICS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGKDT_OPM_DVI_CHARACTERISTICS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGKDT_OPM_DVI_CHARACTERISTICS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGKDT_OPM_DVI_CHARACTERISTICS").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGKMDT_CERTIFICATE_TYPE(pub i32);
impl ::core::marker::Copy for DXGKMDT_CERTIFICATE_TYPE {}
impl ::core::clone::Clone for DXGKMDT_CERTIFICATE_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGKMDT_CERTIFICATE_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGKMDT_CERTIFICATE_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGKMDT_CERTIFICATE_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGKMDT_CERTIFICATE_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGKMDT_OPM_ACP_PROTECTION_LEVEL(pub i32);
impl ::core::marker::Copy for DXGKMDT_OPM_ACP_PROTECTION_LEVEL {}
impl ::core::clone::Clone for DXGKMDT_OPM_ACP_PROTECTION_LEVEL {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGKMDT_OPM_ACP_PROTECTION_LEVEL {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_ACP_PROTECTION_LEVEL {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGKMDT_OPM_ACP_PROTECTION_LEVEL {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGKMDT_OPM_ACP_PROTECTION_LEVEL").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION(pub i32);
impl ::core::marker::Copy for DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION {}
impl ::core::clone::Clone for DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGKMDT_OPM_BUS_TYPE_AND_IMPLEMENTATION").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGKMDT_OPM_CGMSA(pub i32);
impl ::core::marker::Copy for DXGKMDT_OPM_CGMSA {}
impl ::core::clone::Clone for DXGKMDT_OPM_CGMSA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGKMDT_OPM_CGMSA {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_CGMSA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGKMDT_OPM_CGMSA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGKMDT_OPM_CGMSA").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGKMDT_OPM_CONNECTOR_TYPE(pub i32);
impl ::core::marker::Copy for DXGKMDT_OPM_CONNECTOR_TYPE {}
impl ::core::clone::Clone for DXGKMDT_OPM_CONNECTOR_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGKMDT_OPM_CONNECTOR_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_CONNECTOR_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGKMDT_OPM_CONNECTOR_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGKMDT_OPM_CONNECTOR_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGKMDT_OPM_DPCP_PROTECTION_LEVEL(pub i32);
impl ::core::marker::Copy for DXGKMDT_OPM_DPCP_PROTECTION_LEVEL {}
impl ::core::clone::Clone for DXGKMDT_OPM_DPCP_PROTECTION_LEVEL {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGKMDT_OPM_DPCP_PROTECTION_LEVEL {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_DPCP_PROTECTION_LEVEL {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGKMDT_OPM_DPCP_PROTECTION_LEVEL {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGKMDT_OPM_DPCP_PROTECTION_LEVEL").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGKMDT_OPM_HDCP_FLAG(pub i32);
impl ::core::marker::Copy for DXGKMDT_OPM_HDCP_FLAG {}
impl ::core::clone::Clone for DXGKMDT_OPM_HDCP_FLAG {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGKMDT_OPM_HDCP_FLAG {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_HDCP_FLAG {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGKMDT_OPM_HDCP_FLAG {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGKMDT_OPM_HDCP_FLAG").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGKMDT_OPM_HDCP_PROTECTION_LEVEL(pub i32);
impl ::core::marker::Copy for DXGKMDT_OPM_HDCP_PROTECTION_LEVEL {}
impl ::core::clone::Clone for DXGKMDT_OPM_HDCP_PROTECTION_LEVEL {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGKMDT_OPM_HDCP_PROTECTION_LEVEL {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_HDCP_PROTECTION_LEVEL {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGKMDT_OPM_HDCP_PROTECTION_LEVEL {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGKMDT_OPM_HDCP_PROTECTION_LEVEL").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294(pub i32);
impl ::core::marker::Copy for DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294 {}
impl ::core::clone::Clone for DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294 {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGKMDT_OPM_IMAGE_ASPECT_RATIO_EN300294").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGKMDT_OPM_INTERLEAVE_FORMAT(pub i32);
impl ::core::marker::Copy for DXGKMDT_OPM_INTERLEAVE_FORMAT {}
impl ::core::clone::Clone for DXGKMDT_OPM_INTERLEAVE_FORMAT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGKMDT_OPM_INTERLEAVE_FORMAT {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_INTERLEAVE_FORMAT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGKMDT_OPM_INTERLEAVE_FORMAT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGKMDT_OPM_INTERLEAVE_FORMAT").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGKMDT_OPM_OUTPUT_HARDWARE_PROTECTION(pub i32);
impl ::core::marker::Copy for DXGKMDT_OPM_OUTPUT_HARDWARE_PROTECTION {}
impl ::core::clone::Clone for DXGKMDT_OPM_OUTPUT_HARDWARE_PROTECTION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGKMDT_OPM_OUTPUT_HARDWARE_PROTECTION {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_OUTPUT_HARDWARE_PROTECTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGKMDT_OPM_OUTPUT_HARDWARE_PROTECTION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGKMDT_OPM_OUTPUT_HARDWARE_PROTECTION").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGKMDT_OPM_PROTECTION_STANDARD(pub i32);
impl ::core::marker::Copy for DXGKMDT_OPM_PROTECTION_STANDARD {}
impl ::core::clone::Clone for DXGKMDT_OPM_PROTECTION_STANDARD {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGKMDT_OPM_PROTECTION_STANDARD {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_PROTECTION_STANDARD {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGKMDT_OPM_PROTECTION_STANDARD {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGKMDT_OPM_PROTECTION_STANDARD").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGKMDT_OPM_PROTECTION_TYPE(pub i32);
impl ::core::marker::Copy for DXGKMDT_OPM_PROTECTION_TYPE {}
impl ::core::clone::Clone for DXGKMDT_OPM_PROTECTION_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGKMDT_OPM_PROTECTION_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_PROTECTION_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGKMDT_OPM_PROTECTION_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGKMDT_OPM_PROTECTION_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGKMDT_OPM_STATUS(pub i32);
impl ::core::marker::Copy for DXGKMDT_OPM_STATUS {}
impl ::core::clone::Clone for DXGKMDT_OPM_STATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGKMDT_OPM_STATUS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_STATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGKMDT_OPM_STATUS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGKMDT_OPM_STATUS").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGKMDT_OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL(pub i32);
impl ::core::marker::Copy for DXGKMDT_OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL {}
impl ::core::clone::Clone for DXGKMDT_OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGKMDT_OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGKMDT_OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGKMDT_OPM_TYPE_ENFORCEMENT_HDCP_PROTECTION_LEVEL").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGKMDT_OPM_VIDEO_OUTPUT_SEMANTICS(pub i32);
impl ::core::marker::Copy for DXGKMDT_OPM_VIDEO_OUTPUT_SEMANTICS {}
impl ::core::clone::Clone for DXGKMDT_OPM_VIDEO_OUTPUT_SEMANTICS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGKMDT_OPM_VIDEO_OUTPUT_SEMANTICS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_VIDEO_OUTPUT_SEMANTICS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGKMDT_OPM_VIDEO_OUTPUT_SEMANTICS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGKMDT_OPM_VIDEO_OUTPUT_SEMANTICS").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_MODE(pub i32);
impl ::core::marker::Copy for DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_MODE {}
impl ::core::clone::Clone for DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_MODE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_MODE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_MODE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_MODE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_MODE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGKMT_MULTIPLANE_OVERLAY_STRETCH_QUALITY(pub i32);
impl ::core::marker::Copy for DXGKMT_MULTIPLANE_OVERLAY_STRETCH_QUALITY {}
impl ::core::clone::Clone for DXGKMT_MULTIPLANE_OVERLAY_STRETCH_QUALITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGKMT_MULTIPLANE_OVERLAY_STRETCH_QUALITY {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGKMT_MULTIPLANE_OVERLAY_STRETCH_QUALITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGKMT_MULTIPLANE_OVERLAY_STRETCH_QUALITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGKMT_MULTIPLANE_OVERLAY_STRETCH_QUALITY").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGKMT_POWER_SHARED_TYPE(pub i32);
impl ::core::marker::Copy for DXGKMT_POWER_SHARED_TYPE {}
impl ::core::clone::Clone for DXGKMT_POWER_SHARED_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGKMT_POWER_SHARED_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGKMT_POWER_SHARED_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGKMT_POWER_SHARED_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGKMT_POWER_SHARED_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGKVGPU_ESCAPE_TYPE(pub i32);
impl ::core::marker::Copy for DXGKVGPU_ESCAPE_TYPE {}
impl ::core::clone::Clone for DXGKVGPU_ESCAPE_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGKVGPU_ESCAPE_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGKVGPU_ESCAPE_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGKVGPU_ESCAPE_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGKVGPU_ESCAPE_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGK_BACKLIGHT_OPTIMIZATION_LEVEL(pub i32);
impl ::core::marker::Copy for DXGK_BACKLIGHT_OPTIMIZATION_LEVEL {}
impl ::core::clone::Clone for DXGK_BACKLIGHT_OPTIMIZATION_LEVEL {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGK_BACKLIGHT_OPTIMIZATION_LEVEL {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGK_BACKLIGHT_OPTIMIZATION_LEVEL {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGK_BACKLIGHT_OPTIMIZATION_LEVEL {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGK_BACKLIGHT_OPTIMIZATION_LEVEL").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGK_CHILD_DEVICE_HPD_AWARENESS(pub i32);
impl ::core::marker::Copy for DXGK_CHILD_DEVICE_HPD_AWARENESS {}
impl ::core::clone::Clone for DXGK_CHILD_DEVICE_HPD_AWARENESS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGK_CHILD_DEVICE_HPD_AWARENESS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGK_CHILD_DEVICE_HPD_AWARENESS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGK_CHILD_DEVICE_HPD_AWARENESS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGK_CHILD_DEVICE_HPD_AWARENESS").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGK_DISPLAY_DESCRIPTOR_TYPE(pub u8);
impl ::core::marker::Copy for DXGK_DISPLAY_DESCRIPTOR_TYPE {}
impl ::core::clone::Clone for DXGK_DISPLAY_DESCRIPTOR_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGK_DISPLAY_DESCRIPTOR_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGK_DISPLAY_DESCRIPTOR_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGK_DISPLAY_DESCRIPTOR_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGK_DISPLAY_DESCRIPTOR_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGK_DISPLAY_TECHNOLOGY(pub u8);
impl ::core::marker::Copy for DXGK_DISPLAY_TECHNOLOGY {}
impl ::core::clone::Clone for DXGK_DISPLAY_TECHNOLOGY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGK_DISPLAY_TECHNOLOGY {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGK_DISPLAY_TECHNOLOGY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGK_DISPLAY_TECHNOLOGY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGK_DISPLAY_TECHNOLOGY").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGK_DISPLAY_USAGE(pub u8);
impl ::core::marker::Copy for DXGK_DISPLAY_USAGE {}
impl ::core::clone::Clone for DXGK_DISPLAY_USAGE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGK_DISPLAY_USAGE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGK_DISPLAY_USAGE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGK_DISPLAY_USAGE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGK_DISPLAY_USAGE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGK_ENGINE_TYPE(pub i32);
impl ::core::marker::Copy for DXGK_ENGINE_TYPE {}
impl ::core::clone::Clone for DXGK_ENGINE_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGK_ENGINE_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGK_ENGINE_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGK_ENGINE_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGK_ENGINE_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGK_GENERAL_ERROR_CODE(pub i32);
impl ::core::marker::Copy for DXGK_GENERAL_ERROR_CODE {}
impl ::core::clone::Clone for DXGK_GENERAL_ERROR_CODE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGK_GENERAL_ERROR_CODE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGK_GENERAL_ERROR_CODE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGK_GENERAL_ERROR_CODE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGK_GENERAL_ERROR_CODE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGK_MIRACAST_CHUNK_TYPE(pub i32);
impl ::core::marker::Copy for DXGK_MIRACAST_CHUNK_TYPE {}
impl ::core::clone::Clone for DXGK_MIRACAST_CHUNK_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGK_MIRACAST_CHUNK_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGK_MIRACAST_CHUNK_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGK_MIRACAST_CHUNK_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGK_MIRACAST_CHUNK_TYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGK_PAGE_FAULT_FLAGS(pub i32);
impl ::core::marker::Copy for DXGK_PAGE_FAULT_FLAGS {}
impl ::core::clone::Clone for DXGK_PAGE_FAULT_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGK_PAGE_FAULT_FLAGS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGK_PAGE_FAULT_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGK_PAGE_FAULT_FLAGS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGK_PAGE_FAULT_FLAGS").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGK_PTE_PAGE_SIZE(pub i32);
impl ::core::marker::Copy for DXGK_PTE_PAGE_SIZE {}
impl ::core::clone::Clone for DXGK_PTE_PAGE_SIZE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGK_PTE_PAGE_SIZE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGK_PTE_PAGE_SIZE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGK_PTE_PAGE_SIZE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGK_PTE_PAGE_SIZE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DXGK_RENDER_PIPELINE_STAGE(pub i32);
impl ::core::marker::Copy for DXGK_RENDER_PIPELINE_STAGE {}
impl ::core::clone::Clone for DXGK_RENDER_PIPELINE_STAGE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DXGK_RENDER_PIPELINE_STAGE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DXGK_RENDER_PIPELINE_STAGE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DXGK_RENDER_PIPELINE_STAGE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DXGK_RENDER_PIPELINE_STAGE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct KMTQUERYADAPTERINFOTYPE(pub i32);
impl ::core::marker::Copy for KMTQUERYADAPTERINFOTYPE {}
impl ::core::clone::Clone for KMTQUERYADAPTERINFOTYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for KMTQUERYADAPTERINFOTYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for KMTQUERYADAPTERINFOTYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for KMTQUERYADAPTERINFOTYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("KMTQUERYADAPTERINFOTYPE").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct KMTUMDVERSION(pub i32);
impl ::core::marker::Copy for KMTUMDVERSION {}
impl ::core::clone::Clone for KMTUMDVERSION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for KMTUMDVERSION {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for KMTUMDVERSION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for KMTUMDVERSION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("KMTUMDVERSION").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct KMT_DISPLAY_UMD_VERSION(pub i32);
impl ::core::marker::Copy for KMT_DISPLAY_UMD_VERSION {}
impl ::core::clone::Clone for KMT_DISPLAY_UMD_VERSION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for KMT_DISPLAY_UMD_VERSION {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for KMT_DISPLAY_UMD_VERSION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for KMT_DISPLAY_UMD_VERSION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("KMT_DISPLAY_UMD_VERSION").field(&self.0).finish()
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct OUTPUTDUPL_CONTEXT_DEBUG_STATUS(pub i32);
impl ::core::marker::Copy for OUTPUTDUPL_CONTEXT_DEBUG_STATUS {}
impl ::core::clone::Clone for OUTPUTDUPL_CONTEXT_DEBUG_STATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for OUTPUTDUPL_CONTEXT_DEBUG_STATUS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for OUTPUTDUPL_CONTEXT_DEBUG_STATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for OUTPUTDUPL_CONTEXT_DEBUG_STATUS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("OUTPUTDUPL_CONTEXT_DEBUG_STATUS").field(&self.0).finish()
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DCAPS8 {
pub DeviceType: super::super::super::Win32::Graphics::Direct3D9::D3DDEVTYPE,
pub AdapterOrdinal: u32,
pub Caps: u32,
pub Caps2: u32,
pub Caps3: u32,
pub PresentationIntervals: u32,
pub CursorCaps: u32,
pub DevCaps: u32,
pub PrimitiveMiscCaps: u32,
pub RasterCaps: u32,
pub ZCmpCaps: u32,
pub SrcBlendCaps: u32,
pub DestBlendCaps: u32,
pub AlphaCmpCaps: u32,
pub ShadeCaps: u32,
pub TextureCaps: u32,
pub TextureFilterCaps: u32,
pub CubeTextureFilterCaps: u32,
pub VolumeTextureFilterCaps: u32,
pub TextureAddressCaps: u32,
pub VolumeTextureAddressCaps: u32,
pub LineCaps: u32,
pub MaxTextureWidth: u32,
pub MaxTextureHeight: u32,
pub MaxVolumeExtent: u32,
pub MaxTextureRepeat: u32,
pub MaxTextureAspectRatio: u32,
pub MaxAnisotropy: u32,
pub MaxVertexW: f32,
pub GuardBandLeft: f32,
pub GuardBandTop: f32,
pub GuardBandRight: f32,
pub GuardBandBottom: f32,
pub ExtentsAdjust: f32,
pub StencilCaps: u32,
pub FVFCaps: u32,
pub TextureOpCaps: u32,
pub MaxTextureBlendStages: u32,
pub MaxSimultaneousTextures: u32,
pub VertexProcessingCaps: u32,
pub MaxActiveLights: u32,
pub MaxUserClipPlanes: u32,
pub MaxVertexBlendMatrices: u32,
pub MaxVertexBlendMatrixIndex: u32,
pub MaxPointSize: f32,
pub MaxPrimitiveCount: u32,
pub MaxVertexIndex: u32,
pub MaxStreams: u32,
pub MaxStreamStride: u32,
pub VertexShaderVersion: u32,
pub MaxVertexShaderConst: u32,
pub PixelShaderVersion: u32,
pub MaxPixelShaderValue: f32,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DCAPS8 {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DCAPS8 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DCAPS8 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DCAPS8")
.field("DeviceType", &self.DeviceType)
.field("AdapterOrdinal", &self.AdapterOrdinal)
.field("Caps", &self.Caps)
.field("Caps2", &self.Caps2)
.field("Caps3", &self.Caps3)
.field("PresentationIntervals", &self.PresentationIntervals)
.field("CursorCaps", &self.CursorCaps)
.field("DevCaps", &self.DevCaps)
.field("PrimitiveMiscCaps", &self.PrimitiveMiscCaps)
.field("RasterCaps", &self.RasterCaps)
.field("ZCmpCaps", &self.ZCmpCaps)
.field("SrcBlendCaps", &self.SrcBlendCaps)
.field("DestBlendCaps", &self.DestBlendCaps)
.field("AlphaCmpCaps", &self.AlphaCmpCaps)
.field("ShadeCaps", &self.ShadeCaps)
.field("TextureCaps", &self.TextureCaps)
.field("TextureFilterCaps", &self.TextureFilterCaps)
.field("CubeTextureFilterCaps", &self.CubeTextureFilterCaps)
.field("VolumeTextureFilterCaps", &self.VolumeTextureFilterCaps)
.field("TextureAddressCaps", &self.TextureAddressCaps)
.field("VolumeTextureAddressCaps", &self.VolumeTextureAddressCaps)
.field("LineCaps", &self.LineCaps)
.field("MaxTextureWidth", &self.MaxTextureWidth)
.field("MaxTextureHeight", &self.MaxTextureHeight)
.field("MaxVolumeExtent", &self.MaxVolumeExtent)
.field("MaxTextureRepeat", &self.MaxTextureRepeat)
.field("MaxTextureAspectRatio", &self.MaxTextureAspectRatio)
.field("MaxAnisotropy", &self.MaxAnisotropy)
.field("MaxVertexW", &self.MaxVertexW)
.field("GuardBandLeft", &self.GuardBandLeft)
.field("GuardBandTop", &self.GuardBandTop)
.field("GuardBandRight", &self.GuardBandRight)
.field("GuardBandBottom", &self.GuardBandBottom)
.field("ExtentsAdjust", &self.ExtentsAdjust)
.field("StencilCaps", &self.StencilCaps)
.field("FVFCaps", &self.FVFCaps)
.field("TextureOpCaps", &self.TextureOpCaps)
.field("MaxTextureBlendStages", &self.MaxTextureBlendStages)
.field("MaxSimultaneousTextures", &self.MaxSimultaneousTextures)
.field("VertexProcessingCaps", &self.VertexProcessingCaps)
.field("MaxActiveLights", &self.MaxActiveLights)
.field("MaxUserClipPlanes", &self.MaxUserClipPlanes)
.field("MaxVertexBlendMatrices", &self.MaxVertexBlendMatrices)
.field("MaxVertexBlendMatrixIndex", &self.MaxVertexBlendMatrixIndex)
.field("MaxPointSize", &self.MaxPointSize)
.field("MaxPrimitiveCount", &self.MaxPrimitiveCount)
.field("MaxVertexIndex", &self.MaxVertexIndex)
.field("MaxStreams", &self.MaxStreams)
.field("MaxStreamStride", &self.MaxStreamStride)
.field("VertexShaderVersion", &self.VertexShaderVersion)
.field("MaxVertexShaderConst", &self.MaxVertexShaderConst)
.field("PixelShaderVersion", &self.PixelShaderVersion)
.field("MaxPixelShaderValue", &self.MaxPixelShaderValue)
.finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DCAPS8 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DCAPS8 {
fn eq(&self, other: &Self) -> bool {
self.DeviceType == other.DeviceType
&& self.AdapterOrdinal == other.AdapterOrdinal
&& self.Caps == other.Caps
&& self.Caps2 == other.Caps2
&& self.Caps3 == other.Caps3
&& self.PresentationIntervals == other.PresentationIntervals
&& self.CursorCaps == other.CursorCaps
&& self.DevCaps == other.DevCaps
&& self.PrimitiveMiscCaps == other.PrimitiveMiscCaps
&& self.RasterCaps == other.RasterCaps
&& self.ZCmpCaps == other.ZCmpCaps
&& self.SrcBlendCaps == other.SrcBlendCaps
&& self.DestBlendCaps == other.DestBlendCaps
&& self.AlphaCmpCaps == other.AlphaCmpCaps
&& self.ShadeCaps == other.ShadeCaps
&& self.TextureCaps == other.TextureCaps
&& self.TextureFilterCaps == other.TextureFilterCaps
&& self.CubeTextureFilterCaps == other.CubeTextureFilterCaps
&& self.VolumeTextureFilterCaps == other.VolumeTextureFilterCaps
&& self.TextureAddressCaps == other.TextureAddressCaps
&& self.VolumeTextureAddressCaps == other.VolumeTextureAddressCaps
&& self.LineCaps == other.LineCaps
&& self.MaxTextureWidth == other.MaxTextureWidth
&& self.MaxTextureHeight == other.MaxTextureHeight
&& self.MaxVolumeExtent == other.MaxVolumeExtent
&& self.MaxTextureRepeat == other.MaxTextureRepeat
&& self.MaxTextureAspectRatio == other.MaxTextureAspectRatio
&& self.MaxAnisotropy == other.MaxAnisotropy
&& self.MaxVertexW == other.MaxVertexW
&& self.GuardBandLeft == other.GuardBandLeft
&& self.GuardBandTop == other.GuardBandTop
&& self.GuardBandRight == other.GuardBandRight
&& self.GuardBandBottom == other.GuardBandBottom
&& self.ExtentsAdjust == other.ExtentsAdjust
&& self.StencilCaps == other.StencilCaps
&& self.FVFCaps == other.FVFCaps
&& self.TextureOpCaps == other.TextureOpCaps
&& self.MaxTextureBlendStages == other.MaxTextureBlendStages
&& self.MaxSimultaneousTextures == other.MaxSimultaneousTextures
&& self.VertexProcessingCaps == other.VertexProcessingCaps
&& self.MaxActiveLights == other.MaxActiveLights
&& self.MaxUserClipPlanes == other.MaxUserClipPlanes
&& self.MaxVertexBlendMatrices == other.MaxVertexBlendMatrices
&& self.MaxVertexBlendMatrixIndex == other.MaxVertexBlendMatrixIndex
&& self.MaxPointSize == other.MaxPointSize
&& self.MaxPrimitiveCount == other.MaxPrimitiveCount
&& self.MaxVertexIndex == other.MaxVertexIndex
&& self.MaxStreams == other.MaxStreams
&& self.MaxStreamStride == other.MaxStreamStride
&& self.VertexShaderVersion == other.VertexShaderVersion
&& self.MaxVertexShaderConst == other.MaxVertexShaderConst
&& self.PixelShaderVersion == other.PixelShaderVersion
&& self.MaxPixelShaderValue == other.MaxPixelShaderValue
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DCAPS8 {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DCAPS8 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DDDIARG_CREATERESOURCE {
pub Format: D3DDDIFORMAT,
pub Pool: D3DDDI_POOL,
pub MultisampleType: D3DDDIMULTISAMPLE_TYPE,
pub MultisampleQuality: u32,
pub pSurfList: *const D3DDDI_SURFACEINFO,
pub SurfCount: u32,
pub MipLevels: u32,
pub Fvf: u32,
pub VidPnSourceId: u32,
pub RefreshRate: D3DDDI_RATIONAL,
pub hResource: super::super::super::Win32::Foundation::HANDLE,
pub Flags: D3DDDI_RESOURCEFLAGS,
pub Rotation: D3DDDI_ROTATION,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DDDIARG_CREATERESOURCE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DDDIARG_CREATERESOURCE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DDDIARG_CREATERESOURCE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DDDIARG_CREATERESOURCE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DDDIARG_CREATERESOURCE2 {
pub Format: D3DDDIFORMAT,
pub Pool: D3DDDI_POOL,
pub MultisampleType: D3DDDIMULTISAMPLE_TYPE,
pub MultisampleQuality: u32,
pub pSurfList: *const D3DDDI_SURFACEINFO,
pub SurfCount: u32,
pub MipLevels: u32,
pub Fvf: u32,
pub VidPnSourceId: u32,
pub RefreshRate: D3DDDI_RATIONAL,
pub hResource: super::super::super::Win32::Foundation::HANDLE,
pub Flags: D3DDDI_RESOURCEFLAGS,
pub Rotation: D3DDDI_ROTATION,
pub Flags2: D3DDDI_RESOURCEFLAGS2,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DDDIARG_CREATERESOURCE2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DDDIARG_CREATERESOURCE2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DDDIARG_CREATERESOURCE2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DDDIARG_CREATERESOURCE2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDICB_DESTROYALLOCATION2FLAGS {
pub Anonymous: D3DDDICB_DESTROYALLOCATION2FLAGS_0,
}
impl ::core::marker::Copy for D3DDDICB_DESTROYALLOCATION2FLAGS {}
impl ::core::clone::Clone for D3DDDICB_DESTROYALLOCATION2FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDICB_DESTROYALLOCATION2FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDICB_DESTROYALLOCATION2FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDICB_DESTROYALLOCATION2FLAGS_0 {
pub Anonymous: D3DDDICB_DESTROYALLOCATION2FLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DDDICB_DESTROYALLOCATION2FLAGS_0 {}
impl ::core::clone::Clone for D3DDDICB_DESTROYALLOCATION2FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDICB_DESTROYALLOCATION2FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDICB_DESTROYALLOCATION2FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDICB_DESTROYALLOCATION2FLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DDDICB_DESTROYALLOCATION2FLAGS_0_0 {}
impl ::core::clone::Clone for D3DDDICB_DESTROYALLOCATION2FLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDICB_DESTROYALLOCATION2FLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDICB_DESTROYALLOCATION2FLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DDDICB_DESTROYALLOCATION2FLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDICB_DESTROYALLOCATION2FLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DDDICB_DESTROYALLOCATION2FLAGS_0_0 {}
impl ::core::default::Default for D3DDDICB_DESTROYALLOCATION2FLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDICB_LOCK2FLAGS {
pub Anonymous: D3DDDICB_LOCK2FLAGS_0,
}
impl ::core::marker::Copy for D3DDDICB_LOCK2FLAGS {}
impl ::core::clone::Clone for D3DDDICB_LOCK2FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDICB_LOCK2FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDICB_LOCK2FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDICB_LOCK2FLAGS_0 {
pub Anonymous: D3DDDICB_LOCK2FLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DDDICB_LOCK2FLAGS_0 {}
impl ::core::clone::Clone for D3DDDICB_LOCK2FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDICB_LOCK2FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDICB_LOCK2FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDICB_LOCK2FLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DDDICB_LOCK2FLAGS_0_0 {}
impl ::core::clone::Clone for D3DDDICB_LOCK2FLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDICB_LOCK2FLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDICB_LOCK2FLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DDDICB_LOCK2FLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDICB_LOCK2FLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DDDICB_LOCK2FLAGS_0_0 {}
impl ::core::default::Default for D3DDDICB_LOCK2FLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDICB_LOCKFLAGS {
pub Anonymous: D3DDDICB_LOCKFLAGS_0,
}
impl ::core::marker::Copy for D3DDDICB_LOCKFLAGS {}
impl ::core::clone::Clone for D3DDDICB_LOCKFLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDICB_LOCKFLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDICB_LOCKFLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDICB_LOCKFLAGS_0 {
pub Anonymous: D3DDDICB_LOCKFLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DDDICB_LOCKFLAGS_0 {}
impl ::core::clone::Clone for D3DDDICB_LOCKFLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDICB_LOCKFLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDICB_LOCKFLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDICB_LOCKFLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DDDICB_LOCKFLAGS_0_0 {}
impl ::core::clone::Clone for D3DDDICB_LOCKFLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDICB_LOCKFLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDICB_LOCKFLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DDDICB_LOCKFLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDICB_LOCKFLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DDDICB_LOCKFLAGS_0_0 {}
impl ::core::default::Default for D3DDDICB_LOCKFLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDICB_SIGNALFLAGS {
pub Anonymous: D3DDDICB_SIGNALFLAGS_0,
}
impl ::core::marker::Copy for D3DDDICB_SIGNALFLAGS {}
impl ::core::clone::Clone for D3DDDICB_SIGNALFLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDICB_SIGNALFLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDICB_SIGNALFLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDICB_SIGNALFLAGS_0 {
pub Anonymous: D3DDDICB_SIGNALFLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DDDICB_SIGNALFLAGS_0 {}
impl ::core::clone::Clone for D3DDDICB_SIGNALFLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDICB_SIGNALFLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDICB_SIGNALFLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDICB_SIGNALFLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DDDICB_SIGNALFLAGS_0_0 {}
impl ::core::clone::Clone for D3DDDICB_SIGNALFLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDICB_SIGNALFLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDICB_SIGNALFLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DDDICB_SIGNALFLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDICB_SIGNALFLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DDDICB_SIGNALFLAGS_0_0 {}
impl ::core::default::Default for D3DDDICB_SIGNALFLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE {
pub Anonymous: D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE_0,
}
impl ::core::marker::Copy for D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE {}
impl ::core::clone::Clone for D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE_0 {
pub Anonymous: D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE_0_0,
pub Value: u64,
}
impl ::core::marker::Copy for D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE_0 {}
impl ::core::clone::Clone for D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE_0_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE_0_0 {}
impl ::core::clone::Clone for D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE_0_0 {}
impl ::core::default::Default for D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDIRECT {
pub left: i32,
pub top: i32,
pub right: i32,
pub bottom: i32,
}
impl ::core::marker::Copy for D3DDDIRECT {}
impl ::core::clone::Clone for D3DDDIRECT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDIRECT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDIRECT").field("left", &self.left).field("top", &self.top).field("right", &self.right).field("bottom", &self.bottom).finish()
}
}
impl ::windows_core::TypeKind for D3DDDIRECT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDIRECT {
fn eq(&self, other: &Self) -> bool {
self.left == other.left && self.top == other.top && self.right == other.right && self.bottom == other.bottom
}
}
impl ::core::cmp::Eq for D3DDDIRECT {}
impl ::core::default::Default for D3DDDIRECT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_ALLOCATIONINFO {
pub hAllocation: u32,
pub pSystemMem: *const ::core::ffi::c_void,
pub pPrivateDriverData: *mut ::core::ffi::c_void,
pub PrivateDriverDataSize: u32,
pub VidPnSourceId: u32,
pub Flags: D3DDDI_ALLOCATIONINFO_0,
}
impl ::core::marker::Copy for D3DDDI_ALLOCATIONINFO {}
impl ::core::clone::Clone for D3DDDI_ALLOCATIONINFO {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_ALLOCATIONINFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_ALLOCATIONINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDI_ALLOCATIONINFO_0 {
pub Anonymous: D3DDDI_ALLOCATIONINFO_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DDDI_ALLOCATIONINFO_0 {}
impl ::core::clone::Clone for D3DDDI_ALLOCATIONINFO_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_ALLOCATIONINFO_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_ALLOCATIONINFO_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_ALLOCATIONINFO_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DDDI_ALLOCATIONINFO_0_0 {}
impl ::core::clone::Clone for D3DDDI_ALLOCATIONINFO_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_ALLOCATIONINFO_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_ALLOCATIONINFO_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_ALLOCATIONINFO_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_ALLOCATIONINFO_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DDDI_ALLOCATIONINFO_0_0 {}
impl ::core::default::Default for D3DDDI_ALLOCATIONINFO_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DDDI_ALLOCATIONINFO2 {
pub hAllocation: u32,
pub Anonymous1: D3DDDI_ALLOCATIONINFO2_0,
pub pPrivateDriverData: *mut ::core::ffi::c_void,
pub PrivateDriverDataSize: u32,
pub VidPnSourceId: u32,
pub Flags: D3DDDI_ALLOCATIONINFO2_2,
pub GpuVirtualAddress: u64,
pub Anonymous2: D3DDDI_ALLOCATIONINFO2_1,
pub Reserved: [usize; 5],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DDDI_ALLOCATIONINFO2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DDDI_ALLOCATIONINFO2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DDDI_ALLOCATIONINFO2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DDDI_ALLOCATIONINFO2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DDDI_ALLOCATIONINFO2_0 {
pub hSection: super::super::super::Win32::Foundation::HANDLE,
pub pSystemMem: *const ::core::ffi::c_void,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DDDI_ALLOCATIONINFO2_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DDDI_ALLOCATIONINFO2_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DDDI_ALLOCATIONINFO2_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DDDI_ALLOCATIONINFO2_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DDDI_ALLOCATIONINFO2_1 {
pub Priority: u32,
pub Unused: usize,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DDDI_ALLOCATIONINFO2_1 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DDDI_ALLOCATIONINFO2_1 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DDDI_ALLOCATIONINFO2_1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DDDI_ALLOCATIONINFO2_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DDDI_ALLOCATIONINFO2_2 {
pub Anonymous: D3DDDI_ALLOCATIONINFO2_2_0,
pub Value: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DDDI_ALLOCATIONINFO2_2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DDDI_ALLOCATIONINFO2_2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DDDI_ALLOCATIONINFO2_2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DDDI_ALLOCATIONINFO2_2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DDDI_ALLOCATIONINFO2_2_0 {
pub _bitfield: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DDDI_ALLOCATIONINFO2_2_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DDDI_ALLOCATIONINFO2_2_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DDDI_ALLOCATIONINFO2_2_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_ALLOCATIONINFO2_2_0").field("_bitfield", &self._bitfield).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DDDI_ALLOCATIONINFO2_2_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DDDI_ALLOCATIONINFO2_2_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DDDI_ALLOCATIONINFO2_2_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DDDI_ALLOCATIONINFO2_2_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_ALLOCATIONLIST {
pub hAllocation: u32,
pub Anonymous: D3DDDI_ALLOCATIONLIST_0,
}
impl ::core::marker::Copy for D3DDDI_ALLOCATIONLIST {}
impl ::core::clone::Clone for D3DDDI_ALLOCATIONLIST {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_ALLOCATIONLIST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_ALLOCATIONLIST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDI_ALLOCATIONLIST_0 {
pub Anonymous: D3DDDI_ALLOCATIONLIST_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DDDI_ALLOCATIONLIST_0 {}
impl ::core::clone::Clone for D3DDDI_ALLOCATIONLIST_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_ALLOCATIONLIST_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_ALLOCATIONLIST_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_ALLOCATIONLIST_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DDDI_ALLOCATIONLIST_0_0 {}
impl ::core::clone::Clone for D3DDDI_ALLOCATIONLIST_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_ALLOCATIONLIST_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_ALLOCATIONLIST_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_ALLOCATIONLIST_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_ALLOCATIONLIST_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DDDI_ALLOCATIONLIST_0_0 {}
impl ::core::default::Default for D3DDDI_ALLOCATIONLIST_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_CREATECONTEXTFLAGS {
pub Anonymous: D3DDDI_CREATECONTEXTFLAGS_0,
}
impl ::core::marker::Copy for D3DDDI_CREATECONTEXTFLAGS {}
impl ::core::clone::Clone for D3DDDI_CREATECONTEXTFLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_CREATECONTEXTFLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_CREATECONTEXTFLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDI_CREATECONTEXTFLAGS_0 {
pub Anonymous: D3DDDI_CREATECONTEXTFLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DDDI_CREATECONTEXTFLAGS_0 {}
impl ::core::clone::Clone for D3DDDI_CREATECONTEXTFLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_CREATECONTEXTFLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_CREATECONTEXTFLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_CREATECONTEXTFLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DDDI_CREATECONTEXTFLAGS_0_0 {}
impl ::core::clone::Clone for D3DDDI_CREATECONTEXTFLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_CREATECONTEXTFLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_CREATECONTEXTFLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_CREATECONTEXTFLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_CREATECONTEXTFLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DDDI_CREATECONTEXTFLAGS_0_0 {}
impl ::core::default::Default for D3DDDI_CREATECONTEXTFLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_CREATEHWCONTEXTFLAGS {
pub Anonymous: D3DDDI_CREATEHWCONTEXTFLAGS_0,
}
impl ::core::marker::Copy for D3DDDI_CREATEHWCONTEXTFLAGS {}
impl ::core::clone::Clone for D3DDDI_CREATEHWCONTEXTFLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_CREATEHWCONTEXTFLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_CREATEHWCONTEXTFLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDI_CREATEHWCONTEXTFLAGS_0 {
pub Anonymous: D3DDDI_CREATEHWCONTEXTFLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DDDI_CREATEHWCONTEXTFLAGS_0 {}
impl ::core::clone::Clone for D3DDDI_CREATEHWCONTEXTFLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_CREATEHWCONTEXTFLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_CREATEHWCONTEXTFLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_CREATEHWCONTEXTFLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DDDI_CREATEHWCONTEXTFLAGS_0_0 {}
impl ::core::clone::Clone for D3DDDI_CREATEHWCONTEXTFLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_CREATEHWCONTEXTFLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_CREATEHWCONTEXTFLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_CREATEHWCONTEXTFLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_CREATEHWCONTEXTFLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DDDI_CREATEHWCONTEXTFLAGS_0_0 {}
impl ::core::default::Default for D3DDDI_CREATEHWCONTEXTFLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_CREATEHWQUEUEFLAGS {
pub Anonymous: D3DDDI_CREATEHWQUEUEFLAGS_0,
}
impl ::core::marker::Copy for D3DDDI_CREATEHWQUEUEFLAGS {}
impl ::core::clone::Clone for D3DDDI_CREATEHWQUEUEFLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_CREATEHWQUEUEFLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_CREATEHWQUEUEFLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDI_CREATEHWQUEUEFLAGS_0 {
pub Anonymous: D3DDDI_CREATEHWQUEUEFLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DDDI_CREATEHWQUEUEFLAGS_0 {}
impl ::core::clone::Clone for D3DDDI_CREATEHWQUEUEFLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_CREATEHWQUEUEFLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_CREATEHWQUEUEFLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_CREATEHWQUEUEFLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DDDI_CREATEHWQUEUEFLAGS_0_0 {}
impl ::core::clone::Clone for D3DDDI_CREATEHWQUEUEFLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_CREATEHWQUEUEFLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_CREATEHWQUEUEFLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_CREATEHWQUEUEFLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_CREATEHWQUEUEFLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DDDI_CREATEHWQUEUEFLAGS_0_0 {}
impl ::core::default::Default for D3DDDI_CREATEHWQUEUEFLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_CREATENATIVEFENCEINFO {
pub InitialFenceValue: u64,
pub pPrivateDriverData: *mut ::core::ffi::c_void,
pub PrivateDriverDataSize: u32,
pub EngineAffinity: u32,
pub Flags: D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS,
pub hSyncObject: u32,
pub NativeFenceMapping: D3DDDI_NATIVEFENCEMAPPING,
}
impl ::core::marker::Copy for D3DDDI_CREATENATIVEFENCEINFO {}
impl ::core::clone::Clone for D3DDDI_CREATENATIVEFENCEINFO {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_CREATENATIVEFENCEINFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_CREATENATIVEFENCEINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_DESTROYPAGINGQUEUE {
pub hPagingQueue: u32,
}
impl ::core::marker::Copy for D3DDDI_DESTROYPAGINGQUEUE {}
impl ::core::clone::Clone for D3DDDI_DESTROYPAGINGQUEUE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_DESTROYPAGINGQUEUE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_DESTROYPAGINGQUEUE").field("hPagingQueue", &self.hPagingQueue).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_DESTROYPAGINGQUEUE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_DESTROYPAGINGQUEUE {
fn eq(&self, other: &Self) -> bool {
self.hPagingQueue == other.hPagingQueue
}
}
impl ::core::cmp::Eq for D3DDDI_DESTROYPAGINGQUEUE {}
impl ::core::default::Default for D3DDDI_DESTROYPAGINGQUEUE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_DRIVERESCAPE_CPUEVENTUSAGE {
pub EscapeType: D3DDDI_DRIVERESCAPETYPE,
pub hSyncObject: u32,
pub hKmdCpuEvent: u64,
pub Usage: [u32; 8],
}
impl ::core::marker::Copy for D3DDDI_DRIVERESCAPE_CPUEVENTUSAGE {}
impl ::core::clone::Clone for D3DDDI_DRIVERESCAPE_CPUEVENTUSAGE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_DRIVERESCAPE_CPUEVENTUSAGE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_DRIVERESCAPE_CPUEVENTUSAGE").field("EscapeType", &self.EscapeType).field("hSyncObject", &self.hSyncObject).field("hKmdCpuEvent", &self.hKmdCpuEvent).field("Usage", &self.Usage).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_DRIVERESCAPE_CPUEVENTUSAGE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_DRIVERESCAPE_CPUEVENTUSAGE {
fn eq(&self, other: &Self) -> bool {
self.EscapeType == other.EscapeType && self.hSyncObject == other.hSyncObject && self.hKmdCpuEvent == other.hKmdCpuEvent && self.Usage == other.Usage
}
}
impl ::core::cmp::Eq for D3DDDI_DRIVERESCAPE_CPUEVENTUSAGE {}
impl ::core::default::Default for D3DDDI_DRIVERESCAPE_CPUEVENTUSAGE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_DRIVERESCAPE_TRANSLATEALLOCATIONEHANDLE {
pub EscapeType: D3DDDI_DRIVERESCAPETYPE,
pub hAllocation: u32,
}
impl ::core::marker::Copy for D3DDDI_DRIVERESCAPE_TRANSLATEALLOCATIONEHANDLE {}
impl ::core::clone::Clone for D3DDDI_DRIVERESCAPE_TRANSLATEALLOCATIONEHANDLE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_DRIVERESCAPE_TRANSLATEALLOCATIONEHANDLE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_DRIVERESCAPE_TRANSLATEALLOCATIONEHANDLE").field("EscapeType", &self.EscapeType).field("hAllocation", &self.hAllocation).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_DRIVERESCAPE_TRANSLATEALLOCATIONEHANDLE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_DRIVERESCAPE_TRANSLATEALLOCATIONEHANDLE {
fn eq(&self, other: &Self) -> bool {
self.EscapeType == other.EscapeType && self.hAllocation == other.hAllocation
}
}
impl ::core::cmp::Eq for D3DDDI_DRIVERESCAPE_TRANSLATEALLOCATIONEHANDLE {}
impl ::core::default::Default for D3DDDI_DRIVERESCAPE_TRANSLATEALLOCATIONEHANDLE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_DRIVERESCAPE_TRANSLATERESOURCEHANDLE {
pub EscapeType: D3DDDI_DRIVERESCAPETYPE,
pub hResource: u32,
}
impl ::core::marker::Copy for D3DDDI_DRIVERESCAPE_TRANSLATERESOURCEHANDLE {}
impl ::core::clone::Clone for D3DDDI_DRIVERESCAPE_TRANSLATERESOURCEHANDLE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_DRIVERESCAPE_TRANSLATERESOURCEHANDLE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_DRIVERESCAPE_TRANSLATERESOURCEHANDLE").field("EscapeType", &self.EscapeType).field("hResource", &self.hResource).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_DRIVERESCAPE_TRANSLATERESOURCEHANDLE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_DRIVERESCAPE_TRANSLATERESOURCEHANDLE {
fn eq(&self, other: &Self) -> bool {
self.EscapeType == other.EscapeType && self.hResource == other.hResource
}
}
impl ::core::cmp::Eq for D3DDDI_DRIVERESCAPE_TRANSLATERESOURCEHANDLE {}
impl ::core::default::Default for D3DDDI_DRIVERESCAPE_TRANSLATERESOURCEHANDLE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_DXGI_RGB {
pub Red: f32,
pub Green: f32,
pub Blue: f32,
}
impl ::core::marker::Copy for D3DDDI_DXGI_RGB {}
impl ::core::clone::Clone for D3DDDI_DXGI_RGB {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_DXGI_RGB {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_DXGI_RGB").field("Red", &self.Red).field("Green", &self.Green).field("Blue", &self.Blue).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_DXGI_RGB {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_DXGI_RGB {
fn eq(&self, other: &Self) -> bool {
self.Red == other.Red && self.Green == other.Green && self.Blue == other.Blue
}
}
impl ::core::cmp::Eq for D3DDDI_DXGI_RGB {}
impl ::core::default::Default for D3DDDI_DXGI_RGB {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_ESCAPEFLAGS {
pub Anonymous: D3DDDI_ESCAPEFLAGS_0,
}
impl ::core::marker::Copy for D3DDDI_ESCAPEFLAGS {}
impl ::core::clone::Clone for D3DDDI_ESCAPEFLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_ESCAPEFLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_ESCAPEFLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDI_ESCAPEFLAGS_0 {
pub Anonymous: D3DDDI_ESCAPEFLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DDDI_ESCAPEFLAGS_0 {}
impl ::core::clone::Clone for D3DDDI_ESCAPEFLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_ESCAPEFLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_ESCAPEFLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_ESCAPEFLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DDDI_ESCAPEFLAGS_0_0 {}
impl ::core::clone::Clone for D3DDDI_ESCAPEFLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_ESCAPEFLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_ESCAPEFLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_ESCAPEFLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_ESCAPEFLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DDDI_ESCAPEFLAGS_0_0 {}
impl ::core::default::Default for D3DDDI_ESCAPEFLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_EVICT_FLAGS {
pub Anonymous: D3DDDI_EVICT_FLAGS_0,
}
impl ::core::marker::Copy for D3DDDI_EVICT_FLAGS {}
impl ::core::clone::Clone for D3DDDI_EVICT_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_EVICT_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_EVICT_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDI_EVICT_FLAGS_0 {
pub Anonymous: D3DDDI_EVICT_FLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DDDI_EVICT_FLAGS_0 {}
impl ::core::clone::Clone for D3DDDI_EVICT_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_EVICT_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_EVICT_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_EVICT_FLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DDDI_EVICT_FLAGS_0_0 {}
impl ::core::clone::Clone for D3DDDI_EVICT_FLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_EVICT_FLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_EVICT_FLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_EVICT_FLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_EVICT_FLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DDDI_EVICT_FLAGS_0_0 {}
impl ::core::default::Default for D3DDDI_EVICT_FLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_GAMMA_RAMP_DXGI_1 {
pub Scale: D3DDDI_DXGI_RGB,
pub Offset: D3DDDI_DXGI_RGB,
pub GammaCurve: [D3DDDI_DXGI_RGB; 1025],
}
impl ::core::marker::Copy for D3DDDI_GAMMA_RAMP_DXGI_1 {}
impl ::core::clone::Clone for D3DDDI_GAMMA_RAMP_DXGI_1 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_GAMMA_RAMP_DXGI_1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_GAMMA_RAMP_DXGI_1").field("Scale", &self.Scale).field("Offset", &self.Offset).field("GammaCurve", &self.GammaCurve).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_GAMMA_RAMP_DXGI_1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_GAMMA_RAMP_DXGI_1 {
fn eq(&self, other: &Self) -> bool {
self.Scale == other.Scale && self.Offset == other.Offset && self.GammaCurve == other.GammaCurve
}
}
impl ::core::cmp::Eq for D3DDDI_GAMMA_RAMP_DXGI_1 {}
impl ::core::default::Default for D3DDDI_GAMMA_RAMP_DXGI_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_GAMMA_RAMP_RGB256x3x16 {
pub Red: [u16; 256],
pub Green: [u16; 256],
pub Blue: [u16; 256],
}
impl ::core::marker::Copy for D3DDDI_GAMMA_RAMP_RGB256x3x16 {}
impl ::core::clone::Clone for D3DDDI_GAMMA_RAMP_RGB256x3x16 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_GAMMA_RAMP_RGB256x3x16 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_GAMMA_RAMP_RGB256x3x16").field("Red", &self.Red).field("Green", &self.Green).field("Blue", &self.Blue).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_GAMMA_RAMP_RGB256x3x16 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_GAMMA_RAMP_RGB256x3x16 {
fn eq(&self, other: &Self) -> bool {
self.Red == other.Red && self.Green == other.Green && self.Blue == other.Blue
}
}
impl ::core::cmp::Eq for D3DDDI_GAMMA_RAMP_RGB256x3x16 {}
impl ::core::default::Default for D3DDDI_GAMMA_RAMP_RGB256x3x16 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA {
pub hResource: u32,
pub PrivateDriverDataSize: u32,
pub pPrivateDriverData: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA {}
impl ::core::clone::Clone for D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA").field("hResource", &self.hResource).field("PrivateDriverDataSize", &self.PrivateDriverDataSize).field("pPrivateDriverData", &self.pPrivateDriverData).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA {
fn eq(&self, other: &Self) -> bool {
self.hResource == other.hResource && self.PrivateDriverDataSize == other.PrivateDriverDataSize && self.pPrivateDriverData == other.pPrivateDriverData
}
}
impl ::core::cmp::Eq for D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA {}
impl ::core::default::Default for D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_HDR_METADATA_HDR10 {
pub RedPrimary: [u16; 2],
pub GreenPrimary: [u16; 2],
pub BluePrimary: [u16; 2],
pub WhitePoint: [u16; 2],
pub MaxMasteringLuminance: u32,
pub MinMasteringLuminance: u32,
pub MaxContentLightLevel: u16,
pub MaxFrameAverageLightLevel: u16,
}
impl ::core::marker::Copy for D3DDDI_HDR_METADATA_HDR10 {}
impl ::core::clone::Clone for D3DDDI_HDR_METADATA_HDR10 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_HDR_METADATA_HDR10 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_HDR_METADATA_HDR10").field("RedPrimary", &self.RedPrimary).field("GreenPrimary", &self.GreenPrimary).field("BluePrimary", &self.BluePrimary).field("WhitePoint", &self.WhitePoint).field("MaxMasteringLuminance", &self.MaxMasteringLuminance).field("MinMasteringLuminance", &self.MinMasteringLuminance).field("MaxContentLightLevel", &self.MaxContentLightLevel).field("MaxFrameAverageLightLevel", &self.MaxFrameAverageLightLevel).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_HDR_METADATA_HDR10 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_HDR_METADATA_HDR10 {
fn eq(&self, other: &Self) -> bool {
self.RedPrimary == other.RedPrimary && self.GreenPrimary == other.GreenPrimary && self.BluePrimary == other.BluePrimary && self.WhitePoint == other.WhitePoint && self.MaxMasteringLuminance == other.MaxMasteringLuminance && self.MinMasteringLuminance == other.MinMasteringLuminance && self.MaxContentLightLevel == other.MaxContentLightLevel && self.MaxFrameAverageLightLevel == other.MaxFrameAverageLightLevel
}
}
impl ::core::cmp::Eq for D3DDDI_HDR_METADATA_HDR10 {}
impl ::core::default::Default for D3DDDI_HDR_METADATA_HDR10 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_HDR_METADATA_HDR10PLUS {
pub Data: [u8; 72],
}
impl ::core::marker::Copy for D3DDDI_HDR_METADATA_HDR10PLUS {}
impl ::core::clone::Clone for D3DDDI_HDR_METADATA_HDR10PLUS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_HDR_METADATA_HDR10PLUS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_HDR_METADATA_HDR10PLUS").field("Data", &self.Data).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_HDR_METADATA_HDR10PLUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_HDR_METADATA_HDR10PLUS {
fn eq(&self, other: &Self) -> bool {
self.Data == other.Data
}
}
impl ::core::cmp::Eq for D3DDDI_HDR_METADATA_HDR10PLUS {}
impl ::core::default::Default for D3DDDI_HDR_METADATA_HDR10PLUS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_KERNELOVERLAYINFO {
pub hAllocation: u32,
pub DstRect: D3DDDIRECT,
pub SrcRect: D3DDDIRECT,
pub pPrivateDriverData: *mut ::core::ffi::c_void,
pub PrivateDriverDataSize: u32,
}
impl ::core::marker::Copy for D3DDDI_KERNELOVERLAYINFO {}
impl ::core::clone::Clone for D3DDDI_KERNELOVERLAYINFO {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_KERNELOVERLAYINFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_KERNELOVERLAYINFO").field("hAllocation", &self.hAllocation).field("DstRect", &self.DstRect).field("SrcRect", &self.SrcRect).field("pPrivateDriverData", &self.pPrivateDriverData).field("PrivateDriverDataSize", &self.PrivateDriverDataSize).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_KERNELOVERLAYINFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_KERNELOVERLAYINFO {
fn eq(&self, other: &Self) -> bool {
self.hAllocation == other.hAllocation && self.DstRect == other.DstRect && self.SrcRect == other.SrcRect && self.pPrivateDriverData == other.pPrivateDriverData && self.PrivateDriverDataSize == other.PrivateDriverDataSize
}
}
impl ::core::cmp::Eq for D3DDDI_KERNELOVERLAYINFO {}
impl ::core::default::Default for D3DDDI_KERNELOVERLAYINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_MAKERESIDENT {
pub hPagingQueue: u32,
pub NumAllocations: u32,
pub AllocationList: *const u32,
pub PriorityList: *const u32,
pub Flags: D3DDDI_MAKERESIDENT_FLAGS,
pub PagingFenceValue: u64,
pub NumBytesToTrim: u64,
}
impl ::core::marker::Copy for D3DDDI_MAKERESIDENT {}
impl ::core::clone::Clone for D3DDDI_MAKERESIDENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_MAKERESIDENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_MAKERESIDENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_MAKERESIDENT_FLAGS {
pub Anonymous: D3DDDI_MAKERESIDENT_FLAGS_0,
}
impl ::core::marker::Copy for D3DDDI_MAKERESIDENT_FLAGS {}
impl ::core::clone::Clone for D3DDDI_MAKERESIDENT_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_MAKERESIDENT_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_MAKERESIDENT_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDI_MAKERESIDENT_FLAGS_0 {
pub Anonymous: D3DDDI_MAKERESIDENT_FLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DDDI_MAKERESIDENT_FLAGS_0 {}
impl ::core::clone::Clone for D3DDDI_MAKERESIDENT_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_MAKERESIDENT_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_MAKERESIDENT_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_MAKERESIDENT_FLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DDDI_MAKERESIDENT_FLAGS_0_0 {}
impl ::core::clone::Clone for D3DDDI_MAKERESIDENT_FLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_MAKERESIDENT_FLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_MAKERESIDENT_FLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_MAKERESIDENT_FLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_MAKERESIDENT_FLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DDDI_MAKERESIDENT_FLAGS_0_0 {}
impl ::core::default::Default for D3DDDI_MAKERESIDENT_FLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_MAPGPUVIRTUALADDRESS {
pub hPagingQueue: u32,
pub BaseAddress: u64,
pub MinimumAddress: u64,
pub MaximumAddress: u64,
pub hAllocation: u32,
pub OffsetInPages: u64,
pub SizeInPages: u64,
pub Protection: D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE,
pub DriverProtection: u64,
pub Reserved0: u32,
pub Reserved1: u64,
pub VirtualAddress: u64,
pub PagingFenceValue: u64,
}
impl ::core::marker::Copy for D3DDDI_MAPGPUVIRTUALADDRESS {}
impl ::core::clone::Clone for D3DDDI_MAPGPUVIRTUALADDRESS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_MAPGPUVIRTUALADDRESS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_MAPGPUVIRTUALADDRESS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_MULTISAMPLINGMETHOD {
pub NumSamples: u32,
pub NumQualityLevels: u32,
}
impl ::core::marker::Copy for D3DDDI_MULTISAMPLINGMETHOD {}
impl ::core::clone::Clone for D3DDDI_MULTISAMPLINGMETHOD {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_MULTISAMPLINGMETHOD {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_MULTISAMPLINGMETHOD").field("NumSamples", &self.NumSamples).field("NumQualityLevels", &self.NumQualityLevels).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_MULTISAMPLINGMETHOD {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_MULTISAMPLINGMETHOD {
fn eq(&self, other: &Self) -> bool {
self.NumSamples == other.NumSamples && self.NumQualityLevels == other.NumQualityLevels
}
}
impl ::core::cmp::Eq for D3DDDI_MULTISAMPLINGMETHOD {}
impl ::core::default::Default for D3DDDI_MULTISAMPLINGMETHOD {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_NATIVEFENCEMAPPING {
pub CurrentValueCpuVa: *mut ::core::ffi::c_void,
pub CurrentValueGpuVa: u64,
pub MonitoredValueGpuVa: u64,
}
impl ::core::marker::Copy for D3DDDI_NATIVEFENCEMAPPING {}
impl ::core::clone::Clone for D3DDDI_NATIVEFENCEMAPPING {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_NATIVEFENCEMAPPING {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_NATIVEFENCEMAPPING").field("CurrentValueCpuVa", &self.CurrentValueCpuVa).field("CurrentValueGpuVa", &self.CurrentValueGpuVa).field("MonitoredValueGpuVa", &self.MonitoredValueGpuVa).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_NATIVEFENCEMAPPING {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_NATIVEFENCEMAPPING {
fn eq(&self, other: &Self) -> bool {
self.CurrentValueCpuVa == other.CurrentValueCpuVa && self.CurrentValueGpuVa == other.CurrentValueGpuVa && self.MonitoredValueGpuVa == other.MonitoredValueGpuVa
}
}
impl ::core::cmp::Eq for D3DDDI_NATIVEFENCEMAPPING {}
impl ::core::default::Default for D3DDDI_NATIVEFENCEMAPPING {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_OFFER_FLAGS {
pub Anonymous: D3DDDI_OFFER_FLAGS_0,
}
impl ::core::marker::Copy for D3DDDI_OFFER_FLAGS {}
impl ::core::clone::Clone for D3DDDI_OFFER_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_OFFER_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_OFFER_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDI_OFFER_FLAGS_0 {
pub Anonymous: D3DDDI_OFFER_FLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DDDI_OFFER_FLAGS_0 {}
impl ::core::clone::Clone for D3DDDI_OFFER_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_OFFER_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_OFFER_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_OFFER_FLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DDDI_OFFER_FLAGS_0_0 {}
impl ::core::clone::Clone for D3DDDI_OFFER_FLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_OFFER_FLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_OFFER_FLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_OFFER_FLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_OFFER_FLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DDDI_OFFER_FLAGS_0_0 {}
impl ::core::default::Default for D3DDDI_OFFER_FLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_OPENALLOCATIONINFO {
pub hAllocation: u32,
pub pPrivateDriverData: *const ::core::ffi::c_void,
pub PrivateDriverDataSize: u32,
}
impl ::core::marker::Copy for D3DDDI_OPENALLOCATIONINFO {}
impl ::core::clone::Clone for D3DDDI_OPENALLOCATIONINFO {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_OPENALLOCATIONINFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_OPENALLOCATIONINFO").field("hAllocation", &self.hAllocation).field("pPrivateDriverData", &self.pPrivateDriverData).field("PrivateDriverDataSize", &self.PrivateDriverDataSize).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_OPENALLOCATIONINFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_OPENALLOCATIONINFO {
fn eq(&self, other: &Self) -> bool {
self.hAllocation == other.hAllocation && self.pPrivateDriverData == other.pPrivateDriverData && self.PrivateDriverDataSize == other.PrivateDriverDataSize
}
}
impl ::core::cmp::Eq for D3DDDI_OPENALLOCATIONINFO {}
impl ::core::default::Default for D3DDDI_OPENALLOCATIONINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_OPENALLOCATIONINFO2 {
pub hAllocation: u32,
pub pPrivateDriverData: *const ::core::ffi::c_void,
pub PrivateDriverDataSize: u32,
pub GpuVirtualAddress: u64,
pub Reserved: [usize; 6],
}
impl ::core::marker::Copy for D3DDDI_OPENALLOCATIONINFO2 {}
impl ::core::clone::Clone for D3DDDI_OPENALLOCATIONINFO2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_OPENALLOCATIONINFO2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_OPENALLOCATIONINFO2").field("hAllocation", &self.hAllocation).field("pPrivateDriverData", &self.pPrivateDriverData).field("PrivateDriverDataSize", &self.PrivateDriverDataSize).field("GpuVirtualAddress", &self.GpuVirtualAddress).field("Reserved", &self.Reserved).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_OPENALLOCATIONINFO2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_OPENALLOCATIONINFO2 {
fn eq(&self, other: &Self) -> bool {
self.hAllocation == other.hAllocation && self.pPrivateDriverData == other.pPrivateDriverData && self.PrivateDriverDataSize == other.PrivateDriverDataSize && self.GpuVirtualAddress == other.GpuVirtualAddress && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for D3DDDI_OPENALLOCATIONINFO2 {}
impl ::core::default::Default for D3DDDI_OPENALLOCATIONINFO2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_PATCHLOCATIONLIST {
pub AllocationIndex: u32,
pub Anonymous: D3DDDI_PATCHLOCATIONLIST_0,
pub DriverId: u32,
pub AllocationOffset: u32,
pub PatchOffset: u32,
pub SplitOffset: u32,
}
impl ::core::marker::Copy for D3DDDI_PATCHLOCATIONLIST {}
impl ::core::clone::Clone for D3DDDI_PATCHLOCATIONLIST {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_PATCHLOCATIONLIST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_PATCHLOCATIONLIST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDI_PATCHLOCATIONLIST_0 {
pub Anonymous: D3DDDI_PATCHLOCATIONLIST_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DDDI_PATCHLOCATIONLIST_0 {}
impl ::core::clone::Clone for D3DDDI_PATCHLOCATIONLIST_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_PATCHLOCATIONLIST_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_PATCHLOCATIONLIST_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_PATCHLOCATIONLIST_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DDDI_PATCHLOCATIONLIST_0_0 {}
impl ::core::clone::Clone for D3DDDI_PATCHLOCATIONLIST_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_PATCHLOCATIONLIST_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_PATCHLOCATIONLIST_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_PATCHLOCATIONLIST_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_PATCHLOCATIONLIST_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DDDI_PATCHLOCATIONLIST_0_0 {}
impl ::core::default::Default for D3DDDI_PATCHLOCATIONLIST_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_QUERYREGISTRY_FLAGS {
pub Anonymous: D3DDDI_QUERYREGISTRY_FLAGS_0,
}
impl ::core::marker::Copy for D3DDDI_QUERYREGISTRY_FLAGS {}
impl ::core::clone::Clone for D3DDDI_QUERYREGISTRY_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_QUERYREGISTRY_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_QUERYREGISTRY_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDI_QUERYREGISTRY_FLAGS_0 {
pub Anonymous: D3DDDI_QUERYREGISTRY_FLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DDDI_QUERYREGISTRY_FLAGS_0 {}
impl ::core::clone::Clone for D3DDDI_QUERYREGISTRY_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_QUERYREGISTRY_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_QUERYREGISTRY_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_QUERYREGISTRY_FLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DDDI_QUERYREGISTRY_FLAGS_0_0 {}
impl ::core::clone::Clone for D3DDDI_QUERYREGISTRY_FLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_QUERYREGISTRY_FLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_QUERYREGISTRY_FLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_QUERYREGISTRY_FLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_QUERYREGISTRY_FLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DDDI_QUERYREGISTRY_FLAGS_0_0 {}
impl ::core::default::Default for D3DDDI_QUERYREGISTRY_FLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_QUERYREGISTRY_INFO {
pub QueryType: D3DDDI_QUERYREGISTRY_TYPE,
pub QueryFlags: D3DDDI_QUERYREGISTRY_FLAGS,
pub ValueName: [u16; 260],
pub ValueType: u32,
pub PhysicalAdapterIndex: u32,
pub OutputValueSize: u32,
pub Status: D3DDDI_QUERYREGISTRY_STATUS,
pub Anonymous: D3DDDI_QUERYREGISTRY_INFO_0,
}
impl ::core::marker::Copy for D3DDDI_QUERYREGISTRY_INFO {}
impl ::core::clone::Clone for D3DDDI_QUERYREGISTRY_INFO {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_QUERYREGISTRY_INFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_QUERYREGISTRY_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDI_QUERYREGISTRY_INFO_0 {
pub OutputDword: u32,
pub OutputQword: u64,
pub OutputString: [u16; 1],
pub OutputBinary: [u8; 1],
}
impl ::core::marker::Copy for D3DDDI_QUERYREGISTRY_INFO_0 {}
impl ::core::clone::Clone for D3DDDI_QUERYREGISTRY_INFO_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_QUERYREGISTRY_INFO_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_QUERYREGISTRY_INFO_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_RATIONAL {
pub Numerator: u32,
pub Denominator: u32,
}
impl ::core::marker::Copy for D3DDDI_RATIONAL {}
impl ::core::clone::Clone for D3DDDI_RATIONAL {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_RATIONAL {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_RATIONAL").field("Numerator", &self.Numerator).field("Denominator", &self.Denominator).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_RATIONAL {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_RATIONAL {
fn eq(&self, other: &Self) -> bool {
self.Numerator == other.Numerator && self.Denominator == other.Denominator
}
}
impl ::core::cmp::Eq for D3DDDI_RATIONAL {}
impl ::core::default::Default for D3DDDI_RATIONAL {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_RESERVEGPUVIRTUALADDRESS {
pub Anonymous1: D3DDDI_RESERVEGPUVIRTUALADDRESS_0,
pub BaseAddress: u64,
pub MinimumAddress: u64,
pub MaximumAddress: u64,
pub Size: u64,
pub Anonymous2: D3DDDI_RESERVEGPUVIRTUALADDRESS_1,
pub Anonymous3: D3DDDI_RESERVEGPUVIRTUALADDRESS_2,
pub VirtualAddress: u64,
pub Anonymous4: D3DDDI_RESERVEGPUVIRTUALADDRESS_3,
}
impl ::core::marker::Copy for D3DDDI_RESERVEGPUVIRTUALADDRESS {}
impl ::core::clone::Clone for D3DDDI_RESERVEGPUVIRTUALADDRESS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_RESERVEGPUVIRTUALADDRESS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_RESERVEGPUVIRTUALADDRESS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDI_RESERVEGPUVIRTUALADDRESS_0 {
pub hPagingQueue: u32,
pub hAdapter: u32,
}
impl ::core::marker::Copy for D3DDDI_RESERVEGPUVIRTUALADDRESS_0 {}
impl ::core::clone::Clone for D3DDDI_RESERVEGPUVIRTUALADDRESS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_RESERVEGPUVIRTUALADDRESS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_RESERVEGPUVIRTUALADDRESS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDI_RESERVEGPUVIRTUALADDRESS_1 {
pub ReservationType: D3DDDIGPUVIRTUALADDRESS_RESERVATION_TYPE,
pub Reserved0: u32,
}
impl ::core::marker::Copy for D3DDDI_RESERVEGPUVIRTUALADDRESS_1 {}
impl ::core::clone::Clone for D3DDDI_RESERVEGPUVIRTUALADDRESS_1 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_RESERVEGPUVIRTUALADDRESS_1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_RESERVEGPUVIRTUALADDRESS_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDI_RESERVEGPUVIRTUALADDRESS_2 {
pub DriverProtection: u64,
pub Reserved1: u64,
}
impl ::core::marker::Copy for D3DDDI_RESERVEGPUVIRTUALADDRESS_2 {}
impl ::core::clone::Clone for D3DDDI_RESERVEGPUVIRTUALADDRESS_2 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_RESERVEGPUVIRTUALADDRESS_2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_RESERVEGPUVIRTUALADDRESS_2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDI_RESERVEGPUVIRTUALADDRESS_3 {
pub PagingFenceValue: u64,
pub Reserved2: u64,
}
impl ::core::marker::Copy for D3DDDI_RESERVEGPUVIRTUALADDRESS_3 {}
impl ::core::clone::Clone for D3DDDI_RESERVEGPUVIRTUALADDRESS_3 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_RESERVEGPUVIRTUALADDRESS_3 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_RESERVEGPUVIRTUALADDRESS_3 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_RESOURCEFLAGS {
pub Anonymous: D3DDDI_RESOURCEFLAGS_0,
}
impl ::core::marker::Copy for D3DDDI_RESOURCEFLAGS {}
impl ::core::clone::Clone for D3DDDI_RESOURCEFLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_RESOURCEFLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_RESOURCEFLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDI_RESOURCEFLAGS_0 {
pub Anonymous: D3DDDI_RESOURCEFLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DDDI_RESOURCEFLAGS_0 {}
impl ::core::clone::Clone for D3DDDI_RESOURCEFLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_RESOURCEFLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_RESOURCEFLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_RESOURCEFLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DDDI_RESOURCEFLAGS_0_0 {}
impl ::core::clone::Clone for D3DDDI_RESOURCEFLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_RESOURCEFLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_RESOURCEFLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_RESOURCEFLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_RESOURCEFLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DDDI_RESOURCEFLAGS_0_0 {}
impl ::core::default::Default for D3DDDI_RESOURCEFLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_RESOURCEFLAGS2 {
pub Anonymous: D3DDDI_RESOURCEFLAGS2_0,
}
impl ::core::marker::Copy for D3DDDI_RESOURCEFLAGS2 {}
impl ::core::clone::Clone for D3DDDI_RESOURCEFLAGS2 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_RESOURCEFLAGS2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_RESOURCEFLAGS2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDI_RESOURCEFLAGS2_0 {
pub Anonymous: D3DDDI_RESOURCEFLAGS2_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DDDI_RESOURCEFLAGS2_0 {}
impl ::core::clone::Clone for D3DDDI_RESOURCEFLAGS2_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_RESOURCEFLAGS2_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_RESOURCEFLAGS2_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_RESOURCEFLAGS2_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DDDI_RESOURCEFLAGS2_0_0 {}
impl ::core::clone::Clone for D3DDDI_RESOURCEFLAGS2_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_RESOURCEFLAGS2_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_RESOURCEFLAGS2_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_RESOURCEFLAGS2_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_RESOURCEFLAGS2_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DDDI_RESOURCEFLAGS2_0_0 {}
impl ::core::default::Default for D3DDDI_RESOURCEFLAGS2_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_SEGMENTPREFERENCE {
pub Anonymous: D3DDDI_SEGMENTPREFERENCE_0,
}
impl ::core::marker::Copy for D3DDDI_SEGMENTPREFERENCE {}
impl ::core::clone::Clone for D3DDDI_SEGMENTPREFERENCE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_SEGMENTPREFERENCE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_SEGMENTPREFERENCE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDI_SEGMENTPREFERENCE_0 {
pub Anonymous: D3DDDI_SEGMENTPREFERENCE_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DDDI_SEGMENTPREFERENCE_0 {}
impl ::core::clone::Clone for D3DDDI_SEGMENTPREFERENCE_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_SEGMENTPREFERENCE_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_SEGMENTPREFERENCE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_SEGMENTPREFERENCE_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DDDI_SEGMENTPREFERENCE_0_0 {}
impl ::core::clone::Clone for D3DDDI_SEGMENTPREFERENCE_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_SEGMENTPREFERENCE_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_SEGMENTPREFERENCE_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_SEGMENTPREFERENCE_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_SEGMENTPREFERENCE_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DDDI_SEGMENTPREFERENCE_0_0 {}
impl ::core::default::Default for D3DDDI_SEGMENTPREFERENCE_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_SURFACEINFO {
pub Width: u32,
pub Height: u32,
pub Depth: u32,
pub pSysMem: *const ::core::ffi::c_void,
pub SysMemPitch: u32,
pub SysMemSlicePitch: u32,
}
impl ::core::marker::Copy for D3DDDI_SURFACEINFO {}
impl ::core::clone::Clone for D3DDDI_SURFACEINFO {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_SURFACEINFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_SURFACEINFO").field("Width", &self.Width).field("Height", &self.Height).field("Depth", &self.Depth).field("pSysMem", &self.pSysMem).field("SysMemPitch", &self.SysMemPitch).field("SysMemSlicePitch", &self.SysMemSlicePitch).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_SURFACEINFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_SURFACEINFO {
fn eq(&self, other: &Self) -> bool {
self.Width == other.Width && self.Height == other.Height && self.Depth == other.Depth && self.pSysMem == other.pSysMem && self.SysMemPitch == other.SysMemPitch && self.SysMemSlicePitch == other.SysMemSlicePitch
}
}
impl ::core::cmp::Eq for D3DDDI_SURFACEINFO {}
impl ::core::default::Default for D3DDDI_SURFACEINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DDDI_SYNCHRONIZATIONOBJECTINFO {
pub Type: D3DDDI_SYNCHRONIZATIONOBJECT_TYPE,
pub Anonymous: D3DDDI_SYNCHRONIZATIONOBJECTINFO_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DDDI_SYNCHRONIZATIONOBJECTINFO {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DDDI_SYNCHRONIZATIONOBJECTINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DDDI_SYNCHRONIZATIONOBJECTINFO_0 {
pub SynchronizationMutex: D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_2,
pub Semaphore: D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_1,
pub Reserved: D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_0 {
pub Reserved: [u32; 16],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_0").field("Reserved", &self.Reserved).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_0 {
fn eq(&self, other: &Self) -> bool {
self.Reserved == other.Reserved
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_1 {
pub MaxCount: u32,
pub InitialCount: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_1 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_1 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_1").field("MaxCount", &self.MaxCount).field("InitialCount", &self.InitialCount).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_1 {
fn eq(&self, other: &Self) -> bool {
self.MaxCount == other.MaxCount && self.InitialCount == other.InitialCount
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_1 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_2 {
pub InitialState: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_2").field("InitialState", &self.InitialState).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_2 {
fn eq(&self, other: &Self) -> bool {
self.InitialState == other.InitialState
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DDDI_SYNCHRONIZATIONOBJECTINFO_0_2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DDDI_SYNCHRONIZATIONOBJECTINFO2 {
pub Type: D3DDDI_SYNCHRONIZATIONOBJECT_TYPE,
pub Flags: D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS,
pub Anonymous: D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0,
pub SharedHandle: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DDDI_SYNCHRONIZATIONOBJECTINFO2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DDDI_SYNCHRONIZATIONOBJECTINFO2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0 {
pub SynchronizationMutex: D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_6,
pub Semaphore: D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_5,
pub Fence: D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_1,
pub CPUNotification: D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_0,
pub MonitoredFence: D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_2,
pub PeriodicMonitoredFence: D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_3,
pub Reserved: D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_4,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_0 {
pub Event: super::super::super::Win32::Foundation::HANDLE,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_0").field("Event", &self.Event).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_0 {
fn eq(&self, other: &Self) -> bool {
self.Event == other.Event
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_1 {
pub FenceValue: u64,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_1 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_1 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_1").field("FenceValue", &self.FenceValue).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_1 {
fn eq(&self, other: &Self) -> bool {
self.FenceValue == other.FenceValue
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_1 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_2 {
pub InitialFenceValue: u64,
pub FenceValueCPUVirtualAddress: *mut ::core::ffi::c_void,
pub FenceValueGPUVirtualAddress: u64,
pub EngineAffinity: u32,
pub Padding: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_2").field("InitialFenceValue", &self.InitialFenceValue).field("FenceValueCPUVirtualAddress", &self.FenceValueCPUVirtualAddress).field("FenceValueGPUVirtualAddress", &self.FenceValueGPUVirtualAddress).field("EngineAffinity", &self.EngineAffinity).field("Padding", &self.Padding).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_2 {
fn eq(&self, other: &Self) -> bool {
self.InitialFenceValue == other.InitialFenceValue && self.FenceValueCPUVirtualAddress == other.FenceValueCPUVirtualAddress && self.FenceValueGPUVirtualAddress == other.FenceValueGPUVirtualAddress && self.EngineAffinity == other.EngineAffinity && self.Padding == other.Padding
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_3 {
pub hAdapter: u32,
pub VidPnTargetId: u32,
pub Time: u64,
pub FenceValueCPUVirtualAddress: *mut ::core::ffi::c_void,
pub FenceValueGPUVirtualAddress: u64,
pub EngineAffinity: u32,
pub Padding: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_3 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_3 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_3 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_3").field("hAdapter", &self.hAdapter).field("VidPnTargetId", &self.VidPnTargetId).field("Time", &self.Time).field("FenceValueCPUVirtualAddress", &self.FenceValueCPUVirtualAddress).field("FenceValueGPUVirtualAddress", &self.FenceValueGPUVirtualAddress).field("EngineAffinity", &self.EngineAffinity).field("Padding", &self.Padding).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_3 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_3 {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.VidPnTargetId == other.VidPnTargetId && self.Time == other.Time && self.FenceValueCPUVirtualAddress == other.FenceValueCPUVirtualAddress && self.FenceValueGPUVirtualAddress == other.FenceValueGPUVirtualAddress && self.EngineAffinity == other.EngineAffinity && self.Padding == other.Padding
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_3 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_3 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_4 {
pub Reserved: [u64; 8],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_4 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_4 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_4 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_4").field("Reserved", &self.Reserved).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_4 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_4 {
fn eq(&self, other: &Self) -> bool {
self.Reserved == other.Reserved
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_4 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_4 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_5 {
pub MaxCount: u32,
pub InitialCount: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_5 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_5 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_5 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_5").field("MaxCount", &self.MaxCount).field("InitialCount", &self.InitialCount).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_5 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_5 {
fn eq(&self, other: &Self) -> bool {
self.MaxCount == other.MaxCount && self.InitialCount == other.InitialCount
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_5 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_5 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_6 {
pub InitialState: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_6 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_6 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_6 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_6").field("InitialState", &self.InitialState).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_6 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_6 {
fn eq(&self, other: &Self) -> bool {
self.InitialState == other.InitialState
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_6 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DDDI_SYNCHRONIZATIONOBJECTINFO2_0_6 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS {
pub Anonymous: D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS_0,
}
impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS {}
impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS_0 {
pub Anonymous: D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS_0 {}
impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS_0_0 {}
impl ::core::clone::Clone for D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS_0_0 {}
impl ::core::default::Default for D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_TRIMRESIDENCYSET_FLAGS {
pub Anonymous: D3DDDI_TRIMRESIDENCYSET_FLAGS_0,
}
impl ::core::marker::Copy for D3DDDI_TRIMRESIDENCYSET_FLAGS {}
impl ::core::clone::Clone for D3DDDI_TRIMRESIDENCYSET_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_TRIMRESIDENCYSET_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_TRIMRESIDENCYSET_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDI_TRIMRESIDENCYSET_FLAGS_0 {
pub Anonymous: D3DDDI_TRIMRESIDENCYSET_FLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DDDI_TRIMRESIDENCYSET_FLAGS_0 {}
impl ::core::clone::Clone for D3DDDI_TRIMRESIDENCYSET_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_TRIMRESIDENCYSET_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_TRIMRESIDENCYSET_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_TRIMRESIDENCYSET_FLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DDDI_TRIMRESIDENCYSET_FLAGS_0_0 {}
impl ::core::clone::Clone for D3DDDI_TRIMRESIDENCYSET_FLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_TRIMRESIDENCYSET_FLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_TRIMRESIDENCYSET_FLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_TRIMRESIDENCYSET_FLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_TRIMRESIDENCYSET_FLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DDDI_TRIMRESIDENCYSET_FLAGS_0_0 {}
impl ::core::default::Default for D3DDDI_TRIMRESIDENCYSET_FLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_UPDATEALLOCPROPERTY {
pub hPagingQueue: u32,
pub hAllocation: u32,
pub SupportedSegmentSet: u32,
pub PreferredSegment: D3DDDI_SEGMENTPREFERENCE,
pub Flags: D3DDDI_UPDATEALLOCPROPERTY_FLAGS,
pub PagingFenceValue: u64,
pub Anonymous: D3DDDI_UPDATEALLOCPROPERTY_0,
}
impl ::core::marker::Copy for D3DDDI_UPDATEALLOCPROPERTY {}
impl ::core::clone::Clone for D3DDDI_UPDATEALLOCPROPERTY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_UPDATEALLOCPROPERTY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_UPDATEALLOCPROPERTY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDI_UPDATEALLOCPROPERTY_0 {
pub Anonymous: D3DDDI_UPDATEALLOCPROPERTY_0_0,
pub PropertyMaskValue: u32,
}
impl ::core::marker::Copy for D3DDDI_UPDATEALLOCPROPERTY_0 {}
impl ::core::clone::Clone for D3DDDI_UPDATEALLOCPROPERTY_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_UPDATEALLOCPROPERTY_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_UPDATEALLOCPROPERTY_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_UPDATEALLOCPROPERTY_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DDDI_UPDATEALLOCPROPERTY_0_0 {}
impl ::core::clone::Clone for D3DDDI_UPDATEALLOCPROPERTY_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_UPDATEALLOCPROPERTY_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_UPDATEALLOCPROPERTY_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_UPDATEALLOCPROPERTY_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_UPDATEALLOCPROPERTY_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DDDI_UPDATEALLOCPROPERTY_0_0 {}
impl ::core::default::Default for D3DDDI_UPDATEALLOCPROPERTY_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_UPDATEALLOCPROPERTY_FLAGS {
pub Anonymous: D3DDDI_UPDATEALLOCPROPERTY_FLAGS_0,
}
impl ::core::marker::Copy for D3DDDI_UPDATEALLOCPROPERTY_FLAGS {}
impl ::core::clone::Clone for D3DDDI_UPDATEALLOCPROPERTY_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_UPDATEALLOCPROPERTY_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_UPDATEALLOCPROPERTY_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDI_UPDATEALLOCPROPERTY_FLAGS_0 {
pub Anonymous: D3DDDI_UPDATEALLOCPROPERTY_FLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DDDI_UPDATEALLOCPROPERTY_FLAGS_0 {}
impl ::core::clone::Clone for D3DDDI_UPDATEALLOCPROPERTY_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_UPDATEALLOCPROPERTY_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_UPDATEALLOCPROPERTY_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_UPDATEALLOCPROPERTY_FLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DDDI_UPDATEALLOCPROPERTY_FLAGS_0_0 {}
impl ::core::clone::Clone for D3DDDI_UPDATEALLOCPROPERTY_FLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_UPDATEALLOCPROPERTY_FLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_UPDATEALLOCPROPERTY_FLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_UPDATEALLOCPROPERTY_FLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_UPDATEALLOCPROPERTY_FLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DDDI_UPDATEALLOCPROPERTY_FLAGS_0_0 {}
impl ::core::default::Default for D3DDDI_UPDATEALLOCPROPERTY_FLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION {
pub OperationType: D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_TYPE,
pub Anonymous: D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0,
}
impl ::core::marker::Copy for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION {}
impl ::core::clone::Clone for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0 {
pub Map: D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_2,
pub MapProtect: D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_1,
pub Unmap: D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_3,
pub Copy: D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_0,
}
impl ::core::marker::Copy for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0 {}
impl ::core::clone::Clone for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_0 {
pub SourceAddress: u64,
pub SizeInBytes: u64,
pub DestAddress: u64,
}
impl ::core::marker::Copy for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_0 {}
impl ::core::clone::Clone for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_0").field("SourceAddress", &self.SourceAddress).field("SizeInBytes", &self.SizeInBytes).field("DestAddress", &self.DestAddress).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_0 {
fn eq(&self, other: &Self) -> bool {
self.SourceAddress == other.SourceAddress && self.SizeInBytes == other.SizeInBytes && self.DestAddress == other.DestAddress
}
}
impl ::core::cmp::Eq for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_0 {}
impl ::core::default::Default for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_1 {
pub BaseAddress: u64,
pub SizeInBytes: u64,
pub hAllocation: u32,
pub AllocationOffsetInBytes: u64,
pub AllocationSizeInBytes: u64,
pub Protection: D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE,
pub DriverProtection: u64,
}
impl ::core::marker::Copy for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_1 {}
impl ::core::clone::Clone for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_1 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_2 {
pub BaseAddress: u64,
pub SizeInBytes: u64,
pub hAllocation: u32,
pub AllocationOffsetInBytes: u64,
pub AllocationSizeInBytes: u64,
}
impl ::core::marker::Copy for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_2 {}
impl ::core::clone::Clone for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_2").field("BaseAddress", &self.BaseAddress).field("SizeInBytes", &self.SizeInBytes).field("hAllocation", &self.hAllocation).field("AllocationOffsetInBytes", &self.AllocationOffsetInBytes).field("AllocationSizeInBytes", &self.AllocationSizeInBytes).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_2 {
fn eq(&self, other: &Self) -> bool {
self.BaseAddress == other.BaseAddress && self.SizeInBytes == other.SizeInBytes && self.hAllocation == other.hAllocation && self.AllocationOffsetInBytes == other.AllocationOffsetInBytes && self.AllocationSizeInBytes == other.AllocationSizeInBytes
}
}
impl ::core::cmp::Eq for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_2 {}
impl ::core::default::Default for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_3 {
pub BaseAddress: u64,
pub SizeInBytes: u64,
pub Protection: D3DDDIGPUVIRTUALADDRESS_PROTECTION_TYPE,
}
impl ::core::marker::Copy for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_3 {}
impl ::core::clone::Clone for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_3 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_3 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION_0_3 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS {
pub Anonymous: D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS_0,
}
impl ::core::marker::Copy for D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS {}
impl ::core::clone::Clone for D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS_0 {
pub Anonymous: D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS_0 {}
impl ::core::clone::Clone for D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS_0_0 {}
impl ::core::clone::Clone for D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS_0_0 {}
impl ::core::default::Default for D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
pub struct D3DDEVICEDESC_V1 {
pub dwSize: u32,
pub dwFlags: u32,
pub dcmColorModel: u32,
pub dwDevCaps: u32,
pub dtcTransformCaps: super::super::super::Win32::Graphics::Direct3D9::D3DTRANSFORMCAPS,
pub bClipping: super::super::super::Win32::Foundation::BOOL,
pub dlcLightingCaps: super::super::super::Win32::Graphics::Direct3D9::D3DLIGHTINGCAPS,
pub dpcLineCaps: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMCAPS,
pub dpcTriCaps: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMCAPS,
pub dwDeviceRenderBitDepth: u32,
pub dwDeviceZBufferBitDepth: u32,
pub dwMaxBufferSize: u32,
pub dwMaxVertexCount: u32,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::marker::Copy for D3DDEVICEDESC_V1 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::clone::Clone for D3DDEVICEDESC_V1 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::fmt::Debug for D3DDEVICEDESC_V1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDEVICEDESC_V1")
.field("dwSize", &self.dwSize)
.field("dwFlags", &self.dwFlags)
.field("dcmColorModel", &self.dcmColorModel)
.field("dwDevCaps", &self.dwDevCaps)
.field("dtcTransformCaps", &self.dtcTransformCaps)
.field("bClipping", &self.bClipping)
.field("dlcLightingCaps", &self.dlcLightingCaps)
.field("dpcLineCaps", &self.dpcLineCaps)
.field("dpcTriCaps", &self.dpcTriCaps)
.field("dwDeviceRenderBitDepth", &self.dwDeviceRenderBitDepth)
.field("dwDeviceZBufferBitDepth", &self.dwDeviceZBufferBitDepth)
.field("dwMaxBufferSize", &self.dwMaxBufferSize)
.field("dwMaxVertexCount", &self.dwMaxVertexCount)
.finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::windows_core::TypeKind for D3DDEVICEDESC_V1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::cmp::PartialEq for D3DDEVICEDESC_V1 {
fn eq(&self, other: &Self) -> bool {
self.dwSize == other.dwSize && self.dwFlags == other.dwFlags && self.dcmColorModel == other.dcmColorModel && self.dwDevCaps == other.dwDevCaps && self.dtcTransformCaps == other.dtcTransformCaps && self.bClipping == other.bClipping && self.dlcLightingCaps == other.dlcLightingCaps && self.dpcLineCaps == other.dpcLineCaps && self.dpcTriCaps == other.dpcTriCaps && self.dwDeviceRenderBitDepth == other.dwDeviceRenderBitDepth && self.dwDeviceZBufferBitDepth == other.dwDeviceZBufferBitDepth && self.dwMaxBufferSize == other.dwMaxBufferSize && self.dwMaxVertexCount == other.dwMaxVertexCount
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::cmp::Eq for D3DDEVICEDESC_V1 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::default::Default for D3DDEVICEDESC_V1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
pub struct D3DDEVICEDESC_V2 {
pub dwSize: u32,
pub dwFlags: u32,
pub dcmColorModel: u32,
pub dwDevCaps: u32,
pub dtcTransformCaps: super::super::super::Win32::Graphics::Direct3D9::D3DTRANSFORMCAPS,
pub bClipping: super::super::super::Win32::Foundation::BOOL,
pub dlcLightingCaps: super::super::super::Win32::Graphics::Direct3D9::D3DLIGHTINGCAPS,
pub dpcLineCaps: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMCAPS,
pub dpcTriCaps: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMCAPS,
pub dwDeviceRenderBitDepth: u32,
pub dwDeviceZBufferBitDepth: u32,
pub dwMaxBufferSize: u32,
pub dwMaxVertexCount: u32,
pub dwMinTextureWidth: u32,
pub dwMinTextureHeight: u32,
pub dwMaxTextureWidth: u32,
pub dwMaxTextureHeight: u32,
pub dwMinStippleWidth: u32,
pub dwMaxStippleWidth: u32,
pub dwMinStippleHeight: u32,
pub dwMaxStippleHeight: u32,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::marker::Copy for D3DDEVICEDESC_V2 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::clone::Clone for D3DDEVICEDESC_V2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::fmt::Debug for D3DDEVICEDESC_V2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDEVICEDESC_V2")
.field("dwSize", &self.dwSize)
.field("dwFlags", &self.dwFlags)
.field("dcmColorModel", &self.dcmColorModel)
.field("dwDevCaps", &self.dwDevCaps)
.field("dtcTransformCaps", &self.dtcTransformCaps)
.field("bClipping", &self.bClipping)
.field("dlcLightingCaps", &self.dlcLightingCaps)
.field("dpcLineCaps", &self.dpcLineCaps)
.field("dpcTriCaps", &self.dpcTriCaps)
.field("dwDeviceRenderBitDepth", &self.dwDeviceRenderBitDepth)
.field("dwDeviceZBufferBitDepth", &self.dwDeviceZBufferBitDepth)
.field("dwMaxBufferSize", &self.dwMaxBufferSize)
.field("dwMaxVertexCount", &self.dwMaxVertexCount)
.field("dwMinTextureWidth", &self.dwMinTextureWidth)
.field("dwMinTextureHeight", &self.dwMinTextureHeight)
.field("dwMaxTextureWidth", &self.dwMaxTextureWidth)
.field("dwMaxTextureHeight", &self.dwMaxTextureHeight)
.field("dwMinStippleWidth", &self.dwMinStippleWidth)
.field("dwMaxStippleWidth", &self.dwMaxStippleWidth)
.field("dwMinStippleHeight", &self.dwMinStippleHeight)
.field("dwMaxStippleHeight", &self.dwMaxStippleHeight)
.finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::windows_core::TypeKind for D3DDEVICEDESC_V2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::cmp::PartialEq for D3DDEVICEDESC_V2 {
fn eq(&self, other: &Self) -> bool {
self.dwSize == other.dwSize
&& self.dwFlags == other.dwFlags
&& self.dcmColorModel == other.dcmColorModel
&& self.dwDevCaps == other.dwDevCaps
&& self.dtcTransformCaps == other.dtcTransformCaps
&& self.bClipping == other.bClipping
&& self.dlcLightingCaps == other.dlcLightingCaps
&& self.dpcLineCaps == other.dpcLineCaps
&& self.dpcTriCaps == other.dpcTriCaps
&& self.dwDeviceRenderBitDepth == other.dwDeviceRenderBitDepth
&& self.dwDeviceZBufferBitDepth == other.dwDeviceZBufferBitDepth
&& self.dwMaxBufferSize == other.dwMaxBufferSize
&& self.dwMaxVertexCount == other.dwMaxVertexCount
&& self.dwMinTextureWidth == other.dwMinTextureWidth
&& self.dwMinTextureHeight == other.dwMinTextureHeight
&& self.dwMaxTextureWidth == other.dwMaxTextureWidth
&& self.dwMaxTextureHeight == other.dwMaxTextureHeight
&& self.dwMinStippleWidth == other.dwMinStippleWidth
&& self.dwMaxStippleWidth == other.dwMaxStippleWidth
&& self.dwMinStippleHeight == other.dwMinStippleHeight
&& self.dwMaxStippleHeight == other.dwMaxStippleHeight
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::cmp::Eq for D3DDEVICEDESC_V2 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::default::Default for D3DDEVICEDESC_V2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
pub struct D3DDEVICEDESC_V3 {
pub dwSize: u32,
pub dwFlags: u32,
pub dcmColorModel: u32,
pub dwDevCaps: u32,
pub dtcTransformCaps: super::super::super::Win32::Graphics::Direct3D9::D3DTRANSFORMCAPS,
pub bClipping: super::super::super::Win32::Foundation::BOOL,
pub dlcLightingCaps: super::super::super::Win32::Graphics::Direct3D9::D3DLIGHTINGCAPS,
pub dpcLineCaps: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMCAPS,
pub dpcTriCaps: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMCAPS,
pub dwDeviceRenderBitDepth: u32,
pub dwDeviceZBufferBitDepth: u32,
pub dwMaxBufferSize: u32,
pub dwMaxVertexCount: u32,
pub dwMinTextureWidth: u32,
pub dwMinTextureHeight: u32,
pub dwMaxTextureWidth: u32,
pub dwMaxTextureHeight: u32,
pub dwMinStippleWidth: u32,
pub dwMaxStippleWidth: u32,
pub dwMinStippleHeight: u32,
pub dwMaxStippleHeight: u32,
pub dwMaxTextureRepeat: u32,
pub dwMaxTextureAspectRatio: u32,
pub dwMaxAnisotropy: u32,
pub dvGuardBandLeft: f32,
pub dvGuardBandTop: f32,
pub dvGuardBandRight: f32,
pub dvGuardBandBottom: f32,
pub dvExtentsAdjust: f32,
pub dwStencilCaps: u32,
pub dwFVFCaps: u32,
pub dwTextureOpCaps: u32,
pub wMaxTextureBlendStages: u16,
pub wMaxSimultaneousTextures: u16,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::marker::Copy for D3DDEVICEDESC_V3 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::clone::Clone for D3DDEVICEDESC_V3 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::fmt::Debug for D3DDEVICEDESC_V3 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DDEVICEDESC_V3")
.field("dwSize", &self.dwSize)
.field("dwFlags", &self.dwFlags)
.field("dcmColorModel", &self.dcmColorModel)
.field("dwDevCaps", &self.dwDevCaps)
.field("dtcTransformCaps", &self.dtcTransformCaps)
.field("bClipping", &self.bClipping)
.field("dlcLightingCaps", &self.dlcLightingCaps)
.field("dpcLineCaps", &self.dpcLineCaps)
.field("dpcTriCaps", &self.dpcTriCaps)
.field("dwDeviceRenderBitDepth", &self.dwDeviceRenderBitDepth)
.field("dwDeviceZBufferBitDepth", &self.dwDeviceZBufferBitDepth)
.field("dwMaxBufferSize", &self.dwMaxBufferSize)
.field("dwMaxVertexCount", &self.dwMaxVertexCount)
.field("dwMinTextureWidth", &self.dwMinTextureWidth)
.field("dwMinTextureHeight", &self.dwMinTextureHeight)
.field("dwMaxTextureWidth", &self.dwMaxTextureWidth)
.field("dwMaxTextureHeight", &self.dwMaxTextureHeight)
.field("dwMinStippleWidth", &self.dwMinStippleWidth)
.field("dwMaxStippleWidth", &self.dwMaxStippleWidth)
.field("dwMinStippleHeight", &self.dwMinStippleHeight)
.field("dwMaxStippleHeight", &self.dwMaxStippleHeight)
.field("dwMaxTextureRepeat", &self.dwMaxTextureRepeat)
.field("dwMaxTextureAspectRatio", &self.dwMaxTextureAspectRatio)
.field("dwMaxAnisotropy", &self.dwMaxAnisotropy)
.field("dvGuardBandLeft", &self.dvGuardBandLeft)
.field("dvGuardBandTop", &self.dvGuardBandTop)
.field("dvGuardBandRight", &self.dvGuardBandRight)
.field("dvGuardBandBottom", &self.dvGuardBandBottom)
.field("dvExtentsAdjust", &self.dvExtentsAdjust)
.field("dwStencilCaps", &self.dwStencilCaps)
.field("dwFVFCaps", &self.dwFVFCaps)
.field("dwTextureOpCaps", &self.dwTextureOpCaps)
.field("wMaxTextureBlendStages", &self.wMaxTextureBlendStages)
.field("wMaxSimultaneousTextures", &self.wMaxSimultaneousTextures)
.finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::windows_core::TypeKind for D3DDEVICEDESC_V3 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::cmp::PartialEq for D3DDEVICEDESC_V3 {
fn eq(&self, other: &Self) -> bool {
self.dwSize == other.dwSize
&& self.dwFlags == other.dwFlags
&& self.dcmColorModel == other.dcmColorModel
&& self.dwDevCaps == other.dwDevCaps
&& self.dtcTransformCaps == other.dtcTransformCaps
&& self.bClipping == other.bClipping
&& self.dlcLightingCaps == other.dlcLightingCaps
&& self.dpcLineCaps == other.dpcLineCaps
&& self.dpcTriCaps == other.dpcTriCaps
&& self.dwDeviceRenderBitDepth == other.dwDeviceRenderBitDepth
&& self.dwDeviceZBufferBitDepth == other.dwDeviceZBufferBitDepth
&& self.dwMaxBufferSize == other.dwMaxBufferSize
&& self.dwMaxVertexCount == other.dwMaxVertexCount
&& self.dwMinTextureWidth == other.dwMinTextureWidth
&& self.dwMinTextureHeight == other.dwMinTextureHeight
&& self.dwMaxTextureWidth == other.dwMaxTextureWidth
&& self.dwMaxTextureHeight == other.dwMaxTextureHeight
&& self.dwMinStippleWidth == other.dwMinStippleWidth
&& self.dwMaxStippleWidth == other.dwMaxStippleWidth
&& self.dwMinStippleHeight == other.dwMinStippleHeight
&& self.dwMaxStippleHeight == other.dwMaxStippleHeight
&& self.dwMaxTextureRepeat == other.dwMaxTextureRepeat
&& self.dwMaxTextureAspectRatio == other.dwMaxTextureAspectRatio
&& self.dwMaxAnisotropy == other.dwMaxAnisotropy
&& self.dvGuardBandLeft == other.dvGuardBandLeft
&& self.dvGuardBandTop == other.dvGuardBandTop
&& self.dvGuardBandRight == other.dvGuardBandRight
&& self.dvGuardBandBottom == other.dvGuardBandBottom
&& self.dvExtentsAdjust == other.dvExtentsAdjust
&& self.dwStencilCaps == other.dwStencilCaps
&& self.dwFVFCaps == other.dwFVFCaps
&& self.dwTextureOpCaps == other.dwTextureOpCaps
&& self.wMaxTextureBlendStages == other.wMaxTextureBlendStages
&& self.wMaxSimultaneousTextures == other.wMaxSimultaneousTextures
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::cmp::Eq for D3DDEVICEDESC_V3 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::default::Default for D3DDEVICEDESC_V3 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DGPU_PHYSICAL_ADDRESS {
pub SegmentId: u32,
pub Padding: u32,
pub SegmentOffset: u64,
}
impl ::core::marker::Copy for D3DGPU_PHYSICAL_ADDRESS {}
impl ::core::clone::Clone for D3DGPU_PHYSICAL_ADDRESS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DGPU_PHYSICAL_ADDRESS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DGPU_PHYSICAL_ADDRESS").field("SegmentId", &self.SegmentId).field("Padding", &self.Padding).field("SegmentOffset", &self.SegmentOffset).finish()
}
}
impl ::windows_core::TypeKind for D3DGPU_PHYSICAL_ADDRESS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DGPU_PHYSICAL_ADDRESS {
fn eq(&self, other: &Self) -> bool {
self.SegmentId == other.SegmentId && self.Padding == other.Padding && self.SegmentOffset == other.SegmentOffset
}
}
impl ::core::cmp::Eq for D3DGPU_PHYSICAL_ADDRESS {}
impl ::core::default::Default for D3DGPU_PHYSICAL_ADDRESS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
pub struct D3DHAL_CALLBACKS {
pub dwSize: u32,
pub ContextCreate: LPD3DHAL_CONTEXTCREATECB,
pub ContextDestroy: LPD3DHAL_CONTEXTDESTROYCB,
pub ContextDestroyAll: LPD3DHAL_CONTEXTDESTROYALLCB,
pub SceneCapture: LPD3DHAL_SCENECAPTURECB,
pub lpReserved10: *mut ::core::ffi::c_void,
pub lpReserved11: *mut ::core::ffi::c_void,
pub RenderState: LPD3DHAL_RENDERSTATECB,
pub RenderPrimitive: LPD3DHAL_RENDERPRIMITIVECB,
pub dwReserved: u32,
pub TextureCreate: LPD3DHAL_TEXTURECREATECB,
pub TextureDestroy: LPD3DHAL_TEXTUREDESTROYCB,
pub TextureSwap: LPD3DHAL_TEXTURESWAPCB,
pub TextureGetSurf: LPD3DHAL_TEXTUREGETSURFCB,
pub lpReserved12: *mut ::core::ffi::c_void,
pub lpReserved13: *mut ::core::ffi::c_void,
pub lpReserved14: *mut ::core::ffi::c_void,
pub lpReserved15: *mut ::core::ffi::c_void,
pub lpReserved16: *mut ::core::ffi::c_void,
pub lpReserved17: *mut ::core::ffi::c_void,
pub lpReserved18: *mut ::core::ffi::c_void,
pub lpReserved19: *mut ::core::ffi::c_void,
pub lpReserved20: *mut ::core::ffi::c_void,
pub lpReserved21: *mut ::core::ffi::c_void,
pub GetState: LPD3DHAL_GETSTATECB,
pub dwReserved0: u32,
pub dwReserved1: u32,
pub dwReserved2: u32,
pub dwReserved3: u32,
pub dwReserved4: u32,
pub dwReserved5: u32,
pub dwReserved6: u32,
pub dwReserved7: u32,
pub dwReserved8: u32,
pub dwReserved9: u32,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::marker::Copy for D3DHAL_CALLBACKS {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::clone::Clone for D3DHAL_CALLBACKS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::fmt::Debug for D3DHAL_CALLBACKS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_CALLBACKS")
.field("dwSize", &self.dwSize)
.field("lpReserved10", &self.lpReserved10)
.field("lpReserved11", &self.lpReserved11)
.field("dwReserved", &self.dwReserved)
.field("lpReserved12", &self.lpReserved12)
.field("lpReserved13", &self.lpReserved13)
.field("lpReserved14", &self.lpReserved14)
.field("lpReserved15", &self.lpReserved15)
.field("lpReserved16", &self.lpReserved16)
.field("lpReserved17", &self.lpReserved17)
.field("lpReserved18", &self.lpReserved18)
.field("lpReserved19", &self.lpReserved19)
.field("lpReserved20", &self.lpReserved20)
.field("lpReserved21", &self.lpReserved21)
.field("dwReserved0", &self.dwReserved0)
.field("dwReserved1", &self.dwReserved1)
.field("dwReserved2", &self.dwReserved2)
.field("dwReserved3", &self.dwReserved3)
.field("dwReserved4", &self.dwReserved4)
.field("dwReserved5", &self.dwReserved5)
.field("dwReserved6", &self.dwReserved6)
.field("dwReserved7", &self.dwReserved7)
.field("dwReserved8", &self.dwReserved8)
.field("dwReserved9", &self.dwReserved9)
.finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::windows_core::TypeKind for D3DHAL_CALLBACKS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::default::Default for D3DHAL_CALLBACKS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
pub struct D3DHAL_CALLBACKS2 {
pub dwSize: u32,
pub dwFlags: u32,
pub SetRenderTarget: LPD3DHAL_SETRENDERTARGETCB,
pub Clear: LPD3DHAL_CLEARCB,
pub DrawOnePrimitive: LPD3DHAL_DRAWONEPRIMITIVECB,
pub DrawOneIndexedPrimitive: LPD3DHAL_DRAWONEINDEXEDPRIMITIVECB,
pub DrawPrimitives: LPD3DHAL_DRAWPRIMITIVESCB,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::marker::Copy for D3DHAL_CALLBACKS2 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::clone::Clone for D3DHAL_CALLBACKS2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::fmt::Debug for D3DHAL_CALLBACKS2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_CALLBACKS2").field("dwSize", &self.dwSize).field("dwFlags", &self.dwFlags).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::windows_core::TypeKind for D3DHAL_CALLBACKS2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::default::Default for D3DHAL_CALLBACKS2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
pub struct D3DHAL_CALLBACKS3 {
pub dwSize: u32,
pub dwFlags: u32,
pub Clear2: LPD3DHAL_CLEAR2CB,
pub lpvReserved: *mut ::core::ffi::c_void,
pub ValidateTextureStageState: LPD3DHAL_VALIDATETEXTURESTAGESTATECB,
pub DrawPrimitives2: LPD3DHAL_DRAWPRIMITIVES2CB,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::marker::Copy for D3DHAL_CALLBACKS3 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::clone::Clone for D3DHAL_CALLBACKS3 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::fmt::Debug for D3DHAL_CALLBACKS3 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_CALLBACKS3").field("dwSize", &self.dwSize).field("dwFlags", &self.dwFlags).field("lpvReserved", &self.lpvReserved).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::windows_core::TypeKind for D3DHAL_CALLBACKS3 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::default::Default for D3DHAL_CALLBACKS3 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DHAL_CLEAR2DATA {
pub dwhContext: usize,
pub dwFlags: u32,
pub dwFillColor: u32,
pub dvFillDepth: f32,
pub dwFillStencil: u32,
pub lpRects: *mut super::super::super::Win32::Graphics::Direct3D9::D3DRECT,
pub dwNumRects: u32,
pub ddrval: ::windows_core::HRESULT,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DHAL_CLEAR2DATA {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DHAL_CLEAR2DATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DHAL_CLEAR2DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_CLEAR2DATA").field("dwhContext", &self.dwhContext).field("dwFlags", &self.dwFlags).field("dwFillColor", &self.dwFillColor).field("dvFillDepth", &self.dvFillDepth).field("dwFillStencil", &self.dwFillStencil).field("lpRects", &self.lpRects).field("dwNumRects", &self.dwNumRects).field("ddrval", &self.ddrval).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DHAL_CLEAR2DATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DHAL_CLEAR2DATA {
fn eq(&self, other: &Self) -> bool {
self.dwhContext == other.dwhContext && self.dwFlags == other.dwFlags && self.dwFillColor == other.dwFillColor && self.dvFillDepth == other.dvFillDepth && self.dwFillStencil == other.dwFillStencil && self.lpRects == other.lpRects && self.dwNumRects == other.dwNumRects && self.ddrval == other.ddrval
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DHAL_CLEAR2DATA {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DHAL_CLEAR2DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DHAL_CLEARDATA {
pub dwhContext: usize,
pub dwFlags: u32,
pub dwFillColor: u32,
pub dwFillDepth: u32,
pub lpRects: *mut super::super::super::Win32::Graphics::Direct3D9::D3DRECT,
pub dwNumRects: u32,
pub ddrval: ::windows_core::HRESULT,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DHAL_CLEARDATA {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DHAL_CLEARDATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DHAL_CLEARDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_CLEARDATA").field("dwhContext", &self.dwhContext).field("dwFlags", &self.dwFlags).field("dwFillColor", &self.dwFillColor).field("dwFillDepth", &self.dwFillDepth).field("lpRects", &self.lpRects).field("dwNumRects", &self.dwNumRects).field("ddrval", &self.ddrval).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DHAL_CLEARDATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DHAL_CLEARDATA {
fn eq(&self, other: &Self) -> bool {
self.dwhContext == other.dwhContext && self.dwFlags == other.dwFlags && self.dwFillColor == other.dwFillColor && self.dwFillDepth == other.dwFillDepth && self.lpRects == other.lpRects && self.dwNumRects == other.dwNumRects && self.ddrval == other.ddrval
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DHAL_CLEARDATA {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DHAL_CLEARDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_CLIPPEDTRIANGLEFAN {
pub FirstVertexOffset: u32,
pub dwEdgeFlags: u32,
pub PrimitiveCount: u32,
}
impl ::core::marker::Copy for D3DHAL_CLIPPEDTRIANGLEFAN {}
impl ::core::clone::Clone for D3DHAL_CLIPPEDTRIANGLEFAN {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_CLIPPEDTRIANGLEFAN {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_CLIPPEDTRIANGLEFAN").field("FirstVertexOffset", &self.FirstVertexOffset).field("dwEdgeFlags", &self.dwEdgeFlags).field("PrimitiveCount", &self.PrimitiveCount).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_CLIPPEDTRIANGLEFAN {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_CLIPPEDTRIANGLEFAN {
fn eq(&self, other: &Self) -> bool {
self.FirstVertexOffset == other.FirstVertexOffset && self.dwEdgeFlags == other.dwEdgeFlags && self.PrimitiveCount == other.PrimitiveCount
}
}
impl ::core::cmp::Eq for D3DHAL_CLIPPEDTRIANGLEFAN {}
impl ::core::default::Default for D3DHAL_CLIPPEDTRIANGLEFAN {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
pub struct D3DHAL_CONTEXTCREATEDATA {
pub Anonymous1: D3DHAL_CONTEXTCREATEDATA_0,
pub Anonymous2: D3DHAL_CONTEXTCREATEDATA_1,
pub Anonymous3: D3DHAL_CONTEXTCREATEDATA_2,
pub Anonymous4: D3DHAL_CONTEXTCREATEDATA_3,
pub dwhContext: usize,
pub ddrval: ::windows_core::HRESULT,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::clone::Clone for D3DHAL_CONTEXTCREATEDATA {
fn clone(&self) -> Self {
unsafe { ::core::mem::transmute_copy(self) }
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::windows_core::TypeKind for D3DHAL_CONTEXTCREATEDATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::default::Default for D3DHAL_CONTEXTCREATEDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
pub union D3DHAL_CONTEXTCREATEDATA_0 {
pub lpDDGbl: *mut super::super::super::Win32::Graphics::DirectDraw::DDRAWI_DIRECTDRAW_GBL,
pub lpDDLcl: *mut super::super::super::Win32::Graphics::DirectDraw::DDRAWI_DIRECTDRAW_LCL,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::marker::Copy for D3DHAL_CONTEXTCREATEDATA_0 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::clone::Clone for D3DHAL_CONTEXTCREATEDATA_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::windows_core::TypeKind for D3DHAL_CONTEXTCREATEDATA_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::default::Default for D3DHAL_CONTEXTCREATEDATA_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
pub union D3DHAL_CONTEXTCREATEDATA_1 {
pub lpDDS: ::std::mem::ManuallyDrop<::core::option::Option<super::super::super::Win32::Graphics::DirectDraw::IDirectDrawSurface>>,
pub lpDDSLcl: *mut super::super::super::Win32::Graphics::DirectDraw::DDRAWI_DDRAWSURFACE_LCL,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::clone::Clone for D3DHAL_CONTEXTCREATEDATA_1 {
fn clone(&self) -> Self {
unsafe { ::core::mem::transmute_copy(self) }
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::windows_core::TypeKind for D3DHAL_CONTEXTCREATEDATA_1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::default::Default for D3DHAL_CONTEXTCREATEDATA_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
pub union D3DHAL_CONTEXTCREATEDATA_2 {
pub lpDDSZ: ::std::mem::ManuallyDrop<::core::option::Option<super::super::super::Win32::Graphics::DirectDraw::IDirectDrawSurface>>,
pub lpDDSZLcl: *mut super::super::super::Win32::Graphics::DirectDraw::DDRAWI_DDRAWSURFACE_LCL,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::clone::Clone for D3DHAL_CONTEXTCREATEDATA_2 {
fn clone(&self) -> Self {
unsafe { ::core::mem::transmute_copy(self) }
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::windows_core::TypeKind for D3DHAL_CONTEXTCREATEDATA_2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::default::Default for D3DHAL_CONTEXTCREATEDATA_2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
pub union D3DHAL_CONTEXTCREATEDATA_3 {
pub dwPID: u32,
pub dwrstates: usize,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::marker::Copy for D3DHAL_CONTEXTCREATEDATA_3 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::clone::Clone for D3DHAL_CONTEXTCREATEDATA_3 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::windows_core::TypeKind for D3DHAL_CONTEXTCREATEDATA_3 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::default::Default for D3DHAL_CONTEXTCREATEDATA_3 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_CONTEXTDESTROYALLDATA {
pub dwPID: u32,
pub ddrval: ::windows_core::HRESULT,
}
impl ::core::marker::Copy for D3DHAL_CONTEXTDESTROYALLDATA {}
impl ::core::clone::Clone for D3DHAL_CONTEXTDESTROYALLDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_CONTEXTDESTROYALLDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_CONTEXTDESTROYALLDATA").field("dwPID", &self.dwPID).field("ddrval", &self.ddrval).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_CONTEXTDESTROYALLDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_CONTEXTDESTROYALLDATA {
fn eq(&self, other: &Self) -> bool {
self.dwPID == other.dwPID && self.ddrval == other.ddrval
}
}
impl ::core::cmp::Eq for D3DHAL_CONTEXTDESTROYALLDATA {}
impl ::core::default::Default for D3DHAL_CONTEXTDESTROYALLDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_CONTEXTDESTROYDATA {
pub dwhContext: usize,
pub ddrval: ::windows_core::HRESULT,
}
impl ::core::marker::Copy for D3DHAL_CONTEXTDESTROYDATA {}
impl ::core::clone::Clone for D3DHAL_CONTEXTDESTROYDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_CONTEXTDESTROYDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_CONTEXTDESTROYDATA").field("dwhContext", &self.dwhContext).field("ddrval", &self.ddrval).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_CONTEXTDESTROYDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_CONTEXTDESTROYDATA {
fn eq(&self, other: &Self) -> bool {
self.dwhContext == other.dwhContext && self.ddrval == other.ddrval
}
}
impl ::core::cmp::Eq for D3DHAL_CONTEXTDESTROYDATA {}
impl ::core::default::Default for D3DHAL_CONTEXTDESTROYDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_D3DDX6EXTENDEDCAPS {
pub dwSize: u32,
pub dwMinTextureWidth: u32,
pub dwMaxTextureWidth: u32,
pub dwMinTextureHeight: u32,
pub dwMaxTextureHeight: u32,
pub dwMinStippleWidth: u32,
pub dwMaxStippleWidth: u32,
pub dwMinStippleHeight: u32,
pub dwMaxStippleHeight: u32,
pub dwMaxTextureRepeat: u32,
pub dwMaxTextureAspectRatio: u32,
pub dwMaxAnisotropy: u32,
pub dvGuardBandLeft: f32,
pub dvGuardBandTop: f32,
pub dvGuardBandRight: f32,
pub dvGuardBandBottom: f32,
pub dvExtentsAdjust: f32,
pub dwStencilCaps: u32,
pub dwFVFCaps: u32,
pub dwTextureOpCaps: u32,
pub wMaxTextureBlendStages: u16,
pub wMaxSimultaneousTextures: u16,
}
impl ::core::marker::Copy for D3DHAL_D3DDX6EXTENDEDCAPS {}
impl ::core::clone::Clone for D3DHAL_D3DDX6EXTENDEDCAPS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_D3DDX6EXTENDEDCAPS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_D3DDX6EXTENDEDCAPS")
.field("dwSize", &self.dwSize)
.field("dwMinTextureWidth", &self.dwMinTextureWidth)
.field("dwMaxTextureWidth", &self.dwMaxTextureWidth)
.field("dwMinTextureHeight", &self.dwMinTextureHeight)
.field("dwMaxTextureHeight", &self.dwMaxTextureHeight)
.field("dwMinStippleWidth", &self.dwMinStippleWidth)
.field("dwMaxStippleWidth", &self.dwMaxStippleWidth)
.field("dwMinStippleHeight", &self.dwMinStippleHeight)
.field("dwMaxStippleHeight", &self.dwMaxStippleHeight)
.field("dwMaxTextureRepeat", &self.dwMaxTextureRepeat)
.field("dwMaxTextureAspectRatio", &self.dwMaxTextureAspectRatio)
.field("dwMaxAnisotropy", &self.dwMaxAnisotropy)
.field("dvGuardBandLeft", &self.dvGuardBandLeft)
.field("dvGuardBandTop", &self.dvGuardBandTop)
.field("dvGuardBandRight", &self.dvGuardBandRight)
.field("dvGuardBandBottom", &self.dvGuardBandBottom)
.field("dvExtentsAdjust", &self.dvExtentsAdjust)
.field("dwStencilCaps", &self.dwStencilCaps)
.field("dwFVFCaps", &self.dwFVFCaps)
.field("dwTextureOpCaps", &self.dwTextureOpCaps)
.field("wMaxTextureBlendStages", &self.wMaxTextureBlendStages)
.field("wMaxSimultaneousTextures", &self.wMaxSimultaneousTextures)
.finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_D3DDX6EXTENDEDCAPS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_D3DDX6EXTENDEDCAPS {
fn eq(&self, other: &Self) -> bool {
self.dwSize == other.dwSize
&& self.dwMinTextureWidth == other.dwMinTextureWidth
&& self.dwMaxTextureWidth == other.dwMaxTextureWidth
&& self.dwMinTextureHeight == other.dwMinTextureHeight
&& self.dwMaxTextureHeight == other.dwMaxTextureHeight
&& self.dwMinStippleWidth == other.dwMinStippleWidth
&& self.dwMaxStippleWidth == other.dwMaxStippleWidth
&& self.dwMinStippleHeight == other.dwMinStippleHeight
&& self.dwMaxStippleHeight == other.dwMaxStippleHeight
&& self.dwMaxTextureRepeat == other.dwMaxTextureRepeat
&& self.dwMaxTextureAspectRatio == other.dwMaxTextureAspectRatio
&& self.dwMaxAnisotropy == other.dwMaxAnisotropy
&& self.dvGuardBandLeft == other.dvGuardBandLeft
&& self.dvGuardBandTop == other.dvGuardBandTop
&& self.dvGuardBandRight == other.dvGuardBandRight
&& self.dvGuardBandBottom == other.dvGuardBandBottom
&& self.dvExtentsAdjust == other.dvExtentsAdjust
&& self.dwStencilCaps == other.dwStencilCaps
&& self.dwFVFCaps == other.dwFVFCaps
&& self.dwTextureOpCaps == other.dwTextureOpCaps
&& self.wMaxTextureBlendStages == other.wMaxTextureBlendStages
&& self.wMaxSimultaneousTextures == other.wMaxSimultaneousTextures
}
}
impl ::core::cmp::Eq for D3DHAL_D3DDX6EXTENDEDCAPS {}
impl ::core::default::Default for D3DHAL_D3DDX6EXTENDEDCAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_D3DEXTENDEDCAPS {
pub dwSize: u32,
pub dwMinTextureWidth: u32,
pub dwMaxTextureWidth: u32,
pub dwMinTextureHeight: u32,
pub dwMaxTextureHeight: u32,
pub dwMinStippleWidth: u32,
pub dwMaxStippleWidth: u32,
pub dwMinStippleHeight: u32,
pub dwMaxStippleHeight: u32,
pub dwMaxTextureRepeat: u32,
pub dwMaxTextureAspectRatio: u32,
pub dwMaxAnisotropy: u32,
pub dvGuardBandLeft: f32,
pub dvGuardBandTop: f32,
pub dvGuardBandRight: f32,
pub dvGuardBandBottom: f32,
pub dvExtentsAdjust: f32,
pub dwStencilCaps: u32,
pub dwFVFCaps: u32,
pub dwTextureOpCaps: u32,
pub wMaxTextureBlendStages: u16,
pub wMaxSimultaneousTextures: u16,
pub dwMaxActiveLights: u32,
pub dvMaxVertexW: f32,
pub wMaxUserClipPlanes: u16,
pub wMaxVertexBlendMatrices: u16,
pub dwVertexProcessingCaps: u32,
pub dwReserved1: u32,
pub dwReserved2: u32,
pub dwReserved3: u32,
pub dwReserved4: u32,
}
impl ::core::marker::Copy for D3DHAL_D3DEXTENDEDCAPS {}
impl ::core::clone::Clone for D3DHAL_D3DEXTENDEDCAPS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_D3DEXTENDEDCAPS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_D3DEXTENDEDCAPS")
.field("dwSize", &self.dwSize)
.field("dwMinTextureWidth", &self.dwMinTextureWidth)
.field("dwMaxTextureWidth", &self.dwMaxTextureWidth)
.field("dwMinTextureHeight", &self.dwMinTextureHeight)
.field("dwMaxTextureHeight", &self.dwMaxTextureHeight)
.field("dwMinStippleWidth", &self.dwMinStippleWidth)
.field("dwMaxStippleWidth", &self.dwMaxStippleWidth)
.field("dwMinStippleHeight", &self.dwMinStippleHeight)
.field("dwMaxStippleHeight", &self.dwMaxStippleHeight)
.field("dwMaxTextureRepeat", &self.dwMaxTextureRepeat)
.field("dwMaxTextureAspectRatio", &self.dwMaxTextureAspectRatio)
.field("dwMaxAnisotropy", &self.dwMaxAnisotropy)
.field("dvGuardBandLeft", &self.dvGuardBandLeft)
.field("dvGuardBandTop", &self.dvGuardBandTop)
.field("dvGuardBandRight", &self.dvGuardBandRight)
.field("dvGuardBandBottom", &self.dvGuardBandBottom)
.field("dvExtentsAdjust", &self.dvExtentsAdjust)
.field("dwStencilCaps", &self.dwStencilCaps)
.field("dwFVFCaps", &self.dwFVFCaps)
.field("dwTextureOpCaps", &self.dwTextureOpCaps)
.field("wMaxTextureBlendStages", &self.wMaxTextureBlendStages)
.field("wMaxSimultaneousTextures", &self.wMaxSimultaneousTextures)
.field("dwMaxActiveLights", &self.dwMaxActiveLights)
.field("dvMaxVertexW", &self.dvMaxVertexW)
.field("wMaxUserClipPlanes", &self.wMaxUserClipPlanes)
.field("wMaxVertexBlendMatrices", &self.wMaxVertexBlendMatrices)
.field("dwVertexProcessingCaps", &self.dwVertexProcessingCaps)
.field("dwReserved1", &self.dwReserved1)
.field("dwReserved2", &self.dwReserved2)
.field("dwReserved3", &self.dwReserved3)
.field("dwReserved4", &self.dwReserved4)
.finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_D3DEXTENDEDCAPS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_D3DEXTENDEDCAPS {
fn eq(&self, other: &Self) -> bool {
self.dwSize == other.dwSize
&& self.dwMinTextureWidth == other.dwMinTextureWidth
&& self.dwMaxTextureWidth == other.dwMaxTextureWidth
&& self.dwMinTextureHeight == other.dwMinTextureHeight
&& self.dwMaxTextureHeight == other.dwMaxTextureHeight
&& self.dwMinStippleWidth == other.dwMinStippleWidth
&& self.dwMaxStippleWidth == other.dwMaxStippleWidth
&& self.dwMinStippleHeight == other.dwMinStippleHeight
&& self.dwMaxStippleHeight == other.dwMaxStippleHeight
&& self.dwMaxTextureRepeat == other.dwMaxTextureRepeat
&& self.dwMaxTextureAspectRatio == other.dwMaxTextureAspectRatio
&& self.dwMaxAnisotropy == other.dwMaxAnisotropy
&& self.dvGuardBandLeft == other.dvGuardBandLeft
&& self.dvGuardBandTop == other.dvGuardBandTop
&& self.dvGuardBandRight == other.dvGuardBandRight
&& self.dvGuardBandBottom == other.dvGuardBandBottom
&& self.dvExtentsAdjust == other.dvExtentsAdjust
&& self.dwStencilCaps == other.dwStencilCaps
&& self.dwFVFCaps == other.dwFVFCaps
&& self.dwTextureOpCaps == other.dwTextureOpCaps
&& self.wMaxTextureBlendStages == other.wMaxTextureBlendStages
&& self.wMaxSimultaneousTextures == other.wMaxSimultaneousTextures
&& self.dwMaxActiveLights == other.dwMaxActiveLights
&& self.dvMaxVertexW == other.dvMaxVertexW
&& self.wMaxUserClipPlanes == other.wMaxUserClipPlanes
&& self.wMaxVertexBlendMatrices == other.wMaxVertexBlendMatrices
&& self.dwVertexProcessingCaps == other.dwVertexProcessingCaps
&& self.dwReserved1 == other.dwReserved1
&& self.dwReserved2 == other.dwReserved2
&& self.dwReserved3 == other.dwReserved3
&& self.dwReserved4 == other.dwReserved4
}
}
impl ::core::cmp::Eq for D3DHAL_D3DEXTENDEDCAPS {}
impl ::core::default::Default for D3DHAL_D3DEXTENDEDCAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DHAL_DP2ADDDIRTYBOX {
pub dwSurface: u32,
pub DirtyBox: super::super::super::Win32::Graphics::Direct3D9::D3DBOX,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DHAL_DP2ADDDIRTYBOX {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DHAL_DP2ADDDIRTYBOX {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DHAL_DP2ADDDIRTYBOX {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2ADDDIRTYBOX").field("dwSurface", &self.dwSurface).field("DirtyBox", &self.DirtyBox).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DHAL_DP2ADDDIRTYBOX {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DHAL_DP2ADDDIRTYBOX {
fn eq(&self, other: &Self) -> bool {
self.dwSurface == other.dwSurface && self.DirtyBox == other.DirtyBox
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DHAL_DP2ADDDIRTYBOX {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DHAL_DP2ADDDIRTYBOX {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DHAL_DP2ADDDIRTYRECT {
pub dwSurface: u32,
pub rDirtyArea: super::super::super::Win32::Foundation::RECTL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DHAL_DP2ADDDIRTYRECT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DHAL_DP2ADDDIRTYRECT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DHAL_DP2ADDDIRTYRECT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2ADDDIRTYRECT").field("dwSurface", &self.dwSurface).field("rDirtyArea", &self.rDirtyArea).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DHAL_DP2ADDDIRTYRECT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DHAL_DP2ADDDIRTYRECT {
fn eq(&self, other: &Self) -> bool {
self.dwSurface == other.dwSurface && self.rDirtyArea == other.rDirtyArea
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DHAL_DP2ADDDIRTYRECT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DHAL_DP2ADDDIRTYRECT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DHAL_DP2BLT {
pub dwSource: u32,
pub rSource: super::super::super::Win32::Foundation::RECTL,
pub dwSourceMipLevel: u32,
pub dwDest: u32,
pub rDest: super::super::super::Win32::Foundation::RECTL,
pub dwDestMipLevel: u32,
pub Flags: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DHAL_DP2BLT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DHAL_DP2BLT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DHAL_DP2BLT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2BLT").field("dwSource", &self.dwSource).field("rSource", &self.rSource).field("dwSourceMipLevel", &self.dwSourceMipLevel).field("dwDest", &self.dwDest).field("rDest", &self.rDest).field("dwDestMipLevel", &self.dwDestMipLevel).field("Flags", &self.Flags).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DHAL_DP2BLT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DHAL_DP2BLT {
fn eq(&self, other: &Self) -> bool {
self.dwSource == other.dwSource && self.rSource == other.rSource && self.dwSourceMipLevel == other.dwSourceMipLevel && self.dwDest == other.dwDest && self.rDest == other.rDest && self.dwDestMipLevel == other.dwDestMipLevel && self.Flags == other.Flags
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DHAL_DP2BLT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DHAL_DP2BLT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DHAL_DP2BUFFERBLT {
pub dwDDDestSurface: u32,
pub dwDDSrcSurface: u32,
pub dwOffset: u32,
pub rSrc: super::super::super::Win32::Graphics::Direct3D9::D3DRANGE,
pub dwFlags: u32,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DHAL_DP2BUFFERBLT {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DHAL_DP2BUFFERBLT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DHAL_DP2BUFFERBLT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2BUFFERBLT").field("dwDDDestSurface", &self.dwDDDestSurface).field("dwDDSrcSurface", &self.dwDDSrcSurface).field("dwOffset", &self.dwOffset).field("rSrc", &self.rSrc).field("dwFlags", &self.dwFlags).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DHAL_DP2BUFFERBLT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DHAL_DP2BUFFERBLT {
fn eq(&self, other: &Self) -> bool {
self.dwDDDestSurface == other.dwDDDestSurface && self.dwDDSrcSurface == other.dwDDSrcSurface && self.dwOffset == other.dwOffset && self.rSrc == other.rSrc && self.dwFlags == other.dwFlags
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DHAL_DP2BUFFERBLT {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DHAL_DP2BUFFERBLT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DHAL_DP2CLEAR {
pub dwFlags: u32,
pub dwFillColor: u32,
pub dvFillDepth: f32,
pub dwFillStencil: u32,
pub Rects: [super::super::super::Win32::Foundation::RECT; 1],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DHAL_DP2CLEAR {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DHAL_DP2CLEAR {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DHAL_DP2CLEAR {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2CLEAR").field("dwFlags", &self.dwFlags).field("dwFillColor", &self.dwFillColor).field("dvFillDepth", &self.dvFillDepth).field("dwFillStencil", &self.dwFillStencil).field("Rects", &self.Rects).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DHAL_DP2CLEAR {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DHAL_DP2CLEAR {
fn eq(&self, other: &Self) -> bool {
self.dwFlags == other.dwFlags && self.dwFillColor == other.dwFillColor && self.dvFillDepth == other.dvFillDepth && self.dwFillStencil == other.dwFillStencil && self.Rects == other.Rects
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DHAL_DP2CLEAR {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DHAL_DP2CLEAR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DHAL_DP2COLORFILL {
pub dwSurface: u32,
pub rRect: super::super::super::Win32::Foundation::RECTL,
pub Color: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DHAL_DP2COLORFILL {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DHAL_DP2COLORFILL {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DHAL_DP2COLORFILL {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2COLORFILL").field("dwSurface", &self.dwSurface).field("rRect", &self.rRect).field("Color", &self.Color).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DHAL_DP2COLORFILL {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DHAL_DP2COLORFILL {
fn eq(&self, other: &Self) -> bool {
self.dwSurface == other.dwSurface && self.rRect == other.rRect && self.Color == other.Color
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DHAL_DP2COLORFILL {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DHAL_DP2COLORFILL {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2COMMAND {
pub bCommand: u8,
pub bReserved: u8,
pub Anonymous: D3DHAL_DP2COMMAND_0,
}
impl ::core::marker::Copy for D3DHAL_DP2COMMAND {}
impl ::core::clone::Clone for D3DHAL_DP2COMMAND {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2COMMAND {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DHAL_DP2COMMAND {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DHAL_DP2COMMAND_0 {
pub wPrimitiveCount: u16,
pub wStateCount: u16,
}
impl ::core::marker::Copy for D3DHAL_DP2COMMAND_0 {}
impl ::core::clone::Clone for D3DHAL_DP2COMMAND_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2COMMAND_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DHAL_DP2COMMAND_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DHAL_DP2COMPOSERECTS {
pub SrcSurfaceHandle: u32,
pub DstSurfaceHandle: u32,
pub SrcRectDescsVBHandle: u32,
pub NumRects: u32,
pub DstRectDescsVBHandle: u32,
pub Operation: super::super::super::Win32::Graphics::Direct3D9::D3DCOMPOSERECTSOP,
pub XOffset: i32,
pub YOffset: i32,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DHAL_DP2COMPOSERECTS {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DHAL_DP2COMPOSERECTS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DHAL_DP2COMPOSERECTS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2COMPOSERECTS").field("SrcSurfaceHandle", &self.SrcSurfaceHandle).field("DstSurfaceHandle", &self.DstSurfaceHandle).field("SrcRectDescsVBHandle", &self.SrcRectDescsVBHandle).field("NumRects", &self.NumRects).field("DstRectDescsVBHandle", &self.DstRectDescsVBHandle).field("Operation", &self.Operation).field("XOffset", &self.XOffset).field("YOffset", &self.YOffset).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DHAL_DP2COMPOSERECTS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DHAL_DP2COMPOSERECTS {
fn eq(&self, other: &Self) -> bool {
self.SrcSurfaceHandle == other.SrcSurfaceHandle && self.DstSurfaceHandle == other.DstSurfaceHandle && self.SrcRectDescsVBHandle == other.SrcRectDescsVBHandle && self.NumRects == other.NumRects && self.DstRectDescsVBHandle == other.DstRectDescsVBHandle && self.Operation == other.Operation && self.XOffset == other.XOffset && self.YOffset == other.YOffset
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DHAL_DP2COMPOSERECTS {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DHAL_DP2COMPOSERECTS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2CREATELIGHT {
pub dwIndex: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2CREATELIGHT {}
impl ::core::clone::Clone for D3DHAL_DP2CREATELIGHT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2CREATELIGHT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2CREATELIGHT").field("dwIndex", &self.dwIndex).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2CREATELIGHT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2CREATELIGHT {
fn eq(&self, other: &Self) -> bool {
self.dwIndex == other.dwIndex
}
}
impl ::core::cmp::Eq for D3DHAL_DP2CREATELIGHT {}
impl ::core::default::Default for D3DHAL_DP2CREATELIGHT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2CREATEPIXELSHADER {
pub dwHandle: u32,
pub dwCodeSize: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2CREATEPIXELSHADER {}
impl ::core::clone::Clone for D3DHAL_DP2CREATEPIXELSHADER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2CREATEPIXELSHADER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2CREATEPIXELSHADER").field("dwHandle", &self.dwHandle).field("dwCodeSize", &self.dwCodeSize).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2CREATEPIXELSHADER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2CREATEPIXELSHADER {
fn eq(&self, other: &Self) -> bool {
self.dwHandle == other.dwHandle && self.dwCodeSize == other.dwCodeSize
}
}
impl ::core::cmp::Eq for D3DHAL_DP2CREATEPIXELSHADER {}
impl ::core::default::Default for D3DHAL_DP2CREATEPIXELSHADER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DHAL_DP2CREATEQUERY {
pub dwQueryID: u32,
pub QueryType: super::super::super::Win32::Graphics::Direct3D9::D3DQUERYTYPE,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DHAL_DP2CREATEQUERY {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DHAL_DP2CREATEQUERY {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DHAL_DP2CREATEQUERY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2CREATEQUERY").field("dwQueryID", &self.dwQueryID).field("QueryType", &self.QueryType).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DHAL_DP2CREATEQUERY {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DHAL_DP2CREATEQUERY {
fn eq(&self, other: &Self) -> bool {
self.dwQueryID == other.dwQueryID && self.QueryType == other.QueryType
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DHAL_DP2CREATEQUERY {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DHAL_DP2CREATEQUERY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2CREATEVERTEXSHADER {
pub dwHandle: u32,
pub dwDeclSize: u32,
pub dwCodeSize: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2CREATEVERTEXSHADER {}
impl ::core::clone::Clone for D3DHAL_DP2CREATEVERTEXSHADER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2CREATEVERTEXSHADER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2CREATEVERTEXSHADER").field("dwHandle", &self.dwHandle).field("dwDeclSize", &self.dwDeclSize).field("dwCodeSize", &self.dwCodeSize).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2CREATEVERTEXSHADER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2CREATEVERTEXSHADER {
fn eq(&self, other: &Self) -> bool {
self.dwHandle == other.dwHandle && self.dwDeclSize == other.dwDeclSize && self.dwCodeSize == other.dwCodeSize
}
}
impl ::core::cmp::Eq for D3DHAL_DP2CREATEVERTEXSHADER {}
impl ::core::default::Default for D3DHAL_DP2CREATEVERTEXSHADER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2CREATEVERTEXSHADERDECL {
pub dwHandle: u32,
pub dwNumVertexElements: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2CREATEVERTEXSHADERDECL {}
impl ::core::clone::Clone for D3DHAL_DP2CREATEVERTEXSHADERDECL {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2CREATEVERTEXSHADERDECL {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2CREATEVERTEXSHADERDECL").field("dwHandle", &self.dwHandle).field("dwNumVertexElements", &self.dwNumVertexElements).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2CREATEVERTEXSHADERDECL {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2CREATEVERTEXSHADERDECL {
fn eq(&self, other: &Self) -> bool {
self.dwHandle == other.dwHandle && self.dwNumVertexElements == other.dwNumVertexElements
}
}
impl ::core::cmp::Eq for D3DHAL_DP2CREATEVERTEXSHADERDECL {}
impl ::core::default::Default for D3DHAL_DP2CREATEVERTEXSHADERDECL {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2CREATEVERTEXSHADERFUNC {
pub dwHandle: u32,
pub dwSize: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2CREATEVERTEXSHADERFUNC {}
impl ::core::clone::Clone for D3DHAL_DP2CREATEVERTEXSHADERFUNC {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2CREATEVERTEXSHADERFUNC {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2CREATEVERTEXSHADERFUNC").field("dwHandle", &self.dwHandle).field("dwSize", &self.dwSize).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2CREATEVERTEXSHADERFUNC {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2CREATEVERTEXSHADERFUNC {
fn eq(&self, other: &Self) -> bool {
self.dwHandle == other.dwHandle && self.dwSize == other.dwSize
}
}
impl ::core::cmp::Eq for D3DHAL_DP2CREATEVERTEXSHADERFUNC {}
impl ::core::default::Default for D3DHAL_DP2CREATEVERTEXSHADERFUNC {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2DELETEQUERY {
pub dwQueryID: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2DELETEQUERY {}
impl ::core::clone::Clone for D3DHAL_DP2DELETEQUERY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2DELETEQUERY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2DELETEQUERY").field("dwQueryID", &self.dwQueryID).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2DELETEQUERY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2DELETEQUERY {
fn eq(&self, other: &Self) -> bool {
self.dwQueryID == other.dwQueryID
}
}
impl ::core::cmp::Eq for D3DHAL_DP2DELETEQUERY {}
impl ::core::default::Default for D3DHAL_DP2DELETEQUERY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DHAL_DP2DRAWINDEXEDPRIMITIVE {
pub primType: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMITIVETYPE,
pub BaseVertexIndex: i32,
pub MinIndex: u32,
pub NumVertices: u32,
pub StartIndex: u32,
pub PrimitiveCount: u32,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DHAL_DP2DRAWINDEXEDPRIMITIVE {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DHAL_DP2DRAWINDEXEDPRIMITIVE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DHAL_DP2DRAWINDEXEDPRIMITIVE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2DRAWINDEXEDPRIMITIVE").field("primType", &self.primType).field("BaseVertexIndex", &self.BaseVertexIndex).field("MinIndex", &self.MinIndex).field("NumVertices", &self.NumVertices).field("StartIndex", &self.StartIndex).field("PrimitiveCount", &self.PrimitiveCount).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DHAL_DP2DRAWINDEXEDPRIMITIVE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DHAL_DP2DRAWINDEXEDPRIMITIVE {
fn eq(&self, other: &Self) -> bool {
self.primType == other.primType && self.BaseVertexIndex == other.BaseVertexIndex && self.MinIndex == other.MinIndex && self.NumVertices == other.NumVertices && self.StartIndex == other.StartIndex && self.PrimitiveCount == other.PrimitiveCount
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DHAL_DP2DRAWINDEXEDPRIMITIVE {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DHAL_DP2DRAWINDEXEDPRIMITIVE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DHAL_DP2DRAWINDEXEDPRIMITIVE2 {
pub primType: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMITIVETYPE,
pub BaseVertexOffset: i32,
pub MinIndex: u32,
pub NumVertices: u32,
pub StartIndexOffset: u32,
pub PrimitiveCount: u32,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DHAL_DP2DRAWINDEXEDPRIMITIVE2 {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DHAL_DP2DRAWINDEXEDPRIMITIVE2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DHAL_DP2DRAWINDEXEDPRIMITIVE2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2DRAWINDEXEDPRIMITIVE2").field("primType", &self.primType).field("BaseVertexOffset", &self.BaseVertexOffset).field("MinIndex", &self.MinIndex).field("NumVertices", &self.NumVertices).field("StartIndexOffset", &self.StartIndexOffset).field("PrimitiveCount", &self.PrimitiveCount).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DHAL_DP2DRAWINDEXEDPRIMITIVE2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DHAL_DP2DRAWINDEXEDPRIMITIVE2 {
fn eq(&self, other: &Self) -> bool {
self.primType == other.primType && self.BaseVertexOffset == other.BaseVertexOffset && self.MinIndex == other.MinIndex && self.NumVertices == other.NumVertices && self.StartIndexOffset == other.StartIndexOffset && self.PrimitiveCount == other.PrimitiveCount
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DHAL_DP2DRAWINDEXEDPRIMITIVE2 {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DHAL_DP2DRAWINDEXEDPRIMITIVE2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DHAL_DP2DRAWPRIMITIVE {
pub primType: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMITIVETYPE,
pub VStart: u32,
pub PrimitiveCount: u32,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DHAL_DP2DRAWPRIMITIVE {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DHAL_DP2DRAWPRIMITIVE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DHAL_DP2DRAWPRIMITIVE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2DRAWPRIMITIVE").field("primType", &self.primType).field("VStart", &self.VStart).field("PrimitiveCount", &self.PrimitiveCount).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DHAL_DP2DRAWPRIMITIVE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DHAL_DP2DRAWPRIMITIVE {
fn eq(&self, other: &Self) -> bool {
self.primType == other.primType && self.VStart == other.VStart && self.PrimitiveCount == other.PrimitiveCount
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DHAL_DP2DRAWPRIMITIVE {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DHAL_DP2DRAWPRIMITIVE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DHAL_DP2DRAWPRIMITIVE2 {
pub primType: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMITIVETYPE,
pub FirstVertexOffset: u32,
pub PrimitiveCount: u32,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DHAL_DP2DRAWPRIMITIVE2 {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DHAL_DP2DRAWPRIMITIVE2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DHAL_DP2DRAWPRIMITIVE2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2DRAWPRIMITIVE2").field("primType", &self.primType).field("FirstVertexOffset", &self.FirstVertexOffset).field("PrimitiveCount", &self.PrimitiveCount).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DHAL_DP2DRAWPRIMITIVE2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DHAL_DP2DRAWPRIMITIVE2 {
fn eq(&self, other: &Self) -> bool {
self.primType == other.primType && self.FirstVertexOffset == other.FirstVertexOffset && self.PrimitiveCount == other.PrimitiveCount
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DHAL_DP2DRAWPRIMITIVE2 {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DHAL_DP2DRAWPRIMITIVE2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2DRAWRECTPATCH {
pub Handle: u32,
pub Flags: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2DRAWRECTPATCH {}
impl ::core::clone::Clone for D3DHAL_DP2DRAWRECTPATCH {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2DRAWRECTPATCH {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2DRAWRECTPATCH").field("Handle", &self.Handle).field("Flags", &self.Flags).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2DRAWRECTPATCH {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2DRAWRECTPATCH {
fn eq(&self, other: &Self) -> bool {
self.Handle == other.Handle && self.Flags == other.Flags
}
}
impl ::core::cmp::Eq for D3DHAL_DP2DRAWRECTPATCH {}
impl ::core::default::Default for D3DHAL_DP2DRAWRECTPATCH {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2DRAWTRIPATCH {
pub Handle: u32,
pub Flags: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2DRAWTRIPATCH {}
impl ::core::clone::Clone for D3DHAL_DP2DRAWTRIPATCH {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2DRAWTRIPATCH {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2DRAWTRIPATCH").field("Handle", &self.Handle).field("Flags", &self.Flags).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2DRAWTRIPATCH {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2DRAWTRIPATCH {
fn eq(&self, other: &Self) -> bool {
self.Handle == other.Handle && self.Flags == other.Flags
}
}
impl ::core::cmp::Eq for D3DHAL_DP2DRAWTRIPATCH {}
impl ::core::default::Default for D3DHAL_DP2DRAWTRIPATCH {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2EXT {
pub dwExtToken: u32,
pub dwSize: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2EXT {}
impl ::core::clone::Clone for D3DHAL_DP2EXT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2EXT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2EXT").field("dwExtToken", &self.dwExtToken).field("dwSize", &self.dwSize).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2EXT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2EXT {
fn eq(&self, other: &Self) -> bool {
self.dwExtToken == other.dwExtToken && self.dwSize == other.dwSize
}
}
impl ::core::cmp::Eq for D3DHAL_DP2EXT {}
impl ::core::default::Default for D3DHAL_DP2EXT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DHAL_DP2GENERATEMIPSUBLEVELS {
pub hSurface: u32,
pub Filter: super::super::super::Win32::Graphics::Direct3D9::D3DTEXTUREFILTERTYPE,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DHAL_DP2GENERATEMIPSUBLEVELS {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DHAL_DP2GENERATEMIPSUBLEVELS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DHAL_DP2GENERATEMIPSUBLEVELS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2GENERATEMIPSUBLEVELS").field("hSurface", &self.hSurface).field("Filter", &self.Filter).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DHAL_DP2GENERATEMIPSUBLEVELS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DHAL_DP2GENERATEMIPSUBLEVELS {
fn eq(&self, other: &Self) -> bool {
self.hSurface == other.hSurface && self.Filter == other.Filter
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DHAL_DP2GENERATEMIPSUBLEVELS {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DHAL_DP2GENERATEMIPSUBLEVELS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2INDEXEDLINELIST {
pub wV1: u16,
pub wV2: u16,
}
impl ::core::marker::Copy for D3DHAL_DP2INDEXEDLINELIST {}
impl ::core::clone::Clone for D3DHAL_DP2INDEXEDLINELIST {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2INDEXEDLINELIST {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2INDEXEDLINELIST").field("wV1", &self.wV1).field("wV2", &self.wV2).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2INDEXEDLINELIST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2INDEXEDLINELIST {
fn eq(&self, other: &Self) -> bool {
self.wV1 == other.wV1 && self.wV2 == other.wV2
}
}
impl ::core::cmp::Eq for D3DHAL_DP2INDEXEDLINELIST {}
impl ::core::default::Default for D3DHAL_DP2INDEXEDLINELIST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2INDEXEDLINESTRIP {
pub wV: [u16; 2],
}
impl ::core::marker::Copy for D3DHAL_DP2INDEXEDLINESTRIP {}
impl ::core::clone::Clone for D3DHAL_DP2INDEXEDLINESTRIP {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2INDEXEDLINESTRIP {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2INDEXEDLINESTRIP").field("wV", &self.wV).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2INDEXEDLINESTRIP {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2INDEXEDLINESTRIP {
fn eq(&self, other: &Self) -> bool {
self.wV == other.wV
}
}
impl ::core::cmp::Eq for D3DHAL_DP2INDEXEDLINESTRIP {}
impl ::core::default::Default for D3DHAL_DP2INDEXEDLINESTRIP {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2INDEXEDTRIANGLEFAN {
pub wV: [u16; 3],
}
impl ::core::marker::Copy for D3DHAL_DP2INDEXEDTRIANGLEFAN {}
impl ::core::clone::Clone for D3DHAL_DP2INDEXEDTRIANGLEFAN {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2INDEXEDTRIANGLEFAN {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2INDEXEDTRIANGLEFAN").field("wV", &self.wV).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2INDEXEDTRIANGLEFAN {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2INDEXEDTRIANGLEFAN {
fn eq(&self, other: &Self) -> bool {
self.wV == other.wV
}
}
impl ::core::cmp::Eq for D3DHAL_DP2INDEXEDTRIANGLEFAN {}
impl ::core::default::Default for D3DHAL_DP2INDEXEDTRIANGLEFAN {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2INDEXEDTRIANGLELIST {
pub wV1: u16,
pub wV2: u16,
pub wV3: u16,
pub wFlags: u16,
}
impl ::core::marker::Copy for D3DHAL_DP2INDEXEDTRIANGLELIST {}
impl ::core::clone::Clone for D3DHAL_DP2INDEXEDTRIANGLELIST {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2INDEXEDTRIANGLELIST {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2INDEXEDTRIANGLELIST").field("wV1", &self.wV1).field("wV2", &self.wV2).field("wV3", &self.wV3).field("wFlags", &self.wFlags).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2INDEXEDTRIANGLELIST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2INDEXEDTRIANGLELIST {
fn eq(&self, other: &Self) -> bool {
self.wV1 == other.wV1 && self.wV2 == other.wV2 && self.wV3 == other.wV3 && self.wFlags == other.wFlags
}
}
impl ::core::cmp::Eq for D3DHAL_DP2INDEXEDTRIANGLELIST {}
impl ::core::default::Default for D3DHAL_DP2INDEXEDTRIANGLELIST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2INDEXEDTRIANGLELIST2 {
pub wV1: u16,
pub wV2: u16,
pub wV3: u16,
}
impl ::core::marker::Copy for D3DHAL_DP2INDEXEDTRIANGLELIST2 {}
impl ::core::clone::Clone for D3DHAL_DP2INDEXEDTRIANGLELIST2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2INDEXEDTRIANGLELIST2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2INDEXEDTRIANGLELIST2").field("wV1", &self.wV1).field("wV2", &self.wV2).field("wV3", &self.wV3).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2INDEXEDTRIANGLELIST2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2INDEXEDTRIANGLELIST2 {
fn eq(&self, other: &Self) -> bool {
self.wV1 == other.wV1 && self.wV2 == other.wV2 && self.wV3 == other.wV3
}
}
impl ::core::cmp::Eq for D3DHAL_DP2INDEXEDTRIANGLELIST2 {}
impl ::core::default::Default for D3DHAL_DP2INDEXEDTRIANGLELIST2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2INDEXEDTRIANGLESTRIP {
pub wV: [u16; 3],
}
impl ::core::marker::Copy for D3DHAL_DP2INDEXEDTRIANGLESTRIP {}
impl ::core::clone::Clone for D3DHAL_DP2INDEXEDTRIANGLESTRIP {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2INDEXEDTRIANGLESTRIP {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2INDEXEDTRIANGLESTRIP").field("wV", &self.wV).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2INDEXEDTRIANGLESTRIP {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2INDEXEDTRIANGLESTRIP {
fn eq(&self, other: &Self) -> bool {
self.wV == other.wV
}
}
impl ::core::cmp::Eq for D3DHAL_DP2INDEXEDTRIANGLESTRIP {}
impl ::core::default::Default for D3DHAL_DP2INDEXEDTRIANGLESTRIP {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2ISSUEQUERY {
pub dwQueryID: u32,
pub dwFlags: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2ISSUEQUERY {}
impl ::core::clone::Clone for D3DHAL_DP2ISSUEQUERY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2ISSUEQUERY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2ISSUEQUERY").field("dwQueryID", &self.dwQueryID).field("dwFlags", &self.dwFlags).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2ISSUEQUERY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2ISSUEQUERY {
fn eq(&self, other: &Self) -> bool {
self.dwQueryID == other.dwQueryID && self.dwFlags == other.dwFlags
}
}
impl ::core::cmp::Eq for D3DHAL_DP2ISSUEQUERY {}
impl ::core::default::Default for D3DHAL_DP2ISSUEQUERY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2LINELIST {
pub wVStart: u16,
}
impl ::core::marker::Copy for D3DHAL_DP2LINELIST {}
impl ::core::clone::Clone for D3DHAL_DP2LINELIST {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2LINELIST {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2LINELIST").field("wVStart", &self.wVStart).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2LINELIST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2LINELIST {
fn eq(&self, other: &Self) -> bool {
self.wVStart == other.wVStart
}
}
impl ::core::cmp::Eq for D3DHAL_DP2LINELIST {}
impl ::core::default::Default for D3DHAL_DP2LINELIST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2LINESTRIP {
pub wVStart: u16,
}
impl ::core::marker::Copy for D3DHAL_DP2LINESTRIP {}
impl ::core::clone::Clone for D3DHAL_DP2LINESTRIP {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2LINESTRIP {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2LINESTRIP").field("wVStart", &self.wVStart).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2LINESTRIP {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2LINESTRIP {
fn eq(&self, other: &Self) -> bool {
self.wVStart == other.wVStart
}
}
impl ::core::cmp::Eq for D3DHAL_DP2LINESTRIP {}
impl ::core::default::Default for D3DHAL_DP2LINESTRIP {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
pub struct D3DHAL_DP2MULTIPLYTRANSFORM {
pub xfrmType: super::super::super::Win32::Graphics::Direct3D9::D3DTRANSFORMSTATETYPE,
pub matrix: super::super::super::Foundation::Numerics::Matrix4x4,
}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::marker::Copy for D3DHAL_DP2MULTIPLYTRANSFORM {}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::clone::Clone for D3DHAL_DP2MULTIPLYTRANSFORM {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::fmt::Debug for D3DHAL_DP2MULTIPLYTRANSFORM {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2MULTIPLYTRANSFORM").field("xfrmType", &self.xfrmType).field("matrix", &self.matrix).finish()
}
}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::windows_core::TypeKind for D3DHAL_DP2MULTIPLYTRANSFORM {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::cmp::PartialEq for D3DHAL_DP2MULTIPLYTRANSFORM {
fn eq(&self, other: &Self) -> bool {
self.xfrmType == other.xfrmType && self.matrix == other.matrix
}
}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::cmp::Eq for D3DHAL_DP2MULTIPLYTRANSFORM {}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::default::Default for D3DHAL_DP2MULTIPLYTRANSFORM {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2PIXELSHADER {
pub dwHandle: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2PIXELSHADER {}
impl ::core::clone::Clone for D3DHAL_DP2PIXELSHADER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2PIXELSHADER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2PIXELSHADER").field("dwHandle", &self.dwHandle).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2PIXELSHADER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2PIXELSHADER {
fn eq(&self, other: &Self) -> bool {
self.dwHandle == other.dwHandle
}
}
impl ::core::cmp::Eq for D3DHAL_DP2PIXELSHADER {}
impl ::core::default::Default for D3DHAL_DP2PIXELSHADER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2POINTS {
pub wCount: u16,
pub wVStart: u16,
}
impl ::core::marker::Copy for D3DHAL_DP2POINTS {}
impl ::core::clone::Clone for D3DHAL_DP2POINTS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2POINTS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2POINTS").field("wCount", &self.wCount).field("wVStart", &self.wVStart).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2POINTS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2POINTS {
fn eq(&self, other: &Self) -> bool {
self.wCount == other.wCount && self.wVStart == other.wVStart
}
}
impl ::core::cmp::Eq for D3DHAL_DP2POINTS {}
impl ::core::default::Default for D3DHAL_DP2POINTS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DHAL_DP2RENDERSTATE {
pub RenderState: super::super::super::Win32::Graphics::Direct3D9::D3DRENDERSTATETYPE,
pub Anonymous: D3DHAL_DP2RENDERSTATE_0,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DHAL_DP2RENDERSTATE {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DHAL_DP2RENDERSTATE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DHAL_DP2RENDERSTATE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DHAL_DP2RENDERSTATE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub union D3DHAL_DP2RENDERSTATE_0 {
pub dvState: f32,
pub dwState: u32,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DHAL_DP2RENDERSTATE_0 {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DHAL_DP2RENDERSTATE_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DHAL_DP2RENDERSTATE_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DHAL_DP2RENDERSTATE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2RESPONSE {
pub bCommand: u8,
pub bReserved: u8,
pub wStateCount: u16,
pub dwTotalSize: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2RESPONSE {}
impl ::core::clone::Clone for D3DHAL_DP2RESPONSE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2RESPONSE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2RESPONSE").field("bCommand", &self.bCommand).field("bReserved", &self.bReserved).field("wStateCount", &self.wStateCount).field("dwTotalSize", &self.dwTotalSize).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2RESPONSE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2RESPONSE {
fn eq(&self, other: &Self) -> bool {
self.bCommand == other.bCommand && self.bReserved == other.bReserved && self.wStateCount == other.wStateCount && self.dwTotalSize == other.dwTotalSize
}
}
impl ::core::cmp::Eq for D3DHAL_DP2RESPONSE {}
impl ::core::default::Default for D3DHAL_DP2RESPONSE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2RESPONSEQUERY {
pub dwQueryID: u32,
pub dwSize: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2RESPONSEQUERY {}
impl ::core::clone::Clone for D3DHAL_DP2RESPONSEQUERY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2RESPONSEQUERY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2RESPONSEQUERY").field("dwQueryID", &self.dwQueryID).field("dwSize", &self.dwSize).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2RESPONSEQUERY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2RESPONSEQUERY {
fn eq(&self, other: &Self) -> bool {
self.dwQueryID == other.dwQueryID && self.dwSize == other.dwSize
}
}
impl ::core::cmp::Eq for D3DHAL_DP2RESPONSEQUERY {}
impl ::core::default::Default for D3DHAL_DP2RESPONSEQUERY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2SETCLIPPLANE {
pub dwIndex: u32,
pub plane: [f32; 4],
}
impl ::core::marker::Copy for D3DHAL_DP2SETCLIPPLANE {}
impl ::core::clone::Clone for D3DHAL_DP2SETCLIPPLANE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2SETCLIPPLANE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2SETCLIPPLANE").field("dwIndex", &self.dwIndex).field("plane", &self.plane).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2SETCLIPPLANE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2SETCLIPPLANE {
fn eq(&self, other: &Self) -> bool {
self.dwIndex == other.dwIndex && self.plane == other.plane
}
}
impl ::core::cmp::Eq for D3DHAL_DP2SETCLIPPLANE {}
impl ::core::default::Default for D3DHAL_DP2SETCLIPPLANE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2SETCONVOLUTIONKERNELMONO {
pub dwWidth: u32,
pub dwHeight: u32,
pub dwFlags: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2SETCONVOLUTIONKERNELMONO {}
impl ::core::clone::Clone for D3DHAL_DP2SETCONVOLUTIONKERNELMONO {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2SETCONVOLUTIONKERNELMONO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2SETCONVOLUTIONKERNELMONO").field("dwWidth", &self.dwWidth).field("dwHeight", &self.dwHeight).field("dwFlags", &self.dwFlags).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2SETCONVOLUTIONKERNELMONO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2SETCONVOLUTIONKERNELMONO {
fn eq(&self, other: &Self) -> bool {
self.dwWidth == other.dwWidth && self.dwHeight == other.dwHeight && self.dwFlags == other.dwFlags
}
}
impl ::core::cmp::Eq for D3DHAL_DP2SETCONVOLUTIONKERNELMONO {}
impl ::core::default::Default for D3DHAL_DP2SETCONVOLUTIONKERNELMONO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2SETDEPTHSTENCIL {
pub hZBuffer: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2SETDEPTHSTENCIL {}
impl ::core::clone::Clone for D3DHAL_DP2SETDEPTHSTENCIL {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2SETDEPTHSTENCIL {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2SETDEPTHSTENCIL").field("hZBuffer", &self.hZBuffer).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2SETDEPTHSTENCIL {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2SETDEPTHSTENCIL {
fn eq(&self, other: &Self) -> bool {
self.hZBuffer == other.hZBuffer
}
}
impl ::core::cmp::Eq for D3DHAL_DP2SETDEPTHSTENCIL {}
impl ::core::default::Default for D3DHAL_DP2SETDEPTHSTENCIL {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2SETINDICES {
pub dwVBHandle: u32,
pub dwStride: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2SETINDICES {}
impl ::core::clone::Clone for D3DHAL_DP2SETINDICES {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2SETINDICES {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2SETINDICES").field("dwVBHandle", &self.dwVBHandle).field("dwStride", &self.dwStride).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2SETINDICES {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2SETINDICES {
fn eq(&self, other: &Self) -> bool {
self.dwVBHandle == other.dwVBHandle && self.dwStride == other.dwStride
}
}
impl ::core::cmp::Eq for D3DHAL_DP2SETINDICES {}
impl ::core::default::Default for D3DHAL_DP2SETINDICES {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2SETLIGHT {
pub dwIndex: u32,
pub dwDataType: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2SETLIGHT {}
impl ::core::clone::Clone for D3DHAL_DP2SETLIGHT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2SETLIGHT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2SETLIGHT").field("dwIndex", &self.dwIndex).field("dwDataType", &self.dwDataType).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2SETLIGHT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2SETLIGHT {
fn eq(&self, other: &Self) -> bool {
self.dwIndex == other.dwIndex && self.dwDataType == other.dwDataType
}
}
impl ::core::cmp::Eq for D3DHAL_DP2SETLIGHT {}
impl ::core::default::Default for D3DHAL_DP2SETLIGHT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2SETPALETTE {
pub dwPaletteHandle: u32,
pub dwPaletteFlags: u32,
pub dwSurfaceHandle: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2SETPALETTE {}
impl ::core::clone::Clone for D3DHAL_DP2SETPALETTE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2SETPALETTE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2SETPALETTE").field("dwPaletteHandle", &self.dwPaletteHandle).field("dwPaletteFlags", &self.dwPaletteFlags).field("dwSurfaceHandle", &self.dwSurfaceHandle).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2SETPALETTE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2SETPALETTE {
fn eq(&self, other: &Self) -> bool {
self.dwPaletteHandle == other.dwPaletteHandle && self.dwPaletteFlags == other.dwPaletteFlags && self.dwSurfaceHandle == other.dwSurfaceHandle
}
}
impl ::core::cmp::Eq for D3DHAL_DP2SETPALETTE {}
impl ::core::default::Default for D3DHAL_DP2SETPALETTE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2SETPIXELSHADERCONST {
pub dwRegister: u32,
pub dwCount: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2SETPIXELSHADERCONST {}
impl ::core::clone::Clone for D3DHAL_DP2SETPIXELSHADERCONST {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2SETPIXELSHADERCONST {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2SETPIXELSHADERCONST").field("dwRegister", &self.dwRegister).field("dwCount", &self.dwCount).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2SETPIXELSHADERCONST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2SETPIXELSHADERCONST {
fn eq(&self, other: &Self) -> bool {
self.dwRegister == other.dwRegister && self.dwCount == other.dwCount
}
}
impl ::core::cmp::Eq for D3DHAL_DP2SETPIXELSHADERCONST {}
impl ::core::default::Default for D3DHAL_DP2SETPIXELSHADERCONST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2SETPRIORITY {
pub dwDDSurface: u32,
pub dwPriority: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2SETPRIORITY {}
impl ::core::clone::Clone for D3DHAL_DP2SETPRIORITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2SETPRIORITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2SETPRIORITY").field("dwDDSurface", &self.dwDDSurface).field("dwPriority", &self.dwPriority).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2SETPRIORITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2SETPRIORITY {
fn eq(&self, other: &Self) -> bool {
self.dwDDSurface == other.dwDDSurface && self.dwPriority == other.dwPriority
}
}
impl ::core::cmp::Eq for D3DHAL_DP2SETPRIORITY {}
impl ::core::default::Default for D3DHAL_DP2SETPRIORITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2SETRENDERTARGET {
pub hRenderTarget: u32,
pub hZBuffer: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2SETRENDERTARGET {}
impl ::core::clone::Clone for D3DHAL_DP2SETRENDERTARGET {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2SETRENDERTARGET {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2SETRENDERTARGET").field("hRenderTarget", &self.hRenderTarget).field("hZBuffer", &self.hZBuffer).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2SETRENDERTARGET {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2SETRENDERTARGET {
fn eq(&self, other: &Self) -> bool {
self.hRenderTarget == other.hRenderTarget && self.hZBuffer == other.hZBuffer
}
}
impl ::core::cmp::Eq for D3DHAL_DP2SETRENDERTARGET {}
impl ::core::default::Default for D3DHAL_DP2SETRENDERTARGET {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2SETRENDERTARGET2 {
pub RTIndex: u32,
pub hRenderTarget: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2SETRENDERTARGET2 {}
impl ::core::clone::Clone for D3DHAL_DP2SETRENDERTARGET2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2SETRENDERTARGET2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2SETRENDERTARGET2").field("RTIndex", &self.RTIndex).field("hRenderTarget", &self.hRenderTarget).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2SETRENDERTARGET2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2SETRENDERTARGET2 {
fn eq(&self, other: &Self) -> bool {
self.RTIndex == other.RTIndex && self.hRenderTarget == other.hRenderTarget
}
}
impl ::core::cmp::Eq for D3DHAL_DP2SETRENDERTARGET2 {}
impl ::core::default::Default for D3DHAL_DP2SETRENDERTARGET2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2SETSTREAMSOURCE {
pub dwStream: u32,
pub dwVBHandle: u32,
pub dwStride: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2SETSTREAMSOURCE {}
impl ::core::clone::Clone for D3DHAL_DP2SETSTREAMSOURCE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2SETSTREAMSOURCE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2SETSTREAMSOURCE").field("dwStream", &self.dwStream).field("dwVBHandle", &self.dwVBHandle).field("dwStride", &self.dwStride).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2SETSTREAMSOURCE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2SETSTREAMSOURCE {
fn eq(&self, other: &Self) -> bool {
self.dwStream == other.dwStream && self.dwVBHandle == other.dwVBHandle && self.dwStride == other.dwStride
}
}
impl ::core::cmp::Eq for D3DHAL_DP2SETSTREAMSOURCE {}
impl ::core::default::Default for D3DHAL_DP2SETSTREAMSOURCE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2SETSTREAMSOURCE2 {
pub dwStream: u32,
pub dwVBHandle: u32,
pub dwOffset: u32,
pub dwStride: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2SETSTREAMSOURCE2 {}
impl ::core::clone::Clone for D3DHAL_DP2SETSTREAMSOURCE2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2SETSTREAMSOURCE2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2SETSTREAMSOURCE2").field("dwStream", &self.dwStream).field("dwVBHandle", &self.dwVBHandle).field("dwOffset", &self.dwOffset).field("dwStride", &self.dwStride).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2SETSTREAMSOURCE2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2SETSTREAMSOURCE2 {
fn eq(&self, other: &Self) -> bool {
self.dwStream == other.dwStream && self.dwVBHandle == other.dwVBHandle && self.dwOffset == other.dwOffset && self.dwStride == other.dwStride
}
}
impl ::core::cmp::Eq for D3DHAL_DP2SETSTREAMSOURCE2 {}
impl ::core::default::Default for D3DHAL_DP2SETSTREAMSOURCE2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2SETSTREAMSOURCEFREQ {
pub dwStream: u32,
pub dwDivider: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2SETSTREAMSOURCEFREQ {}
impl ::core::clone::Clone for D3DHAL_DP2SETSTREAMSOURCEFREQ {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2SETSTREAMSOURCEFREQ {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2SETSTREAMSOURCEFREQ").field("dwStream", &self.dwStream).field("dwDivider", &self.dwDivider).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2SETSTREAMSOURCEFREQ {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2SETSTREAMSOURCEFREQ {
fn eq(&self, other: &Self) -> bool {
self.dwStream == other.dwStream && self.dwDivider == other.dwDivider
}
}
impl ::core::cmp::Eq for D3DHAL_DP2SETSTREAMSOURCEFREQ {}
impl ::core::default::Default for D3DHAL_DP2SETSTREAMSOURCEFREQ {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2SETSTREAMSOURCEUM {
pub dwStream: u32,
pub dwStride: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2SETSTREAMSOURCEUM {}
impl ::core::clone::Clone for D3DHAL_DP2SETSTREAMSOURCEUM {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2SETSTREAMSOURCEUM {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2SETSTREAMSOURCEUM").field("dwStream", &self.dwStream).field("dwStride", &self.dwStride).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2SETSTREAMSOURCEUM {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2SETSTREAMSOURCEUM {
fn eq(&self, other: &Self) -> bool {
self.dwStream == other.dwStream && self.dwStride == other.dwStride
}
}
impl ::core::cmp::Eq for D3DHAL_DP2SETSTREAMSOURCEUM {}
impl ::core::default::Default for D3DHAL_DP2SETSTREAMSOURCEUM {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2SETTEXLOD {
pub dwDDSurface: u32,
pub dwLOD: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2SETTEXLOD {}
impl ::core::clone::Clone for D3DHAL_DP2SETTEXLOD {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2SETTEXLOD {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2SETTEXLOD").field("dwDDSurface", &self.dwDDSurface).field("dwLOD", &self.dwLOD).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2SETTEXLOD {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2SETTEXLOD {
fn eq(&self, other: &Self) -> bool {
self.dwDDSurface == other.dwDDSurface && self.dwLOD == other.dwLOD
}
}
impl ::core::cmp::Eq for D3DHAL_DP2SETTEXLOD {}
impl ::core::default::Default for D3DHAL_DP2SETTEXLOD {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
pub struct D3DHAL_DP2SETTRANSFORM {
pub xfrmType: super::super::super::Win32::Graphics::Direct3D9::D3DTRANSFORMSTATETYPE,
pub matrix: super::super::super::Foundation::Numerics::Matrix4x4,
}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::marker::Copy for D3DHAL_DP2SETTRANSFORM {}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::clone::Clone for D3DHAL_DP2SETTRANSFORM {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::fmt::Debug for D3DHAL_DP2SETTRANSFORM {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2SETTRANSFORM").field("xfrmType", &self.xfrmType).field("matrix", &self.matrix).finish()
}
}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::windows_core::TypeKind for D3DHAL_DP2SETTRANSFORM {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::cmp::PartialEq for D3DHAL_DP2SETTRANSFORM {
fn eq(&self, other: &Self) -> bool {
self.xfrmType == other.xfrmType && self.matrix == other.matrix
}
}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::cmp::Eq for D3DHAL_DP2SETTRANSFORM {}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::default::Default for D3DHAL_DP2SETTRANSFORM {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2SETVERTEXSHADERCONST {
pub dwRegister: u32,
pub dwCount: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2SETVERTEXSHADERCONST {}
impl ::core::clone::Clone for D3DHAL_DP2SETVERTEXSHADERCONST {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2SETVERTEXSHADERCONST {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2SETVERTEXSHADERCONST").field("dwRegister", &self.dwRegister).field("dwCount", &self.dwCount).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2SETVERTEXSHADERCONST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2SETVERTEXSHADERCONST {
fn eq(&self, other: &Self) -> bool {
self.dwRegister == other.dwRegister && self.dwCount == other.dwCount
}
}
impl ::core::cmp::Eq for D3DHAL_DP2SETVERTEXSHADERCONST {}
impl ::core::default::Default for D3DHAL_DP2SETVERTEXSHADERCONST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2STARTVERTEX {
pub wVStart: u16,
}
impl ::core::marker::Copy for D3DHAL_DP2STARTVERTEX {}
impl ::core::clone::Clone for D3DHAL_DP2STARTVERTEX {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2STARTVERTEX {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2STARTVERTEX").field("wVStart", &self.wVStart).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2STARTVERTEX {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2STARTVERTEX {
fn eq(&self, other: &Self) -> bool {
self.wVStart == other.wVStart
}
}
impl ::core::cmp::Eq for D3DHAL_DP2STARTVERTEX {}
impl ::core::default::Default for D3DHAL_DP2STARTVERTEX {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DHAL_DP2STATESET {
pub dwOperation: u32,
pub dwParam: u32,
pub sbType: super::super::super::Win32::Graphics::Direct3D9::D3DSTATEBLOCKTYPE,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DHAL_DP2STATESET {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DHAL_DP2STATESET {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DHAL_DP2STATESET {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2STATESET").field("dwOperation", &self.dwOperation).field("dwParam", &self.dwParam).field("sbType", &self.sbType).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DHAL_DP2STATESET {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DHAL_DP2STATESET {
fn eq(&self, other: &Self) -> bool {
self.dwOperation == other.dwOperation && self.dwParam == other.dwParam && self.sbType == other.sbType
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DHAL_DP2STATESET {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DHAL_DP2STATESET {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DHAL_DP2SURFACEBLT {
pub dwSource: u32,
pub rSource: super::super::super::Win32::Foundation::RECTL,
pub dwSourceMipLevel: u32,
pub dwDest: u32,
pub rDest: super::super::super::Win32::Foundation::RECTL,
pub dwDestMipLevel: u32,
pub Flags: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DHAL_DP2SURFACEBLT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DHAL_DP2SURFACEBLT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DHAL_DP2SURFACEBLT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2SURFACEBLT").field("dwSource", &self.dwSource).field("rSource", &self.rSource).field("dwSourceMipLevel", &self.dwSourceMipLevel).field("dwDest", &self.dwDest).field("rDest", &self.rDest).field("dwDestMipLevel", &self.dwDestMipLevel).field("Flags", &self.Flags).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DHAL_DP2SURFACEBLT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DHAL_DP2SURFACEBLT {
fn eq(&self, other: &Self) -> bool {
self.dwSource == other.dwSource && self.rSource == other.rSource && self.dwSourceMipLevel == other.dwSourceMipLevel && self.dwDest == other.dwDest && self.rDest == other.rDest && self.dwDestMipLevel == other.dwDestMipLevel && self.Flags == other.Flags
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DHAL_DP2SURFACEBLT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DHAL_DP2SURFACEBLT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DHAL_DP2TEXBLT {
pub dwDDDestSurface: u32,
pub dwDDSrcSurface: u32,
pub pDest: super::super::super::Win32::Foundation::POINT,
pub rSrc: super::super::super::Win32::Foundation::RECTL,
pub dwFlags: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DHAL_DP2TEXBLT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DHAL_DP2TEXBLT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DHAL_DP2TEXBLT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2TEXBLT").field("dwDDDestSurface", &self.dwDDDestSurface).field("dwDDSrcSurface", &self.dwDDSrcSurface).field("pDest", &self.pDest).field("rSrc", &self.rSrc).field("dwFlags", &self.dwFlags).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DHAL_DP2TEXBLT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DHAL_DP2TEXBLT {
fn eq(&self, other: &Self) -> bool {
self.dwDDDestSurface == other.dwDDDestSurface && self.dwDDSrcSurface == other.dwDDSrcSurface && self.pDest == other.pDest && self.rSrc == other.rSrc && self.dwFlags == other.dwFlags
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DHAL_DP2TEXBLT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DHAL_DP2TEXBLT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2TEXTURESTAGESTATE {
pub wStage: u16,
pub TSState: u16,
pub dwValue: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2TEXTURESTAGESTATE {}
impl ::core::clone::Clone for D3DHAL_DP2TEXTURESTAGESTATE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2TEXTURESTAGESTATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2TEXTURESTAGESTATE").field("wStage", &self.wStage).field("TSState", &self.TSState).field("dwValue", &self.dwValue).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2TEXTURESTAGESTATE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2TEXTURESTAGESTATE {
fn eq(&self, other: &Self) -> bool {
self.wStage == other.wStage && self.TSState == other.TSState && self.dwValue == other.dwValue
}
}
impl ::core::cmp::Eq for D3DHAL_DP2TEXTURESTAGESTATE {}
impl ::core::default::Default for D3DHAL_DP2TEXTURESTAGESTATE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2TRIANGLEFAN {
pub wVStart: u16,
}
impl ::core::marker::Copy for D3DHAL_DP2TRIANGLEFAN {}
impl ::core::clone::Clone for D3DHAL_DP2TRIANGLEFAN {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2TRIANGLEFAN {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2TRIANGLEFAN").field("wVStart", &self.wVStart).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2TRIANGLEFAN {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2TRIANGLEFAN {
fn eq(&self, other: &Self) -> bool {
self.wVStart == other.wVStart
}
}
impl ::core::cmp::Eq for D3DHAL_DP2TRIANGLEFAN {}
impl ::core::default::Default for D3DHAL_DP2TRIANGLEFAN {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2TRIANGLEFAN_IMM {
pub dwEdgeFlags: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2TRIANGLEFAN_IMM {}
impl ::core::clone::Clone for D3DHAL_DP2TRIANGLEFAN_IMM {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2TRIANGLEFAN_IMM {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2TRIANGLEFAN_IMM").field("dwEdgeFlags", &self.dwEdgeFlags).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2TRIANGLEFAN_IMM {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2TRIANGLEFAN_IMM {
fn eq(&self, other: &Self) -> bool {
self.dwEdgeFlags == other.dwEdgeFlags
}
}
impl ::core::cmp::Eq for D3DHAL_DP2TRIANGLEFAN_IMM {}
impl ::core::default::Default for D3DHAL_DP2TRIANGLEFAN_IMM {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2TRIANGLELIST {
pub wVStart: u16,
}
impl ::core::marker::Copy for D3DHAL_DP2TRIANGLELIST {}
impl ::core::clone::Clone for D3DHAL_DP2TRIANGLELIST {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2TRIANGLELIST {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2TRIANGLELIST").field("wVStart", &self.wVStart).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2TRIANGLELIST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2TRIANGLELIST {
fn eq(&self, other: &Self) -> bool {
self.wVStart == other.wVStart
}
}
impl ::core::cmp::Eq for D3DHAL_DP2TRIANGLELIST {}
impl ::core::default::Default for D3DHAL_DP2TRIANGLELIST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2TRIANGLESTRIP {
pub wVStart: u16,
}
impl ::core::marker::Copy for D3DHAL_DP2TRIANGLESTRIP {}
impl ::core::clone::Clone for D3DHAL_DP2TRIANGLESTRIP {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2TRIANGLESTRIP {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2TRIANGLESTRIP").field("wVStart", &self.wVStart).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2TRIANGLESTRIP {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2TRIANGLESTRIP {
fn eq(&self, other: &Self) -> bool {
self.wVStart == other.wVStart
}
}
impl ::core::cmp::Eq for D3DHAL_DP2TRIANGLESTRIP {}
impl ::core::default::Default for D3DHAL_DP2TRIANGLESTRIP {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2UPDATEPALETTE {
pub dwPaletteHandle: u32,
pub wStartIndex: u16,
pub wNumEntries: u16,
}
impl ::core::marker::Copy for D3DHAL_DP2UPDATEPALETTE {}
impl ::core::clone::Clone for D3DHAL_DP2UPDATEPALETTE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2UPDATEPALETTE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2UPDATEPALETTE").field("dwPaletteHandle", &self.dwPaletteHandle).field("wStartIndex", &self.wStartIndex).field("wNumEntries", &self.wNumEntries).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2UPDATEPALETTE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2UPDATEPALETTE {
fn eq(&self, other: &Self) -> bool {
self.dwPaletteHandle == other.dwPaletteHandle && self.wStartIndex == other.wStartIndex && self.wNumEntries == other.wNumEntries
}
}
impl ::core::cmp::Eq for D3DHAL_DP2UPDATEPALETTE {}
impl ::core::default::Default for D3DHAL_DP2UPDATEPALETTE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2VERTEXSHADER {
pub dwHandle: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2VERTEXSHADER {}
impl ::core::clone::Clone for D3DHAL_DP2VERTEXSHADER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2VERTEXSHADER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2VERTEXSHADER").field("dwHandle", &self.dwHandle).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2VERTEXSHADER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2VERTEXSHADER {
fn eq(&self, other: &Self) -> bool {
self.dwHandle == other.dwHandle
}
}
impl ::core::cmp::Eq for D3DHAL_DP2VERTEXSHADER {}
impl ::core::default::Default for D3DHAL_DP2VERTEXSHADER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2VIEWPORTINFO {
pub dwX: u32,
pub dwY: u32,
pub dwWidth: u32,
pub dwHeight: u32,
}
impl ::core::marker::Copy for D3DHAL_DP2VIEWPORTINFO {}
impl ::core::clone::Clone for D3DHAL_DP2VIEWPORTINFO {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2VIEWPORTINFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2VIEWPORTINFO").field("dwX", &self.dwX).field("dwY", &self.dwY).field("dwWidth", &self.dwWidth).field("dwHeight", &self.dwHeight).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2VIEWPORTINFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2VIEWPORTINFO {
fn eq(&self, other: &Self) -> bool {
self.dwX == other.dwX && self.dwY == other.dwY && self.dwWidth == other.dwWidth && self.dwHeight == other.dwHeight
}
}
impl ::core::cmp::Eq for D3DHAL_DP2VIEWPORTINFO {}
impl ::core::default::Default for D3DHAL_DP2VIEWPORTINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DHAL_DP2VOLUMEBLT {
pub dwDDDestSurface: u32,
pub dwDDSrcSurface: u32,
pub dwDestX: u32,
pub dwDestY: u32,
pub dwDestZ: u32,
pub srcBox: super::super::super::Win32::Graphics::Direct3D9::D3DBOX,
pub dwFlags: u32,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DHAL_DP2VOLUMEBLT {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DHAL_DP2VOLUMEBLT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DHAL_DP2VOLUMEBLT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2VOLUMEBLT").field("dwDDDestSurface", &self.dwDDDestSurface).field("dwDDSrcSurface", &self.dwDDSrcSurface).field("dwDestX", &self.dwDestX).field("dwDestY", &self.dwDestY).field("dwDestZ", &self.dwDestZ).field("srcBox", &self.srcBox).field("dwFlags", &self.dwFlags).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DHAL_DP2VOLUMEBLT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DHAL_DP2VOLUMEBLT {
fn eq(&self, other: &Self) -> bool {
self.dwDDDestSurface == other.dwDDDestSurface && self.dwDDSrcSurface == other.dwDDSrcSurface && self.dwDestX == other.dwDestX && self.dwDestY == other.dwDestY && self.dwDestZ == other.dwDestZ && self.srcBox == other.srcBox && self.dwFlags == other.dwFlags
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DHAL_DP2VOLUMEBLT {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DHAL_DP2VOLUMEBLT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2WINFO {
pub dvWNear: f32,
pub dvWFar: f32,
}
impl ::core::marker::Copy for D3DHAL_DP2WINFO {}
impl ::core::clone::Clone for D3DHAL_DP2WINFO {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2WINFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2WINFO").field("dvWNear", &self.dvWNear).field("dvWFar", &self.dvWFar).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2WINFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2WINFO {
fn eq(&self, other: &Self) -> bool {
self.dvWNear == other.dvWNear && self.dvWFar == other.dvWFar
}
}
impl ::core::cmp::Eq for D3DHAL_DP2WINFO {}
impl ::core::default::Default for D3DHAL_DP2WINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DP2ZRANGE {
pub dvMinZ: f32,
pub dvMaxZ: f32,
}
impl ::core::marker::Copy for D3DHAL_DP2ZRANGE {}
impl ::core::clone::Clone for D3DHAL_DP2ZRANGE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DP2ZRANGE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DP2ZRANGE").field("dvMinZ", &self.dvMinZ).field("dvMaxZ", &self.dvMaxZ).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DP2ZRANGE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DP2ZRANGE {
fn eq(&self, other: &Self) -> bool {
self.dvMinZ == other.dvMinZ && self.dvMaxZ == other.dvMaxZ
}
}
impl ::core::cmp::Eq for D3DHAL_DP2ZRANGE {}
impl ::core::default::Default for D3DHAL_DP2ZRANGE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DHAL_DRAWONEINDEXEDPRIMITIVEDATA {
pub dwhContext: usize,
pub dwFlags: u32,
pub PrimitiveType: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMITIVETYPE,
pub Anonymous: D3DHAL_DRAWONEINDEXEDPRIMITIVEDATA_0,
pub lpvVertices: *mut ::core::ffi::c_void,
pub dwNumVertices: u32,
pub lpwIndices: *mut u16,
pub dwNumIndices: u32,
pub ddrval: ::windows_core::HRESULT,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DHAL_DRAWONEINDEXEDPRIMITIVEDATA {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DHAL_DRAWONEINDEXEDPRIMITIVEDATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DHAL_DRAWONEINDEXEDPRIMITIVEDATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DHAL_DRAWONEINDEXEDPRIMITIVEDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub union D3DHAL_DRAWONEINDEXEDPRIMITIVEDATA_0 {
pub VertexType: super::super::super::Win32::Graphics::Direct3D9::D3DVERTEXTYPE,
pub dwFVFControl: u32,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DHAL_DRAWONEINDEXEDPRIMITIVEDATA_0 {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DHAL_DRAWONEINDEXEDPRIMITIVEDATA_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DHAL_DRAWONEINDEXEDPRIMITIVEDATA_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DHAL_DRAWONEINDEXEDPRIMITIVEDATA_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DHAL_DRAWONEPRIMITIVEDATA {
pub dwhContext: usize,
pub dwFlags: u32,
pub PrimitiveType: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMITIVETYPE,
pub Anonymous: D3DHAL_DRAWONEPRIMITIVEDATA_0,
pub lpvVertices: *mut ::core::ffi::c_void,
pub dwNumVertices: u32,
pub dwReserved: u32,
pub ddrval: ::windows_core::HRESULT,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DHAL_DRAWONEPRIMITIVEDATA {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DHAL_DRAWONEPRIMITIVEDATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DHAL_DRAWONEPRIMITIVEDATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DHAL_DRAWONEPRIMITIVEDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub union D3DHAL_DRAWONEPRIMITIVEDATA_0 {
pub VertexType: super::super::super::Win32::Graphics::Direct3D9::D3DVERTEXTYPE,
pub dwFVFControl: u32,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DHAL_DRAWONEPRIMITIVEDATA_0 {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DHAL_DRAWONEPRIMITIVEDATA_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DHAL_DRAWONEPRIMITIVEDATA_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DHAL_DRAWONEPRIMITIVEDATA_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DRAWPRIMCOUNTS {
pub wNumStateChanges: u16,
pub wPrimitiveType: u16,
pub wVertexType: u16,
pub wNumVertices: u16,
}
impl ::core::marker::Copy for D3DHAL_DRAWPRIMCOUNTS {}
impl ::core::clone::Clone for D3DHAL_DRAWPRIMCOUNTS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DRAWPRIMCOUNTS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DRAWPRIMCOUNTS").field("wNumStateChanges", &self.wNumStateChanges).field("wPrimitiveType", &self.wPrimitiveType).field("wVertexType", &self.wVertexType).field("wNumVertices", &self.wNumVertices).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DRAWPRIMCOUNTS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DRAWPRIMCOUNTS {
fn eq(&self, other: &Self) -> bool {
self.wNumStateChanges == other.wNumStateChanges && self.wPrimitiveType == other.wPrimitiveType && self.wVertexType == other.wVertexType && self.wNumVertices == other.wNumVertices
}
}
impl ::core::cmp::Eq for D3DHAL_DRAWPRIMCOUNTS {}
impl ::core::default::Default for D3DHAL_DRAWPRIMCOUNTS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
pub struct D3DHAL_DRAWPRIMITIVES2DATA {
pub dwhContext: usize,
pub dwFlags: u32,
pub dwVertexType: u32,
pub lpDDCommands: *mut super::super::super::Win32::Graphics::DirectDraw::DDRAWI_DDRAWSURFACE_LCL,
pub dwCommandOffset: u32,
pub dwCommandLength: u32,
pub Anonymous1: D3DHAL_DRAWPRIMITIVES2DATA_0,
pub dwVertexOffset: u32,
pub dwVertexLength: u32,
pub dwReqVertexBufSize: u32,
pub dwReqCommandBufSize: u32,
pub lpdwRStates: *mut u32,
pub Anonymous2: D3DHAL_DRAWPRIMITIVES2DATA_1,
pub dwErrorOffset: u32,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::marker::Copy for D3DHAL_DRAWPRIMITIVES2DATA {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::clone::Clone for D3DHAL_DRAWPRIMITIVES2DATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::windows_core::TypeKind for D3DHAL_DRAWPRIMITIVES2DATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::default::Default for D3DHAL_DRAWPRIMITIVES2DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
pub union D3DHAL_DRAWPRIMITIVES2DATA_0 {
pub lpDDVertex: *mut super::super::super::Win32::Graphics::DirectDraw::DDRAWI_DDRAWSURFACE_LCL,
pub lpVertices: *mut ::core::ffi::c_void,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::marker::Copy for D3DHAL_DRAWPRIMITIVES2DATA_0 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::clone::Clone for D3DHAL_DRAWPRIMITIVES2DATA_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::windows_core::TypeKind for D3DHAL_DRAWPRIMITIVES2DATA_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::default::Default for D3DHAL_DRAWPRIMITIVES2DATA_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
pub union D3DHAL_DRAWPRIMITIVES2DATA_1 {
pub dwVertexSize: u32,
pub ddrval: ::windows_core::HRESULT,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::marker::Copy for D3DHAL_DRAWPRIMITIVES2DATA_1 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::clone::Clone for D3DHAL_DRAWPRIMITIVES2DATA_1 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::windows_core::TypeKind for D3DHAL_DRAWPRIMITIVES2DATA_1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::default::Default for D3DHAL_DRAWPRIMITIVES2DATA_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_DRAWPRIMITIVESDATA {
pub dwhContext: usize,
pub dwFlags: u32,
pub lpvData: *mut ::core::ffi::c_void,
pub dwFVFControl: u32,
pub ddrval: ::windows_core::HRESULT,
}
impl ::core::marker::Copy for D3DHAL_DRAWPRIMITIVESDATA {}
impl ::core::clone::Clone for D3DHAL_DRAWPRIMITIVESDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_DRAWPRIMITIVESDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_DRAWPRIMITIVESDATA").field("dwhContext", &self.dwhContext).field("dwFlags", &self.dwFlags).field("lpvData", &self.lpvData).field("dwFVFControl", &self.dwFVFControl).field("ddrval", &self.ddrval).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_DRAWPRIMITIVESDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_DRAWPRIMITIVESDATA {
fn eq(&self, other: &Self) -> bool {
self.dwhContext == other.dwhContext && self.dwFlags == other.dwFlags && self.lpvData == other.lpvData && self.dwFVFControl == other.dwFVFControl && self.ddrval == other.ddrval
}
}
impl ::core::cmp::Eq for D3DHAL_DRAWPRIMITIVESDATA {}
impl ::core::default::Default for D3DHAL_DRAWPRIMITIVESDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DHAL_GETSTATEDATA {
pub dwhContext: usize,
pub dwWhich: u32,
pub ddState: super::super::super::Win32::Graphics::Direct3D9::D3DSTATE,
pub ddrval: ::windows_core::HRESULT,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DHAL_GETSTATEDATA {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DHAL_GETSTATEDATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DHAL_GETSTATEDATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DHAL_GETSTATEDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_DirectDraw\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
pub struct D3DHAL_GLOBALDRIVERDATA {
pub dwSize: u32,
pub hwCaps: D3DDEVICEDESC_V1,
pub dwNumVertices: u32,
pub dwNumClipVertices: u32,
pub dwNumTextureFormats: u32,
pub lpTextureFormats: *mut super::super::super::Win32::Graphics::DirectDraw::DDSURFACEDESC,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::marker::Copy for D3DHAL_GLOBALDRIVERDATA {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::clone::Clone for D3DHAL_GLOBALDRIVERDATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::fmt::Debug for D3DHAL_GLOBALDRIVERDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_GLOBALDRIVERDATA").field("dwSize", &self.dwSize).field("hwCaps", &self.hwCaps).field("dwNumVertices", &self.dwNumVertices).field("dwNumClipVertices", &self.dwNumClipVertices).field("dwNumTextureFormats", &self.dwNumTextureFormats).field("lpTextureFormats", &self.lpTextureFormats).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
impl ::windows_core::TypeKind for D3DHAL_GLOBALDRIVERDATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::cmp::PartialEq for D3DHAL_GLOBALDRIVERDATA {
fn eq(&self, other: &Self) -> bool {
self.dwSize == other.dwSize && self.hwCaps == other.hwCaps && self.dwNumVertices == other.dwNumVertices && self.dwNumClipVertices == other.dwNumClipVertices && self.dwNumTextureFormats == other.dwNumTextureFormats && self.lpTextureFormats == other.lpTextureFormats
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::cmp::Eq for D3DHAL_GLOBALDRIVERDATA {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::default::Default for D3DHAL_GLOBALDRIVERDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_DirectDraw\"`"]
#[cfg(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
pub struct D3DHAL_RENDERPRIMITIVEDATA {
pub dwhContext: usize,
pub dwOffset: u32,
pub dwStatus: u32,
pub lpExeBuf: ::std::mem::ManuallyDrop<::core::option::Option<super::super::super::Win32::Graphics::DirectDraw::IDirectDrawSurface>>,
pub dwTLOffset: u32,
pub lpTLBuf: ::std::mem::ManuallyDrop<::core::option::Option<super::super::super::Win32::Graphics::DirectDraw::IDirectDrawSurface>>,
pub diInstruction: super::super::super::Win32::Graphics::Direct3D9::D3DINSTRUCTION,
pub ddrval: ::windows_core::HRESULT,
}
#[cfg(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::clone::Clone for D3DHAL_RENDERPRIMITIVEDATA {
fn clone(&self) -> Self {
unsafe { ::core::mem::transmute_copy(self) }
}
}
#[cfg(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::fmt::Debug for D3DHAL_RENDERPRIMITIVEDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_RENDERPRIMITIVEDATA").field("dwhContext", &self.dwhContext).field("dwOffset", &self.dwOffset).field("dwStatus", &self.dwStatus).field("lpExeBuf", &self.lpExeBuf).field("dwTLOffset", &self.dwTLOffset).field("lpTLBuf", &self.lpTLBuf).field("diInstruction", &self.diInstruction).field("ddrval", &self.ddrval).finish()
}
}
#[cfg(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
impl ::windows_core::TypeKind for D3DHAL_RENDERPRIMITIVEDATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::cmp::PartialEq for D3DHAL_RENDERPRIMITIVEDATA {
fn eq(&self, other: &Self) -> bool {
self.dwhContext == other.dwhContext && self.dwOffset == other.dwOffset && self.dwStatus == other.dwStatus && self.lpExeBuf == other.lpExeBuf && self.dwTLOffset == other.dwTLOffset && self.lpTLBuf == other.lpTLBuf && self.diInstruction == other.diInstruction && self.ddrval == other.ddrval
}
}
#[cfg(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::cmp::Eq for D3DHAL_RENDERPRIMITIVEDATA {}
#[cfg(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::default::Default for D3DHAL_RENDERPRIMITIVEDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"]
#[cfg(feature = "Win32_Graphics_DirectDraw")]
pub struct D3DHAL_RENDERSTATEDATA {
pub dwhContext: usize,
pub dwOffset: u32,
pub dwCount: u32,
pub lpExeBuf: ::std::mem::ManuallyDrop<::core::option::Option<super::super::super::Win32::Graphics::DirectDraw::IDirectDrawSurface>>,
pub ddrval: ::windows_core::HRESULT,
}
#[cfg(feature = "Win32_Graphics_DirectDraw")]
impl ::core::clone::Clone for D3DHAL_RENDERSTATEDATA {
fn clone(&self) -> Self {
unsafe { ::core::mem::transmute_copy(self) }
}
}
#[cfg(feature = "Win32_Graphics_DirectDraw")]
impl ::core::fmt::Debug for D3DHAL_RENDERSTATEDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_RENDERSTATEDATA").field("dwhContext", &self.dwhContext).field("dwOffset", &self.dwOffset).field("dwCount", &self.dwCount).field("lpExeBuf", &self.lpExeBuf).field("ddrval", &self.ddrval).finish()
}
}
#[cfg(feature = "Win32_Graphics_DirectDraw")]
impl ::windows_core::TypeKind for D3DHAL_RENDERSTATEDATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_DirectDraw")]
impl ::core::cmp::PartialEq for D3DHAL_RENDERSTATEDATA {
fn eq(&self, other: &Self) -> bool {
self.dwhContext == other.dwhContext && self.dwOffset == other.dwOffset && self.dwCount == other.dwCount && self.lpExeBuf == other.lpExeBuf && self.ddrval == other.ddrval
}
}
#[cfg(feature = "Win32_Graphics_DirectDraw")]
impl ::core::cmp::Eq for D3DHAL_RENDERSTATEDATA {}
#[cfg(feature = "Win32_Graphics_DirectDraw")]
impl ::core::default::Default for D3DHAL_RENDERSTATEDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_SCENECAPTUREDATA {
pub dwhContext: usize,
pub dwFlag: u32,
pub ddrval: ::windows_core::HRESULT,
}
impl ::core::marker::Copy for D3DHAL_SCENECAPTUREDATA {}
impl ::core::clone::Clone for D3DHAL_SCENECAPTUREDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_SCENECAPTUREDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_SCENECAPTUREDATA").field("dwhContext", &self.dwhContext).field("dwFlag", &self.dwFlag).field("ddrval", &self.ddrval).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_SCENECAPTUREDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_SCENECAPTUREDATA {
fn eq(&self, other: &Self) -> bool {
self.dwhContext == other.dwhContext && self.dwFlag == other.dwFlag && self.ddrval == other.ddrval
}
}
impl ::core::cmp::Eq for D3DHAL_SCENECAPTUREDATA {}
impl ::core::default::Default for D3DHAL_SCENECAPTUREDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
pub struct D3DHAL_SETRENDERTARGETDATA {
pub dwhContext: usize,
pub Anonymous1: D3DHAL_SETRENDERTARGETDATA_0,
pub Anonymous2: D3DHAL_SETRENDERTARGETDATA_1,
pub ddrval: ::windows_core::HRESULT,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::clone::Clone for D3DHAL_SETRENDERTARGETDATA {
fn clone(&self) -> Self {
unsafe { ::core::mem::transmute_copy(self) }
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::windows_core::TypeKind for D3DHAL_SETRENDERTARGETDATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::default::Default for D3DHAL_SETRENDERTARGETDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
pub union D3DHAL_SETRENDERTARGETDATA_0 {
pub lpDDS: ::std::mem::ManuallyDrop<::core::option::Option<super::super::super::Win32::Graphics::DirectDraw::IDirectDrawSurface>>,
pub lpDDSLcl: *mut super::super::super::Win32::Graphics::DirectDraw::DDRAWI_DDRAWSURFACE_LCL,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::clone::Clone for D3DHAL_SETRENDERTARGETDATA_0 {
fn clone(&self) -> Self {
unsafe { ::core::mem::transmute_copy(self) }
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::windows_core::TypeKind for D3DHAL_SETRENDERTARGETDATA_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::default::Default for D3DHAL_SETRENDERTARGETDATA_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
pub union D3DHAL_SETRENDERTARGETDATA_1 {
pub lpDDSZ: ::std::mem::ManuallyDrop<::core::option::Option<super::super::super::Win32::Graphics::DirectDraw::IDirectDrawSurface>>,
pub lpDDSZLcl: *mut super::super::super::Win32::Graphics::DirectDraw::DDRAWI_DDRAWSURFACE_LCL,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::clone::Clone for D3DHAL_SETRENDERTARGETDATA_1 {
fn clone(&self) -> Self {
unsafe { ::core::mem::transmute_copy(self) }
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::windows_core::TypeKind for D3DHAL_SETRENDERTARGETDATA_1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
impl ::core::default::Default for D3DHAL_SETRENDERTARGETDATA_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"]
#[cfg(feature = "Win32_Graphics_DirectDraw")]
pub struct D3DHAL_TEXTURECREATEDATA {
pub dwhContext: usize,
pub lpDDS: ::std::mem::ManuallyDrop<::core::option::Option<super::super::super::Win32::Graphics::DirectDraw::IDirectDrawSurface>>,
pub dwHandle: u32,
pub ddrval: ::windows_core::HRESULT,
}
#[cfg(feature = "Win32_Graphics_DirectDraw")]
impl ::core::clone::Clone for D3DHAL_TEXTURECREATEDATA {
fn clone(&self) -> Self {
unsafe { ::core::mem::transmute_copy(self) }
}
}
#[cfg(feature = "Win32_Graphics_DirectDraw")]
impl ::core::fmt::Debug for D3DHAL_TEXTURECREATEDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_TEXTURECREATEDATA").field("dwhContext", &self.dwhContext).field("lpDDS", &self.lpDDS).field("dwHandle", &self.dwHandle).field("ddrval", &self.ddrval).finish()
}
}
#[cfg(feature = "Win32_Graphics_DirectDraw")]
impl ::windows_core::TypeKind for D3DHAL_TEXTURECREATEDATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_DirectDraw")]
impl ::core::cmp::PartialEq for D3DHAL_TEXTURECREATEDATA {
fn eq(&self, other: &Self) -> bool {
self.dwhContext == other.dwhContext && self.lpDDS == other.lpDDS && self.dwHandle == other.dwHandle && self.ddrval == other.ddrval
}
}
#[cfg(feature = "Win32_Graphics_DirectDraw")]
impl ::core::cmp::Eq for D3DHAL_TEXTURECREATEDATA {}
#[cfg(feature = "Win32_Graphics_DirectDraw")]
impl ::core::default::Default for D3DHAL_TEXTURECREATEDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_TEXTUREDESTROYDATA {
pub dwhContext: usize,
pub dwHandle: u32,
pub ddrval: ::windows_core::HRESULT,
}
impl ::core::marker::Copy for D3DHAL_TEXTUREDESTROYDATA {}
impl ::core::clone::Clone for D3DHAL_TEXTUREDESTROYDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_TEXTUREDESTROYDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_TEXTUREDESTROYDATA").field("dwhContext", &self.dwhContext).field("dwHandle", &self.dwHandle).field("ddrval", &self.ddrval).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_TEXTUREDESTROYDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_TEXTUREDESTROYDATA {
fn eq(&self, other: &Self) -> bool {
self.dwhContext == other.dwhContext && self.dwHandle == other.dwHandle && self.ddrval == other.ddrval
}
}
impl ::core::cmp::Eq for D3DHAL_TEXTUREDESTROYDATA {}
impl ::core::default::Default for D3DHAL_TEXTUREDESTROYDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_TEXTUREGETSURFDATA {
pub dwhContext: usize,
pub lpDDS: usize,
pub dwHandle: u32,
pub ddrval: ::windows_core::HRESULT,
}
impl ::core::marker::Copy for D3DHAL_TEXTUREGETSURFDATA {}
impl ::core::clone::Clone for D3DHAL_TEXTUREGETSURFDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_TEXTUREGETSURFDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_TEXTUREGETSURFDATA").field("dwhContext", &self.dwhContext).field("lpDDS", &self.lpDDS).field("dwHandle", &self.dwHandle).field("ddrval", &self.ddrval).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_TEXTUREGETSURFDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_TEXTUREGETSURFDATA {
fn eq(&self, other: &Self) -> bool {
self.dwhContext == other.dwhContext && self.lpDDS == other.lpDDS && self.dwHandle == other.dwHandle && self.ddrval == other.ddrval
}
}
impl ::core::cmp::Eq for D3DHAL_TEXTUREGETSURFDATA {}
impl ::core::default::Default for D3DHAL_TEXTUREGETSURFDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_TEXTURESWAPDATA {
pub dwhContext: usize,
pub dwHandle1: u32,
pub dwHandle2: u32,
pub ddrval: ::windows_core::HRESULT,
}
impl ::core::marker::Copy for D3DHAL_TEXTURESWAPDATA {}
impl ::core::clone::Clone for D3DHAL_TEXTURESWAPDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_TEXTURESWAPDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_TEXTURESWAPDATA").field("dwhContext", &self.dwhContext).field("dwHandle1", &self.dwHandle1).field("dwHandle2", &self.dwHandle2).field("ddrval", &self.ddrval).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_TEXTURESWAPDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_TEXTURESWAPDATA {
fn eq(&self, other: &Self) -> bool {
self.dwhContext == other.dwhContext && self.dwHandle1 == other.dwHandle1 && self.dwHandle2 == other.dwHandle2 && self.ddrval == other.ddrval
}
}
impl ::core::cmp::Eq for D3DHAL_TEXTURESWAPDATA {}
impl ::core::default::Default for D3DHAL_TEXTURESWAPDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DHAL_VALIDATETEXTURESTAGESTATEDATA {
pub dwhContext: usize,
pub dwFlags: u32,
pub dwReserved: usize,
pub dwNumPasses: u32,
pub ddrval: ::windows_core::HRESULT,
}
impl ::core::marker::Copy for D3DHAL_VALIDATETEXTURESTAGESTATEDATA {}
impl ::core::clone::Clone for D3DHAL_VALIDATETEXTURESTAGESTATEDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DHAL_VALIDATETEXTURESTAGESTATEDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DHAL_VALIDATETEXTURESTAGESTATEDATA").field("dwhContext", &self.dwhContext).field("dwFlags", &self.dwFlags).field("dwReserved", &self.dwReserved).field("dwNumPasses", &self.dwNumPasses).field("ddrval", &self.ddrval).finish()
}
}
impl ::windows_core::TypeKind for D3DHAL_VALIDATETEXTURESTAGESTATEDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DHAL_VALIDATETEXTURESTAGESTATEDATA {
fn eq(&self, other: &Self) -> bool {
self.dwhContext == other.dwhContext && self.dwFlags == other.dwFlags && self.dwReserved == other.dwReserved && self.dwNumPasses == other.dwNumPasses && self.ddrval == other.ddrval
}
}
impl ::core::cmp::Eq for D3DHAL_VALIDATETEXTURESTAGESTATEDATA {}
impl ::core::default::Default for D3DHAL_VALIDATETEXTURESTAGESTATEDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_2DREGION {
pub cx: u32,
pub cy: u32,
}
impl ::core::marker::Copy for D3DKMDT_2DREGION {}
impl ::core::clone::Clone for D3DKMDT_2DREGION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMDT_2DREGION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_2DREGION").field("cx", &self.cx).field("cy", &self.cy).finish()
}
}
impl ::windows_core::TypeKind for D3DKMDT_2DREGION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMDT_2DREGION {
fn eq(&self, other: &Self) -> bool {
self.cx == other.cx && self.cy == other.cy
}
}
impl ::core::cmp::Eq for D3DKMDT_2DREGION {}
impl ::core::default::Default for D3DKMDT_2DREGION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_3x4_COLORSPACE_TRANSFORM {
pub ColorMatrix3x4: [f32; 12],
pub ScalarMultiplier: f32,
pub LookupTable1D: [D3DDDI_DXGI_RGB; 4096],
}
impl ::core::marker::Copy for D3DKMDT_3x4_COLORSPACE_TRANSFORM {}
impl ::core::clone::Clone for D3DKMDT_3x4_COLORSPACE_TRANSFORM {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMDT_3x4_COLORSPACE_TRANSFORM {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_3x4_COLORSPACE_TRANSFORM").field("ColorMatrix3x4", &self.ColorMatrix3x4).field("ScalarMultiplier", &self.ScalarMultiplier).field("LookupTable1D", &self.LookupTable1D).finish()
}
}
impl ::windows_core::TypeKind for D3DKMDT_3x4_COLORSPACE_TRANSFORM {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMDT_3x4_COLORSPACE_TRANSFORM {
fn eq(&self, other: &Self) -> bool {
self.ColorMatrix3x4 == other.ColorMatrix3x4 && self.ScalarMultiplier == other.ScalarMultiplier && self.LookupTable1D == other.LookupTable1D
}
}
impl ::core::cmp::Eq for D3DKMDT_3x4_COLORSPACE_TRANSFORM {}
impl ::core::default::Default for D3DKMDT_3x4_COLORSPACE_TRANSFORM {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_COLORSPACE_TRANSFORM_MATRIX_V2 {
pub StageControlLookupTable1DDegamma: D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL,
pub LookupTable1DDegamma: [D3DDDI_DXGI_RGB; 4096],
pub StageControlColorMatrix3x3: D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL,
pub ColorMatrix3x3: [f32; 9],
pub StageControlLookupTable1DRegamma: D3DKMDT_COLORSPACE_TRANSFORM_STAGE_CONTROL,
pub LookupTable1DRegamma: [D3DDDI_DXGI_RGB; 4096],
}
impl ::core::marker::Copy for D3DKMDT_COLORSPACE_TRANSFORM_MATRIX_V2 {}
impl ::core::clone::Clone for D3DKMDT_COLORSPACE_TRANSFORM_MATRIX_V2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMDT_COLORSPACE_TRANSFORM_MATRIX_V2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_COLORSPACE_TRANSFORM_MATRIX_V2").field("StageControlLookupTable1DDegamma", &self.StageControlLookupTable1DDegamma).field("LookupTable1DDegamma", &self.LookupTable1DDegamma).field("StageControlColorMatrix3x3", &self.StageControlColorMatrix3x3).field("ColorMatrix3x3", &self.ColorMatrix3x3).field("StageControlLookupTable1DRegamma", &self.StageControlLookupTable1DRegamma).field("LookupTable1DRegamma", &self.LookupTable1DRegamma).finish()
}
}
impl ::windows_core::TypeKind for D3DKMDT_COLORSPACE_TRANSFORM_MATRIX_V2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMDT_COLORSPACE_TRANSFORM_MATRIX_V2 {
fn eq(&self, other: &Self) -> bool {
self.StageControlLookupTable1DDegamma == other.StageControlLookupTable1DDegamma && self.LookupTable1DDegamma == other.LookupTable1DDegamma && self.StageControlColorMatrix3x3 == other.StageControlColorMatrix3x3 && self.ColorMatrix3x3 == other.ColorMatrix3x3 && self.StageControlLookupTable1DRegamma == other.StageControlLookupTable1DRegamma && self.LookupTable1DRegamma == other.LookupTable1DRegamma
}
}
impl ::core::cmp::Eq for D3DKMDT_COLORSPACE_TRANSFORM_MATRIX_V2 {}
impl ::core::default::Default for D3DKMDT_COLORSPACE_TRANSFORM_MATRIX_V2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES {
pub FirstChannel: u32,
pub SecondChannel: u32,
pub ThirdChannel: u32,
pub FourthChannel: u32,
}
impl ::core::marker::Copy for D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES {}
impl ::core::clone::Clone for D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES").field("FirstChannel", &self.FirstChannel).field("SecondChannel", &self.SecondChannel).field("ThirdChannel", &self.ThirdChannel).field("FourthChannel", &self.FourthChannel).finish()
}
}
impl ::windows_core::TypeKind for D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES {
fn eq(&self, other: &Self) -> bool {
self.FirstChannel == other.FirstChannel && self.SecondChannel == other.SecondChannel && self.ThirdChannel == other.ThirdChannel && self.FourthChannel == other.FourthChannel
}
}
impl ::core::cmp::Eq for D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES {}
impl ::core::default::Default for D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_DISPLAYMODE_FLAGS {
pub _bitfield1: u32,
pub _bitfield2: u32,
}
impl ::core::marker::Copy for D3DKMDT_DISPLAYMODE_FLAGS {}
impl ::core::clone::Clone for D3DKMDT_DISPLAYMODE_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMDT_DISPLAYMODE_FLAGS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_DISPLAYMODE_FLAGS").field("_bitfield1", &self._bitfield1).field("_bitfield2", &self._bitfield2).finish()
}
}
impl ::windows_core::TypeKind for D3DKMDT_DISPLAYMODE_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMDT_DISPLAYMODE_FLAGS {
fn eq(&self, other: &Self) -> bool {
self._bitfield1 == other._bitfield1 && self._bitfield2 == other._bitfield2
}
}
impl ::core::cmp::Eq for D3DKMDT_DISPLAYMODE_FLAGS {}
impl ::core::default::Default for D3DKMDT_DISPLAYMODE_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_FREQUENCY_RANGE {
pub MinVSyncFreq: D3DDDI_RATIONAL,
pub MaxVSyncFreq: D3DDDI_RATIONAL,
pub MinHSyncFreq: D3DDDI_RATIONAL,
pub MaxHSyncFreq: D3DDDI_RATIONAL,
}
impl ::core::marker::Copy for D3DKMDT_FREQUENCY_RANGE {}
impl ::core::clone::Clone for D3DKMDT_FREQUENCY_RANGE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMDT_FREQUENCY_RANGE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_FREQUENCY_RANGE").field("MinVSyncFreq", &self.MinVSyncFreq).field("MaxVSyncFreq", &self.MaxVSyncFreq).field("MinHSyncFreq", &self.MinHSyncFreq).field("MaxHSyncFreq", &self.MaxHSyncFreq).finish()
}
}
impl ::windows_core::TypeKind for D3DKMDT_FREQUENCY_RANGE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMDT_FREQUENCY_RANGE {
fn eq(&self, other: &Self) -> bool {
self.MinVSyncFreq == other.MinVSyncFreq && self.MaxVSyncFreq == other.MaxVSyncFreq && self.MinHSyncFreq == other.MinHSyncFreq && self.MaxHSyncFreq == other.MaxHSyncFreq
}
}
impl ::core::cmp::Eq for D3DKMDT_FREQUENCY_RANGE {}
impl ::core::default::Default for D3DKMDT_FREQUENCY_RANGE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_GAMMA_RAMP {
pub Type: D3DDDI_GAMMARAMP_TYPE,
pub DataSize: usize,
pub Data: D3DKMDT_GAMMA_RAMP_0,
}
impl ::core::marker::Copy for D3DKMDT_GAMMA_RAMP {}
impl ::core::clone::Clone for D3DKMDT_GAMMA_RAMP {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMDT_GAMMA_RAMP {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMDT_GAMMA_RAMP {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMDT_GAMMA_RAMP_0 {
pub pRgb256x3x16: *mut D3DDDI_GAMMA_RAMP_RGB256x3x16,
pub pDxgi1: *mut D3DDDI_GAMMA_RAMP_DXGI_1,
pub p3x4: *mut D3DKMDT_3x4_COLORSPACE_TRANSFORM,
pub pMatrixV2: *mut D3DKMDT_COLORSPACE_TRANSFORM_MATRIX_V2,
pub pRaw: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for D3DKMDT_GAMMA_RAMP_0 {}
impl ::core::clone::Clone for D3DKMDT_GAMMA_RAMP_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMDT_GAMMA_RAMP_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMDT_GAMMA_RAMP_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_GDISURFACEDATA {
pub Width: u32,
pub Height: u32,
pub Format: D3DDDIFORMAT,
pub Type: D3DKMDT_GDISURFACETYPE,
pub Flags: D3DKMDT_GDISURFACEFLAGS,
pub Pitch: u32,
}
impl ::core::marker::Copy for D3DKMDT_GDISURFACEDATA {}
impl ::core::clone::Clone for D3DKMDT_GDISURFACEDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMDT_GDISURFACEDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMDT_GDISURFACEDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_GDISURFACEFLAGS {
pub Anonymous: D3DKMDT_GDISURFACEFLAGS_0,
}
impl ::core::marker::Copy for D3DKMDT_GDISURFACEFLAGS {}
impl ::core::clone::Clone for D3DKMDT_GDISURFACEFLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMDT_GDISURFACEFLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMDT_GDISURFACEFLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMDT_GDISURFACEFLAGS_0 {
pub Anonymous: D3DKMDT_GDISURFACEFLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMDT_GDISURFACEFLAGS_0 {}
impl ::core::clone::Clone for D3DKMDT_GDISURFACEFLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMDT_GDISURFACEFLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMDT_GDISURFACEFLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_GDISURFACEFLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMDT_GDISURFACEFLAGS_0_0 {}
impl ::core::clone::Clone for D3DKMDT_GDISURFACEFLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMDT_GDISURFACEFLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_GDISURFACEFLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMDT_GDISURFACEFLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMDT_GDISURFACEFLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMDT_GDISURFACEFLAGS_0_0 {}
impl ::core::default::Default for D3DKMDT_GDISURFACEFLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_GRAPHICS_RENDERING_FORMAT {
pub PrimSurfSize: D3DKMDT_2DREGION,
pub VisibleRegionSize: D3DKMDT_2DREGION,
pub Stride: u32,
pub PixelFormat: D3DDDIFORMAT,
pub ColorBasis: D3DKMDT_COLOR_BASIS,
pub PixelValueAccessMode: D3DKMDT_PIXEL_VALUE_ACCESS_MODE,
}
impl ::core::marker::Copy for D3DKMDT_GRAPHICS_RENDERING_FORMAT {}
impl ::core::clone::Clone for D3DKMDT_GRAPHICS_RENDERING_FORMAT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMDT_GRAPHICS_RENDERING_FORMAT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_GRAPHICS_RENDERING_FORMAT").field("PrimSurfSize", &self.PrimSurfSize).field("VisibleRegionSize", &self.VisibleRegionSize).field("Stride", &self.Stride).field("PixelFormat", &self.PixelFormat).field("ColorBasis", &self.ColorBasis).field("PixelValueAccessMode", &self.PixelValueAccessMode).finish()
}
}
impl ::windows_core::TypeKind for D3DKMDT_GRAPHICS_RENDERING_FORMAT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMDT_GRAPHICS_RENDERING_FORMAT {
fn eq(&self, other: &Self) -> bool {
self.PrimSurfSize == other.PrimSurfSize && self.VisibleRegionSize == other.VisibleRegionSize && self.Stride == other.Stride && self.PixelFormat == other.PixelFormat && self.ColorBasis == other.ColorBasis && self.PixelValueAccessMode == other.PixelValueAccessMode
}
}
impl ::core::cmp::Eq for D3DKMDT_GRAPHICS_RENDERING_FORMAT {}
impl ::core::default::Default for D3DKMDT_GRAPHICS_RENDERING_FORMAT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_MONITOR_DESCRIPTOR {
pub Id: u32,
pub Type: D3DKMDT_MONITOR_DESCRIPTOR_TYPE,
pub DataSize: usize,
pub pData: *mut ::core::ffi::c_void,
pub Origin: D3DKMDT_MONITOR_CAPABILITIES_ORIGIN,
}
impl ::core::marker::Copy for D3DKMDT_MONITOR_DESCRIPTOR {}
impl ::core::clone::Clone for D3DKMDT_MONITOR_DESCRIPTOR {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMDT_MONITOR_DESCRIPTOR {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_MONITOR_DESCRIPTOR").field("Id", &self.Id).field("Type", &self.Type).field("DataSize", &self.DataSize).field("pData", &self.pData).field("Origin", &self.Origin).finish()
}
}
impl ::windows_core::TypeKind for D3DKMDT_MONITOR_DESCRIPTOR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMDT_MONITOR_DESCRIPTOR {
fn eq(&self, other: &Self) -> bool {
self.Id == other.Id && self.Type == other.Type && self.DataSize == other.DataSize && self.pData == other.pData && self.Origin == other.Origin
}
}
impl ::core::cmp::Eq for D3DKMDT_MONITOR_DESCRIPTOR {}
impl ::core::default::Default for D3DKMDT_MONITOR_DESCRIPTOR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_MONITOR_FREQUENCY_RANGE {
pub Origin: D3DKMDT_MONITOR_CAPABILITIES_ORIGIN,
pub RangeLimits: D3DKMDT_FREQUENCY_RANGE,
pub ConstraintType: D3DKMDT_MONITOR_FREQUENCY_RANGE_CONSTRAINT,
pub Constraint: D3DKMDT_MONITOR_FREQUENCY_RANGE_0,
}
impl ::core::marker::Copy for D3DKMDT_MONITOR_FREQUENCY_RANGE {}
impl ::core::clone::Clone for D3DKMDT_MONITOR_FREQUENCY_RANGE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMDT_MONITOR_FREQUENCY_RANGE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMDT_MONITOR_FREQUENCY_RANGE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMDT_MONITOR_FREQUENCY_RANGE_0 {
pub ActiveSize: D3DKMDT_2DREGION,
pub MaxPixelRate: usize,
}
impl ::core::marker::Copy for D3DKMDT_MONITOR_FREQUENCY_RANGE_0 {}
impl ::core::clone::Clone for D3DKMDT_MONITOR_FREQUENCY_RANGE_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMDT_MONITOR_FREQUENCY_RANGE_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMDT_MONITOR_FREQUENCY_RANGE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_MONITOR_SOURCE_MODE {
pub Id: u32,
pub VideoSignalInfo: D3DKMDT_VIDEO_SIGNAL_INFO,
pub ColorBasis: D3DKMDT_COLOR_BASIS,
pub ColorCoeffDynamicRanges: D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES,
pub Origin: D3DKMDT_MONITOR_CAPABILITIES_ORIGIN,
pub Preference: D3DKMDT_MODE_PREFERENCE,
}
impl ::core::marker::Copy for D3DKMDT_MONITOR_SOURCE_MODE {}
impl ::core::clone::Clone for D3DKMDT_MONITOR_SOURCE_MODE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMDT_MONITOR_SOURCE_MODE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMDT_MONITOR_SOURCE_MODE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_PALETTEDATA {
pub Red: u8,
pub Green: u8,
pub Blue: u8,
pub Unused: u8,
}
impl ::core::marker::Copy for D3DKMDT_PALETTEDATA {}
impl ::core::clone::Clone for D3DKMDT_PALETTEDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMDT_PALETTEDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_PALETTEDATA").field("Red", &self.Red).field("Green", &self.Green).field("Blue", &self.Blue).field("Unused", &self.Unused).finish()
}
}
impl ::windows_core::TypeKind for D3DKMDT_PALETTEDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMDT_PALETTEDATA {
fn eq(&self, other: &Self) -> bool {
self.Red == other.Red && self.Green == other.Green && self.Blue == other.Blue && self.Unused == other.Unused
}
}
impl ::core::cmp::Eq for D3DKMDT_PALETTEDATA {}
impl ::core::default::Default for D3DKMDT_PALETTEDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_PREEMPTION_CAPS {
pub GraphicsPreemptionGranularity: D3DKMDT_GRAPHICS_PREEMPTION_GRANULARITY,
pub ComputePreemptionGranularity: D3DKMDT_COMPUTE_PREEMPTION_GRANULARITY,
}
impl ::core::marker::Copy for D3DKMDT_PREEMPTION_CAPS {}
impl ::core::clone::Clone for D3DKMDT_PREEMPTION_CAPS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMDT_PREEMPTION_CAPS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_PREEMPTION_CAPS").field("GraphicsPreemptionGranularity", &self.GraphicsPreemptionGranularity).field("ComputePreemptionGranularity", &self.ComputePreemptionGranularity).finish()
}
}
impl ::windows_core::TypeKind for D3DKMDT_PREEMPTION_CAPS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMDT_PREEMPTION_CAPS {
fn eq(&self, other: &Self) -> bool {
self.GraphicsPreemptionGranularity == other.GraphicsPreemptionGranularity && self.ComputePreemptionGranularity == other.ComputePreemptionGranularity
}
}
impl ::core::cmp::Eq for D3DKMDT_PREEMPTION_CAPS {}
impl ::core::default::Default for D3DKMDT_PREEMPTION_CAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_SHADOWSURFACEDATA {
pub Width: u32,
pub Height: u32,
pub Format: D3DDDIFORMAT,
pub Pitch: u32,
}
impl ::core::marker::Copy for D3DKMDT_SHADOWSURFACEDATA {}
impl ::core::clone::Clone for D3DKMDT_SHADOWSURFACEDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMDT_SHADOWSURFACEDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_SHADOWSURFACEDATA").field("Width", &self.Width).field("Height", &self.Height).field("Format", &self.Format).field("Pitch", &self.Pitch).finish()
}
}
impl ::windows_core::TypeKind for D3DKMDT_SHADOWSURFACEDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMDT_SHADOWSURFACEDATA {
fn eq(&self, other: &Self) -> bool {
self.Width == other.Width && self.Height == other.Height && self.Format == other.Format && self.Pitch == other.Pitch
}
}
impl ::core::cmp::Eq for D3DKMDT_SHADOWSURFACEDATA {}
impl ::core::default::Default for D3DKMDT_SHADOWSURFACEDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_SHAREDPRIMARYSURFACEDATA {
pub Width: u32,
pub Height: u32,
pub Format: D3DDDIFORMAT,
pub RefreshRate: D3DDDI_RATIONAL,
pub VidPnSourceId: u32,
}
impl ::core::marker::Copy for D3DKMDT_SHAREDPRIMARYSURFACEDATA {}
impl ::core::clone::Clone for D3DKMDT_SHAREDPRIMARYSURFACEDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMDT_SHAREDPRIMARYSURFACEDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_SHAREDPRIMARYSURFACEDATA").field("Width", &self.Width).field("Height", &self.Height).field("Format", &self.Format).field("RefreshRate", &self.RefreshRate).field("VidPnSourceId", &self.VidPnSourceId).finish()
}
}
impl ::windows_core::TypeKind for D3DKMDT_SHAREDPRIMARYSURFACEDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMDT_SHAREDPRIMARYSURFACEDATA {
fn eq(&self, other: &Self) -> bool {
self.Width == other.Width && self.Height == other.Height && self.Format == other.Format && self.RefreshRate == other.RefreshRate && self.VidPnSourceId == other.VidPnSourceId
}
}
impl ::core::cmp::Eq for D3DKMDT_SHAREDPRIMARYSURFACEDATA {}
impl ::core::default::Default for D3DKMDT_SHAREDPRIMARYSURFACEDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_STAGINGSURFACEDATA {
pub Width: u32,
pub Height: u32,
pub Pitch: u32,
}
impl ::core::marker::Copy for D3DKMDT_STAGINGSURFACEDATA {}
impl ::core::clone::Clone for D3DKMDT_STAGINGSURFACEDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMDT_STAGINGSURFACEDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_STAGINGSURFACEDATA").field("Width", &self.Width).field("Height", &self.Height).field("Pitch", &self.Pitch).finish()
}
}
impl ::windows_core::TypeKind for D3DKMDT_STAGINGSURFACEDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMDT_STAGINGSURFACEDATA {
fn eq(&self, other: &Self) -> bool {
self.Width == other.Width && self.Height == other.Height && self.Pitch == other.Pitch
}
}
impl ::core::cmp::Eq for D3DKMDT_STAGINGSURFACEDATA {}
impl ::core::default::Default for D3DKMDT_STAGINGSURFACEDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_VIDEO_PRESENT_SOURCE {
pub Id: u32,
pub dwReserved: u32,
}
impl ::core::marker::Copy for D3DKMDT_VIDEO_PRESENT_SOURCE {}
impl ::core::clone::Clone for D3DKMDT_VIDEO_PRESENT_SOURCE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMDT_VIDEO_PRESENT_SOURCE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_VIDEO_PRESENT_SOURCE").field("Id", &self.Id).field("dwReserved", &self.dwReserved).finish()
}
}
impl ::windows_core::TypeKind for D3DKMDT_VIDEO_PRESENT_SOURCE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMDT_VIDEO_PRESENT_SOURCE {
fn eq(&self, other: &Self) -> bool {
self.Id == other.Id && self.dwReserved == other.dwReserved
}
}
impl ::core::cmp::Eq for D3DKMDT_VIDEO_PRESENT_SOURCE {}
impl ::core::default::Default for D3DKMDT_VIDEO_PRESENT_SOURCE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMDT_VIDEO_PRESENT_TARGET {
pub Id: u32,
pub VideoOutputTechnology: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY,
pub VideoOutputHpdAwareness: DXGK_CHILD_DEVICE_HPD_AWARENESS,
pub MonitorOrientationAwareness: D3DKMDT_MONITOR_ORIENTATION_AWARENESS,
pub SupportsSdtvModes: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMDT_VIDEO_PRESENT_TARGET {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMDT_VIDEO_PRESENT_TARGET {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMDT_VIDEO_PRESENT_TARGET {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_VIDEO_PRESENT_TARGET").field("Id", &self.Id).field("VideoOutputTechnology", &self.VideoOutputTechnology).field("VideoOutputHpdAwareness", &self.VideoOutputHpdAwareness).field("MonitorOrientationAwareness", &self.MonitorOrientationAwareness).field("SupportsSdtvModes", &self.SupportsSdtvModes).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMDT_VIDEO_PRESENT_TARGET {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMDT_VIDEO_PRESENT_TARGET {
fn eq(&self, other: &Self) -> bool {
self.Id == other.Id && self.VideoOutputTechnology == other.VideoOutputTechnology && self.VideoOutputHpdAwareness == other.VideoOutputHpdAwareness && self.MonitorOrientationAwareness == other.MonitorOrientationAwareness && self.SupportsSdtvModes == other.SupportsSdtvModes
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMDT_VIDEO_PRESENT_TARGET {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMDT_VIDEO_PRESENT_TARGET {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_VIDEO_SIGNAL_INFO {
pub VideoStandard: D3DKMDT_VIDEO_SIGNAL_STANDARD,
pub TotalSize: D3DKMDT_2DREGION,
pub ActiveSize: D3DKMDT_2DREGION,
pub VSyncFreq: D3DDDI_RATIONAL,
pub HSyncFreq: D3DDDI_RATIONAL,
pub PixelRate: usize,
pub Anonymous: D3DKMDT_VIDEO_SIGNAL_INFO_0,
}
impl ::core::marker::Copy for D3DKMDT_VIDEO_SIGNAL_INFO {}
impl ::core::clone::Clone for D3DKMDT_VIDEO_SIGNAL_INFO {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMDT_VIDEO_SIGNAL_INFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMDT_VIDEO_SIGNAL_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMDT_VIDEO_SIGNAL_INFO_0 {
pub AdditionalSignalInfo: D3DKMDT_VIDEO_SIGNAL_INFO_0_0,
pub ScanLineOrdering: D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING,
}
impl ::core::marker::Copy for D3DKMDT_VIDEO_SIGNAL_INFO_0 {}
impl ::core::clone::Clone for D3DKMDT_VIDEO_SIGNAL_INFO_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMDT_VIDEO_SIGNAL_INFO_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMDT_VIDEO_SIGNAL_INFO_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_VIDEO_SIGNAL_INFO_0_0 {
pub _bitfield: i32,
}
impl ::core::marker::Copy for D3DKMDT_VIDEO_SIGNAL_INFO_0_0 {}
impl ::core::clone::Clone for D3DKMDT_VIDEO_SIGNAL_INFO_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMDT_VIDEO_SIGNAL_INFO_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_VIDEO_SIGNAL_INFO_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMDT_VIDEO_SIGNAL_INFO_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMDT_VIDEO_SIGNAL_INFO_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMDT_VIDEO_SIGNAL_INFO_0_0 {}
impl ::core::default::Default for D3DKMDT_VIDEO_SIGNAL_INFO_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_VIDPN_HW_CAPABILITY {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMDT_VIDPN_HW_CAPABILITY {}
impl ::core::clone::Clone for D3DKMDT_VIDPN_HW_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMDT_VIDPN_HW_CAPABILITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_VIDPN_HW_CAPABILITY").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMDT_VIDPN_HW_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMDT_VIDPN_HW_CAPABILITY {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMDT_VIDPN_HW_CAPABILITY {}
impl ::core::default::Default for D3DKMDT_VIDPN_HW_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_VIDPN_PRESENT_PATH {
pub VidPnSourceId: u32,
pub VidPnTargetId: u32,
pub ImportanceOrdinal: D3DKMDT_VIDPN_PRESENT_PATH_IMPORTANCE,
pub ContentTransformation: D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION,
pub VisibleFromActiveTLOffset: D3DKMDT_2DREGION,
pub VisibleFromActiveBROffset: D3DKMDT_2DREGION,
pub VidPnTargetColorBasis: D3DKMDT_COLOR_BASIS,
pub VidPnTargetColorCoeffDynamicRanges: D3DKMDT_COLOR_COEFF_DYNAMIC_RANGES,
pub Content: D3DKMDT_VIDPN_PRESENT_PATH_CONTENT,
pub CopyProtection: D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION,
pub GammaRamp: D3DKMDT_GAMMA_RAMP,
}
impl ::core::marker::Copy for D3DKMDT_VIDPN_PRESENT_PATH {}
impl ::core::clone::Clone for D3DKMDT_VIDPN_PRESENT_PATH {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMDT_VIDPN_PRESENT_PATH {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMDT_VIDPN_PRESENT_PATH {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION {
pub CopyProtectionType: D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_TYPE,
pub APSTriggerBits: u32,
pub OEMCopyProtection: [u8; 256],
pub CopyProtectionSupport: D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT,
}
impl ::core::marker::Copy for D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION {}
impl ::core::clone::Clone for D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION").field("CopyProtectionType", &self.CopyProtectionType).field("APSTriggerBits", &self.APSTriggerBits).field("OEMCopyProtection", &self.OEMCopyProtection).field("CopyProtectionSupport", &self.CopyProtectionSupport).finish()
}
}
impl ::windows_core::TypeKind for D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION {
fn eq(&self, other: &Self) -> bool {
self.CopyProtectionType == other.CopyProtectionType && self.APSTriggerBits == other.APSTriggerBits && self.OEMCopyProtection == other.OEMCopyProtection && self.CopyProtectionSupport == other.CopyProtectionSupport
}
}
impl ::core::cmp::Eq for D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION {}
impl ::core::default::Default for D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT {}
impl ::core::clone::Clone for D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT {}
impl ::core::default::Default for D3DKMDT_VIDPN_PRESENT_PATH_COPYPROTECTION_SUPPORT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT {}
impl ::core::clone::Clone for D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT {}
impl ::core::default::Default for D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT {}
impl ::core::clone::Clone for D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT {}
impl ::core::default::Default for D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION {
pub Scaling: D3DKMDT_VIDPN_PRESENT_PATH_SCALING,
pub ScalingSupport: D3DKMDT_VIDPN_PRESENT_PATH_SCALING_SUPPORT,
pub Rotation: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION,
pub RotationSupport: D3DKMDT_VIDPN_PRESENT_PATH_ROTATION_SUPPORT,
}
impl ::core::marker::Copy for D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION {}
impl ::core::clone::Clone for D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION").field("Scaling", &self.Scaling).field("ScalingSupport", &self.ScalingSupport).field("Rotation", &self.Rotation).field("RotationSupport", &self.RotationSupport).finish()
}
}
impl ::windows_core::TypeKind for D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Scaling == other.Scaling && self.ScalingSupport == other.ScalingSupport && self.Rotation == other.Rotation && self.RotationSupport == other.RotationSupport
}
}
impl ::core::cmp::Eq for D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION {}
impl ::core::default::Default for D3DKMDT_VIDPN_PRESENT_PATH_TRANSFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_VIDPN_SOURCE_MODE {
pub Id: u32,
pub Type: D3DKMDT_VIDPN_SOURCE_MODE_TYPE,
pub Format: D3DKMDT_VIDPN_SOURCE_MODE_0,
}
impl ::core::marker::Copy for D3DKMDT_VIDPN_SOURCE_MODE {}
impl ::core::clone::Clone for D3DKMDT_VIDPN_SOURCE_MODE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMDT_VIDPN_SOURCE_MODE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMDT_VIDPN_SOURCE_MODE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMDT_VIDPN_SOURCE_MODE_0 {
pub Graphics: D3DKMDT_GRAPHICS_RENDERING_FORMAT,
pub Text: D3DKMDT_TEXT_RENDERING_FORMAT,
}
impl ::core::marker::Copy for D3DKMDT_VIDPN_SOURCE_MODE_0 {}
impl ::core::clone::Clone for D3DKMDT_VIDPN_SOURCE_MODE_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMDT_VIDPN_SOURCE_MODE_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMDT_VIDPN_SOURCE_MODE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_VIDPN_TARGET_MODE {
pub Id: u32,
pub VideoSignalInfo: D3DKMDT_VIDEO_SIGNAL_INFO,
pub Anonymous: D3DKMDT_VIDPN_TARGET_MODE_0,
pub MinimumVSyncFreq: D3DDDI_RATIONAL,
}
impl ::core::marker::Copy for D3DKMDT_VIDPN_TARGET_MODE {}
impl ::core::clone::Clone for D3DKMDT_VIDPN_TARGET_MODE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMDT_VIDPN_TARGET_MODE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMDT_VIDPN_TARGET_MODE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMDT_VIDPN_TARGET_MODE_0 {
pub WireFormatAndPreference: D3DKMDT_WIRE_FORMAT_AND_PREFERENCE,
pub Anonymous: D3DKMDT_VIDPN_TARGET_MODE_0_0,
}
impl ::core::marker::Copy for D3DKMDT_VIDPN_TARGET_MODE_0 {}
impl ::core::clone::Clone for D3DKMDT_VIDPN_TARGET_MODE_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMDT_VIDPN_TARGET_MODE_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMDT_VIDPN_TARGET_MODE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_VIDPN_TARGET_MODE_0_0 {
pub _bitfield: i32,
}
impl ::core::marker::Copy for D3DKMDT_VIDPN_TARGET_MODE_0_0 {}
impl ::core::clone::Clone for D3DKMDT_VIDPN_TARGET_MODE_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMDT_VIDPN_TARGET_MODE_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_VIDPN_TARGET_MODE_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMDT_VIDPN_TARGET_MODE_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMDT_VIDPN_TARGET_MODE_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMDT_VIDPN_TARGET_MODE_0_0 {}
impl ::core::default::Default for D3DKMDT_VIDPN_TARGET_MODE_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_VIRTUALGPUSURFACEDATA {
pub Size: u64,
pub Alignment: u32,
pub DriverSegmentId: u32,
pub PrivateDriverData: u32,
}
impl ::core::marker::Copy for D3DKMDT_VIRTUALGPUSURFACEDATA {}
impl ::core::clone::Clone for D3DKMDT_VIRTUALGPUSURFACEDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMDT_VIRTUALGPUSURFACEDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_VIRTUALGPUSURFACEDATA").field("Size", &self.Size).field("Alignment", &self.Alignment).field("DriverSegmentId", &self.DriverSegmentId).field("PrivateDriverData", &self.PrivateDriverData).finish()
}
}
impl ::windows_core::TypeKind for D3DKMDT_VIRTUALGPUSURFACEDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMDT_VIRTUALGPUSURFACEDATA {
fn eq(&self, other: &Self) -> bool {
self.Size == other.Size && self.Alignment == other.Alignment && self.DriverSegmentId == other.DriverSegmentId && self.PrivateDriverData == other.PrivateDriverData
}
}
impl ::core::cmp::Eq for D3DKMDT_VIRTUALGPUSURFACEDATA {}
impl ::core::default::Default for D3DKMDT_VIRTUALGPUSURFACEDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMDT_WIRE_FORMAT_AND_PREFERENCE {
pub Anonymous: D3DKMDT_WIRE_FORMAT_AND_PREFERENCE_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMDT_WIRE_FORMAT_AND_PREFERENCE {}
impl ::core::clone::Clone for D3DKMDT_WIRE_FORMAT_AND_PREFERENCE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMDT_WIRE_FORMAT_AND_PREFERENCE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMDT_WIRE_FORMAT_AND_PREFERENCE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMDT_WIRE_FORMAT_AND_PREFERENCE_0 {
pub _bitfield: i32,
}
impl ::core::marker::Copy for D3DKMDT_WIRE_FORMAT_AND_PREFERENCE_0 {}
impl ::core::clone::Clone for D3DKMDT_WIRE_FORMAT_AND_PREFERENCE_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMDT_WIRE_FORMAT_AND_PREFERENCE_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMDT_WIRE_FORMAT_AND_PREFERENCE_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMDT_WIRE_FORMAT_AND_PREFERENCE_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMDT_WIRE_FORMAT_AND_PREFERENCE_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMDT_WIRE_FORMAT_AND_PREFERENCE_0 {}
impl ::core::default::Default for D3DKMDT_WIRE_FORMAT_AND_PREFERENCE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_ACQUIREKEYEDMUTEX {
pub hKeyedMutex: u32,
pub Key: u64,
pub pTimeout: *mut i64,
pub FenceValue: u64,
}
impl ::core::marker::Copy for D3DKMT_ACQUIREKEYEDMUTEX {}
impl ::core::clone::Clone for D3DKMT_ACQUIREKEYEDMUTEX {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_ACQUIREKEYEDMUTEX {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_ACQUIREKEYEDMUTEX").field("hKeyedMutex", &self.hKeyedMutex).field("Key", &self.Key).field("pTimeout", &self.pTimeout).field("FenceValue", &self.FenceValue).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_ACQUIREKEYEDMUTEX {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_ACQUIREKEYEDMUTEX {
fn eq(&self, other: &Self) -> bool {
self.hKeyedMutex == other.hKeyedMutex && self.Key == other.Key && self.pTimeout == other.pTimeout && self.FenceValue == other.FenceValue
}
}
impl ::core::cmp::Eq for D3DKMT_ACQUIREKEYEDMUTEX {}
impl ::core::default::Default for D3DKMT_ACQUIREKEYEDMUTEX {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_ACQUIREKEYEDMUTEX2 {
pub hKeyedMutex: u32,
pub Key: u64,
pub pTimeout: *mut i64,
pub FenceValue: u64,
pub pPrivateRuntimeData: *mut ::core::ffi::c_void,
pub PrivateRuntimeDataSize: u32,
}
impl ::core::marker::Copy for D3DKMT_ACQUIREKEYEDMUTEX2 {}
impl ::core::clone::Clone for D3DKMT_ACQUIREKEYEDMUTEX2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_ACQUIREKEYEDMUTEX2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_ACQUIREKEYEDMUTEX2").field("hKeyedMutex", &self.hKeyedMutex).field("Key", &self.Key).field("pTimeout", &self.pTimeout).field("FenceValue", &self.FenceValue).field("pPrivateRuntimeData", &self.pPrivateRuntimeData).field("PrivateRuntimeDataSize", &self.PrivateRuntimeDataSize).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_ACQUIREKEYEDMUTEX2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_ACQUIREKEYEDMUTEX2 {
fn eq(&self, other: &Self) -> bool {
self.hKeyedMutex == other.hKeyedMutex && self.Key == other.Key && self.pTimeout == other.pTimeout && self.FenceValue == other.FenceValue && self.pPrivateRuntimeData == other.pPrivateRuntimeData && self.PrivateRuntimeDataSize == other.PrivateRuntimeDataSize
}
}
impl ::core::cmp::Eq for D3DKMT_ACQUIREKEYEDMUTEX2 {}
impl ::core::default::Default for D3DKMT_ACQUIREKEYEDMUTEX2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_ACTIVATE_SPECIFIC_DIAG_ESCAPE {
pub Type: D3DKMT_ACTIVATE_SPECIFIC_DIAG_TYPE,
pub Activate: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_ACTIVATE_SPECIFIC_DIAG_ESCAPE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_ACTIVATE_SPECIFIC_DIAG_ESCAPE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_ACTIVATE_SPECIFIC_DIAG_ESCAPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_ACTIVATE_SPECIFIC_DIAG_ESCAPE").field("Type", &self.Type).field("Activate", &self.Activate).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_ACTIVATE_SPECIFIC_DIAG_ESCAPE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_ACTIVATE_SPECIFIC_DIAG_ESCAPE {
fn eq(&self, other: &Self) -> bool {
self.Type == other.Type && self.Activate == other.Activate
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_ACTIVATE_SPECIFIC_DIAG_ESCAPE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_ACTIVATE_SPECIFIC_DIAG_ESCAPE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_ADAPTERADDRESS {
pub BusNumber: u32,
pub DeviceNumber: u32,
pub FunctionNumber: u32,
}
impl ::core::marker::Copy for D3DKMT_ADAPTERADDRESS {}
impl ::core::clone::Clone for D3DKMT_ADAPTERADDRESS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_ADAPTERADDRESS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_ADAPTERADDRESS").field("BusNumber", &self.BusNumber).field("DeviceNumber", &self.DeviceNumber).field("FunctionNumber", &self.FunctionNumber).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_ADAPTERADDRESS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_ADAPTERADDRESS {
fn eq(&self, other: &Self) -> bool {
self.BusNumber == other.BusNumber && self.DeviceNumber == other.DeviceNumber && self.FunctionNumber == other.FunctionNumber
}
}
impl ::core::cmp::Eq for D3DKMT_ADAPTERADDRESS {}
impl ::core::default::Default for D3DKMT_ADAPTERADDRESS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_ADAPTERINFO {
pub hAdapter: u32,
pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
pub NumOfSources: u32,
pub bPrecisePresentRegionsPreferred: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_ADAPTERINFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_ADAPTERINFO {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_ADAPTERINFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_ADAPTERINFO").field("hAdapter", &self.hAdapter).field("AdapterLuid", &self.AdapterLuid).field("NumOfSources", &self.NumOfSources).field("bPrecisePresentRegionsPreferred", &self.bPrecisePresentRegionsPreferred).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_ADAPTERINFO {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_ADAPTERINFO {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.AdapterLuid == other.AdapterLuid && self.NumOfSources == other.NumOfSources && self.bPrecisePresentRegionsPreferred == other.bPrecisePresentRegionsPreferred
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_ADAPTERINFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_ADAPTERINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_ADAPTERREGISTRYINFO {
pub AdapterString: [u16; 260],
pub BiosString: [u16; 260],
pub DacType: [u16; 260],
pub ChipType: [u16; 260],
}
impl ::core::marker::Copy for D3DKMT_ADAPTERREGISTRYINFO {}
impl ::core::clone::Clone for D3DKMT_ADAPTERREGISTRYINFO {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_ADAPTERREGISTRYINFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_ADAPTERREGISTRYINFO").field("AdapterString", &self.AdapterString).field("BiosString", &self.BiosString).field("DacType", &self.DacType).field("ChipType", &self.ChipType).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_ADAPTERREGISTRYINFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_ADAPTERREGISTRYINFO {
fn eq(&self, other: &Self) -> bool {
self.AdapterString == other.AdapterString && self.BiosString == other.BiosString && self.DacType == other.DacType && self.ChipType == other.ChipType
}
}
impl ::core::cmp::Eq for D3DKMT_ADAPTERREGISTRYINFO {}
impl ::core::default::Default for D3DKMT_ADAPTERREGISTRYINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_ADAPTERTYPE {
pub Anonymous: D3DKMT_ADAPTERTYPE_0,
}
impl ::core::marker::Copy for D3DKMT_ADAPTERTYPE {}
impl ::core::clone::Clone for D3DKMT_ADAPTERTYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_ADAPTERTYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_ADAPTERTYPE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_ADAPTERTYPE_0 {
pub Anonymous: D3DKMT_ADAPTERTYPE_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_ADAPTERTYPE_0 {}
impl ::core::clone::Clone for D3DKMT_ADAPTERTYPE_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_ADAPTERTYPE_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_ADAPTERTYPE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_ADAPTERTYPE_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_ADAPTERTYPE_0_0 {}
impl ::core::clone::Clone for D3DKMT_ADAPTERTYPE_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_ADAPTERTYPE_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_ADAPTERTYPE_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_ADAPTERTYPE_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_ADAPTERTYPE_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_ADAPTERTYPE_0_0 {}
impl ::core::default::Default for D3DKMT_ADAPTERTYPE_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_ADAPTER_PERFDATA {
pub PhysicalAdapterIndex: u32,
pub MemoryFrequency: u64,
pub MaxMemoryFrequency: u64,
pub MaxMemoryFrequencyOC: u64,
pub MemoryBandwidth: u64,
pub PCIEBandwidth: u64,
pub FanRPM: u32,
pub Power: u32,
pub Temperature: u32,
pub PowerStateOverride: u8,
}
impl ::core::marker::Copy for D3DKMT_ADAPTER_PERFDATA {}
impl ::core::clone::Clone for D3DKMT_ADAPTER_PERFDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_ADAPTER_PERFDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_ADAPTER_PERFDATA")
.field("PhysicalAdapterIndex", &self.PhysicalAdapterIndex)
.field("MemoryFrequency", &self.MemoryFrequency)
.field("MaxMemoryFrequency", &self.MaxMemoryFrequency)
.field("MaxMemoryFrequencyOC", &self.MaxMemoryFrequencyOC)
.field("MemoryBandwidth", &self.MemoryBandwidth)
.field("PCIEBandwidth", &self.PCIEBandwidth)
.field("FanRPM", &self.FanRPM)
.field("Power", &self.Power)
.field("Temperature", &self.Temperature)
.field("PowerStateOverride", &self.PowerStateOverride)
.finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_ADAPTER_PERFDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_ADAPTER_PERFDATA {
fn eq(&self, other: &Self) -> bool {
self.PhysicalAdapterIndex == other.PhysicalAdapterIndex && self.MemoryFrequency == other.MemoryFrequency && self.MaxMemoryFrequency == other.MaxMemoryFrequency && self.MaxMemoryFrequencyOC == other.MaxMemoryFrequencyOC && self.MemoryBandwidth == other.MemoryBandwidth && self.PCIEBandwidth == other.PCIEBandwidth && self.FanRPM == other.FanRPM && self.Power == other.Power && self.Temperature == other.Temperature && self.PowerStateOverride == other.PowerStateOverride
}
}
impl ::core::cmp::Eq for D3DKMT_ADAPTER_PERFDATA {}
impl ::core::default::Default for D3DKMT_ADAPTER_PERFDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_ADAPTER_PERFDATACAPS {
pub PhysicalAdapterIndex: u32,
pub MaxMemoryBandwidth: u64,
pub MaxPCIEBandwidth: u64,
pub MaxFanRPM: u32,
pub TemperatureMax: u32,
pub TemperatureWarning: u32,
}
impl ::core::marker::Copy for D3DKMT_ADAPTER_PERFDATACAPS {}
impl ::core::clone::Clone for D3DKMT_ADAPTER_PERFDATACAPS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_ADAPTER_PERFDATACAPS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_ADAPTER_PERFDATACAPS").field("PhysicalAdapterIndex", &self.PhysicalAdapterIndex).field("MaxMemoryBandwidth", &self.MaxMemoryBandwidth).field("MaxPCIEBandwidth", &self.MaxPCIEBandwidth).field("MaxFanRPM", &self.MaxFanRPM).field("TemperatureMax", &self.TemperatureMax).field("TemperatureWarning", &self.TemperatureWarning).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_ADAPTER_PERFDATACAPS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_ADAPTER_PERFDATACAPS {
fn eq(&self, other: &Self) -> bool {
self.PhysicalAdapterIndex == other.PhysicalAdapterIndex && self.MaxMemoryBandwidth == other.MaxMemoryBandwidth && self.MaxPCIEBandwidth == other.MaxPCIEBandwidth && self.MaxFanRPM == other.MaxFanRPM && self.TemperatureMax == other.TemperatureMax && self.TemperatureWarning == other.TemperatureWarning
}
}
impl ::core::cmp::Eq for D3DKMT_ADAPTER_PERFDATACAPS {}
impl ::core::default::Default for D3DKMT_ADAPTER_PERFDATACAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_ADAPTER_VERIFIER_OPTION {
pub Type: D3DKMT_ADAPTER_VERIFIER_OPTION_TYPE,
pub Mode: D3DKMT_VERIFIER_OPTION_MODE,
pub Data: D3DKMT_ADAPTER_VERIFIER_OPTION_DATA,
}
impl ::core::marker::Copy for D3DKMT_ADAPTER_VERIFIER_OPTION {}
impl ::core::clone::Clone for D3DKMT_ADAPTER_VERIFIER_OPTION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_ADAPTER_VERIFIER_OPTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_ADAPTER_VERIFIER_OPTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_ADAPTER_VERIFIER_OPTION_DATA {
pub VidMmFlags: D3DKMT_ADAPTER_VERIFIER_VIDMM_FLAGS,
pub VidMmTrimInterval: D3DKMT_ADAPTER_VERIFIER_VIDMM_TRIM_INTERVAL,
}
impl ::core::marker::Copy for D3DKMT_ADAPTER_VERIFIER_OPTION_DATA {}
impl ::core::clone::Clone for D3DKMT_ADAPTER_VERIFIER_OPTION_DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_ADAPTER_VERIFIER_OPTION_DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_ADAPTER_VERIFIER_OPTION_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_ADAPTER_VERIFIER_VIDMM_FLAGS {
pub Anonymous: D3DKMT_ADAPTER_VERIFIER_VIDMM_FLAGS_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_ADAPTER_VERIFIER_VIDMM_FLAGS {}
impl ::core::clone::Clone for D3DKMT_ADAPTER_VERIFIER_VIDMM_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_ADAPTER_VERIFIER_VIDMM_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_ADAPTER_VERIFIER_VIDMM_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_ADAPTER_VERIFIER_VIDMM_FLAGS_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_ADAPTER_VERIFIER_VIDMM_FLAGS_0 {}
impl ::core::clone::Clone for D3DKMT_ADAPTER_VERIFIER_VIDMM_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_ADAPTER_VERIFIER_VIDMM_FLAGS_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_ADAPTER_VERIFIER_VIDMM_FLAGS_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_ADAPTER_VERIFIER_VIDMM_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_ADAPTER_VERIFIER_VIDMM_FLAGS_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_ADAPTER_VERIFIER_VIDMM_FLAGS_0 {}
impl ::core::default::Default for D3DKMT_ADAPTER_VERIFIER_VIDMM_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_ADAPTER_VERIFIER_VIDMM_TRIM_INTERVAL {
pub MinimumTrimInterval: u64,
pub MaximumTrimInterval: u64,
pub IdleTrimInterval: u64,
}
impl ::core::marker::Copy for D3DKMT_ADAPTER_VERIFIER_VIDMM_TRIM_INTERVAL {}
impl ::core::clone::Clone for D3DKMT_ADAPTER_VERIFIER_VIDMM_TRIM_INTERVAL {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_ADAPTER_VERIFIER_VIDMM_TRIM_INTERVAL {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_ADAPTER_VERIFIER_VIDMM_TRIM_INTERVAL").field("MinimumTrimInterval", &self.MinimumTrimInterval).field("MaximumTrimInterval", &self.MaximumTrimInterval).field("IdleTrimInterval", &self.IdleTrimInterval).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_ADAPTER_VERIFIER_VIDMM_TRIM_INTERVAL {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_ADAPTER_VERIFIER_VIDMM_TRIM_INTERVAL {
fn eq(&self, other: &Self) -> bool {
self.MinimumTrimInterval == other.MinimumTrimInterval && self.MaximumTrimInterval == other.MaximumTrimInterval && self.IdleTrimInterval == other.IdleTrimInterval
}
}
impl ::core::cmp::Eq for D3DKMT_ADAPTER_VERIFIER_VIDMM_TRIM_INTERVAL {}
impl ::core::default::Default for D3DKMT_ADAPTER_VERIFIER_VIDMM_TRIM_INTERVAL {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_ADJUSTFULLSCREENGAMMA {
pub hAdapter: u32,
pub VidPnSourceId: u32,
pub Scale: D3DDDI_DXGI_RGB,
pub Offset: D3DDDI_DXGI_RGB,
}
impl ::core::marker::Copy for D3DKMT_ADJUSTFULLSCREENGAMMA {}
impl ::core::clone::Clone for D3DKMT_ADJUSTFULLSCREENGAMMA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_ADJUSTFULLSCREENGAMMA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_ADJUSTFULLSCREENGAMMA").field("hAdapter", &self.hAdapter).field("VidPnSourceId", &self.VidPnSourceId).field("Scale", &self.Scale).field("Offset", &self.Offset).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_ADJUSTFULLSCREENGAMMA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_ADJUSTFULLSCREENGAMMA {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.VidPnSourceId == other.VidPnSourceId && self.Scale == other.Scale && self.Offset == other.Offset
}
}
impl ::core::cmp::Eq for D3DKMT_ADJUSTFULLSCREENGAMMA {}
impl ::core::default::Default for D3DKMT_ADJUSTFULLSCREENGAMMA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_AUXILIARYPRESENTINFO {
pub size: u32,
pub r#type: D3DKMT_AUXILIARYPRESENTINFO_TYPE,
}
impl ::core::marker::Copy for D3DKMT_AUXILIARYPRESENTINFO {}
impl ::core::clone::Clone for D3DKMT_AUXILIARYPRESENTINFO {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_AUXILIARYPRESENTINFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_AUXILIARYPRESENTINFO").field("size", &self.size).field("type", &self.r#type).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_AUXILIARYPRESENTINFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_AUXILIARYPRESENTINFO {
fn eq(&self, other: &Self) -> bool {
self.size == other.size && self.r#type == other.r#type
}
}
impl ::core::cmp::Eq for D3DKMT_AUXILIARYPRESENTINFO {}
impl ::core::default::Default for D3DKMT_AUXILIARYPRESENTINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_BDDFALLBACK_CTL {
pub ForceBddHeadlessNextFallback: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_BDDFALLBACK_CTL {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_BDDFALLBACK_CTL {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_BDDFALLBACK_CTL {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_BDDFALLBACK_CTL").field("ForceBddHeadlessNextFallback", &self.ForceBddHeadlessNextFallback).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_BDDFALLBACK_CTL {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_BDDFALLBACK_CTL {
fn eq(&self, other: &Self) -> bool {
self.ForceBddHeadlessNextFallback == other.ForceBddHeadlessNextFallback
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_BDDFALLBACK_CTL {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_BDDFALLBACK_CTL {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_BLOCKLIST_INFO {
pub Size: u32,
pub BlockList: [u16; 1],
}
impl ::core::marker::Copy for D3DKMT_BLOCKLIST_INFO {}
impl ::core::clone::Clone for D3DKMT_BLOCKLIST_INFO {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_BLOCKLIST_INFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_BLOCKLIST_INFO").field("Size", &self.Size).field("BlockList", &self.BlockList).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_BLOCKLIST_INFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_BLOCKLIST_INFO {
fn eq(&self, other: &Self) -> bool {
self.Size == other.Size && self.BlockList == other.BlockList
}
}
impl ::core::cmp::Eq for D3DKMT_BLOCKLIST_INFO {}
impl ::core::default::Default for D3DKMT_BLOCKLIST_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_BLTMODEL_PRESENTHISTORYTOKEN {
pub hLogicalSurface: u64,
pub hPhysicalSurface: u64,
pub EventId: u64,
pub DirtyRegions: D3DKMT_DIRTYREGIONS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_BLTMODEL_PRESENTHISTORYTOKEN {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_BLTMODEL_PRESENTHISTORYTOKEN {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_BLTMODEL_PRESENTHISTORYTOKEN {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_BLTMODEL_PRESENTHISTORYTOKEN").field("hLogicalSurface", &self.hLogicalSurface).field("hPhysicalSurface", &self.hPhysicalSurface).field("EventId", &self.EventId).field("DirtyRegions", &self.DirtyRegions).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_BLTMODEL_PRESENTHISTORYTOKEN {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_BLTMODEL_PRESENTHISTORYTOKEN {
fn eq(&self, other: &Self) -> bool {
self.hLogicalSurface == other.hLogicalSurface && self.hPhysicalSurface == other.hPhysicalSurface && self.EventId == other.EventId && self.DirtyRegions == other.DirtyRegions
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_BLTMODEL_PRESENTHISTORYTOKEN {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_BLTMODEL_PRESENTHISTORYTOKEN {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_BRIGHTNESS_INFO {
pub Type: D3DKMT_BRIGHTNESS_INFO_TYPE,
pub ChildUid: u32,
pub Anonymous: D3DKMT_BRIGHTNESS_INFO_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_BRIGHTNESS_INFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_BRIGHTNESS_INFO {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_BRIGHTNESS_INFO {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_BRIGHTNESS_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DKMT_BRIGHTNESS_INFO_0 {
pub PossibleLevels: D3DKMT_BRIGHTNESS_POSSIBLE_LEVELS,
pub Brightness: u8,
pub BrightnessCaps: DXGK_BRIGHTNESS_CAPS,
pub BrightnessState: DXGK_BRIGHTNESS_STATE,
pub OptimizationLevel: DXGK_BACKLIGHT_OPTIMIZATION_LEVEL,
pub ReductionInfo: DXGK_BACKLIGHT_INFO,
pub VerboseLogging: super::super::super::Win32::Foundation::BOOLEAN,
pub NitRanges: DXGK_BRIGHTNESS_GET_NIT_RANGES_OUT,
pub GetBrightnessMillinits: DXGK_BRIGHTNESS_GET_OUT,
pub SetBrightnessMillinits: DXGK_BRIGHTNESS_SET_IN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_BRIGHTNESS_INFO_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_BRIGHTNESS_INFO_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_BRIGHTNESS_INFO_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_BRIGHTNESS_INFO_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_BRIGHTNESS_POSSIBLE_LEVELS {
pub LevelCount: u8,
pub BrightnessLevels: [u8; 256],
}
impl ::core::marker::Copy for D3DKMT_BRIGHTNESS_POSSIBLE_LEVELS {}
impl ::core::clone::Clone for D3DKMT_BRIGHTNESS_POSSIBLE_LEVELS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_BRIGHTNESS_POSSIBLE_LEVELS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_BRIGHTNESS_POSSIBLE_LEVELS").field("LevelCount", &self.LevelCount).field("BrightnessLevels", &self.BrightnessLevels).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_BRIGHTNESS_POSSIBLE_LEVELS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_BRIGHTNESS_POSSIBLE_LEVELS {
fn eq(&self, other: &Self) -> bool {
self.LevelCount == other.LevelCount && self.BrightnessLevels == other.BrightnessLevels
}
}
impl ::core::cmp::Eq for D3DKMT_BRIGHTNESS_POSSIBLE_LEVELS {}
impl ::core::default::Default for D3DKMT_BRIGHTNESS_POSSIBLE_LEVELS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_BUDGETCHANGENOTIFICATION {
pub Context: *mut ::core::ffi::c_void,
pub Budget: u64,
}
impl ::core::marker::Copy for D3DKMT_BUDGETCHANGENOTIFICATION {}
impl ::core::clone::Clone for D3DKMT_BUDGETCHANGENOTIFICATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_BUDGETCHANGENOTIFICATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_BUDGETCHANGENOTIFICATION").field("Context", &self.Context).field("Budget", &self.Budget).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_BUDGETCHANGENOTIFICATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_BUDGETCHANGENOTIFICATION {
fn eq(&self, other: &Self) -> bool {
self.Context == other.Context && self.Budget == other.Budget
}
}
impl ::core::cmp::Eq for D3DKMT_BUDGETCHANGENOTIFICATION {}
impl ::core::default::Default for D3DKMT_BUDGETCHANGENOTIFICATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_CANCEL_PRESENTS {
pub cbSize: u32,
pub hDevice: u32,
pub Flags: D3DKMT_CANCEL_PRESENTS_FLAGS,
pub Operation: D3DKMT_CANCEL_PRESENTS_OPERATION,
pub CancelFromPresentId: u64,
pub CompSurfaceLuid: super::super::super::Win32::Foundation::LUID,
pub BindId: u64,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_CANCEL_PRESENTS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_CANCEL_PRESENTS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_CANCEL_PRESENTS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_CANCEL_PRESENTS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CANCEL_PRESENTS_FLAGS {
pub Anonymous: D3DKMT_CANCEL_PRESENTS_FLAGS_0,
}
impl ::core::marker::Copy for D3DKMT_CANCEL_PRESENTS_FLAGS {}
impl ::core::clone::Clone for D3DKMT_CANCEL_PRESENTS_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_CANCEL_PRESENTS_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_CANCEL_PRESENTS_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_CANCEL_PRESENTS_FLAGS_0 {
pub ReprogramInterrupt: D3DKMT_CANCEL_PRESENTS_FLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_CANCEL_PRESENTS_FLAGS_0 {}
impl ::core::clone::Clone for D3DKMT_CANCEL_PRESENTS_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_CANCEL_PRESENTS_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_CANCEL_PRESENTS_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CANCEL_PRESENTS_FLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_CANCEL_PRESENTS_FLAGS_0_0 {}
impl ::core::clone::Clone for D3DKMT_CANCEL_PRESENTS_FLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_CANCEL_PRESENTS_FLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CANCEL_PRESENTS_FLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_CANCEL_PRESENTS_FLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_CANCEL_PRESENTS_FLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_CANCEL_PRESENTS_FLAGS_0_0 {}
impl ::core::default::Default for D3DKMT_CANCEL_PRESENTS_FLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
pub struct D3DKMT_CHANGESURFACEPOINTER {
pub hDC: super::super::super::Win32::Graphics::Gdi::HDC,
pub hBitmap: super::super::super::Win32::Foundation::HANDLE,
pub pSurfacePointer: *mut ::core::ffi::c_void,
pub Width: u32,
pub Height: u32,
pub Pitch: u32,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::marker::Copy for D3DKMT_CHANGESURFACEPOINTER {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::clone::Clone for D3DKMT_CHANGESURFACEPOINTER {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::fmt::Debug for D3DKMT_CHANGESURFACEPOINTER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CHANGESURFACEPOINTER").field("hDC", &self.hDC).field("hBitmap", &self.hBitmap).field("pSurfacePointer", &self.pSurfacePointer).field("Width", &self.Width).field("Height", &self.Height).field("Pitch", &self.Pitch).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::windows_core::TypeKind for D3DKMT_CHANGESURFACEPOINTER {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::cmp::PartialEq for D3DKMT_CHANGESURFACEPOINTER {
fn eq(&self, other: &Self) -> bool {
self.hDC == other.hDC && self.hBitmap == other.hBitmap && self.pSurfacePointer == other.pSurfacePointer && self.Width == other.Width && self.Height == other.Height && self.Pitch == other.Pitch
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::cmp::Eq for D3DKMT_CHANGESURFACEPOINTER {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::default::Default for D3DKMT_CHANGESURFACEPOINTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_CHANGEVIDEOMEMORYRESERVATION {
pub hProcess: super::super::super::Win32::Foundation::HANDLE,
pub hAdapter: u32,
pub MemorySegmentGroup: D3DKMT_MEMORY_SEGMENT_GROUP,
pub Reservation: u64,
pub PhysicalAdapterIndex: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_CHANGEVIDEOMEMORYRESERVATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_CHANGEVIDEOMEMORYRESERVATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_CHANGEVIDEOMEMORYRESERVATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CHANGEVIDEOMEMORYRESERVATION").field("hProcess", &self.hProcess).field("hAdapter", &self.hAdapter).field("MemorySegmentGroup", &self.MemorySegmentGroup).field("Reservation", &self.Reservation).field("PhysicalAdapterIndex", &self.PhysicalAdapterIndex).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_CHANGEVIDEOMEMORYRESERVATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_CHANGEVIDEOMEMORYRESERVATION {
fn eq(&self, other: &Self) -> bool {
self.hProcess == other.hProcess && self.hAdapter == other.hAdapter && self.MemorySegmentGroup == other.MemorySegmentGroup && self.Reservation == other.Reservation && self.PhysicalAdapterIndex == other.PhysicalAdapterIndex
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_CHANGEVIDEOMEMORYRESERVATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_CHANGEVIDEOMEMORYRESERVATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CHECKMONITORPOWERSTATE {
pub hAdapter: u32,
pub VidPnSourceId: u32,
}
impl ::core::marker::Copy for D3DKMT_CHECKMONITORPOWERSTATE {}
impl ::core::clone::Clone for D3DKMT_CHECKMONITORPOWERSTATE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_CHECKMONITORPOWERSTATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CHECKMONITORPOWERSTATE").field("hAdapter", &self.hAdapter).field("VidPnSourceId", &self.VidPnSourceId).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_CHECKMONITORPOWERSTATE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_CHECKMONITORPOWERSTATE {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.VidPnSourceId == other.VidPnSourceId
}
}
impl ::core::cmp::Eq for D3DKMT_CHECKMONITORPOWERSTATE {}
impl ::core::default::Default for D3DKMT_CHECKMONITORPOWERSTATE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT {
pub hDevice: u32,
pub PlaneCount: u32,
pub pOverlayPlanes: *mut D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE,
pub Supported: super::super::super::Win32::Foundation::BOOL,
pub ReturnInfo: D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT2 {
pub hAdapter: u32,
pub hDevice: u32,
pub PlaneCount: u32,
pub pOverlayPlanes: *mut D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE2,
pub Supported: super::super::super::Win32::Foundation::BOOL,
pub ReturnInfo: D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT3 {
pub hAdapter: u32,
pub hDevice: u32,
pub PlaneCount: u32,
pub ppOverlayPlanes: *mut *mut D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE3,
pub PostCompositionCount: u32,
pub ppPostComposition: *mut *mut D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_WITH_SOURCE,
pub Supported: super::super::super::Win32::Foundation::BOOL,
pub ReturnInfo: D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT3 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT3 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT3 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT3 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_CHECKOCCLUSION {
pub hWindow: super::super::super::Win32::Foundation::HWND,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_CHECKOCCLUSION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_CHECKOCCLUSION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_CHECKOCCLUSION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CHECKOCCLUSION").field("hWindow", &self.hWindow).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_CHECKOCCLUSION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_CHECKOCCLUSION {
fn eq(&self, other: &Self) -> bool {
self.hWindow == other.hWindow
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_CHECKOCCLUSION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_CHECKOCCLUSION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CHECKSHAREDRESOURCEACCESS {
pub hResource: u32,
pub ClientPid: u32,
}
impl ::core::marker::Copy for D3DKMT_CHECKSHAREDRESOURCEACCESS {}
impl ::core::clone::Clone for D3DKMT_CHECKSHAREDRESOURCEACCESS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_CHECKSHAREDRESOURCEACCESS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CHECKSHAREDRESOURCEACCESS").field("hResource", &self.hResource).field("ClientPid", &self.ClientPid).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_CHECKSHAREDRESOURCEACCESS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_CHECKSHAREDRESOURCEACCESS {
fn eq(&self, other: &Self) -> bool {
self.hResource == other.hResource && self.ClientPid == other.ClientPid
}
}
impl ::core::cmp::Eq for D3DKMT_CHECKSHAREDRESOURCEACCESS {}
impl ::core::default::Default for D3DKMT_CHECKSHAREDRESOURCEACCESS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP {
pub hAdapter: u32,
pub VidPnSourceId: u32,
}
impl ::core::marker::Copy for D3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP {}
impl ::core::clone::Clone for D3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP").field("hAdapter", &self.hAdapter).field("VidPnSourceId", &self.VidPnSourceId).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.VidPnSourceId == other.VidPnSourceId
}
}
impl ::core::cmp::Eq for D3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP {}
impl ::core::default::Default for D3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE {
pub hResource: u32,
pub CompSurfaceLuid: super::super::super::Win32::Foundation::LUID,
pub VidPnSourceId: u32,
pub PlaneAttributes: D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE").field("hResource", &self.hResource).field("CompSurfaceLuid", &self.CompSurfaceLuid).field("VidPnSourceId", &self.VidPnSourceId).field("PlaneAttributes", &self.PlaneAttributes).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE {
fn eq(&self, other: &Self) -> bool {
self.hResource == other.hResource && self.CompSurfaceLuid == other.CompSurfaceLuid && self.VidPnSourceId == other.VidPnSourceId && self.PlaneAttributes == other.PlaneAttributes
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE2 {
pub LayerIndex: u32,
pub hResource: u32,
pub CompSurfaceLuid: super::super::super::Win32::Foundation::LUID,
pub VidPnSourceId: u32,
pub PlaneAttributes: D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES2,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE2").field("LayerIndex", &self.LayerIndex).field("hResource", &self.hResource).field("CompSurfaceLuid", &self.CompSurfaceLuid).field("VidPnSourceId", &self.VidPnSourceId).field("PlaneAttributes", &self.PlaneAttributes).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE2 {
fn eq(&self, other: &Self) -> bool {
self.LayerIndex == other.LayerIndex && self.hResource == other.hResource && self.CompSurfaceLuid == other.CompSurfaceLuid && self.VidPnSourceId == other.VidPnSourceId && self.PlaneAttributes == other.PlaneAttributes
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE3 {
pub LayerIndex: u32,
pub hResource: u32,
pub CompSurfaceLuid: super::super::super::Win32::Foundation::LUID,
pub VidPnSourceId: u32,
pub pPlaneAttributes: *mut D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES3,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE3 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE3 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE3 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE3").field("LayerIndex", &self.LayerIndex).field("hResource", &self.hResource).field("CompSurfaceLuid", &self.CompSurfaceLuid).field("VidPnSourceId", &self.VidPnSourceId).field("pPlaneAttributes", &self.pPlaneAttributes).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE3 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE3 {
fn eq(&self, other: &Self) -> bool {
self.LayerIndex == other.LayerIndex && self.hResource == other.hResource && self.CompSurfaceLuid == other.CompSurfaceLuid && self.VidPnSourceId == other.VidPnSourceId && self.pPlaneAttributes == other.pPlaneAttributes
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE3 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_CHECK_MULTIPLANE_OVERLAY_PLANE3 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO {
pub Anonymous: D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO_0,
}
impl ::core::marker::Copy for D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO {}
impl ::core::clone::Clone for D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO_0 {
pub Anonymous: D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO_0 {}
impl ::core::clone::Clone for D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO_0_0 {}
impl ::core::clone::Clone for D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO_0_0 {}
impl ::core::default::Default for D3DKMT_CHECK_MULTIPLANE_OVERLAY_SUPPORT_RETURN_INFO_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CLOSEADAPTER {
pub hAdapter: u32,
}
impl ::core::marker::Copy for D3DKMT_CLOSEADAPTER {}
impl ::core::clone::Clone for D3DKMT_CLOSEADAPTER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_CLOSEADAPTER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CLOSEADAPTER").field("hAdapter", &self.hAdapter).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_CLOSEADAPTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_CLOSEADAPTER {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter
}
}
impl ::core::cmp::Eq for D3DKMT_CLOSEADAPTER {}
impl ::core::default::Default for D3DKMT_CLOSEADAPTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_COMPOSITION_PRESENTHISTORYTOKEN {
pub hPrivateData: u64,
}
impl ::core::marker::Copy for D3DKMT_COMPOSITION_PRESENTHISTORYTOKEN {}
impl ::core::clone::Clone for D3DKMT_COMPOSITION_PRESENTHISTORYTOKEN {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_COMPOSITION_PRESENTHISTORYTOKEN {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_COMPOSITION_PRESENTHISTORYTOKEN").field("hPrivateData", &self.hPrivateData).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_COMPOSITION_PRESENTHISTORYTOKEN {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_COMPOSITION_PRESENTHISTORYTOKEN {
fn eq(&self, other: &Self) -> bool {
self.hPrivateData == other.hPrivateData
}
}
impl ::core::cmp::Eq for D3DKMT_COMPOSITION_PRESENTHISTORYTOKEN {}
impl ::core::default::Default for D3DKMT_COMPOSITION_PRESENTHISTORYTOKEN {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_CONFIGURESHAREDRESOURCE {
pub hDevice: u32,
pub hResource: u32,
pub IsDwm: super::super::super::Win32::Foundation::BOOLEAN,
pub hProcess: super::super::super::Win32::Foundation::HANDLE,
pub AllowAccess: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_CONFIGURESHAREDRESOURCE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_CONFIGURESHAREDRESOURCE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_CONFIGURESHAREDRESOURCE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CONFIGURESHAREDRESOURCE").field("hDevice", &self.hDevice).field("hResource", &self.hResource).field("IsDwm", &self.IsDwm).field("hProcess", &self.hProcess).field("AllowAccess", &self.AllowAccess).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_CONFIGURESHAREDRESOURCE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_CONFIGURESHAREDRESOURCE {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.hResource == other.hResource && self.IsDwm == other.IsDwm && self.hProcess == other.hProcess && self.AllowAccess == other.AllowAccess
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_CONFIGURESHAREDRESOURCE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_CONFIGURESHAREDRESOURCE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CONNECT_DOORBELL {
pub hHwQueue: u32,
pub Flags: D3DKMT_CONNECT_DOORBELL_FLAGS,
}
impl ::core::marker::Copy for D3DKMT_CONNECT_DOORBELL {}
impl ::core::clone::Clone for D3DKMT_CONNECT_DOORBELL {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_CONNECT_DOORBELL {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_CONNECT_DOORBELL {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CONNECT_DOORBELL_FLAGS {
pub Anonymous: D3DKMT_CONNECT_DOORBELL_FLAGS_0,
}
impl ::core::marker::Copy for D3DKMT_CONNECT_DOORBELL_FLAGS {}
impl ::core::clone::Clone for D3DKMT_CONNECT_DOORBELL_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_CONNECT_DOORBELL_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_CONNECT_DOORBELL_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_CONNECT_DOORBELL_FLAGS_0 {
pub Anonymous: D3DKMT_CONNECT_DOORBELL_FLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_CONNECT_DOORBELL_FLAGS_0 {}
impl ::core::clone::Clone for D3DKMT_CONNECT_DOORBELL_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_CONNECT_DOORBELL_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_CONNECT_DOORBELL_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CONNECT_DOORBELL_FLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_CONNECT_DOORBELL_FLAGS_0_0 {}
impl ::core::clone::Clone for D3DKMT_CONNECT_DOORBELL_FLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_CONNECT_DOORBELL_FLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CONNECT_DOORBELL_FLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_CONNECT_DOORBELL_FLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_CONNECT_DOORBELL_FLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_CONNECT_DOORBELL_FLAGS_0_0 {}
impl ::core::default::Default for D3DKMT_CONNECT_DOORBELL_FLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CPDRIVERNAME {
pub ContentProtectionFileName: [u16; 260],
}
impl ::core::marker::Copy for D3DKMT_CPDRIVERNAME {}
impl ::core::clone::Clone for D3DKMT_CPDRIVERNAME {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_CPDRIVERNAME {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CPDRIVERNAME").field("ContentProtectionFileName", &self.ContentProtectionFileName).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_CPDRIVERNAME {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_CPDRIVERNAME {
fn eq(&self, other: &Self) -> bool {
self.ContentProtectionFileName == other.ContentProtectionFileName
}
}
impl ::core::cmp::Eq for D3DKMT_CPDRIVERNAME {}
impl ::core::default::Default for D3DKMT_CPDRIVERNAME {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_CREATEALLOCATION {
pub hDevice: u32,
pub hResource: u32,
pub hGlobalShare: u32,
pub pPrivateRuntimeData: *const ::core::ffi::c_void,
pub PrivateRuntimeDataSize: u32,
pub Anonymous1: D3DKMT_CREATEALLOCATION_0,
pub PrivateDriverDataSize: u32,
pub NumAllocations: u32,
pub Anonymous2: D3DKMT_CREATEALLOCATION_1,
pub Flags: D3DKMT_CREATEALLOCATIONFLAGS,
pub hPrivateRuntimeResourceHandle: super::super::super::Win32::Foundation::HANDLE,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_CREATEALLOCATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_CREATEALLOCATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_CREATEALLOCATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_CREATEALLOCATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DKMT_CREATEALLOCATION_0 {
pub pStandardAllocation: *mut D3DKMT_CREATESTANDARDALLOCATION,
pub pPrivateDriverData: *const ::core::ffi::c_void,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_CREATEALLOCATION_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_CREATEALLOCATION_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_CREATEALLOCATION_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_CREATEALLOCATION_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DKMT_CREATEALLOCATION_1 {
pub pAllocationInfo: *mut D3DDDI_ALLOCATIONINFO,
pub pAllocationInfo2: *mut D3DDDI_ALLOCATIONINFO2,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_CREATEALLOCATION_1 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_CREATEALLOCATION_1 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_CREATEALLOCATION_1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_CREATEALLOCATION_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CREATEALLOCATIONFLAGS {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_CREATEALLOCATIONFLAGS {}
impl ::core::clone::Clone for D3DKMT_CREATEALLOCATIONFLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_CREATEALLOCATIONFLAGS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CREATEALLOCATIONFLAGS").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATEALLOCATIONFLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_CREATEALLOCATIONFLAGS {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_CREATEALLOCATIONFLAGS {}
impl ::core::default::Default for D3DKMT_CREATEALLOCATIONFLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CREATECONTEXT {
pub hDevice: u32,
pub NodeOrdinal: u32,
pub EngineAffinity: u32,
pub Flags: D3DDDI_CREATECONTEXTFLAGS,
pub pPrivateDriverData: *mut ::core::ffi::c_void,
pub PrivateDriverDataSize: u32,
pub ClientHint: D3DKMT_CLIENTHINT,
pub hContext: u32,
pub pCommandBuffer: *mut ::core::ffi::c_void,
pub CommandBufferSize: u32,
pub pAllocationList: *mut D3DDDI_ALLOCATIONLIST,
pub AllocationListSize: u32,
pub pPatchLocationList: *mut D3DDDI_PATCHLOCATIONLIST,
pub PatchLocationListSize: u32,
pub CommandBuffer: u64,
}
impl ::core::marker::Copy for D3DKMT_CREATECONTEXT {}
impl ::core::clone::Clone for D3DKMT_CREATECONTEXT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATECONTEXT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_CREATECONTEXT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CREATECONTEXTVIRTUAL {
pub hDevice: u32,
pub NodeOrdinal: u32,
pub EngineAffinity: u32,
pub Flags: D3DDDI_CREATECONTEXTFLAGS,
pub pPrivateDriverData: *mut ::core::ffi::c_void,
pub PrivateDriverDataSize: u32,
pub ClientHint: D3DKMT_CLIENTHINT,
pub hContext: u32,
}
impl ::core::marker::Copy for D3DKMT_CREATECONTEXTVIRTUAL {}
impl ::core::clone::Clone for D3DKMT_CREATECONTEXTVIRTUAL {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATECONTEXTVIRTUAL {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_CREATECONTEXTVIRTUAL {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
pub struct D3DKMT_CREATEDCFROMMEMORY {
pub pMemory: *mut ::core::ffi::c_void,
pub Format: D3DDDIFORMAT,
pub Width: u32,
pub Height: u32,
pub Pitch: u32,
pub hDeviceDc: super::super::super::Win32::Graphics::Gdi::HDC,
pub pColorTable: *mut super::super::super::Win32::Graphics::Gdi::PALETTEENTRY,
pub hDc: super::super::super::Win32::Graphics::Gdi::HDC,
pub hBitmap: super::super::super::Win32::Foundation::HANDLE,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::marker::Copy for D3DKMT_CREATEDCFROMMEMORY {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::clone::Clone for D3DKMT_CREATEDCFROMMEMORY {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::fmt::Debug for D3DKMT_CREATEDCFROMMEMORY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CREATEDCFROMMEMORY").field("pMemory", &self.pMemory).field("Format", &self.Format).field("Width", &self.Width).field("Height", &self.Height).field("Pitch", &self.Pitch).field("hDeviceDc", &self.hDeviceDc).field("pColorTable", &self.pColorTable).field("hDc", &self.hDc).field("hBitmap", &self.hBitmap).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::windows_core::TypeKind for D3DKMT_CREATEDCFROMMEMORY {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::cmp::PartialEq for D3DKMT_CREATEDCFROMMEMORY {
fn eq(&self, other: &Self) -> bool {
self.pMemory == other.pMemory && self.Format == other.Format && self.Width == other.Width && self.Height == other.Height && self.Pitch == other.Pitch && self.hDeviceDc == other.hDeviceDc && self.pColorTable == other.pColorTable && self.hDc == other.hDc && self.hBitmap == other.hBitmap
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::cmp::Eq for D3DKMT_CREATEDCFROMMEMORY {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::default::Default for D3DKMT_CREATEDCFROMMEMORY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CREATEDEVICE {
pub Anonymous: D3DKMT_CREATEDEVICE_0,
pub Flags: D3DKMT_CREATEDEVICEFLAGS,
pub hDevice: u32,
pub pCommandBuffer: *mut ::core::ffi::c_void,
pub CommandBufferSize: u32,
pub pAllocationList: *mut D3DDDI_ALLOCATIONLIST,
pub AllocationListSize: u32,
pub pPatchLocationList: *mut D3DDDI_PATCHLOCATIONLIST,
pub PatchLocationListSize: u32,
}
impl ::core::marker::Copy for D3DKMT_CREATEDEVICE {}
impl ::core::clone::Clone for D3DKMT_CREATEDEVICE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATEDEVICE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_CREATEDEVICE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_CREATEDEVICE_0 {
pub hAdapter: u32,
pub pAdapter: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for D3DKMT_CREATEDEVICE_0 {}
impl ::core::clone::Clone for D3DKMT_CREATEDEVICE_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATEDEVICE_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_CREATEDEVICE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CREATEDEVICEFLAGS {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_CREATEDEVICEFLAGS {}
impl ::core::clone::Clone for D3DKMT_CREATEDEVICEFLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_CREATEDEVICEFLAGS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CREATEDEVICEFLAGS").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATEDEVICEFLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_CREATEDEVICEFLAGS {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_CREATEDEVICEFLAGS {}
impl ::core::default::Default for D3DKMT_CREATEDEVICEFLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CREATEHWCONTEXT {
pub hDevice: u32,
pub NodeOrdinal: u32,
pub EngineAffinity: u32,
pub Flags: D3DDDI_CREATEHWCONTEXTFLAGS,
pub PrivateDriverDataSize: u32,
pub pPrivateDriverData: *mut ::core::ffi::c_void,
pub hHwContext: u32,
}
impl ::core::marker::Copy for D3DKMT_CREATEHWCONTEXT {}
impl ::core::clone::Clone for D3DKMT_CREATEHWCONTEXT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATEHWCONTEXT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_CREATEHWCONTEXT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CREATEHWQUEUE {
pub hHwContext: u32,
pub Flags: D3DDDI_CREATEHWQUEUEFLAGS,
pub PrivateDriverDataSize: u32,
pub pPrivateDriverData: *mut ::core::ffi::c_void,
pub hHwQueue: u32,
pub hHwQueueProgressFence: u32,
pub HwQueueProgressFenceCPUVirtualAddress: *mut ::core::ffi::c_void,
pub HwQueueProgressFenceGPUVirtualAddress: u64,
}
impl ::core::marker::Copy for D3DKMT_CREATEHWQUEUE {}
impl ::core::clone::Clone for D3DKMT_CREATEHWQUEUE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATEHWQUEUE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_CREATEHWQUEUE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CREATEKEYEDMUTEX {
pub InitialValue: u64,
pub hSharedHandle: u32,
pub hKeyedMutex: u32,
}
impl ::core::marker::Copy for D3DKMT_CREATEKEYEDMUTEX {}
impl ::core::clone::Clone for D3DKMT_CREATEKEYEDMUTEX {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_CREATEKEYEDMUTEX {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CREATEKEYEDMUTEX").field("InitialValue", &self.InitialValue).field("hSharedHandle", &self.hSharedHandle).field("hKeyedMutex", &self.hKeyedMutex).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATEKEYEDMUTEX {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_CREATEKEYEDMUTEX {
fn eq(&self, other: &Self) -> bool {
self.InitialValue == other.InitialValue && self.hSharedHandle == other.hSharedHandle && self.hKeyedMutex == other.hKeyedMutex
}
}
impl ::core::cmp::Eq for D3DKMT_CREATEKEYEDMUTEX {}
impl ::core::default::Default for D3DKMT_CREATEKEYEDMUTEX {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CREATEKEYEDMUTEX2 {
pub InitialValue: u64,
pub hSharedHandle: u32,
pub hKeyedMutex: u32,
pub pPrivateRuntimeData: *mut ::core::ffi::c_void,
pub PrivateRuntimeDataSize: u32,
pub Flags: D3DKMT_CREATEKEYEDMUTEX2_FLAGS,
}
impl ::core::marker::Copy for D3DKMT_CREATEKEYEDMUTEX2 {}
impl ::core::clone::Clone for D3DKMT_CREATEKEYEDMUTEX2 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATEKEYEDMUTEX2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_CREATEKEYEDMUTEX2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CREATEKEYEDMUTEX2_FLAGS {
pub Anonymous: D3DKMT_CREATEKEYEDMUTEX2_FLAGS_0,
}
impl ::core::marker::Copy for D3DKMT_CREATEKEYEDMUTEX2_FLAGS {}
impl ::core::clone::Clone for D3DKMT_CREATEKEYEDMUTEX2_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATEKEYEDMUTEX2_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_CREATEKEYEDMUTEX2_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_CREATEKEYEDMUTEX2_FLAGS_0 {
pub Anonymous: D3DKMT_CREATEKEYEDMUTEX2_FLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_CREATEKEYEDMUTEX2_FLAGS_0 {}
impl ::core::clone::Clone for D3DKMT_CREATEKEYEDMUTEX2_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATEKEYEDMUTEX2_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_CREATEKEYEDMUTEX2_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CREATEKEYEDMUTEX2_FLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_CREATEKEYEDMUTEX2_FLAGS_0_0 {}
impl ::core::clone::Clone for D3DKMT_CREATEKEYEDMUTEX2_FLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_CREATEKEYEDMUTEX2_FLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CREATEKEYEDMUTEX2_FLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATEKEYEDMUTEX2_FLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_CREATEKEYEDMUTEX2_FLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_CREATEKEYEDMUTEX2_FLAGS_0_0 {}
impl ::core::default::Default for D3DKMT_CREATEKEYEDMUTEX2_FLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CREATENATIVEFENCE {
pub hDevice: u32,
pub Info: D3DDDI_CREATENATIVEFENCEINFO,
}
impl ::core::marker::Copy for D3DKMT_CREATENATIVEFENCE {}
impl ::core::clone::Clone for D3DKMT_CREATENATIVEFENCE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATENATIVEFENCE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_CREATENATIVEFENCE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CREATEOVERLAY {
pub VidPnSourceId: u32,
pub hDevice: u32,
pub OverlayInfo: D3DDDI_KERNELOVERLAYINFO,
pub hOverlay: u32,
}
impl ::core::marker::Copy for D3DKMT_CREATEOVERLAY {}
impl ::core::clone::Clone for D3DKMT_CREATEOVERLAY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_CREATEOVERLAY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CREATEOVERLAY").field("VidPnSourceId", &self.VidPnSourceId).field("hDevice", &self.hDevice).field("OverlayInfo", &self.OverlayInfo).field("hOverlay", &self.hOverlay).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATEOVERLAY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_CREATEOVERLAY {
fn eq(&self, other: &Self) -> bool {
self.VidPnSourceId == other.VidPnSourceId && self.hDevice == other.hDevice && self.OverlayInfo == other.OverlayInfo && self.hOverlay == other.hOverlay
}
}
impl ::core::cmp::Eq for D3DKMT_CREATEOVERLAY {}
impl ::core::default::Default for D3DKMT_CREATEOVERLAY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CREATEPAGINGQUEUE {
pub hDevice: u32,
pub Priority: D3DDDI_PAGINGQUEUE_PRIORITY,
pub hPagingQueue: u32,
pub hSyncObject: u32,
pub FenceValueCPUVirtualAddress: *mut ::core::ffi::c_void,
pub PhysicalAdapterIndex: u32,
}
impl ::core::marker::Copy for D3DKMT_CREATEPAGINGQUEUE {}
impl ::core::clone::Clone for D3DKMT_CREATEPAGINGQUEUE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_CREATEPAGINGQUEUE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CREATEPAGINGQUEUE").field("hDevice", &self.hDevice).field("Priority", &self.Priority).field("hPagingQueue", &self.hPagingQueue).field("hSyncObject", &self.hSyncObject).field("FenceValueCPUVirtualAddress", &self.FenceValueCPUVirtualAddress).field("PhysicalAdapterIndex", &self.PhysicalAdapterIndex).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATEPAGINGQUEUE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_CREATEPAGINGQUEUE {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.Priority == other.Priority && self.hPagingQueue == other.hPagingQueue && self.hSyncObject == other.hSyncObject && self.FenceValueCPUVirtualAddress == other.FenceValueCPUVirtualAddress && self.PhysicalAdapterIndex == other.PhysicalAdapterIndex
}
}
impl ::core::cmp::Eq for D3DKMT_CREATEPAGINGQUEUE {}
impl ::core::default::Default for D3DKMT_CREATEPAGINGQUEUE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CREATEPROTECTEDSESSION {
pub hDevice: u32,
pub hSyncObject: u32,
pub pPrivateDriverData: *const ::core::ffi::c_void,
pub PrivateDriverDataSize: u32,
pub pPrivateRuntimeData: *const ::core::ffi::c_void,
pub PrivateRuntimeDataSize: u32,
pub hHandle: u32,
}
impl ::core::marker::Copy for D3DKMT_CREATEPROTECTEDSESSION {}
impl ::core::clone::Clone for D3DKMT_CREATEPROTECTEDSESSION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_CREATEPROTECTEDSESSION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CREATEPROTECTEDSESSION").field("hDevice", &self.hDevice).field("hSyncObject", &self.hSyncObject).field("pPrivateDriverData", &self.pPrivateDriverData).field("PrivateDriverDataSize", &self.PrivateDriverDataSize).field("pPrivateRuntimeData", &self.pPrivateRuntimeData).field("PrivateRuntimeDataSize", &self.PrivateRuntimeDataSize).field("hHandle", &self.hHandle).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATEPROTECTEDSESSION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_CREATEPROTECTEDSESSION {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.hSyncObject == other.hSyncObject && self.pPrivateDriverData == other.pPrivateDriverData && self.PrivateDriverDataSize == other.PrivateDriverDataSize && self.pPrivateRuntimeData == other.pPrivateRuntimeData && self.PrivateRuntimeDataSize == other.PrivateRuntimeDataSize && self.hHandle == other.hHandle
}
}
impl ::core::cmp::Eq for D3DKMT_CREATEPROTECTEDSESSION {}
impl ::core::default::Default for D3DKMT_CREATEPROTECTEDSESSION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CREATESTANDARDALLOCATION {
pub Type: D3DKMT_STANDARDALLOCATIONTYPE,
pub Anonymous: D3DKMT_CREATESTANDARDALLOCATION_0,
pub Flags: D3DKMT_CREATESTANDARDALLOCATIONFLAGS,
}
impl ::core::marker::Copy for D3DKMT_CREATESTANDARDALLOCATION {}
impl ::core::clone::Clone for D3DKMT_CREATESTANDARDALLOCATION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATESTANDARDALLOCATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_CREATESTANDARDALLOCATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_CREATESTANDARDALLOCATION_0 {
pub ExistingHeapData: D3DKMT_STANDARDALLOCATION_EXISTINGHEAP,
}
impl ::core::marker::Copy for D3DKMT_CREATESTANDARDALLOCATION_0 {}
impl ::core::clone::Clone for D3DKMT_CREATESTANDARDALLOCATION_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATESTANDARDALLOCATION_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_CREATESTANDARDALLOCATION_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CREATESTANDARDALLOCATIONFLAGS {
pub Anonymous: D3DKMT_CREATESTANDARDALLOCATIONFLAGS_0,
}
impl ::core::marker::Copy for D3DKMT_CREATESTANDARDALLOCATIONFLAGS {}
impl ::core::clone::Clone for D3DKMT_CREATESTANDARDALLOCATIONFLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATESTANDARDALLOCATIONFLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_CREATESTANDARDALLOCATIONFLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_CREATESTANDARDALLOCATIONFLAGS_0 {
pub Anonymous: D3DKMT_CREATESTANDARDALLOCATIONFLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_CREATESTANDARDALLOCATIONFLAGS_0 {}
impl ::core::clone::Clone for D3DKMT_CREATESTANDARDALLOCATIONFLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATESTANDARDALLOCATIONFLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_CREATESTANDARDALLOCATIONFLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CREATESTANDARDALLOCATIONFLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_CREATESTANDARDALLOCATIONFLAGS_0_0 {}
impl ::core::clone::Clone for D3DKMT_CREATESTANDARDALLOCATIONFLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_CREATESTANDARDALLOCATIONFLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CREATESTANDARDALLOCATIONFLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATESTANDARDALLOCATIONFLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_CREATESTANDARDALLOCATIONFLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_CREATESTANDARDALLOCATIONFLAGS_0_0 {}
impl ::core::default::Default for D3DKMT_CREATESTANDARDALLOCATIONFLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CREATESYNCFILE {
pub hDevice: u32,
pub hMonitoredFence: u32,
pub FenceValue: u64,
pub hSyncFile: u64,
}
impl ::core::marker::Copy for D3DKMT_CREATESYNCFILE {}
impl ::core::clone::Clone for D3DKMT_CREATESYNCFILE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_CREATESYNCFILE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CREATESYNCFILE").field("hDevice", &self.hDevice).field("hMonitoredFence", &self.hMonitoredFence).field("FenceValue", &self.FenceValue).field("hSyncFile", &self.hSyncFile).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATESYNCFILE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_CREATESYNCFILE {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.hMonitoredFence == other.hMonitoredFence && self.FenceValue == other.FenceValue && self.hSyncFile == other.hSyncFile
}
}
impl ::core::cmp::Eq for D3DKMT_CREATESYNCFILE {}
impl ::core::default::Default for D3DKMT_CREATESYNCFILE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_CREATESYNCHRONIZATIONOBJECT {
pub hDevice: u32,
pub Info: D3DDDI_SYNCHRONIZATIONOBJECTINFO,
pub hSyncObject: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_CREATESYNCHRONIZATIONOBJECT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_CREATESYNCHRONIZATIONOBJECT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_CREATESYNCHRONIZATIONOBJECT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_CREATESYNCHRONIZATIONOBJECT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_CREATESYNCHRONIZATIONOBJECT2 {
pub hDevice: u32,
pub Info: D3DDDI_SYNCHRONIZATIONOBJECTINFO2,
pub hSyncObject: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_CREATESYNCHRONIZATIONOBJECT2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_CREATESYNCHRONIZATIONOBJECT2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_CREATESYNCHRONIZATIONOBJECT2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_CREATESYNCHRONIZATIONOBJECT2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CREATE_DOORBELL {
pub hHwQueue: u32,
pub hRingBuffer: u32,
pub hRingBufferControl: u32,
pub Flags: D3DKMT_CREATE_DOORBELL_FLAGS,
pub PrivateDriverDataSize: u32,
pub PrivateDriverData: *mut ::core::ffi::c_void,
pub DoorbellCPUVirtualAddress: *mut ::core::ffi::c_void,
pub DoorbellSecondaryCPUVirtualAddress: *mut ::core::ffi::c_void,
pub DoorbellStatusCPUVirtualAddress: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for D3DKMT_CREATE_DOORBELL {}
impl ::core::clone::Clone for D3DKMT_CREATE_DOORBELL {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATE_DOORBELL {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_CREATE_DOORBELL {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CREATE_DOORBELL_FLAGS {
pub Anonymous: D3DKMT_CREATE_DOORBELL_FLAGS_0,
}
impl ::core::marker::Copy for D3DKMT_CREATE_DOORBELL_FLAGS {}
impl ::core::clone::Clone for D3DKMT_CREATE_DOORBELL_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATE_DOORBELL_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_CREATE_DOORBELL_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_CREATE_DOORBELL_FLAGS_0 {
pub Anonymous: D3DKMT_CREATE_DOORBELL_FLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_CREATE_DOORBELL_FLAGS_0 {}
impl ::core::clone::Clone for D3DKMT_CREATE_DOORBELL_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATE_DOORBELL_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_CREATE_DOORBELL_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CREATE_DOORBELL_FLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_CREATE_DOORBELL_FLAGS_0_0 {}
impl ::core::clone::Clone for D3DKMT_CREATE_DOORBELL_FLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_CREATE_DOORBELL_FLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CREATE_DOORBELL_FLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_CREATE_DOORBELL_FLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_CREATE_DOORBELL_FLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_CREATE_DOORBELL_FLAGS_0_0 {}
impl ::core::default::Default for D3DKMT_CREATE_DOORBELL_FLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_CREATE_OUTPUTDUPL {
pub hAdapter: u32,
pub VidPnSourceId: u32,
pub KeyedMutexCount: u32,
pub RequiredKeyedMutexCount: u32,
pub KeyedMutexs: [D3DKMT_OUTPUTDUPL_KEYEDMUTEX; 3],
pub Flags: D3DKMT_OUTPUTDUPLCREATIONFLAGS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_CREATE_OUTPUTDUPL {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_CREATE_OUTPUTDUPL {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_CREATE_OUTPUTDUPL {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_CREATE_OUTPUTDUPL {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CROSSADAPTERRESOURCE_SUPPORT {
pub SupportTier: D3DKMT_CROSSADAPTERRESOURCE_SUPPORT_TIER,
}
impl ::core::marker::Copy for D3DKMT_CROSSADAPTERRESOURCE_SUPPORT {}
impl ::core::clone::Clone for D3DKMT_CROSSADAPTERRESOURCE_SUPPORT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_CROSSADAPTERRESOURCE_SUPPORT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CROSSADAPTERRESOURCE_SUPPORT").field("SupportTier", &self.SupportTier).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_CROSSADAPTERRESOURCE_SUPPORT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_CROSSADAPTERRESOURCE_SUPPORT {
fn eq(&self, other: &Self) -> bool {
self.SupportTier == other.SupportTier
}
}
impl ::core::cmp::Eq for D3DKMT_CROSSADAPTERRESOURCE_SUPPORT {}
impl ::core::default::Default for D3DKMT_CROSSADAPTERRESOURCE_SUPPORT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_CURRENTDISPLAYMODE {
pub VidPnSourceId: u32,
pub DisplayMode: D3DKMT_DISPLAYMODE,
}
impl ::core::marker::Copy for D3DKMT_CURRENTDISPLAYMODE {}
impl ::core::clone::Clone for D3DKMT_CURRENTDISPLAYMODE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_CURRENTDISPLAYMODE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_CURRENTDISPLAYMODE").field("VidPnSourceId", &self.VidPnSourceId).field("DisplayMode", &self.DisplayMode).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_CURRENTDISPLAYMODE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_CURRENTDISPLAYMODE {
fn eq(&self, other: &Self) -> bool {
self.VidPnSourceId == other.VidPnSourceId && self.DisplayMode == other.DisplayMode
}
}
impl ::core::cmp::Eq for D3DKMT_CURRENTDISPLAYMODE {}
impl ::core::default::Default for D3DKMT_CURRENTDISPLAYMODE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DEBUG_SNAPSHOT_ESCAPE {
pub Length: u32,
pub Buffer: [u8; 1],
}
impl ::core::marker::Copy for D3DKMT_DEBUG_SNAPSHOT_ESCAPE {}
impl ::core::clone::Clone for D3DKMT_DEBUG_SNAPSHOT_ESCAPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_DEBUG_SNAPSHOT_ESCAPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DEBUG_SNAPSHOT_ESCAPE").field("Length", &self.Length).field("Buffer", &self.Buffer).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_DEBUG_SNAPSHOT_ESCAPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_DEBUG_SNAPSHOT_ESCAPE {
fn eq(&self, other: &Self) -> bool {
self.Length == other.Length && self.Buffer == other.Buffer
}
}
impl ::core::cmp::Eq for D3DKMT_DEBUG_SNAPSHOT_ESCAPE {}
impl ::core::default::Default for D3DKMT_DEBUG_SNAPSHOT_ESCAPE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DESTROYALLOCATION {
pub hDevice: u32,
pub hResource: u32,
pub phAllocationList: *const u32,
pub AllocationCount: u32,
}
impl ::core::marker::Copy for D3DKMT_DESTROYALLOCATION {}
impl ::core::clone::Clone for D3DKMT_DESTROYALLOCATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_DESTROYALLOCATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DESTROYALLOCATION").field("hDevice", &self.hDevice).field("hResource", &self.hResource).field("phAllocationList", &self.phAllocationList).field("AllocationCount", &self.AllocationCount).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_DESTROYALLOCATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_DESTROYALLOCATION {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.hResource == other.hResource && self.phAllocationList == other.phAllocationList && self.AllocationCount == other.AllocationCount
}
}
impl ::core::cmp::Eq for D3DKMT_DESTROYALLOCATION {}
impl ::core::default::Default for D3DKMT_DESTROYALLOCATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DESTROYALLOCATION2 {
pub hDevice: u32,
pub hResource: u32,
pub phAllocationList: *const u32,
pub AllocationCount: u32,
pub Flags: D3DDDICB_DESTROYALLOCATION2FLAGS,
}
impl ::core::marker::Copy for D3DKMT_DESTROYALLOCATION2 {}
impl ::core::clone::Clone for D3DKMT_DESTROYALLOCATION2 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_DESTROYALLOCATION2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_DESTROYALLOCATION2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DESTROYCONTEXT {
pub hContext: u32,
}
impl ::core::marker::Copy for D3DKMT_DESTROYCONTEXT {}
impl ::core::clone::Clone for D3DKMT_DESTROYCONTEXT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_DESTROYCONTEXT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DESTROYCONTEXT").field("hContext", &self.hContext).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_DESTROYCONTEXT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_DESTROYCONTEXT {
fn eq(&self, other: &Self) -> bool {
self.hContext == other.hContext
}
}
impl ::core::cmp::Eq for D3DKMT_DESTROYCONTEXT {}
impl ::core::default::Default for D3DKMT_DESTROYCONTEXT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
pub struct D3DKMT_DESTROYDCFROMMEMORY {
pub hDc: super::super::super::Win32::Graphics::Gdi::HDC,
pub hBitmap: super::super::super::Win32::Foundation::HANDLE,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::marker::Copy for D3DKMT_DESTROYDCFROMMEMORY {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::clone::Clone for D3DKMT_DESTROYDCFROMMEMORY {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::fmt::Debug for D3DKMT_DESTROYDCFROMMEMORY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DESTROYDCFROMMEMORY").field("hDc", &self.hDc).field("hBitmap", &self.hBitmap).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::windows_core::TypeKind for D3DKMT_DESTROYDCFROMMEMORY {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::cmp::PartialEq for D3DKMT_DESTROYDCFROMMEMORY {
fn eq(&self, other: &Self) -> bool {
self.hDc == other.hDc && self.hBitmap == other.hBitmap
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::cmp::Eq for D3DKMT_DESTROYDCFROMMEMORY {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::default::Default for D3DKMT_DESTROYDCFROMMEMORY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DESTROYDEVICE {
pub hDevice: u32,
}
impl ::core::marker::Copy for D3DKMT_DESTROYDEVICE {}
impl ::core::clone::Clone for D3DKMT_DESTROYDEVICE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_DESTROYDEVICE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DESTROYDEVICE").field("hDevice", &self.hDevice).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_DESTROYDEVICE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_DESTROYDEVICE {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice
}
}
impl ::core::cmp::Eq for D3DKMT_DESTROYDEVICE {}
impl ::core::default::Default for D3DKMT_DESTROYDEVICE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DESTROYHWCONTEXT {
pub hHwContext: u32,
}
impl ::core::marker::Copy for D3DKMT_DESTROYHWCONTEXT {}
impl ::core::clone::Clone for D3DKMT_DESTROYHWCONTEXT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_DESTROYHWCONTEXT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DESTROYHWCONTEXT").field("hHwContext", &self.hHwContext).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_DESTROYHWCONTEXT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_DESTROYHWCONTEXT {
fn eq(&self, other: &Self) -> bool {
self.hHwContext == other.hHwContext
}
}
impl ::core::cmp::Eq for D3DKMT_DESTROYHWCONTEXT {}
impl ::core::default::Default for D3DKMT_DESTROYHWCONTEXT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DESTROYHWQUEUE {
pub hHwQueue: u32,
}
impl ::core::marker::Copy for D3DKMT_DESTROYHWQUEUE {}
impl ::core::clone::Clone for D3DKMT_DESTROYHWQUEUE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_DESTROYHWQUEUE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DESTROYHWQUEUE").field("hHwQueue", &self.hHwQueue).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_DESTROYHWQUEUE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_DESTROYHWQUEUE {
fn eq(&self, other: &Self) -> bool {
self.hHwQueue == other.hHwQueue
}
}
impl ::core::cmp::Eq for D3DKMT_DESTROYHWQUEUE {}
impl ::core::default::Default for D3DKMT_DESTROYHWQUEUE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DESTROYKEYEDMUTEX {
pub hKeyedMutex: u32,
}
impl ::core::marker::Copy for D3DKMT_DESTROYKEYEDMUTEX {}
impl ::core::clone::Clone for D3DKMT_DESTROYKEYEDMUTEX {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_DESTROYKEYEDMUTEX {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DESTROYKEYEDMUTEX").field("hKeyedMutex", &self.hKeyedMutex).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_DESTROYKEYEDMUTEX {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_DESTROYKEYEDMUTEX {
fn eq(&self, other: &Self) -> bool {
self.hKeyedMutex == other.hKeyedMutex
}
}
impl ::core::cmp::Eq for D3DKMT_DESTROYKEYEDMUTEX {}
impl ::core::default::Default for D3DKMT_DESTROYKEYEDMUTEX {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DESTROYOVERLAY {
pub hDevice: u32,
pub hOverlay: u32,
}
impl ::core::marker::Copy for D3DKMT_DESTROYOVERLAY {}
impl ::core::clone::Clone for D3DKMT_DESTROYOVERLAY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_DESTROYOVERLAY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DESTROYOVERLAY").field("hDevice", &self.hDevice).field("hOverlay", &self.hOverlay).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_DESTROYOVERLAY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_DESTROYOVERLAY {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.hOverlay == other.hOverlay
}
}
impl ::core::cmp::Eq for D3DKMT_DESTROYOVERLAY {}
impl ::core::default::Default for D3DKMT_DESTROYOVERLAY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DESTROYPROTECTEDSESSION {
pub hHandle: u32,
}
impl ::core::marker::Copy for D3DKMT_DESTROYPROTECTEDSESSION {}
impl ::core::clone::Clone for D3DKMT_DESTROYPROTECTEDSESSION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_DESTROYPROTECTEDSESSION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DESTROYPROTECTEDSESSION").field("hHandle", &self.hHandle).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_DESTROYPROTECTEDSESSION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_DESTROYPROTECTEDSESSION {
fn eq(&self, other: &Self) -> bool {
self.hHandle == other.hHandle
}
}
impl ::core::cmp::Eq for D3DKMT_DESTROYPROTECTEDSESSION {}
impl ::core::default::Default for D3DKMT_DESTROYPROTECTEDSESSION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DESTROYSYNCHRONIZATIONOBJECT {
pub hSyncObject: u32,
}
impl ::core::marker::Copy for D3DKMT_DESTROYSYNCHRONIZATIONOBJECT {}
impl ::core::clone::Clone for D3DKMT_DESTROYSYNCHRONIZATIONOBJECT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_DESTROYSYNCHRONIZATIONOBJECT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DESTROYSYNCHRONIZATIONOBJECT").field("hSyncObject", &self.hSyncObject).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_DESTROYSYNCHRONIZATIONOBJECT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_DESTROYSYNCHRONIZATIONOBJECT {
fn eq(&self, other: &Self) -> bool {
self.hSyncObject == other.hSyncObject
}
}
impl ::core::cmp::Eq for D3DKMT_DESTROYSYNCHRONIZATIONOBJECT {}
impl ::core::default::Default for D3DKMT_DESTROYSYNCHRONIZATIONOBJECT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DESTROY_DOORBELL {
pub hHwQueue: u32,
}
impl ::core::marker::Copy for D3DKMT_DESTROY_DOORBELL {}
impl ::core::clone::Clone for D3DKMT_DESTROY_DOORBELL {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_DESTROY_DOORBELL {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DESTROY_DOORBELL").field("hHwQueue", &self.hHwQueue).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_DESTROY_DOORBELL {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_DESTROY_DOORBELL {
fn eq(&self, other: &Self) -> bool {
self.hHwQueue == other.hHwQueue
}
}
impl ::core::cmp::Eq for D3DKMT_DESTROY_DOORBELL {}
impl ::core::default::Default for D3DKMT_DESTROY_DOORBELL {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_DESTROY_OUTPUTDUPL {
pub hAdapter: u32,
pub VidPnSourceId: u32,
pub bDestroyAllContexts: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_DESTROY_OUTPUTDUPL {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_DESTROY_OUTPUTDUPL {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_DESTROY_OUTPUTDUPL {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DESTROY_OUTPUTDUPL").field("hAdapter", &self.hAdapter).field("VidPnSourceId", &self.VidPnSourceId).field("bDestroyAllContexts", &self.bDestroyAllContexts).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_DESTROY_OUTPUTDUPL {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_DESTROY_OUTPUTDUPL {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.VidPnSourceId == other.VidPnSourceId && self.bDestroyAllContexts == other.bDestroyAllContexts
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_DESTROY_OUTPUTDUPL {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_DESTROY_OUTPUTDUPL {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DEVICEPAGEFAULT_STATE {
pub FaultedPrimitiveAPISequenceNumber: u64,
pub FaultedPipelineStage: DXGK_RENDER_PIPELINE_STAGE,
pub FaultedBindTableEntry: u32,
pub PageFaultFlags: DXGK_PAGE_FAULT_FLAGS,
pub FaultErrorCode: DXGK_FAULT_ERROR_CODE,
pub FaultedVirtualAddress: u64,
}
impl ::core::marker::Copy for D3DKMT_DEVICEPAGEFAULT_STATE {}
impl ::core::clone::Clone for D3DKMT_DEVICEPAGEFAULT_STATE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_DEVICEPAGEFAULT_STATE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_DEVICEPAGEFAULT_STATE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_DEVICEPRESENT_QUEUE_STATE {
pub VidPnSourceId: u32,
pub bQueuedPresentLimitReached: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_DEVICEPRESENT_QUEUE_STATE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_DEVICEPRESENT_QUEUE_STATE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_DEVICEPRESENT_QUEUE_STATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DEVICEPRESENT_QUEUE_STATE").field("VidPnSourceId", &self.VidPnSourceId).field("bQueuedPresentLimitReached", &self.bQueuedPresentLimitReached).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_DEVICEPRESENT_QUEUE_STATE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_DEVICEPRESENT_QUEUE_STATE {
fn eq(&self, other: &Self) -> bool {
self.VidPnSourceId == other.VidPnSourceId && self.bQueuedPresentLimitReached == other.bQueuedPresentLimitReached
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_DEVICEPRESENT_QUEUE_STATE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_DEVICEPRESENT_QUEUE_STATE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DEVICEPRESENT_STATE {
pub VidPnSourceId: u32,
pub PresentStats: D3DKMT_PRESENT_STATS,
}
impl ::core::marker::Copy for D3DKMT_DEVICEPRESENT_STATE {}
impl ::core::clone::Clone for D3DKMT_DEVICEPRESENT_STATE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_DEVICEPRESENT_STATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DEVICEPRESENT_STATE").field("VidPnSourceId", &self.VidPnSourceId).field("PresentStats", &self.PresentStats).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_DEVICEPRESENT_STATE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_DEVICEPRESENT_STATE {
fn eq(&self, other: &Self) -> bool {
self.VidPnSourceId == other.VidPnSourceId && self.PresentStats == other.PresentStats
}
}
impl ::core::cmp::Eq for D3DKMT_DEVICEPRESENT_STATE {}
impl ::core::default::Default for D3DKMT_DEVICEPRESENT_STATE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DEVICEPRESENT_STATE_DWM {
pub VidPnSourceId: u32,
pub PresentStatsDWM: D3DKMT_PRESENT_STATS_DWM,
}
impl ::core::marker::Copy for D3DKMT_DEVICEPRESENT_STATE_DWM {}
impl ::core::clone::Clone for D3DKMT_DEVICEPRESENT_STATE_DWM {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_DEVICEPRESENT_STATE_DWM {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DEVICEPRESENT_STATE_DWM").field("VidPnSourceId", &self.VidPnSourceId).field("PresentStatsDWM", &self.PresentStatsDWM).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_DEVICEPRESENT_STATE_DWM {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_DEVICEPRESENT_STATE_DWM {
fn eq(&self, other: &Self) -> bool {
self.VidPnSourceId == other.VidPnSourceId && self.PresentStatsDWM == other.PresentStatsDWM
}
}
impl ::core::cmp::Eq for D3DKMT_DEVICEPRESENT_STATE_DWM {}
impl ::core::default::Default for D3DKMT_DEVICEPRESENT_STATE_DWM {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DEVICERESET_STATE {
pub Anonymous: D3DKMT_DEVICERESET_STATE_0,
}
impl ::core::marker::Copy for D3DKMT_DEVICERESET_STATE {}
impl ::core::clone::Clone for D3DKMT_DEVICERESET_STATE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_DEVICERESET_STATE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_DEVICERESET_STATE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_DEVICERESET_STATE_0 {
pub Anonymous: D3DKMT_DEVICERESET_STATE_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_DEVICERESET_STATE_0 {}
impl ::core::clone::Clone for D3DKMT_DEVICERESET_STATE_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_DEVICERESET_STATE_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_DEVICERESET_STATE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DEVICERESET_STATE_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_DEVICERESET_STATE_0_0 {}
impl ::core::clone::Clone for D3DKMT_DEVICERESET_STATE_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_DEVICERESET_STATE_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DEVICERESET_STATE_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_DEVICERESET_STATE_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_DEVICERESET_STATE_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_DEVICERESET_STATE_0_0 {}
impl ::core::default::Default for D3DKMT_DEVICERESET_STATE_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DEVICE_ESCAPE {
pub Type: D3DKMT_DEVICEESCAPE_TYPE,
pub Anonymous: D3DKMT_DEVICE_ESCAPE_0,
}
impl ::core::marker::Copy for D3DKMT_DEVICE_ESCAPE {}
impl ::core::clone::Clone for D3DKMT_DEVICE_ESCAPE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_DEVICE_ESCAPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_DEVICE_ESCAPE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_DEVICE_ESCAPE_0 {
pub VidPnFromAllocation: D3DKMT_DEVICE_ESCAPE_0_0,
}
impl ::core::marker::Copy for D3DKMT_DEVICE_ESCAPE_0 {}
impl ::core::clone::Clone for D3DKMT_DEVICE_ESCAPE_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_DEVICE_ESCAPE_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_DEVICE_ESCAPE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DEVICE_ESCAPE_0_0 {
pub hPrimaryAllocation: u32,
pub VidPnSourceId: u32,
}
impl ::core::marker::Copy for D3DKMT_DEVICE_ESCAPE_0_0 {}
impl ::core::clone::Clone for D3DKMT_DEVICE_ESCAPE_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_DEVICE_ESCAPE_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DEVICE_ESCAPE_0_0").field("hPrimaryAllocation", &self.hPrimaryAllocation).field("VidPnSourceId", &self.VidPnSourceId).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_DEVICE_ESCAPE_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_DEVICE_ESCAPE_0_0 {
fn eq(&self, other: &Self) -> bool {
self.hPrimaryAllocation == other.hPrimaryAllocation && self.VidPnSourceId == other.VidPnSourceId
}
}
impl ::core::cmp::Eq for D3DKMT_DEVICE_ESCAPE_0_0 {}
impl ::core::default::Default for D3DKMT_DEVICE_ESCAPE_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DEVICE_IDS {
pub VendorID: u32,
pub DeviceID: u32,
pub SubVendorID: u32,
pub SubSystemID: u32,
pub RevisionID: u32,
pub BusType: u32,
}
impl ::core::marker::Copy for D3DKMT_DEVICE_IDS {}
impl ::core::clone::Clone for D3DKMT_DEVICE_IDS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_DEVICE_IDS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DEVICE_IDS").field("VendorID", &self.VendorID).field("DeviceID", &self.DeviceID).field("SubVendorID", &self.SubVendorID).field("SubSystemID", &self.SubSystemID).field("RevisionID", &self.RevisionID).field("BusType", &self.BusType).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_DEVICE_IDS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_DEVICE_IDS {
fn eq(&self, other: &Self) -> bool {
self.VendorID == other.VendorID && self.DeviceID == other.DeviceID && self.SubVendorID == other.SubVendorID && self.SubSystemID == other.SubSystemID && self.RevisionID == other.RevisionID && self.BusType == other.BusType
}
}
impl ::core::cmp::Eq for D3DKMT_DEVICE_IDS {}
impl ::core::default::Default for D3DKMT_DEVICE_IDS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_DIRECTFLIP_SUPPORT {
pub Supported: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_DIRECTFLIP_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_DIRECTFLIP_SUPPORT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_DIRECTFLIP_SUPPORT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DIRECTFLIP_SUPPORT").field("Supported", &self.Supported).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_DIRECTFLIP_SUPPORT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_DIRECTFLIP_SUPPORT {
fn eq(&self, other: &Self) -> bool {
self.Supported == other.Supported
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_DIRECTFLIP_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_DIRECTFLIP_SUPPORT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_DIRTYREGIONS {
pub NumRects: u32,
pub Rects: [super::super::super::Win32::Foundation::RECT; 16],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_DIRTYREGIONS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_DIRTYREGIONS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_DIRTYREGIONS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DIRTYREGIONS").field("NumRects", &self.NumRects).field("Rects", &self.Rects).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_DIRTYREGIONS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_DIRTYREGIONS {
fn eq(&self, other: &Self) -> bool {
self.NumRects == other.NumRects && self.Rects == other.Rects
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_DIRTYREGIONS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_DIRTYREGIONS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DISPLAYMODE {
pub Width: u32,
pub Height: u32,
pub Format: D3DDDIFORMAT,
pub IntegerRefreshRate: u32,
pub RefreshRate: D3DDDI_RATIONAL,
pub ScanLineOrdering: D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING,
pub DisplayOrientation: D3DDDI_ROTATION,
pub DisplayFixedOutput: u32,
pub Flags: D3DKMDT_DISPLAYMODE_FLAGS,
}
impl ::core::marker::Copy for D3DKMT_DISPLAYMODE {}
impl ::core::clone::Clone for D3DKMT_DISPLAYMODE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_DISPLAYMODE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DISPLAYMODE").field("Width", &self.Width).field("Height", &self.Height).field("Format", &self.Format).field("IntegerRefreshRate", &self.IntegerRefreshRate).field("RefreshRate", &self.RefreshRate).field("ScanLineOrdering", &self.ScanLineOrdering).field("DisplayOrientation", &self.DisplayOrientation).field("DisplayFixedOutput", &self.DisplayFixedOutput).field("Flags", &self.Flags).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_DISPLAYMODE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_DISPLAYMODE {
fn eq(&self, other: &Self) -> bool {
self.Width == other.Width && self.Height == other.Height && self.Format == other.Format && self.IntegerRefreshRate == other.IntegerRefreshRate && self.RefreshRate == other.RefreshRate && self.ScanLineOrdering == other.ScanLineOrdering && self.DisplayOrientation == other.DisplayOrientation && self.DisplayFixedOutput == other.DisplayFixedOutput && self.Flags == other.Flags
}
}
impl ::core::cmp::Eq for D3DKMT_DISPLAYMODE {}
impl ::core::default::Default for D3DKMT_DISPLAYMODE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DISPLAYMODELIST {
pub VidPnSourceId: u32,
pub ModeCount: u32,
pub pModeList: [D3DKMT_DISPLAYMODE; 1],
}
impl ::core::marker::Copy for D3DKMT_DISPLAYMODELIST {}
impl ::core::clone::Clone for D3DKMT_DISPLAYMODELIST {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_DISPLAYMODELIST {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DISPLAYMODELIST").field("VidPnSourceId", &self.VidPnSourceId).field("ModeCount", &self.ModeCount).field("pModeList", &self.pModeList).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_DISPLAYMODELIST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_DISPLAYMODELIST {
fn eq(&self, other: &Self) -> bool {
self.VidPnSourceId == other.VidPnSourceId && self.ModeCount == other.ModeCount && self.pModeList == other.pModeList
}
}
impl ::core::cmp::Eq for D3DKMT_DISPLAYMODELIST {}
impl ::core::default::Default for D3DKMT_DISPLAYMODELIST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DISPLAY_CAPS {
pub Anonymous: D3DKMT_DISPLAY_CAPS_0,
}
impl ::core::marker::Copy for D3DKMT_DISPLAY_CAPS {}
impl ::core::clone::Clone for D3DKMT_DISPLAY_CAPS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_DISPLAY_CAPS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_DISPLAY_CAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub union D3DKMT_DISPLAY_CAPS_0 {
pub Anonymous: D3DKMT_DISPLAY_CAPS_0_0,
pub Value: u64,
}
impl ::core::marker::Copy for D3DKMT_DISPLAY_CAPS_0 {}
impl ::core::clone::Clone for D3DKMT_DISPLAY_CAPS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_DISPLAY_CAPS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_DISPLAY_CAPS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct D3DKMT_DISPLAY_CAPS_0_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for D3DKMT_DISPLAY_CAPS_0_0 {}
impl ::core::clone::Clone for D3DKMT_DISPLAY_CAPS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_DISPLAY_CAPS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_DISPLAY_CAPS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DISPLAY_UMD_FILENAMEINFO {
pub Version: KMT_DISPLAY_UMD_VERSION,
pub UmdFileName: [u16; 260],
}
impl ::core::marker::Copy for D3DKMT_DISPLAY_UMD_FILENAMEINFO {}
impl ::core::clone::Clone for D3DKMT_DISPLAY_UMD_FILENAMEINFO {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_DISPLAY_UMD_FILENAMEINFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DISPLAY_UMD_FILENAMEINFO").field("Version", &self.Version).field("UmdFileName", &self.UmdFileName).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_DISPLAY_UMD_FILENAMEINFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_DISPLAY_UMD_FILENAMEINFO {
fn eq(&self, other: &Self) -> bool {
self.Version == other.Version && self.UmdFileName == other.UmdFileName
}
}
impl ::core::cmp::Eq for D3DKMT_DISPLAY_UMD_FILENAMEINFO {}
impl ::core::default::Default for D3DKMT_DISPLAY_UMD_FILENAMEINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DLIST_DRIVER_NAME {
pub DListFileName: [u16; 260],
}
impl ::core::marker::Copy for D3DKMT_DLIST_DRIVER_NAME {}
impl ::core::clone::Clone for D3DKMT_DLIST_DRIVER_NAME {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_DLIST_DRIVER_NAME {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DLIST_DRIVER_NAME").field("DListFileName", &self.DListFileName).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_DLIST_DRIVER_NAME {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_DLIST_DRIVER_NAME {
fn eq(&self, other: &Self) -> bool {
self.DListFileName == other.DListFileName
}
}
impl ::core::cmp::Eq for D3DKMT_DLIST_DRIVER_NAME {}
impl ::core::default::Default for D3DKMT_DLIST_DRIVER_NAME {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DMM_ESCAPE {
pub Type: D3DKMT_DMMESCAPETYPE,
pub ProvidedBufferSize: usize,
pub MinRequiredBufferSize: usize,
pub Data: [u8; 1],
}
impl ::core::marker::Copy for D3DKMT_DMM_ESCAPE {}
impl ::core::clone::Clone for D3DKMT_DMM_ESCAPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_DMM_ESCAPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DMM_ESCAPE").field("Type", &self.Type).field("ProvidedBufferSize", &self.ProvidedBufferSize).field("MinRequiredBufferSize", &self.MinRequiredBufferSize).field("Data", &self.Data).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_DMM_ESCAPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_DMM_ESCAPE {
fn eq(&self, other: &Self) -> bool {
self.Type == other.Type && self.ProvidedBufferSize == other.ProvidedBufferSize && self.MinRequiredBufferSize == other.MinRequiredBufferSize && self.Data == other.Data
}
}
impl ::core::cmp::Eq for D3DKMT_DMM_ESCAPE {}
impl ::core::default::Default for D3DKMT_DMM_ESCAPE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_DOD_SET_DIRTYRECT_MODE {
pub bForceFullScreenDirty: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_DOD_SET_DIRTYRECT_MODE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_DOD_SET_DIRTYRECT_MODE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_DOD_SET_DIRTYRECT_MODE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DOD_SET_DIRTYRECT_MODE").field("bForceFullScreenDirty", &self.bForceFullScreenDirty).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_DOD_SET_DIRTYRECT_MODE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_DOD_SET_DIRTYRECT_MODE {
fn eq(&self, other: &Self) -> bool {
self.bForceFullScreenDirty == other.bForceFullScreenDirty
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_DOD_SET_DIRTYRECT_MODE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_DOD_SET_DIRTYRECT_MODE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DRIVERCAPS_EXT {
pub Anonymous: D3DKMT_DRIVERCAPS_EXT_0,
}
impl ::core::marker::Copy for D3DKMT_DRIVERCAPS_EXT {}
impl ::core::clone::Clone for D3DKMT_DRIVERCAPS_EXT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_DRIVERCAPS_EXT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_DRIVERCAPS_EXT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub union D3DKMT_DRIVERCAPS_EXT_0 {
pub Anonymous: D3DKMT_DRIVERCAPS_EXT_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_DRIVERCAPS_EXT_0 {}
impl ::core::clone::Clone for D3DKMT_DRIVERCAPS_EXT_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_DRIVERCAPS_EXT_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_DRIVERCAPS_EXT_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct D3DKMT_DRIVERCAPS_EXT_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_DRIVERCAPS_EXT_0_0 {}
impl ::core::clone::Clone for D3DKMT_DRIVERCAPS_EXT_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_DRIVERCAPS_EXT_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_DRIVERCAPS_EXT_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_DRIVER_DESCRIPTION {
pub DriverDescription: [u16; 4096],
}
impl ::core::marker::Copy for D3DKMT_DRIVER_DESCRIPTION {}
impl ::core::clone::Clone for D3DKMT_DRIVER_DESCRIPTION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_DRIVER_DESCRIPTION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_DRIVER_DESCRIPTION").field("DriverDescription", &self.DriverDescription).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_DRIVER_DESCRIPTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_DRIVER_DESCRIPTION {
fn eq(&self, other: &Self) -> bool {
self.DriverDescription == other.DriverDescription
}
}
impl ::core::cmp::Eq for D3DKMT_DRIVER_DESCRIPTION {}
impl ::core::default::Default for D3DKMT_DRIVER_DESCRIPTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_ENUMADAPTERS {
pub NumAdapters: u32,
pub Adapters: [D3DKMT_ADAPTERINFO; 16],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_ENUMADAPTERS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_ENUMADAPTERS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_ENUMADAPTERS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_ENUMADAPTERS").field("NumAdapters", &self.NumAdapters).field("Adapters", &self.Adapters).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_ENUMADAPTERS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_ENUMADAPTERS {
fn eq(&self, other: &Self) -> bool {
self.NumAdapters == other.NumAdapters && self.Adapters == other.Adapters
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_ENUMADAPTERS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_ENUMADAPTERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_ENUMADAPTERS2 {
pub NumAdapters: u32,
pub pAdapters: *mut D3DKMT_ADAPTERINFO,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_ENUMADAPTERS2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_ENUMADAPTERS2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_ENUMADAPTERS2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_ENUMADAPTERS2").field("NumAdapters", &self.NumAdapters).field("pAdapters", &self.pAdapters).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_ENUMADAPTERS2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_ENUMADAPTERS2 {
fn eq(&self, other: &Self) -> bool {
self.NumAdapters == other.NumAdapters && self.pAdapters == other.pAdapters
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_ENUMADAPTERS2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_ENUMADAPTERS2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_ENUMADAPTERS3 {
pub Filter: D3DKMT_ENUMADAPTERS_FILTER,
pub NumAdapters: u32,
pub pAdapters: *mut D3DKMT_ADAPTERINFO,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_ENUMADAPTERS3 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_ENUMADAPTERS3 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_ENUMADAPTERS3 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_ENUMADAPTERS3 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_ENUMADAPTERS_FILTER {
pub Anonymous: D3DKMT_ENUMADAPTERS_FILTER_0,
pub Value: u64,
}
impl ::core::marker::Copy for D3DKMT_ENUMADAPTERS_FILTER {}
impl ::core::clone::Clone for D3DKMT_ENUMADAPTERS_FILTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_ENUMADAPTERS_FILTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_ENUMADAPTERS_FILTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_ENUMADAPTERS_FILTER_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for D3DKMT_ENUMADAPTERS_FILTER_0 {}
impl ::core::clone::Clone for D3DKMT_ENUMADAPTERS_FILTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_ENUMADAPTERS_FILTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_ENUMADAPTERS_FILTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_ENUMADAPTERS_FILTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_ENUMADAPTERS_FILTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_ENUMADAPTERS_FILTER_0 {}
impl ::core::default::Default for D3DKMT_ENUMADAPTERS_FILTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_ESCAPE {
pub hAdapter: u32,
pub hDevice: u32,
pub Type: D3DKMT_ESCAPETYPE,
pub Flags: D3DDDI_ESCAPEFLAGS,
pub pPrivateDriverData: *mut ::core::ffi::c_void,
pub PrivateDriverDataSize: u32,
pub hContext: u32,
}
impl ::core::marker::Copy for D3DKMT_ESCAPE {}
impl ::core::clone::Clone for D3DKMT_ESCAPE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_ESCAPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_ESCAPE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE {
pub Type: D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE,
pub VidPnSourceId: u32,
pub ProcessBoostEligible: super::super::super::Win32::Foundation::BOOLEAN,
pub VSyncMultiplier: u32,
pub BaseDesktopDuration: u32,
pub Reserved: [u8; 16],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE").field("Type", &self.Type).field("VidPnSourceId", &self.VidPnSourceId).field("ProcessBoostEligible", &self.ProcessBoostEligible).field("VSyncMultiplier", &self.VSyncMultiplier).field("BaseDesktopDuration", &self.BaseDesktopDuration).field("Reserved", &self.Reserved).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE {
fn eq(&self, other: &Self) -> bool {
self.Type == other.Type && self.VidPnSourceId == other.VidPnSourceId && self.ProcessBoostEligible == other.ProcessBoostEligible && self.VSyncMultiplier == other.VSyncMultiplier && self.BaseDesktopDuration == other.BaseDesktopDuration && self.Reserved == other.Reserved
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_EVICT {
pub hDevice: u32,
pub NumAllocations: u32,
pub AllocationList: *const u32,
pub Flags: D3DDDI_EVICT_FLAGS,
pub NumBytesToTrim: u64,
}
impl ::core::marker::Copy for D3DKMT_EVICT {}
impl ::core::clone::Clone for D3DKMT_EVICT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_EVICT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_EVICT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_EVICTION_CRITERIA {
pub MinimumSize: u64,
pub MaximumSize: u64,
pub Anonymous: D3DKMT_EVICTION_CRITERIA_0,
}
impl ::core::marker::Copy for D3DKMT_EVICTION_CRITERIA {}
impl ::core::clone::Clone for D3DKMT_EVICTION_CRITERIA {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_EVICTION_CRITERIA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_EVICTION_CRITERIA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_EVICTION_CRITERIA_0 {
pub Anonymous: D3DKMT_EVICTION_CRITERIA_0_0,
}
impl ::core::marker::Copy for D3DKMT_EVICTION_CRITERIA_0 {}
impl ::core::clone::Clone for D3DKMT_EVICTION_CRITERIA_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_EVICTION_CRITERIA_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_EVICTION_CRITERIA_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_EVICTION_CRITERIA_0_0 {
pub Flags: D3DKMT_EVICTION_CRITERIA_0_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_EVICTION_CRITERIA_0_0 {}
impl ::core::clone::Clone for D3DKMT_EVICTION_CRITERIA_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_EVICTION_CRITERIA_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_EVICTION_CRITERIA_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_EVICTION_CRITERIA_0_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_EVICTION_CRITERIA_0_0_0 {}
impl ::core::clone::Clone for D3DKMT_EVICTION_CRITERIA_0_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_EVICTION_CRITERIA_0_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_EVICTION_CRITERIA_0_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_EVICTION_CRITERIA_0_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_EVICTION_CRITERIA_0_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_EVICTION_CRITERIA_0_0_0 {}
impl ::core::default::Default for D3DKMT_EVICTION_CRITERIA_0_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_FENCE_PRESENTHISTORYTOKEN {
pub Key: u64,
}
impl ::core::marker::Copy for D3DKMT_FENCE_PRESENTHISTORYTOKEN {}
impl ::core::clone::Clone for D3DKMT_FENCE_PRESENTHISTORYTOKEN {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_FENCE_PRESENTHISTORYTOKEN {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_FENCE_PRESENTHISTORYTOKEN").field("Key", &self.Key).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_FENCE_PRESENTHISTORYTOKEN {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_FENCE_PRESENTHISTORYTOKEN {
fn eq(&self, other: &Self) -> bool {
self.Key == other.Key
}
}
impl ::core::cmp::Eq for D3DKMT_FENCE_PRESENTHISTORYTOKEN {}
impl ::core::default::Default for D3DKMT_FENCE_PRESENTHISTORYTOKEN {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_FLIPINFOFLAGS {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_FLIPINFOFLAGS {}
impl ::core::clone::Clone for D3DKMT_FLIPINFOFLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_FLIPINFOFLAGS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_FLIPINFOFLAGS").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_FLIPINFOFLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_FLIPINFOFLAGS {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_FLIPINFOFLAGS {}
impl ::core::default::Default for D3DKMT_FLIPINFOFLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_FLIPMANAGER_AUXILIARYPRESENTINFO {
pub auxiliaryPresentInfo: D3DKMT_AUXILIARYPRESENTINFO,
pub flipManagerTracingId: u32,
pub customDurationChanged: super::super::super::Win32::Foundation::BOOL,
pub FlipAdapterLuid: super::super::super::Win32::Foundation::LUID,
pub VidPnSourceId: u32,
pub independentFlipStage: D3DKMT_FLIPMODEL_INDEPENDENT_FLIP_STAGE,
pub FlipCompletedQpc: u64,
pub HwPresentDurationQpc: u32,
pub WasCanceled: super::super::super::Win32::Foundation::BOOL,
pub ConvertedToNonIFlip: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_FLIPMANAGER_AUXILIARYPRESENTINFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_FLIPMANAGER_AUXILIARYPRESENTINFO {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_FLIPMANAGER_AUXILIARYPRESENTINFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_FLIPMANAGER_AUXILIARYPRESENTINFO")
.field("auxiliaryPresentInfo", &self.auxiliaryPresentInfo)
.field("flipManagerTracingId", &self.flipManagerTracingId)
.field("customDurationChanged", &self.customDurationChanged)
.field("FlipAdapterLuid", &self.FlipAdapterLuid)
.field("VidPnSourceId", &self.VidPnSourceId)
.field("independentFlipStage", &self.independentFlipStage)
.field("FlipCompletedQpc", &self.FlipCompletedQpc)
.field("HwPresentDurationQpc", &self.HwPresentDurationQpc)
.field("WasCanceled", &self.WasCanceled)
.field("ConvertedToNonIFlip", &self.ConvertedToNonIFlip)
.finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_FLIPMANAGER_AUXILIARYPRESENTINFO {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_FLIPMANAGER_AUXILIARYPRESENTINFO {
fn eq(&self, other: &Self) -> bool {
self.auxiliaryPresentInfo == other.auxiliaryPresentInfo && self.flipManagerTracingId == other.flipManagerTracingId && self.customDurationChanged == other.customDurationChanged && self.FlipAdapterLuid == other.FlipAdapterLuid && self.VidPnSourceId == other.VidPnSourceId && self.independentFlipStage == other.independentFlipStage && self.FlipCompletedQpc == other.FlipCompletedQpc && self.HwPresentDurationQpc == other.HwPresentDurationQpc && self.WasCanceled == other.WasCanceled && self.ConvertedToNonIFlip == other.ConvertedToNonIFlip
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_FLIPMANAGER_AUXILIARYPRESENTINFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_FLIPMANAGER_AUXILIARYPRESENTINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN {
pub hPrivateData: u64,
pub PresentAtQpc: u64,
pub Flags: D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN_0,
}
impl ::core::marker::Copy for D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN {}
impl ::core::clone::Clone for D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN_0 {
pub Anonymous: D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN_0 {}
impl ::core::clone::Clone for D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN_0_0 {}
impl ::core::clone::Clone for D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN_0_0 {}
impl ::core::default::Default for D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN {
pub FenceValue: u64,
pub hLogicalSurface: u64,
pub dxgContext: usize,
pub VidPnSourceId: u32,
pub SwapChainIndex: u32,
pub PresentLimitSemaphoreId: u64,
pub FlipInterval: D3DDDI_FLIPINTERVAL_TYPE,
pub Flags: D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS,
pub hCompSurf: i64,
pub compSurfLuid: super::super::super::Win32::Foundation::LUID,
pub confirmationCookie: u64,
pub CompositionSyncKey: u64,
pub RemainingTokens: u32,
pub ScrollRect: super::super::super::Win32::Foundation::RECT,
pub ScrollOffset: super::super::super::Win32::Foundation::POINT,
pub PresentCount: u32,
pub RevealColor: [f32; 4],
pub Rotation: D3DDDI_ROTATION,
pub Anonymous: D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0,
pub InkCookie: u32,
pub SourceRect: super::super::super::Win32::Foundation::RECT,
pub DestWidth: u32,
pub DestHeight: u32,
pub TargetRect: super::super::super::Win32::Foundation::RECT,
pub Transform: [f32; 6],
pub CustomDuration: u32,
pub CustomDurationFlipInterval: D3DDDI_FLIPINTERVAL_TYPE,
pub PlaneIndex: u32,
pub ColorSpace: D3DDDI_COLOR_SPACE_TYPE,
pub DirtyRegions: D3DKMT_DIRTYREGIONS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0 {
pub ScatterBlts: D3DKMT_SCATTERBLTS,
pub Anonymous: D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0_0 {
pub hSyncObject: super::super::super::Win32::Foundation::HANDLE,
pub HDRMetaDataType: D3DDDI_HDR_METADATA_TYPE,
pub Anonymous: D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0_0_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0_0_0 {
pub HDRMetaDataHDR10: D3DDDI_HDR_METADATA_HDR10,
pub HDRMetaDataHDR10Plus: D3DDDI_HDR_METADATA_HDR10PLUS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN_0_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS {
pub Anonymous: D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS_0,
}
impl ::core::marker::Copy for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS {}
impl ::core::clone::Clone for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS_0 {
pub Anonymous: D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS_0 {}
impl ::core::clone::Clone for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS_0_0 {}
impl ::core::clone::Clone for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS_0_0 {}
impl ::core::default::Default for D3DKMT_FLIPMODEL_PRESENTHISTORYTOKENFLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_FLIPOVERLAY {
pub hDevice: u32,
pub hOverlay: u32,
pub hSource: u32,
pub pPrivateDriverData: *mut ::core::ffi::c_void,
pub PrivateDriverDataSize: u32,
}
impl ::core::marker::Copy for D3DKMT_FLIPOVERLAY {}
impl ::core::clone::Clone for D3DKMT_FLIPOVERLAY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_FLIPOVERLAY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_FLIPOVERLAY").field("hDevice", &self.hDevice).field("hOverlay", &self.hOverlay).field("hSource", &self.hSource).field("pPrivateDriverData", &self.pPrivateDriverData).field("PrivateDriverDataSize", &self.PrivateDriverDataSize).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_FLIPOVERLAY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_FLIPOVERLAY {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.hOverlay == other.hOverlay && self.hSource == other.hSource && self.pPrivateDriverData == other.pPrivateDriverData && self.PrivateDriverDataSize == other.PrivateDriverDataSize
}
}
impl ::core::cmp::Eq for D3DKMT_FLIPOVERLAY {}
impl ::core::default::Default for D3DKMT_FLIPOVERLAY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_FLIPQUEUEINFO {
pub MaxHardwareFlipQueueLength: u32,
pub MaxSoftwareFlipQueueLength: u32,
pub FlipFlags: D3DKMT_FLIPINFOFLAGS,
}
impl ::core::marker::Copy for D3DKMT_FLIPQUEUEINFO {}
impl ::core::clone::Clone for D3DKMT_FLIPQUEUEINFO {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_FLIPQUEUEINFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_FLIPQUEUEINFO").field("MaxHardwareFlipQueueLength", &self.MaxHardwareFlipQueueLength).field("MaxSoftwareFlipQueueLength", &self.MaxSoftwareFlipQueueLength).field("FlipFlags", &self.FlipFlags).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_FLIPQUEUEINFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_FLIPQUEUEINFO {
fn eq(&self, other: &Self) -> bool {
self.MaxHardwareFlipQueueLength == other.MaxHardwareFlipQueueLength && self.MaxSoftwareFlipQueueLength == other.MaxSoftwareFlipQueueLength && self.FlipFlags == other.FlipFlags
}
}
impl ::core::cmp::Eq for D3DKMT_FLIPQUEUEINFO {}
impl ::core::default::Default for D3DKMT_FLIPQUEUEINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_FLUSHHEAPTRANSITIONS {
pub hAdapter: u32,
}
impl ::core::marker::Copy for D3DKMT_FLUSHHEAPTRANSITIONS {}
impl ::core::clone::Clone for D3DKMT_FLUSHHEAPTRANSITIONS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_FLUSHHEAPTRANSITIONS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_FLUSHHEAPTRANSITIONS").field("hAdapter", &self.hAdapter).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_FLUSHHEAPTRANSITIONS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_FLUSHHEAPTRANSITIONS {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter
}
}
impl ::core::cmp::Eq for D3DKMT_FLUSHHEAPTRANSITIONS {}
impl ::core::default::Default for D3DKMT_FLUSHHEAPTRANSITIONS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_FREEGPUVIRTUALADDRESS {
pub hAdapter: u32,
pub BaseAddress: u64,
pub Size: u64,
}
impl ::core::marker::Copy for D3DKMT_FREEGPUVIRTUALADDRESS {}
impl ::core::clone::Clone for D3DKMT_FREEGPUVIRTUALADDRESS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_FREEGPUVIRTUALADDRESS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_FREEGPUVIRTUALADDRESS").field("hAdapter", &self.hAdapter).field("BaseAddress", &self.BaseAddress).field("Size", &self.Size).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_FREEGPUVIRTUALADDRESS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_FREEGPUVIRTUALADDRESS {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.BaseAddress == other.BaseAddress && self.Size == other.Size
}
}
impl ::core::cmp::Eq for D3DKMT_FREEGPUVIRTUALADDRESS {}
impl ::core::default::Default for D3DKMT_FREEGPUVIRTUALADDRESS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_GDIMODEL_PRESENTHISTORYTOKEN {
pub hLogicalSurface: u64,
pub hPhysicalSurface: u64,
pub ScrollRect: super::super::super::Win32::Foundation::RECT,
pub ScrollOffset: super::super::super::Win32::Foundation::POINT,
pub DirtyRegions: D3DKMT_DIRTYREGIONS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_GDIMODEL_PRESENTHISTORYTOKEN {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_GDIMODEL_PRESENTHISTORYTOKEN {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_GDIMODEL_PRESENTHISTORYTOKEN {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_GDIMODEL_PRESENTHISTORYTOKEN").field("hLogicalSurface", &self.hLogicalSurface).field("hPhysicalSurface", &self.hPhysicalSurface).field("ScrollRect", &self.ScrollRect).field("ScrollOffset", &self.ScrollOffset).field("DirtyRegions", &self.DirtyRegions).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_GDIMODEL_PRESENTHISTORYTOKEN {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_GDIMODEL_PRESENTHISTORYTOKEN {
fn eq(&self, other: &Self) -> bool {
self.hLogicalSurface == other.hLogicalSurface && self.hPhysicalSurface == other.hPhysicalSurface && self.ScrollRect == other.ScrollRect && self.ScrollOffset == other.ScrollOffset && self.DirtyRegions == other.DirtyRegions
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_GDIMODEL_PRESENTHISTORYTOKEN {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_GDIMODEL_PRESENTHISTORYTOKEN {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_GDIMODEL_SYSMEM_PRESENTHISTORYTOKEN {
pub hlsurf: u64,
pub dwDirtyFlags: u32,
pub uiCookie: u64,
}
impl ::core::marker::Copy for D3DKMT_GDIMODEL_SYSMEM_PRESENTHISTORYTOKEN {}
impl ::core::clone::Clone for D3DKMT_GDIMODEL_SYSMEM_PRESENTHISTORYTOKEN {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_GDIMODEL_SYSMEM_PRESENTHISTORYTOKEN {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_GDIMODEL_SYSMEM_PRESENTHISTORYTOKEN").field("hlsurf", &self.hlsurf).field("dwDirtyFlags", &self.dwDirtyFlags).field("uiCookie", &self.uiCookie).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_GDIMODEL_SYSMEM_PRESENTHISTORYTOKEN {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_GDIMODEL_SYSMEM_PRESENTHISTORYTOKEN {
fn eq(&self, other: &Self) -> bool {
self.hlsurf == other.hlsurf && self.dwDirtyFlags == other.dwDirtyFlags && self.uiCookie == other.uiCookie
}
}
impl ::core::cmp::Eq for D3DKMT_GDIMODEL_SYSMEM_PRESENTHISTORYTOKEN {}
impl ::core::default::Default for D3DKMT_GDIMODEL_SYSMEM_PRESENTHISTORYTOKEN {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_GETALLOCATIONPRIORITY {
pub hDevice: u32,
pub hResource: u32,
pub phAllocationList: *const u32,
pub AllocationCount: u32,
pub pPriorities: *mut u32,
}
impl ::core::marker::Copy for D3DKMT_GETALLOCATIONPRIORITY {}
impl ::core::clone::Clone for D3DKMT_GETALLOCATIONPRIORITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_GETALLOCATIONPRIORITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_GETALLOCATIONPRIORITY").field("hDevice", &self.hDevice).field("hResource", &self.hResource).field("phAllocationList", &self.phAllocationList).field("AllocationCount", &self.AllocationCount).field("pPriorities", &self.pPriorities).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_GETALLOCATIONPRIORITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_GETALLOCATIONPRIORITY {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.hResource == other.hResource && self.phAllocationList == other.phAllocationList && self.AllocationCount == other.AllocationCount && self.pPriorities == other.pPriorities
}
}
impl ::core::cmp::Eq for D3DKMT_GETALLOCATIONPRIORITY {}
impl ::core::default::Default for D3DKMT_GETALLOCATIONPRIORITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_GETCONTEXTINPROCESSSCHEDULINGPRIORITY {
pub hContext: u32,
pub Priority: i32,
}
impl ::core::marker::Copy for D3DKMT_GETCONTEXTINPROCESSSCHEDULINGPRIORITY {}
impl ::core::clone::Clone for D3DKMT_GETCONTEXTINPROCESSSCHEDULINGPRIORITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_GETCONTEXTINPROCESSSCHEDULINGPRIORITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_GETCONTEXTINPROCESSSCHEDULINGPRIORITY").field("hContext", &self.hContext).field("Priority", &self.Priority).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_GETCONTEXTINPROCESSSCHEDULINGPRIORITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_GETCONTEXTINPROCESSSCHEDULINGPRIORITY {
fn eq(&self, other: &Self) -> bool {
self.hContext == other.hContext && self.Priority == other.Priority
}
}
impl ::core::cmp::Eq for D3DKMT_GETCONTEXTINPROCESSSCHEDULINGPRIORITY {}
impl ::core::default::Default for D3DKMT_GETCONTEXTINPROCESSSCHEDULINGPRIORITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_GETCONTEXTSCHEDULINGPRIORITY {
pub hContext: u32,
pub Priority: i32,
}
impl ::core::marker::Copy for D3DKMT_GETCONTEXTSCHEDULINGPRIORITY {}
impl ::core::clone::Clone for D3DKMT_GETCONTEXTSCHEDULINGPRIORITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_GETCONTEXTSCHEDULINGPRIORITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_GETCONTEXTSCHEDULINGPRIORITY").field("hContext", &self.hContext).field("Priority", &self.Priority).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_GETCONTEXTSCHEDULINGPRIORITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_GETCONTEXTSCHEDULINGPRIORITY {
fn eq(&self, other: &Self) -> bool {
self.hContext == other.hContext && self.Priority == other.Priority
}
}
impl ::core::cmp::Eq for D3DKMT_GETCONTEXTSCHEDULINGPRIORITY {}
impl ::core::default::Default for D3DKMT_GETCONTEXTSCHEDULINGPRIORITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_GETDEVICESTATE {
pub hDevice: u32,
pub StateType: D3DKMT_DEVICESTATE_TYPE,
pub Anonymous: D3DKMT_GETDEVICESTATE_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_GETDEVICESTATE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_GETDEVICESTATE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_GETDEVICESTATE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_GETDEVICESTATE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DKMT_GETDEVICESTATE_0 {
pub ExecutionState: D3DKMT_DEVICEEXECUTION_STATE,
pub PresentState: D3DKMT_DEVICEPRESENT_STATE,
pub ResetState: D3DKMT_DEVICERESET_STATE,
pub PresentStateDWM: D3DKMT_DEVICEPRESENT_STATE_DWM,
pub PageFaultState: D3DKMT_DEVICEPAGEFAULT_STATE,
pub PresentQueueState: D3DKMT_DEVICEPRESENT_QUEUE_STATE,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_GETDEVICESTATE_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_GETDEVICESTATE_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_GETDEVICESTATE_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_GETDEVICESTATE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_GETDISPLAYMODELIST {
pub hAdapter: u32,
pub VidPnSourceId: u32,
pub pModeList: *mut D3DKMT_DISPLAYMODE,
pub ModeCount: u32,
}
impl ::core::marker::Copy for D3DKMT_GETDISPLAYMODELIST {}
impl ::core::clone::Clone for D3DKMT_GETDISPLAYMODELIST {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_GETDISPLAYMODELIST {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_GETDISPLAYMODELIST").field("hAdapter", &self.hAdapter).field("VidPnSourceId", &self.VidPnSourceId).field("pModeList", &self.pModeList).field("ModeCount", &self.ModeCount).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_GETDISPLAYMODELIST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_GETDISPLAYMODELIST {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.VidPnSourceId == other.VidPnSourceId && self.pModeList == other.pModeList && self.ModeCount == other.ModeCount
}
}
impl ::core::cmp::Eq for D3DKMT_GETDISPLAYMODELIST {}
impl ::core::default::Default for D3DKMT_GETDISPLAYMODELIST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_GETMULTISAMPLEMETHODLIST {
pub hAdapter: u32,
pub VidPnSourceId: u32,
pub Width: u32,
pub Height: u32,
pub Format: D3DDDIFORMAT,
pub pMethodList: *mut D3DKMT_MULTISAMPLEMETHOD,
pub MethodCount: u32,
}
impl ::core::marker::Copy for D3DKMT_GETMULTISAMPLEMETHODLIST {}
impl ::core::clone::Clone for D3DKMT_GETMULTISAMPLEMETHODLIST {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_GETMULTISAMPLEMETHODLIST {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_GETMULTISAMPLEMETHODLIST").field("hAdapter", &self.hAdapter).field("VidPnSourceId", &self.VidPnSourceId).field("Width", &self.Width).field("Height", &self.Height).field("Format", &self.Format).field("pMethodList", &self.pMethodList).field("MethodCount", &self.MethodCount).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_GETMULTISAMPLEMETHODLIST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_GETMULTISAMPLEMETHODLIST {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.VidPnSourceId == other.VidPnSourceId && self.Width == other.Width && self.Height == other.Height && self.Format == other.Format && self.pMethodList == other.pMethodList && self.MethodCount == other.MethodCount
}
}
impl ::core::cmp::Eq for D3DKMT_GETMULTISAMPLEMETHODLIST {}
impl ::core::default::Default for D3DKMT_GETMULTISAMPLEMETHODLIST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_GETOVERLAYSTATE {
pub hDevice: u32,
pub hOverlay: u32,
pub OverlayEnabled: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_GETOVERLAYSTATE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_GETOVERLAYSTATE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_GETOVERLAYSTATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_GETOVERLAYSTATE").field("hDevice", &self.hDevice).field("hOverlay", &self.hOverlay).field("OverlayEnabled", &self.OverlayEnabled).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_GETOVERLAYSTATE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_GETOVERLAYSTATE {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.hOverlay == other.hOverlay && self.OverlayEnabled == other.OverlayEnabled
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_GETOVERLAYSTATE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_GETOVERLAYSTATE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_GETPRESENTHISTORY {
pub hAdapter: u32,
pub ProvidedSize: u32,
pub WrittenSize: u32,
pub pTokens: *mut D3DKMT_PRESENTHISTORYTOKEN,
pub NumTokens: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_GETPRESENTHISTORY {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_GETPRESENTHISTORY {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_GETPRESENTHISTORY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_GETPRESENTHISTORY").field("hAdapter", &self.hAdapter).field("ProvidedSize", &self.ProvidedSize).field("WrittenSize", &self.WrittenSize).field("pTokens", &self.pTokens).field("NumTokens", &self.NumTokens).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_GETPRESENTHISTORY {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_GETPRESENTHISTORY {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.ProvidedSize == other.ProvidedSize && self.WrittenSize == other.WrittenSize && self.pTokens == other.pTokens && self.NumTokens == other.NumTokens
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_GETPRESENTHISTORY {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_GETPRESENTHISTORY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_GETPROCESSDEVICEREMOVALSUPPORT {
pub hProcess: super::super::super::Win32::Foundation::HANDLE,
pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
pub Support: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_GETPROCESSDEVICEREMOVALSUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_GETPROCESSDEVICEREMOVALSUPPORT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_GETPROCESSDEVICEREMOVALSUPPORT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_GETPROCESSDEVICEREMOVALSUPPORT").field("hProcess", &self.hProcess).field("AdapterLuid", &self.AdapterLuid).field("Support", &self.Support).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_GETPROCESSDEVICEREMOVALSUPPORT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_GETPROCESSDEVICEREMOVALSUPPORT {
fn eq(&self, other: &Self) -> bool {
self.hProcess == other.hProcess && self.AdapterLuid == other.AdapterLuid && self.Support == other.Support
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_GETPROCESSDEVICEREMOVALSUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_GETPROCESSDEVICEREMOVALSUPPORT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_GETRUNTIMEDATA {
pub hAdapter: u32,
pub hGlobalShare: u32,
pub pRuntimeData: *mut ::core::ffi::c_void,
pub RuntimeDataSize: u32,
}
impl ::core::marker::Copy for D3DKMT_GETRUNTIMEDATA {}
impl ::core::clone::Clone for D3DKMT_GETRUNTIMEDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_GETRUNTIMEDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_GETRUNTIMEDATA").field("hAdapter", &self.hAdapter).field("hGlobalShare", &self.hGlobalShare).field("pRuntimeData", &self.pRuntimeData).field("RuntimeDataSize", &self.RuntimeDataSize).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_GETRUNTIMEDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_GETRUNTIMEDATA {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.hGlobalShare == other.hGlobalShare && self.pRuntimeData == other.pRuntimeData && self.RuntimeDataSize == other.RuntimeDataSize
}
}
impl ::core::cmp::Eq for D3DKMT_GETRUNTIMEDATA {}
impl ::core::default::Default for D3DKMT_GETRUNTIMEDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_GETSCANLINE {
pub hAdapter: u32,
pub VidPnSourceId: u32,
pub InVerticalBlank: super::super::super::Win32::Foundation::BOOLEAN,
pub ScanLine: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_GETSCANLINE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_GETSCANLINE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_GETSCANLINE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_GETSCANLINE").field("hAdapter", &self.hAdapter).field("VidPnSourceId", &self.VidPnSourceId).field("InVerticalBlank", &self.InVerticalBlank).field("ScanLine", &self.ScanLine).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_GETSCANLINE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_GETSCANLINE {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.VidPnSourceId == other.VidPnSourceId && self.InVerticalBlank == other.InVerticalBlank && self.ScanLine == other.ScanLine
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_GETSCANLINE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_GETSCANLINE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_GETSHAREDPRIMARYHANDLE {
pub hAdapter: u32,
pub VidPnSourceId: u32,
pub hSharedPrimary: u32,
}
impl ::core::marker::Copy for D3DKMT_GETSHAREDPRIMARYHANDLE {}
impl ::core::clone::Clone for D3DKMT_GETSHAREDPRIMARYHANDLE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_GETSHAREDPRIMARYHANDLE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_GETSHAREDPRIMARYHANDLE").field("hAdapter", &self.hAdapter).field("VidPnSourceId", &self.VidPnSourceId).field("hSharedPrimary", &self.hSharedPrimary).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_GETSHAREDPRIMARYHANDLE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_GETSHAREDPRIMARYHANDLE {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.VidPnSourceId == other.VidPnSourceId && self.hSharedPrimary == other.hSharedPrimary
}
}
impl ::core::cmp::Eq for D3DKMT_GETSHAREDPRIMARYHANDLE {}
impl ::core::default::Default for D3DKMT_GETSHAREDPRIMARYHANDLE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_GETSHAREDRESOURCEADAPTERLUID {
pub hGlobalShare: u32,
pub hNtHandle: super::super::super::Win32::Foundation::HANDLE,
pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_GETSHAREDRESOURCEADAPTERLUID {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_GETSHAREDRESOURCEADAPTERLUID {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_GETSHAREDRESOURCEADAPTERLUID {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_GETSHAREDRESOURCEADAPTERLUID").field("hGlobalShare", &self.hGlobalShare).field("hNtHandle", &self.hNtHandle).field("AdapterLuid", &self.AdapterLuid).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_GETSHAREDRESOURCEADAPTERLUID {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_GETSHAREDRESOURCEADAPTERLUID {
fn eq(&self, other: &Self) -> bool {
self.hGlobalShare == other.hGlobalShare && self.hNtHandle == other.hNtHandle && self.AdapterLuid == other.AdapterLuid
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_GETSHAREDRESOURCEADAPTERLUID {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_GETSHAREDRESOURCEADAPTERLUID {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_GETVERTICALBLANKEVENT {
pub hAdapter: u32,
pub hDevice: u32,
pub VidPnSourceId: u32,
pub phEvent: *mut isize,
}
impl ::core::marker::Copy for D3DKMT_GETVERTICALBLANKEVENT {}
impl ::core::clone::Clone for D3DKMT_GETVERTICALBLANKEVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_GETVERTICALBLANKEVENT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_GETVERTICALBLANKEVENT").field("hAdapter", &self.hAdapter).field("hDevice", &self.hDevice).field("VidPnSourceId", &self.VidPnSourceId).field("phEvent", &self.phEvent).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_GETVERTICALBLANKEVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_GETVERTICALBLANKEVENT {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.hDevice == other.hDevice && self.VidPnSourceId == other.VidPnSourceId && self.phEvent == other.phEvent
}
}
impl ::core::cmp::Eq for D3DKMT_GETVERTICALBLANKEVENT {}
impl ::core::default::Default for D3DKMT_GETVERTICALBLANKEVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_GET_DEVICE_VIDPN_OWNERSHIP_INFO {
pub hDevice: u32,
pub bFailedDwmAcquireVidPn: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_GET_DEVICE_VIDPN_OWNERSHIP_INFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_GET_DEVICE_VIDPN_OWNERSHIP_INFO {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_GET_DEVICE_VIDPN_OWNERSHIP_INFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_GET_DEVICE_VIDPN_OWNERSHIP_INFO").field("hDevice", &self.hDevice).field("bFailedDwmAcquireVidPn", &self.bFailedDwmAcquireVidPn).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_GET_DEVICE_VIDPN_OWNERSHIP_INFO {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_GET_DEVICE_VIDPN_OWNERSHIP_INFO {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.bFailedDwmAcquireVidPn == other.bFailedDwmAcquireVidPn
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_GET_DEVICE_VIDPN_OWNERSHIP_INFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_GET_DEVICE_VIDPN_OWNERSHIP_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_GET_GPUMMU_CAPS {
pub PhysicalAdapterIndex: u32,
pub GpuMmuCaps: DXGK_ESCAPE_GPUMMUCAPS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_GET_GPUMMU_CAPS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_GET_GPUMMU_CAPS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_GET_GPUMMU_CAPS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_GET_GPUMMU_CAPS").field("PhysicalAdapterIndex", &self.PhysicalAdapterIndex).field("GpuMmuCaps", &self.GpuMmuCaps).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_GET_GPUMMU_CAPS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_GET_GPUMMU_CAPS {
fn eq(&self, other: &Self) -> bool {
self.PhysicalAdapterIndex == other.PhysicalAdapterIndex && self.GpuMmuCaps == other.GpuMmuCaps
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_GET_GPUMMU_CAPS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_GET_GPUMMU_CAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_GET_MULTIPLANE_OVERLAY_CAPS {
pub hAdapter: u32,
pub VidPnSourceId: u32,
pub MaxPlanes: u32,
pub MaxRGBPlanes: u32,
pub MaxYUVPlanes: u32,
pub OverlayCaps: D3DKMT_MULTIPLANE_OVERLAY_CAPS,
pub MaxStretchFactor: f32,
pub MaxShrinkFactor: f32,
}
impl ::core::marker::Copy for D3DKMT_GET_MULTIPLANE_OVERLAY_CAPS {}
impl ::core::clone::Clone for D3DKMT_GET_MULTIPLANE_OVERLAY_CAPS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_GET_MULTIPLANE_OVERLAY_CAPS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_GET_MULTIPLANE_OVERLAY_CAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_GET_POST_COMPOSITION_CAPS {
pub hAdapter: u32,
pub VidPnSourceId: u32,
pub MaxStretchFactor: f32,
pub MaxShrinkFactor: f32,
}
impl ::core::marker::Copy for D3DKMT_GET_POST_COMPOSITION_CAPS {}
impl ::core::clone::Clone for D3DKMT_GET_POST_COMPOSITION_CAPS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_GET_POST_COMPOSITION_CAPS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_GET_POST_COMPOSITION_CAPS").field("hAdapter", &self.hAdapter).field("VidPnSourceId", &self.VidPnSourceId).field("MaxStretchFactor", &self.MaxStretchFactor).field("MaxShrinkFactor", &self.MaxShrinkFactor).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_GET_POST_COMPOSITION_CAPS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_GET_POST_COMPOSITION_CAPS {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.VidPnSourceId == other.VidPnSourceId && self.MaxStretchFactor == other.MaxStretchFactor && self.MaxShrinkFactor == other.MaxShrinkFactor
}
}
impl ::core::cmp::Eq for D3DKMT_GET_POST_COMPOSITION_CAPS {}
impl ::core::default::Default for D3DKMT_GET_POST_COMPOSITION_CAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_GET_PTE {
pub PhysicalAdapterIndex: u32,
pub PageTableLevel: u32,
pub PageTableIndex: [u32; 6],
pub b64KBPte: super::super::super::Win32::Foundation::BOOLEAN,
pub NumPtes: u32,
pub Pte: [DXGK_PTE; 64],
pub NumValidEntries: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_GET_PTE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_GET_PTE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_GET_PTE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_GET_PTE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_GET_SEGMENT_CAPS {
pub PhysicalAdapterIndex: u32,
pub NumSegments: u32,
pub SegmentCaps: [D3DKMT_SEGMENT_CAPS; 32],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_GET_SEGMENT_CAPS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_GET_SEGMENT_CAPS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_GET_SEGMENT_CAPS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_GET_SEGMENT_CAPS").field("PhysicalAdapterIndex", &self.PhysicalAdapterIndex).field("NumSegments", &self.NumSegments).field("SegmentCaps", &self.SegmentCaps).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_GET_SEGMENT_CAPS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_GET_SEGMENT_CAPS {
fn eq(&self, other: &Self) -> bool {
self.PhysicalAdapterIndex == other.PhysicalAdapterIndex && self.NumSegments == other.NumSegments && self.SegmentCaps == other.SegmentCaps
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_GET_SEGMENT_CAPS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_GET_SEGMENT_CAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_GPUMMU_CAPS {
pub Flags: D3DKMT_GPUMMU_CAPS_0,
pub VirtualAddressBitCount: u32,
}
impl ::core::marker::Copy for D3DKMT_GPUMMU_CAPS {}
impl ::core::clone::Clone for D3DKMT_GPUMMU_CAPS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_GPUMMU_CAPS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_GPUMMU_CAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_GPUMMU_CAPS_0 {
pub Anonymous: D3DKMT_GPUMMU_CAPS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_GPUMMU_CAPS_0 {}
impl ::core::clone::Clone for D3DKMT_GPUMMU_CAPS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_GPUMMU_CAPS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_GPUMMU_CAPS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_GPUMMU_CAPS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_GPUMMU_CAPS_0_0 {}
impl ::core::clone::Clone for D3DKMT_GPUMMU_CAPS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_GPUMMU_CAPS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_GPUMMU_CAPS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_GPUMMU_CAPS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_GPUMMU_CAPS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_GPUMMU_CAPS_0_0 {}
impl ::core::default::Default for D3DKMT_GPUMMU_CAPS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_GPUVERSION {
pub PhysicalAdapterIndex: u32,
pub BiosVersion: [u16; 32],
pub GpuArchitecture: [u16; 32],
}
impl ::core::marker::Copy for D3DKMT_GPUVERSION {}
impl ::core::clone::Clone for D3DKMT_GPUVERSION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_GPUVERSION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_GPUVERSION").field("PhysicalAdapterIndex", &self.PhysicalAdapterIndex).field("BiosVersion", &self.BiosVersion).field("GpuArchitecture", &self.GpuArchitecture).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_GPUVERSION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_GPUVERSION {
fn eq(&self, other: &Self) -> bool {
self.PhysicalAdapterIndex == other.PhysicalAdapterIndex && self.BiosVersion == other.BiosVersion && self.GpuArchitecture == other.GpuArchitecture
}
}
impl ::core::cmp::Eq for D3DKMT_GPUVERSION {}
impl ::core::default::Default for D3DKMT_GPUVERSION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_HISTORY_BUFFER_STATUS {
pub Enabled: super::super::super::Win32::Foundation::BOOLEAN,
pub Reserved: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_HISTORY_BUFFER_STATUS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_HISTORY_BUFFER_STATUS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_HISTORY_BUFFER_STATUS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_HISTORY_BUFFER_STATUS").field("Enabled", &self.Enabled).field("Reserved", &self.Reserved).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_HISTORY_BUFFER_STATUS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_HISTORY_BUFFER_STATUS {
fn eq(&self, other: &Self) -> bool {
self.Enabled == other.Enabled && self.Reserved == other.Reserved
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_HISTORY_BUFFER_STATUS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_HISTORY_BUFFER_STATUS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_HWDRM_SUPPORT {
pub Supported: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_HWDRM_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_HWDRM_SUPPORT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_HWDRM_SUPPORT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_HWDRM_SUPPORT").field("Supported", &self.Supported).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_HWDRM_SUPPORT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_HWDRM_SUPPORT {
fn eq(&self, other: &Self) -> bool {
self.Supported == other.Supported
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_HWDRM_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_HWDRM_SUPPORT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_HYBRID_DLIST_DLL_SUPPORT {
pub Supported: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_HYBRID_DLIST_DLL_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_HYBRID_DLIST_DLL_SUPPORT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_HYBRID_DLIST_DLL_SUPPORT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_HYBRID_DLIST_DLL_SUPPORT").field("Supported", &self.Supported).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_HYBRID_DLIST_DLL_SUPPORT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_HYBRID_DLIST_DLL_SUPPORT {
fn eq(&self, other: &Self) -> bool {
self.Supported == other.Supported
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_HYBRID_DLIST_DLL_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_HYBRID_DLIST_DLL_SUPPORT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_HYBRID_LIST {
pub State: D3DKMT_GPU_PREFERENCE_QUERY_STATE,
pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
pub bUserPreferenceQuery: super::super::super::Win32::Foundation::BOOL,
pub QueryType: D3DKMT_GPU_PREFERENCE_QUERY_TYPE,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_HYBRID_LIST {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_HYBRID_LIST {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_HYBRID_LIST {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_HYBRID_LIST").field("State", &self.State).field("AdapterLuid", &self.AdapterLuid).field("bUserPreferenceQuery", &self.bUserPreferenceQuery).field("QueryType", &self.QueryType).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_HYBRID_LIST {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_HYBRID_LIST {
fn eq(&self, other: &Self) -> bool {
self.State == other.State && self.AdapterLuid == other.AdapterLuid && self.bUserPreferenceQuery == other.bUserPreferenceQuery && self.QueryType == other.QueryType
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_HYBRID_LIST {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_HYBRID_LIST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_INDEPENDENTFLIP_SECONDARY_SUPPORT {
pub Supported: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_INDEPENDENTFLIP_SECONDARY_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_INDEPENDENTFLIP_SECONDARY_SUPPORT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_INDEPENDENTFLIP_SECONDARY_SUPPORT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_INDEPENDENTFLIP_SECONDARY_SUPPORT").field("Supported", &self.Supported).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_INDEPENDENTFLIP_SECONDARY_SUPPORT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_INDEPENDENTFLIP_SECONDARY_SUPPORT {
fn eq(&self, other: &Self) -> bool {
self.Supported == other.Supported
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_INDEPENDENTFLIP_SECONDARY_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_INDEPENDENTFLIP_SECONDARY_SUPPORT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_INDEPENDENTFLIP_SUPPORT {
pub Supported: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_INDEPENDENTFLIP_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_INDEPENDENTFLIP_SUPPORT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_INDEPENDENTFLIP_SUPPORT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_INDEPENDENTFLIP_SUPPORT").field("Supported", &self.Supported).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_INDEPENDENTFLIP_SUPPORT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_INDEPENDENTFLIP_SUPPORT {
fn eq(&self, other: &Self) -> bool {
self.Supported == other.Supported
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_INDEPENDENTFLIP_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_INDEPENDENTFLIP_SUPPORT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_INVALIDATEACTIVEVIDPN {
pub hAdapter: u32,
pub pPrivateDriverData: *mut ::core::ffi::c_void,
pub PrivateDriverDataSize: u32,
}
impl ::core::marker::Copy for D3DKMT_INVALIDATEACTIVEVIDPN {}
impl ::core::clone::Clone for D3DKMT_INVALIDATEACTIVEVIDPN {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_INVALIDATEACTIVEVIDPN {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_INVALIDATEACTIVEVIDPN").field("hAdapter", &self.hAdapter).field("pPrivateDriverData", &self.pPrivateDriverData).field("PrivateDriverDataSize", &self.PrivateDriverDataSize).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_INVALIDATEACTIVEVIDPN {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_INVALIDATEACTIVEVIDPN {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.pPrivateDriverData == other.pPrivateDriverData && self.PrivateDriverDataSize == other.PrivateDriverDataSize
}
}
impl ::core::cmp::Eq for D3DKMT_INVALIDATEACTIVEVIDPN {}
impl ::core::default::Default for D3DKMT_INVALIDATEACTIVEVIDPN {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_INVALIDATECACHE {
pub hDevice: u32,
pub hAllocation: u32,
pub Offset: usize,
pub Length: usize,
}
impl ::core::marker::Copy for D3DKMT_INVALIDATECACHE {}
impl ::core::clone::Clone for D3DKMT_INVALIDATECACHE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_INVALIDATECACHE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_INVALIDATECACHE").field("hDevice", &self.hDevice).field("hAllocation", &self.hAllocation).field("Offset", &self.Offset).field("Length", &self.Length).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_INVALIDATECACHE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_INVALIDATECACHE {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.hAllocation == other.hAllocation && self.Offset == other.Offset && self.Length == other.Length
}
}
impl ::core::cmp::Eq for D3DKMT_INVALIDATECACHE {}
impl ::core::default::Default for D3DKMT_INVALIDATECACHE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_ISBADDRIVERFORHWPROTECTIONDISABLED {
pub Disabled: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_ISBADDRIVERFORHWPROTECTIONDISABLED {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_ISBADDRIVERFORHWPROTECTIONDISABLED {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_ISBADDRIVERFORHWPROTECTIONDISABLED {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_ISBADDRIVERFORHWPROTECTIONDISABLED").field("Disabled", &self.Disabled).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_ISBADDRIVERFORHWPROTECTIONDISABLED {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_ISBADDRIVERFORHWPROTECTIONDISABLED {
fn eq(&self, other: &Self) -> bool {
self.Disabled == other.Disabled
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_ISBADDRIVERFORHWPROTECTIONDISABLED {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_ISBADDRIVERFORHWPROTECTIONDISABLED {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_KMD_DRIVER_VERSION {
pub DriverVersion: i64,
}
impl ::core::marker::Copy for D3DKMT_KMD_DRIVER_VERSION {}
impl ::core::clone::Clone for D3DKMT_KMD_DRIVER_VERSION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_KMD_DRIVER_VERSION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_KMD_DRIVER_VERSION").field("DriverVersion", &self.DriverVersion).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_KMD_DRIVER_VERSION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_KMD_DRIVER_VERSION {
fn eq(&self, other: &Self) -> bool {
self.DriverVersion == other.DriverVersion
}
}
impl ::core::cmp::Eq for D3DKMT_KMD_DRIVER_VERSION {}
impl ::core::default::Default for D3DKMT_KMD_DRIVER_VERSION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_LOCK {
pub hDevice: u32,
pub hAllocation: u32,
pub PrivateDriverData: u32,
pub NumPages: u32,
pub pPages: *const u32,
pub pData: *mut ::core::ffi::c_void,
pub Flags: D3DDDICB_LOCKFLAGS,
pub GpuVirtualAddress: u64,
}
impl ::core::marker::Copy for D3DKMT_LOCK {}
impl ::core::clone::Clone for D3DKMT_LOCK {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_LOCK {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_LOCK {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_LOCK2 {
pub hDevice: u32,
pub hAllocation: u32,
pub Flags: D3DDDICB_LOCK2FLAGS,
pub pData: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for D3DKMT_LOCK2 {}
impl ::core::clone::Clone for D3DKMT_LOCK2 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_LOCK2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_LOCK2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_MARKDEVICEASERROR {
pub hDevice: u32,
pub Reason: D3DKMT_DEVICE_ERROR_REASON,
}
impl ::core::marker::Copy for D3DKMT_MARKDEVICEASERROR {}
impl ::core::clone::Clone for D3DKMT_MARKDEVICEASERROR {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_MARKDEVICEASERROR {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_MARKDEVICEASERROR").field("hDevice", &self.hDevice).field("Reason", &self.Reason).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_MARKDEVICEASERROR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_MARKDEVICEASERROR {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.Reason == other.Reason
}
}
impl ::core::cmp::Eq for D3DKMT_MARKDEVICEASERROR {}
impl ::core::default::Default for D3DKMT_MARKDEVICEASERROR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_MIRACASTCOMPANIONDRIVERNAME {
pub MiracastCompanionDriverName: [u16; 260],
}
impl ::core::marker::Copy for D3DKMT_MIRACASTCOMPANIONDRIVERNAME {}
impl ::core::clone::Clone for D3DKMT_MIRACASTCOMPANIONDRIVERNAME {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_MIRACASTCOMPANIONDRIVERNAME {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_MIRACASTCOMPANIONDRIVERNAME").field("MiracastCompanionDriverName", &self.MiracastCompanionDriverName).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_MIRACASTCOMPANIONDRIVERNAME {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_MIRACASTCOMPANIONDRIVERNAME {
fn eq(&self, other: &Self) -> bool {
self.MiracastCompanionDriverName == other.MiracastCompanionDriverName
}
}
impl ::core::cmp::Eq for D3DKMT_MIRACASTCOMPANIONDRIVERNAME {}
impl ::core::default::Default for D3DKMT_MIRACASTCOMPANIONDRIVERNAME {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_MIRACAST_CHUNK_DATA {
pub ChunkInfo: DXGK_MIRACAST_CHUNK_INFO,
pub PrivateDriverDataSize: u32,
pub PrivateDriverData: [u8; 1],
}
impl ::core::marker::Copy for D3DKMT_MIRACAST_CHUNK_DATA {}
impl ::core::clone::Clone for D3DKMT_MIRACAST_CHUNK_DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_MIRACAST_CHUNK_DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_MIRACAST_CHUNK_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_MIRACAST_DISPLAY_DEVICE_CAPS {
pub HdcpSupported: super::super::super::Win32::Foundation::BOOLEAN,
pub DefaultControlPort: u32,
pub UsesIhvSolution: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_MIRACAST_DISPLAY_DEVICE_CAPS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_MIRACAST_DISPLAY_DEVICE_CAPS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_MIRACAST_DISPLAY_DEVICE_CAPS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_MIRACAST_DISPLAY_DEVICE_CAPS").field("HdcpSupported", &self.HdcpSupported).field("DefaultControlPort", &self.DefaultControlPort).field("UsesIhvSolution", &self.UsesIhvSolution).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_MIRACAST_DISPLAY_DEVICE_CAPS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_MIRACAST_DISPLAY_DEVICE_CAPS {
fn eq(&self, other: &Self) -> bool {
self.HdcpSupported == other.HdcpSupported && self.DefaultControlPort == other.DefaultControlPort && self.UsesIhvSolution == other.UsesIhvSolution
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_MIRACAST_DISPLAY_DEVICE_CAPS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_MIRACAST_DISPLAY_DEVICE_CAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_MIRACAST_DISPLAY_DEVICE_STATUS {
pub State: D3DKMT_MIRACAST_DISPLAY_DEVICE_STATE,
}
impl ::core::marker::Copy for D3DKMT_MIRACAST_DISPLAY_DEVICE_STATUS {}
impl ::core::clone::Clone for D3DKMT_MIRACAST_DISPLAY_DEVICE_STATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_MIRACAST_DISPLAY_DEVICE_STATUS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_MIRACAST_DISPLAY_DEVICE_STATUS").field("State", &self.State).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_MIRACAST_DISPLAY_DEVICE_STATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_MIRACAST_DISPLAY_DEVICE_STATUS {
fn eq(&self, other: &Self) -> bool {
self.State == other.State
}
}
impl ::core::cmp::Eq for D3DKMT_MIRACAST_DISPLAY_DEVICE_STATUS {}
impl ::core::default::Default for D3DKMT_MIRACAST_DISPLAY_DEVICE_STATUS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_MIRACAST_DISPLAY_STOP_SESSIONS {
pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
pub TargetId: u32,
pub StopReason: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_MIRACAST_DISPLAY_STOP_SESSIONS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_MIRACAST_DISPLAY_STOP_SESSIONS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_MIRACAST_DISPLAY_STOP_SESSIONS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_MIRACAST_DISPLAY_STOP_SESSIONS").field("AdapterLuid", &self.AdapterLuid).field("TargetId", &self.TargetId).field("StopReason", &self.StopReason).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_MIRACAST_DISPLAY_STOP_SESSIONS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_MIRACAST_DISPLAY_STOP_SESSIONS {
fn eq(&self, other: &Self) -> bool {
self.AdapterLuid == other.AdapterLuid && self.TargetId == other.TargetId && self.StopReason == other.StopReason
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_MIRACAST_DISPLAY_STOP_SESSIONS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_MIRACAST_DISPLAY_STOP_SESSIONS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_MOVE_RECT {
pub SourcePoint: super::super::super::Win32::Foundation::POINT,
pub DestRect: super::super::super::Win32::Foundation::RECT,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_MOVE_RECT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_MOVE_RECT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_MOVE_RECT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_MOVE_RECT").field("SourcePoint", &self.SourcePoint).field("DestRect", &self.DestRect).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_MOVE_RECT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_MOVE_RECT {
fn eq(&self, other: &Self) -> bool {
self.SourcePoint == other.SourcePoint && self.DestRect == other.DestRect
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_MOVE_RECT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_MOVE_RECT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_MPO3DDI_SUPPORT {
pub Supported: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_MPO3DDI_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_MPO3DDI_SUPPORT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_MPO3DDI_SUPPORT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_MPO3DDI_SUPPORT").field("Supported", &self.Supported).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_MPO3DDI_SUPPORT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_MPO3DDI_SUPPORT {
fn eq(&self, other: &Self) -> bool {
self.Supported == other.Supported
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_MPO3DDI_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_MPO3DDI_SUPPORT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_MPOKERNELCAPS_SUPPORT {
pub Supported: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_MPOKERNELCAPS_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_MPOKERNELCAPS_SUPPORT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_MPOKERNELCAPS_SUPPORT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_MPOKERNELCAPS_SUPPORT").field("Supported", &self.Supported).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_MPOKERNELCAPS_SUPPORT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_MPOKERNELCAPS_SUPPORT {
fn eq(&self, other: &Self) -> bool {
self.Supported == other.Supported
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_MPOKERNELCAPS_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_MPOKERNELCAPS_SUPPORT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_MULTIPLANEOVERLAY_DECODE_SUPPORT {
pub Supported: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_MULTIPLANEOVERLAY_DECODE_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_MULTIPLANEOVERLAY_DECODE_SUPPORT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_MULTIPLANEOVERLAY_DECODE_SUPPORT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_MULTIPLANEOVERLAY_DECODE_SUPPORT").field("Supported", &self.Supported).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_MULTIPLANEOVERLAY_DECODE_SUPPORT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_MULTIPLANEOVERLAY_DECODE_SUPPORT {
fn eq(&self, other: &Self) -> bool {
self.Supported == other.Supported
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_MULTIPLANEOVERLAY_DECODE_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_MULTIPLANEOVERLAY_DECODE_SUPPORT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_MULTIPLANEOVERLAY_HUD_SUPPORT {
pub VidPnSourceId: u32,
pub Update: super::super::super::Win32::Foundation::BOOL,
pub KernelSupported: super::super::super::Win32::Foundation::BOOL,
pub HudSupported: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_MULTIPLANEOVERLAY_HUD_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_MULTIPLANEOVERLAY_HUD_SUPPORT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_MULTIPLANEOVERLAY_HUD_SUPPORT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_MULTIPLANEOVERLAY_HUD_SUPPORT").field("VidPnSourceId", &self.VidPnSourceId).field("Update", &self.Update).field("KernelSupported", &self.KernelSupported).field("HudSupported", &self.HudSupported).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_MULTIPLANEOVERLAY_HUD_SUPPORT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_MULTIPLANEOVERLAY_HUD_SUPPORT {
fn eq(&self, other: &Self) -> bool {
self.VidPnSourceId == other.VidPnSourceId && self.Update == other.Update && self.KernelSupported == other.KernelSupported && self.HudSupported == other.HudSupported
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_MULTIPLANEOVERLAY_HUD_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_MULTIPLANEOVERLAY_HUD_SUPPORT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_MULTIPLANEOVERLAY_SECONDARY_SUPPORT {
pub Supported: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_MULTIPLANEOVERLAY_SECONDARY_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_MULTIPLANEOVERLAY_SECONDARY_SUPPORT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_MULTIPLANEOVERLAY_SECONDARY_SUPPORT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_MULTIPLANEOVERLAY_SECONDARY_SUPPORT").field("Supported", &self.Supported).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_MULTIPLANEOVERLAY_SECONDARY_SUPPORT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_MULTIPLANEOVERLAY_SECONDARY_SUPPORT {
fn eq(&self, other: &Self) -> bool {
self.Supported == other.Supported
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_MULTIPLANEOVERLAY_SECONDARY_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_MULTIPLANEOVERLAY_SECONDARY_SUPPORT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_MULTIPLANEOVERLAY_STRETCH_SUPPORT {
pub VidPnSourceId: u32,
pub Update: super::super::super::Win32::Foundation::BOOL,
pub Supported: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_MULTIPLANEOVERLAY_STRETCH_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_MULTIPLANEOVERLAY_STRETCH_SUPPORT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_MULTIPLANEOVERLAY_STRETCH_SUPPORT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_MULTIPLANEOVERLAY_STRETCH_SUPPORT").field("VidPnSourceId", &self.VidPnSourceId).field("Update", &self.Update).field("Supported", &self.Supported).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_MULTIPLANEOVERLAY_STRETCH_SUPPORT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_MULTIPLANEOVERLAY_STRETCH_SUPPORT {
fn eq(&self, other: &Self) -> bool {
self.VidPnSourceId == other.VidPnSourceId && self.Update == other.Update && self.Supported == other.Supported
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_MULTIPLANEOVERLAY_STRETCH_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_MULTIPLANEOVERLAY_STRETCH_SUPPORT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_MULTIPLANEOVERLAY_SUPPORT {
pub Supported: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_MULTIPLANEOVERLAY_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_MULTIPLANEOVERLAY_SUPPORT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_MULTIPLANEOVERLAY_SUPPORT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_MULTIPLANEOVERLAY_SUPPORT").field("Supported", &self.Supported).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_MULTIPLANEOVERLAY_SUPPORT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_MULTIPLANEOVERLAY_SUPPORT {
fn eq(&self, other: &Self) -> bool {
self.Supported == other.Supported
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_MULTIPLANEOVERLAY_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_MULTIPLANEOVERLAY_SUPPORT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_MULTIPLANE_OVERLAY {
pub LayerIndex: u32,
pub Enabled: super::super::super::Win32::Foundation::BOOL,
pub hAllocation: u32,
pub PlaneAttributes: D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_MULTIPLANE_OVERLAY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_MULTIPLANE_OVERLAY").field("LayerIndex", &self.LayerIndex).field("Enabled", &self.Enabled).field("hAllocation", &self.hAllocation).field("PlaneAttributes", &self.PlaneAttributes).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_MULTIPLANE_OVERLAY {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_MULTIPLANE_OVERLAY {
fn eq(&self, other: &Self) -> bool {
self.LayerIndex == other.LayerIndex && self.Enabled == other.Enabled && self.hAllocation == other.hAllocation && self.PlaneAttributes == other.PlaneAttributes
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_MULTIPLANE_OVERLAY {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_MULTIPLANE_OVERLAY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_MULTIPLANE_OVERLAY2 {
pub LayerIndex: u32,
pub Enabled: super::super::super::Win32::Foundation::BOOL,
pub hAllocation: u32,
pub PlaneAttributes: D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES2,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_MULTIPLANE_OVERLAY2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_MULTIPLANE_OVERLAY2").field("LayerIndex", &self.LayerIndex).field("Enabled", &self.Enabled).field("hAllocation", &self.hAllocation).field("PlaneAttributes", &self.PlaneAttributes).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_MULTIPLANE_OVERLAY2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_MULTIPLANE_OVERLAY2 {
fn eq(&self, other: &Self) -> bool {
self.LayerIndex == other.LayerIndex && self.Enabled == other.Enabled && self.hAllocation == other.hAllocation && self.PlaneAttributes == other.PlaneAttributes
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_MULTIPLANE_OVERLAY2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_MULTIPLANE_OVERLAY2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_MULTIPLANE_OVERLAY3 {
pub LayerIndex: u32,
pub InputFlags: D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS,
pub FlipInterval: D3DDDI_FLIPINTERVAL_TYPE,
pub MaxImmediateFlipLine: u32,
pub AllocationCount: u32,
pub pAllocationList: *mut u32,
pub DriverPrivateDataSize: u32,
pub pDriverPrivateData: *mut ::core::ffi::c_void,
pub pPlaneAttributes: *const D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES3,
pub hFlipToFence: u32,
pub hFlipAwayFence: u32,
pub FlipToFenceValue: u64,
pub FlipAwayFenceValue: u64,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY3 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY3 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_MULTIPLANE_OVERLAY3 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_MULTIPLANE_OVERLAY3 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES {
pub Flags: u32,
pub SrcRect: super::super::super::Win32::Foundation::RECT,
pub DstRect: super::super::super::Win32::Foundation::RECT,
pub ClipRect: super::super::super::Win32::Foundation::RECT,
pub Rotation: D3DDDI_ROTATION,
pub Blend: D3DKMT_MULTIPLANE_OVERLAY_BLEND,
pub DirtyRectCount: u32,
pub pDirtyRects: *mut super::super::super::Win32::Foundation::RECT,
pub VideoFrameFormat: D3DKMT_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT,
pub YCbCrFlags: u32,
pub StereoFormat: D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT,
pub StereoLeftViewFrame0: super::super::super::Win32::Foundation::BOOL,
pub StereoBaseViewFrame0: super::super::super::Win32::Foundation::BOOL,
pub StereoFlipMode: DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_MODE,
pub StretchQuality: DXGKMT_MULTIPLANE_OVERLAY_STRETCH_QUALITY,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES")
.field("Flags", &self.Flags)
.field("SrcRect", &self.SrcRect)
.field("DstRect", &self.DstRect)
.field("ClipRect", &self.ClipRect)
.field("Rotation", &self.Rotation)
.field("Blend", &self.Blend)
.field("DirtyRectCount", &self.DirtyRectCount)
.field("pDirtyRects", &self.pDirtyRects)
.field("VideoFrameFormat", &self.VideoFrameFormat)
.field("YCbCrFlags", &self.YCbCrFlags)
.field("StereoFormat", &self.StereoFormat)
.field("StereoLeftViewFrame0", &self.StereoLeftViewFrame0)
.field("StereoBaseViewFrame0", &self.StereoBaseViewFrame0)
.field("StereoFlipMode", &self.StereoFlipMode)
.field("StretchQuality", &self.StretchQuality)
.finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES {
fn eq(&self, other: &Self) -> bool {
self.Flags == other.Flags && self.SrcRect == other.SrcRect && self.DstRect == other.DstRect && self.ClipRect == other.ClipRect && self.Rotation == other.Rotation && self.Blend == other.Blend && self.DirtyRectCount == other.DirtyRectCount && self.pDirtyRects == other.pDirtyRects && self.VideoFrameFormat == other.VideoFrameFormat && self.YCbCrFlags == other.YCbCrFlags && self.StereoFormat == other.StereoFormat && self.StereoLeftViewFrame0 == other.StereoLeftViewFrame0 && self.StereoBaseViewFrame0 == other.StereoBaseViewFrame0 && self.StereoFlipMode == other.StereoFlipMode && self.StretchQuality == other.StretchQuality
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES2 {
pub Flags: u32,
pub SrcRect: super::super::super::Win32::Foundation::RECT,
pub DstRect: super::super::super::Win32::Foundation::RECT,
pub ClipRect: super::super::super::Win32::Foundation::RECT,
pub Rotation: D3DDDI_ROTATION,
pub Blend: D3DKMT_MULTIPLANE_OVERLAY_BLEND,
pub DirtyRectCount: u32,
pub pDirtyRects: *mut super::super::super::Win32::Foundation::RECT,
pub VideoFrameFormat: D3DKMT_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT,
pub ColorSpace: D3DDDI_COLOR_SPACE_TYPE,
pub StereoFormat: D3DKMT_MULTIPLANE_OVERLAY_STEREO_FORMAT,
pub StereoLeftViewFrame0: super::super::super::Win32::Foundation::BOOL,
pub StereoBaseViewFrame0: super::super::super::Win32::Foundation::BOOL,
pub StereoFlipMode: DXGKMT_MULTIPLANE_OVERLAY_STEREO_FLIP_MODE,
pub StretchQuality: DXGKMT_MULTIPLANE_OVERLAY_STRETCH_QUALITY,
pub Reserved1: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES2")
.field("Flags", &self.Flags)
.field("SrcRect", &self.SrcRect)
.field("DstRect", &self.DstRect)
.field("ClipRect", &self.ClipRect)
.field("Rotation", &self.Rotation)
.field("Blend", &self.Blend)
.field("DirtyRectCount", &self.DirtyRectCount)
.field("pDirtyRects", &self.pDirtyRects)
.field("VideoFrameFormat", &self.VideoFrameFormat)
.field("ColorSpace", &self.ColorSpace)
.field("StereoFormat", &self.StereoFormat)
.field("StereoLeftViewFrame0", &self.StereoLeftViewFrame0)
.field("StereoBaseViewFrame0", &self.StereoBaseViewFrame0)
.field("StereoFlipMode", &self.StereoFlipMode)
.field("StretchQuality", &self.StretchQuality)
.field("Reserved1", &self.Reserved1)
.finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES2 {
fn eq(&self, other: &Self) -> bool {
self.Flags == other.Flags && self.SrcRect == other.SrcRect && self.DstRect == other.DstRect && self.ClipRect == other.ClipRect && self.Rotation == other.Rotation && self.Blend == other.Blend && self.DirtyRectCount == other.DirtyRectCount && self.pDirtyRects == other.pDirtyRects && self.VideoFrameFormat == other.VideoFrameFormat && self.ColorSpace == other.ColorSpace && self.StereoFormat == other.StereoFormat && self.StereoLeftViewFrame0 == other.StereoLeftViewFrame0 && self.StereoBaseViewFrame0 == other.StereoBaseViewFrame0 && self.StereoFlipMode == other.StereoFlipMode && self.StretchQuality == other.StretchQuality && self.Reserved1 == other.Reserved1
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES3 {
pub Flags: u32,
pub SrcRect: super::super::super::Win32::Foundation::RECT,
pub DstRect: super::super::super::Win32::Foundation::RECT,
pub ClipRect: super::super::super::Win32::Foundation::RECT,
pub Rotation: D3DDDI_ROTATION,
pub Blend: D3DKMT_MULTIPLANE_OVERLAY_BLEND,
pub DirtyRectCount: u32,
pub pDirtyRects: *mut super::super::super::Win32::Foundation::RECT,
pub ColorSpace: D3DDDI_COLOR_SPACE_TYPE,
pub StretchQuality: DXGKMT_MULTIPLANE_OVERLAY_STRETCH_QUALITY,
pub SDRWhiteLevel: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES3 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES3 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES3 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES3").field("Flags", &self.Flags).field("SrcRect", &self.SrcRect).field("DstRect", &self.DstRect).field("ClipRect", &self.ClipRect).field("Rotation", &self.Rotation).field("Blend", &self.Blend).field("DirtyRectCount", &self.DirtyRectCount).field("pDirtyRects", &self.pDirtyRects).field("ColorSpace", &self.ColorSpace).field("StretchQuality", &self.StretchQuality).field("SDRWhiteLevel", &self.SDRWhiteLevel).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES3 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES3 {
fn eq(&self, other: &Self) -> bool {
self.Flags == other.Flags && self.SrcRect == other.SrcRect && self.DstRect == other.DstRect && self.ClipRect == other.ClipRect && self.Rotation == other.Rotation && self.Blend == other.Blend && self.DirtyRectCount == other.DirtyRectCount && self.pDirtyRects == other.pDirtyRects && self.ColorSpace == other.ColorSpace && self.StretchQuality == other.StretchQuality && self.SDRWhiteLevel == other.SDRWhiteLevel
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES3 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_MULTIPLANE_OVERLAY_ATTRIBUTES3 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_MULTIPLANE_OVERLAY_CAPS {
pub Anonymous: D3DKMT_MULTIPLANE_OVERLAY_CAPS_0,
}
impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_CAPS {}
impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_CAPS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_MULTIPLANE_OVERLAY_CAPS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_MULTIPLANE_OVERLAY_CAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_MULTIPLANE_OVERLAY_CAPS_0 {
pub Anonymous: D3DKMT_MULTIPLANE_OVERLAY_CAPS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_CAPS_0 {}
impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_CAPS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_MULTIPLANE_OVERLAY_CAPS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_MULTIPLANE_OVERLAY_CAPS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_MULTIPLANE_OVERLAY_CAPS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_CAPS_0_0 {}
impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_CAPS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_MULTIPLANE_OVERLAY_CAPS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_MULTIPLANE_OVERLAY_CAPS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_MULTIPLANE_OVERLAY_CAPS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_MULTIPLANE_OVERLAY_CAPS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_MULTIPLANE_OVERLAY_CAPS_0_0 {}
impl ::core::default::Default for D3DKMT_MULTIPLANE_OVERLAY_CAPS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION {
pub Flags: D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS,
pub SrcRect: super::super::super::Win32::Foundation::RECT,
pub DstRect: super::super::super::Win32::Foundation::RECT,
pub Rotation: D3DDDI_ROTATION,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS {
pub Anonymous: D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS_0,
}
impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS {}
impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS_0 {
pub Anonymous: D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS_0 {}
impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS_0_0 {}
impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS_0_0 {}
impl ::core::default::Default for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_WITH_SOURCE {
pub VidPnSourceId: u32,
pub PostComposition: D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_WITH_SOURCE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_WITH_SOURCE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_WITH_SOURCE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION_WITH_SOURCE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_MULTISAMPLEMETHOD {
pub NumSamples: u32,
pub NumQualityLevels: u32,
pub Reserved: u32,
}
impl ::core::marker::Copy for D3DKMT_MULTISAMPLEMETHOD {}
impl ::core::clone::Clone for D3DKMT_MULTISAMPLEMETHOD {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_MULTISAMPLEMETHOD {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_MULTISAMPLEMETHOD").field("NumSamples", &self.NumSamples).field("NumQualityLevels", &self.NumQualityLevels).field("Reserved", &self.Reserved).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_MULTISAMPLEMETHOD {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_MULTISAMPLEMETHOD {
fn eq(&self, other: &Self) -> bool {
self.NumSamples == other.NumSamples && self.NumQualityLevels == other.NumQualityLevels && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for D3DKMT_MULTISAMPLEMETHOD {}
impl ::core::default::Default for D3DKMT_MULTISAMPLEMETHOD {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_NODEMETADATA {
pub NodeOrdinalAndAdapterIndex: u32,
pub NodeData: DXGK_NODEMETADATA,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_NODEMETADATA {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_NODEMETADATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_NODEMETADATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_NODEMETADATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_NODE_PERFDATA {
pub NodeOrdinal: u32,
pub PhysicalAdapterIndex: u32,
pub Frequency: u64,
pub MaxFrequency: u64,
pub MaxFrequencyOC: u64,
pub Voltage: u32,
pub VoltageMax: u32,
pub VoltageMaxOC: u32,
pub MaxTransitionLatency: u64,
}
impl ::core::marker::Copy for D3DKMT_NODE_PERFDATA {}
impl ::core::clone::Clone for D3DKMT_NODE_PERFDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_NODE_PERFDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_NODE_PERFDATA").field("NodeOrdinal", &self.NodeOrdinal).field("PhysicalAdapterIndex", &self.PhysicalAdapterIndex).field("Frequency", &self.Frequency).field("MaxFrequency", &self.MaxFrequency).field("MaxFrequencyOC", &self.MaxFrequencyOC).field("Voltage", &self.Voltage).field("VoltageMax", &self.VoltageMax).field("VoltageMaxOC", &self.VoltageMaxOC).field("MaxTransitionLatency", &self.MaxTransitionLatency).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_NODE_PERFDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_NODE_PERFDATA {
fn eq(&self, other: &Self) -> bool {
self.NodeOrdinal == other.NodeOrdinal && self.PhysicalAdapterIndex == other.PhysicalAdapterIndex && self.Frequency == other.Frequency && self.MaxFrequency == other.MaxFrequency && self.MaxFrequencyOC == other.MaxFrequencyOC && self.Voltage == other.Voltage && self.VoltageMax == other.VoltageMax && self.VoltageMaxOC == other.VoltageMaxOC && self.MaxTransitionLatency == other.MaxTransitionLatency
}
}
impl ::core::cmp::Eq for D3DKMT_NODE_PERFDATA {}
impl ::core::default::Default for D3DKMT_NODE_PERFDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_NOTIFY_WORK_SUBMISSION {
pub hHwQueue: u32,
pub Flags: D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS,
}
impl ::core::marker::Copy for D3DKMT_NOTIFY_WORK_SUBMISSION {}
impl ::core::clone::Clone for D3DKMT_NOTIFY_WORK_SUBMISSION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_NOTIFY_WORK_SUBMISSION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_NOTIFY_WORK_SUBMISSION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS {
pub Anonymous: D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS_0,
}
impl ::core::marker::Copy for D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS {}
impl ::core::clone::Clone for D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS_0 {
pub Anonymous: D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS_0 {}
impl ::core::clone::Clone for D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS_0_0 {}
impl ::core::clone::Clone for D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS_0_0 {}
impl ::core::default::Default for D3DKMT_NOTIFY_WORK_SUBMISSION_FLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_OFFERALLOCATIONS {
pub hDevice: u32,
pub pResources: *mut u32,
pub HandleList: *const u32,
pub NumAllocations: u32,
pub Priority: D3DKMT_OFFER_PRIORITY,
pub Flags: D3DKMT_OFFER_FLAGS,
}
impl ::core::marker::Copy for D3DKMT_OFFERALLOCATIONS {}
impl ::core::clone::Clone for D3DKMT_OFFERALLOCATIONS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_OFFERALLOCATIONS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_OFFERALLOCATIONS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_OFFER_FLAGS {
pub Anonymous: D3DKMT_OFFER_FLAGS_0,
}
impl ::core::marker::Copy for D3DKMT_OFFER_FLAGS {}
impl ::core::clone::Clone for D3DKMT_OFFER_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_OFFER_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_OFFER_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_OFFER_FLAGS_0 {
pub Anonymous: D3DKMT_OFFER_FLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_OFFER_FLAGS_0 {}
impl ::core::clone::Clone for D3DKMT_OFFER_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_OFFER_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_OFFER_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_OFFER_FLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_OFFER_FLAGS_0_0 {}
impl ::core::clone::Clone for D3DKMT_OFFER_FLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_OFFER_FLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OFFER_FLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_OFFER_FLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_OFFER_FLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_OFFER_FLAGS_0_0 {}
impl ::core::default::Default for D3DKMT_OFFER_FLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_OPENADAPTERFROMDEVICENAME {
pub pDeviceName: ::windows_core::PCWSTR,
pub hAdapter: u32,
pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_OPENADAPTERFROMDEVICENAME {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_OPENADAPTERFROMDEVICENAME {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_OPENADAPTERFROMDEVICENAME {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OPENADAPTERFROMDEVICENAME").field("pDeviceName", &self.pDeviceName).field("hAdapter", &self.hAdapter).field("AdapterLuid", &self.AdapterLuid).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_OPENADAPTERFROMDEVICENAME {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_OPENADAPTERFROMDEVICENAME {
fn eq(&self, other: &Self) -> bool {
self.pDeviceName == other.pDeviceName && self.hAdapter == other.hAdapter && self.AdapterLuid == other.AdapterLuid
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_OPENADAPTERFROMDEVICENAME {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_OPENADAPTERFROMDEVICENAME {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME {
pub DeviceName: [u16; 32],
pub hAdapter: u32,
pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
pub VidPnSourceId: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME").field("DeviceName", &self.DeviceName).field("hAdapter", &self.hAdapter).field("AdapterLuid", &self.AdapterLuid).field("VidPnSourceId", &self.VidPnSourceId).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME {
fn eq(&self, other: &Self) -> bool {
self.DeviceName == other.DeviceName && self.hAdapter == other.hAdapter && self.AdapterLuid == other.AdapterLuid && self.VidPnSourceId == other.VidPnSourceId
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
pub struct D3DKMT_OPENADAPTERFROMHDC {
pub hDc: super::super::super::Win32::Graphics::Gdi::HDC,
pub hAdapter: u32,
pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
pub VidPnSourceId: u32,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::marker::Copy for D3DKMT_OPENADAPTERFROMHDC {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::clone::Clone for D3DKMT_OPENADAPTERFROMHDC {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::fmt::Debug for D3DKMT_OPENADAPTERFROMHDC {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OPENADAPTERFROMHDC").field("hDc", &self.hDc).field("hAdapter", &self.hAdapter).field("AdapterLuid", &self.AdapterLuid).field("VidPnSourceId", &self.VidPnSourceId).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::windows_core::TypeKind for D3DKMT_OPENADAPTERFROMHDC {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::cmp::PartialEq for D3DKMT_OPENADAPTERFROMHDC {
fn eq(&self, other: &Self) -> bool {
self.hDc == other.hDc && self.hAdapter == other.hAdapter && self.AdapterLuid == other.AdapterLuid && self.VidPnSourceId == other.VidPnSourceId
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::cmp::Eq for D3DKMT_OPENADAPTERFROMHDC {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
impl ::core::default::Default for D3DKMT_OPENADAPTERFROMHDC {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_OPENADAPTERFROMLUID {
pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
pub hAdapter: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_OPENADAPTERFROMLUID {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_OPENADAPTERFROMLUID {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_OPENADAPTERFROMLUID {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OPENADAPTERFROMLUID").field("AdapterLuid", &self.AdapterLuid).field("hAdapter", &self.hAdapter).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_OPENADAPTERFROMLUID {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_OPENADAPTERFROMLUID {
fn eq(&self, other: &Self) -> bool {
self.AdapterLuid == other.AdapterLuid && self.hAdapter == other.hAdapter
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_OPENADAPTERFROMLUID {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_OPENADAPTERFROMLUID {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_OPENGLINFO {
pub UmdOpenGlIcdFileName: [u16; 260],
pub Version: u32,
pub Flags: u32,
}
impl ::core::marker::Copy for D3DKMT_OPENGLINFO {}
impl ::core::clone::Clone for D3DKMT_OPENGLINFO {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_OPENGLINFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OPENGLINFO").field("UmdOpenGlIcdFileName", &self.UmdOpenGlIcdFileName).field("Version", &self.Version).field("Flags", &self.Flags).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_OPENGLINFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_OPENGLINFO {
fn eq(&self, other: &Self) -> bool {
self.UmdOpenGlIcdFileName == other.UmdOpenGlIcdFileName && self.Version == other.Version && self.Flags == other.Flags
}
}
impl ::core::cmp::Eq for D3DKMT_OPENGLINFO {}
impl ::core::default::Default for D3DKMT_OPENGLINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_OPENKEYEDMUTEX {
pub hSharedHandle: u32,
pub hKeyedMutex: u32,
}
impl ::core::marker::Copy for D3DKMT_OPENKEYEDMUTEX {}
impl ::core::clone::Clone for D3DKMT_OPENKEYEDMUTEX {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_OPENKEYEDMUTEX {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OPENKEYEDMUTEX").field("hSharedHandle", &self.hSharedHandle).field("hKeyedMutex", &self.hKeyedMutex).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_OPENKEYEDMUTEX {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_OPENKEYEDMUTEX {
fn eq(&self, other: &Self) -> bool {
self.hSharedHandle == other.hSharedHandle && self.hKeyedMutex == other.hKeyedMutex
}
}
impl ::core::cmp::Eq for D3DKMT_OPENKEYEDMUTEX {}
impl ::core::default::Default for D3DKMT_OPENKEYEDMUTEX {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_OPENKEYEDMUTEX2 {
pub hSharedHandle: u32,
pub hKeyedMutex: u32,
pub pPrivateRuntimeData: *mut ::core::ffi::c_void,
pub PrivateRuntimeDataSize: u32,
}
impl ::core::marker::Copy for D3DKMT_OPENKEYEDMUTEX2 {}
impl ::core::clone::Clone for D3DKMT_OPENKEYEDMUTEX2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_OPENKEYEDMUTEX2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OPENKEYEDMUTEX2").field("hSharedHandle", &self.hSharedHandle).field("hKeyedMutex", &self.hKeyedMutex).field("pPrivateRuntimeData", &self.pPrivateRuntimeData).field("PrivateRuntimeDataSize", &self.PrivateRuntimeDataSize).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_OPENKEYEDMUTEX2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_OPENKEYEDMUTEX2 {
fn eq(&self, other: &Self) -> bool {
self.hSharedHandle == other.hSharedHandle && self.hKeyedMutex == other.hKeyedMutex && self.pPrivateRuntimeData == other.pPrivateRuntimeData && self.PrivateRuntimeDataSize == other.PrivateRuntimeDataSize
}
}
impl ::core::cmp::Eq for D3DKMT_OPENKEYEDMUTEX2 {}
impl ::core::default::Default for D3DKMT_OPENKEYEDMUTEX2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_OPENKEYEDMUTEXFROMNTHANDLE {
pub hNtHandle: super::super::super::Win32::Foundation::HANDLE,
pub hKeyedMutex: u32,
pub pPrivateRuntimeData: *mut ::core::ffi::c_void,
pub PrivateRuntimeDataSize: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_OPENKEYEDMUTEXFROMNTHANDLE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_OPENKEYEDMUTEXFROMNTHANDLE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_OPENKEYEDMUTEXFROMNTHANDLE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OPENKEYEDMUTEXFROMNTHANDLE").field("hNtHandle", &self.hNtHandle).field("hKeyedMutex", &self.hKeyedMutex).field("pPrivateRuntimeData", &self.pPrivateRuntimeData).field("PrivateRuntimeDataSize", &self.PrivateRuntimeDataSize).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_OPENKEYEDMUTEXFROMNTHANDLE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_OPENKEYEDMUTEXFROMNTHANDLE {
fn eq(&self, other: &Self) -> bool {
self.hNtHandle == other.hNtHandle && self.hKeyedMutex == other.hKeyedMutex && self.pPrivateRuntimeData == other.pPrivateRuntimeData && self.PrivateRuntimeDataSize == other.PrivateRuntimeDataSize
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_OPENKEYEDMUTEXFROMNTHANDLE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_OPENKEYEDMUTEXFROMNTHANDLE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_OPENNATIVEFENCEFROMNTHANDLE {
pub hNtHandle: super::super::super::Win32::Foundation::HANDLE,
pub hDevice: u32,
pub EngineAffinity: u32,
pub Flags: D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS,
pub hSyncObject: u32,
pub NativeFenceMapping: D3DDDI_NATIVEFENCEMAPPING,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_OPENNATIVEFENCEFROMNTHANDLE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_OPENNATIVEFENCEFROMNTHANDLE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_OPENNATIVEFENCEFROMNTHANDLE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_OPENNATIVEFENCEFROMNTHANDLE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub struct D3DKMT_OPENNTHANDLEFROMNAME {
pub dwDesiredAccess: u32,
pub pObjAttrib: *mut super::super::Foundation::OBJECT_ATTRIBUTES,
pub hNtHandle: super::super::super::Win32::Foundation::HANDLE,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::marker::Copy for D3DKMT_OPENNTHANDLEFROMNAME {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::clone::Clone for D3DKMT_OPENNTHANDLEFROMNAME {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::fmt::Debug for D3DKMT_OPENNTHANDLEFROMNAME {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OPENNTHANDLEFROMNAME").field("dwDesiredAccess", &self.dwDesiredAccess).field("pObjAttrib", &self.pObjAttrib).field("hNtHandle", &self.hNtHandle).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::windows_core::TypeKind for D3DKMT_OPENNTHANDLEFROMNAME {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::cmp::PartialEq for D3DKMT_OPENNTHANDLEFROMNAME {
fn eq(&self, other: &Self) -> bool {
self.dwDesiredAccess == other.dwDesiredAccess && self.pObjAttrib == other.pObjAttrib && self.hNtHandle == other.hNtHandle
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::cmp::Eq for D3DKMT_OPENNTHANDLEFROMNAME {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::default::Default for D3DKMT_OPENNTHANDLEFROMNAME {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE {
pub hNtHandle: super::super::super::Win32::Foundation::HANDLE,
pub hHandle: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE").field("hNtHandle", &self.hNtHandle).field("hHandle", &self.hHandle).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE {
fn eq(&self, other: &Self) -> bool {
self.hNtHandle == other.hNtHandle && self.hHandle == other.hHandle
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_OPENRESOURCE {
pub hDevice: u32,
pub hGlobalShare: u32,
pub NumAllocations: u32,
pub Anonymous: D3DKMT_OPENRESOURCE_0,
pub pPrivateRuntimeData: *mut ::core::ffi::c_void,
pub PrivateRuntimeDataSize: u32,
pub pResourcePrivateDriverData: *mut ::core::ffi::c_void,
pub ResourcePrivateDriverDataSize: u32,
pub pTotalPrivateDriverDataBuffer: *mut ::core::ffi::c_void,
pub TotalPrivateDriverDataBufferSize: u32,
pub hResource: u32,
}
impl ::core::marker::Copy for D3DKMT_OPENRESOURCE {}
impl ::core::clone::Clone for D3DKMT_OPENRESOURCE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_OPENRESOURCE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_OPENRESOURCE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_OPENRESOURCE_0 {
pub pOpenAllocationInfo: *mut D3DDDI_OPENALLOCATIONINFO,
pub pOpenAllocationInfo2: *mut D3DDDI_OPENALLOCATIONINFO2,
}
impl ::core::marker::Copy for D3DKMT_OPENRESOURCE_0 {}
impl ::core::clone::Clone for D3DKMT_OPENRESOURCE_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_OPENRESOURCE_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_OPENRESOURCE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_OPENRESOURCEFROMNTHANDLE {
pub hDevice: u32,
pub hNtHandle: super::super::super::Win32::Foundation::HANDLE,
pub NumAllocations: u32,
pub pOpenAllocationInfo2: *mut D3DDDI_OPENALLOCATIONINFO2,
pub PrivateRuntimeDataSize: u32,
pub pPrivateRuntimeData: *mut ::core::ffi::c_void,
pub ResourcePrivateDriverDataSize: u32,
pub pResourcePrivateDriverData: *mut ::core::ffi::c_void,
pub TotalPrivateDriverDataBufferSize: u32,
pub pTotalPrivateDriverDataBuffer: *mut ::core::ffi::c_void,
pub hResource: u32,
pub hKeyedMutex: u32,
pub pKeyedMutexPrivateRuntimeData: *mut ::core::ffi::c_void,
pub KeyedMutexPrivateRuntimeDataSize: u32,
pub hSyncObject: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_OPENRESOURCEFROMNTHANDLE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_OPENRESOURCEFROMNTHANDLE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_OPENRESOURCEFROMNTHANDLE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OPENRESOURCEFROMNTHANDLE")
.field("hDevice", &self.hDevice)
.field("hNtHandle", &self.hNtHandle)
.field("NumAllocations", &self.NumAllocations)
.field("pOpenAllocationInfo2", &self.pOpenAllocationInfo2)
.field("PrivateRuntimeDataSize", &self.PrivateRuntimeDataSize)
.field("pPrivateRuntimeData", &self.pPrivateRuntimeData)
.field("ResourcePrivateDriverDataSize", &self.ResourcePrivateDriverDataSize)
.field("pResourcePrivateDriverData", &self.pResourcePrivateDriverData)
.field("TotalPrivateDriverDataBufferSize", &self.TotalPrivateDriverDataBufferSize)
.field("pTotalPrivateDriverDataBuffer", &self.pTotalPrivateDriverDataBuffer)
.field("hResource", &self.hResource)
.field("hKeyedMutex", &self.hKeyedMutex)
.field("pKeyedMutexPrivateRuntimeData", &self.pKeyedMutexPrivateRuntimeData)
.field("KeyedMutexPrivateRuntimeDataSize", &self.KeyedMutexPrivateRuntimeDataSize)
.field("hSyncObject", &self.hSyncObject)
.finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_OPENRESOURCEFROMNTHANDLE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_OPENRESOURCEFROMNTHANDLE {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice
&& self.hNtHandle == other.hNtHandle
&& self.NumAllocations == other.NumAllocations
&& self.pOpenAllocationInfo2 == other.pOpenAllocationInfo2
&& self.PrivateRuntimeDataSize == other.PrivateRuntimeDataSize
&& self.pPrivateRuntimeData == other.pPrivateRuntimeData
&& self.ResourcePrivateDriverDataSize == other.ResourcePrivateDriverDataSize
&& self.pResourcePrivateDriverData == other.pResourcePrivateDriverData
&& self.TotalPrivateDriverDataBufferSize == other.TotalPrivateDriverDataBufferSize
&& self.pTotalPrivateDriverDataBuffer == other.pTotalPrivateDriverDataBuffer
&& self.hResource == other.hResource
&& self.hKeyedMutex == other.hKeyedMutex
&& self.pKeyedMutexPrivateRuntimeData == other.pKeyedMutexPrivateRuntimeData
&& self.KeyedMutexPrivateRuntimeDataSize == other.KeyedMutexPrivateRuntimeDataSize
&& self.hSyncObject == other.hSyncObject
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_OPENRESOURCEFROMNTHANDLE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_OPENRESOURCEFROMNTHANDLE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_OPENSYNCHRONIZATIONOBJECT {
pub hSharedHandle: u32,
pub hSyncObject: u32,
pub Reserved: [u64; 8],
}
impl ::core::marker::Copy for D3DKMT_OPENSYNCHRONIZATIONOBJECT {}
impl ::core::clone::Clone for D3DKMT_OPENSYNCHRONIZATIONOBJECT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_OPENSYNCHRONIZATIONOBJECT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OPENSYNCHRONIZATIONOBJECT").field("hSharedHandle", &self.hSharedHandle).field("hSyncObject", &self.hSyncObject).field("Reserved", &self.Reserved).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_OPENSYNCHRONIZATIONOBJECT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_OPENSYNCHRONIZATIONOBJECT {
fn eq(&self, other: &Self) -> bool {
self.hSharedHandle == other.hSharedHandle && self.hSyncObject == other.hSyncObject && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for D3DKMT_OPENSYNCHRONIZATIONOBJECT {}
impl ::core::default::Default for D3DKMT_OPENSYNCHRONIZATIONOBJECT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_OPENSYNCOBJECTFROMNTHANDLE {
pub hNtHandle: super::super::super::Win32::Foundation::HANDLE,
pub hSyncObject: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OPENSYNCOBJECTFROMNTHANDLE").field("hNtHandle", &self.hNtHandle).field("hSyncObject", &self.hSyncObject).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE {
fn eq(&self, other: &Self) -> bool {
self.hNtHandle == other.hNtHandle && self.hSyncObject == other.hSyncObject
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2 {
pub hNtHandle: super::super::super::Win32::Foundation::HANDLE,
pub hDevice: u32,
pub Flags: D3DDDI_SYNCHRONIZATIONOBJECT_FLAGS,
pub hSyncObject: u32,
pub Anonymous: D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2_0 {
pub MonitoredFence: D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2_0_0,
pub Reserved: [u64; 8],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2_0_0 {
pub FenceValueCPUVirtualAddress: *mut ::core::ffi::c_void,
pub FenceValueGPUVirtualAddress: u64,
pub EngineAffinity: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2_0_0").field("FenceValueCPUVirtualAddress", &self.FenceValueCPUVirtualAddress).field("FenceValueGPUVirtualAddress", &self.FenceValueGPUVirtualAddress).field("EngineAffinity", &self.EngineAffinity).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2_0_0 {
fn eq(&self, other: &Self) -> bool {
self.FenceValueCPUVirtualAddress == other.FenceValueCPUVirtualAddress && self.FenceValueGPUVirtualAddress == other.FenceValueGPUVirtualAddress && self.EngineAffinity == other.EngineAffinity
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub struct D3DKMT_OPENSYNCOBJECTNTHANDLEFROMNAME {
pub dwDesiredAccess: u32,
pub pObjAttrib: *mut super::super::Foundation::OBJECT_ATTRIBUTES,
pub hNtHandle: super::super::super::Win32::Foundation::HANDLE,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::marker::Copy for D3DKMT_OPENSYNCOBJECTNTHANDLEFROMNAME {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::clone::Clone for D3DKMT_OPENSYNCOBJECTNTHANDLEFROMNAME {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::fmt::Debug for D3DKMT_OPENSYNCOBJECTNTHANDLEFROMNAME {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OPENSYNCOBJECTNTHANDLEFROMNAME").field("dwDesiredAccess", &self.dwDesiredAccess).field("pObjAttrib", &self.pObjAttrib).field("hNtHandle", &self.hNtHandle).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::windows_core::TypeKind for D3DKMT_OPENSYNCOBJECTNTHANDLEFROMNAME {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::cmp::PartialEq for D3DKMT_OPENSYNCOBJECTNTHANDLEFROMNAME {
fn eq(&self, other: &Self) -> bool {
self.dwDesiredAccess == other.dwDesiredAccess && self.pObjAttrib == other.pObjAttrib && self.hNtHandle == other.hNtHandle
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::cmp::Eq for D3DKMT_OPENSYNCOBJECTNTHANDLEFROMNAME {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::default::Default for D3DKMT_OPENSYNCOBJECTNTHANDLEFROMNAME {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_OUTDUPL_POINTER_SHAPE_INFO {
pub Type: D3DKMT_OUTDUPL_POINTER_SHAPE_TYPE,
pub Width: u32,
pub Height: u32,
pub Pitch: u32,
pub HotSpot: super::super::super::Win32::Foundation::POINT,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_OUTDUPL_POINTER_SHAPE_INFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_OUTDUPL_POINTER_SHAPE_INFO {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_OUTDUPL_POINTER_SHAPE_INFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OUTDUPL_POINTER_SHAPE_INFO").field("Type", &self.Type).field("Width", &self.Width).field("Height", &self.Height).field("Pitch", &self.Pitch).field("HotSpot", &self.HotSpot).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_OUTDUPL_POINTER_SHAPE_INFO {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_OUTDUPL_POINTER_SHAPE_INFO {
fn eq(&self, other: &Self) -> bool {
self.Type == other.Type && self.Width == other.Width && self.Height == other.Height && self.Pitch == other.Pitch && self.HotSpot == other.HotSpot
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_OUTDUPL_POINTER_SHAPE_INFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_OUTDUPL_POINTER_SHAPE_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_OUTPUTDUPLCONTEXTSCOUNT {
pub VidPnSourceId: u32,
pub OutputDuplicationCount: u32,
}
impl ::core::marker::Copy for D3DKMT_OUTPUTDUPLCONTEXTSCOUNT {}
impl ::core::clone::Clone for D3DKMT_OUTPUTDUPLCONTEXTSCOUNT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_OUTPUTDUPLCONTEXTSCOUNT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OUTPUTDUPLCONTEXTSCOUNT").field("VidPnSourceId", &self.VidPnSourceId).field("OutputDuplicationCount", &self.OutputDuplicationCount).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_OUTPUTDUPLCONTEXTSCOUNT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_OUTPUTDUPLCONTEXTSCOUNT {
fn eq(&self, other: &Self) -> bool {
self.VidPnSourceId == other.VidPnSourceId && self.OutputDuplicationCount == other.OutputDuplicationCount
}
}
impl ::core::cmp::Eq for D3DKMT_OUTPUTDUPLCONTEXTSCOUNT {}
impl ::core::default::Default for D3DKMT_OUTPUTDUPLCONTEXTSCOUNT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_OUTPUTDUPLCREATIONFLAGS {
pub Anonymous: D3DKMT_OUTPUTDUPLCREATIONFLAGS_0,
}
impl ::core::marker::Copy for D3DKMT_OUTPUTDUPLCREATIONFLAGS {}
impl ::core::clone::Clone for D3DKMT_OUTPUTDUPLCREATIONFLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_OUTPUTDUPLCREATIONFLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_OUTPUTDUPLCREATIONFLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_OUTPUTDUPLCREATIONFLAGS_0 {
pub Anonymous: D3DKMT_OUTPUTDUPLCREATIONFLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_OUTPUTDUPLCREATIONFLAGS_0 {}
impl ::core::clone::Clone for D3DKMT_OUTPUTDUPLCREATIONFLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_OUTPUTDUPLCREATIONFLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_OUTPUTDUPLCREATIONFLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_OUTPUTDUPLCREATIONFLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_OUTPUTDUPLCREATIONFLAGS_0_0 {}
impl ::core::clone::Clone for D3DKMT_OUTPUTDUPLCREATIONFLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_OUTPUTDUPLCREATIONFLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OUTPUTDUPLCREATIONFLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_OUTPUTDUPLCREATIONFLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_OUTPUTDUPLCREATIONFLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_OUTPUTDUPLCREATIONFLAGS_0_0 {}
impl ::core::default::Default for D3DKMT_OUTPUTDUPLCREATIONFLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_OUTPUTDUPLPRESENT {
pub hContext: u32,
pub hSource: u32,
pub VidPnSourceId: u32,
pub BroadcastContextCount: u32,
pub BroadcastContext: [u32; 64],
pub PresentRegions: D3DKMT_PRESENT_RGNS,
pub Flags: D3DKMT_OUTPUTDUPLPRESENTFLAGS,
pub hIndirectContext: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_OUTPUTDUPLPRESENT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_OUTPUTDUPLPRESENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_OUTPUTDUPLPRESENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_OUTPUTDUPLPRESENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_OUTPUTDUPLPRESENTFLAGS {
pub Anonymous: D3DKMT_OUTPUTDUPLPRESENTFLAGS_0,
}
impl ::core::marker::Copy for D3DKMT_OUTPUTDUPLPRESENTFLAGS {}
impl ::core::clone::Clone for D3DKMT_OUTPUTDUPLPRESENTFLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_OUTPUTDUPLPRESENTFLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_OUTPUTDUPLPRESENTFLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_OUTPUTDUPLPRESENTFLAGS_0 {
pub Anonymous: D3DKMT_OUTPUTDUPLPRESENTFLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_OUTPUTDUPLPRESENTFLAGS_0 {}
impl ::core::clone::Clone for D3DKMT_OUTPUTDUPLPRESENTFLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_OUTPUTDUPLPRESENTFLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_OUTPUTDUPLPRESENTFLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_OUTPUTDUPLPRESENTFLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_OUTPUTDUPLPRESENTFLAGS_0_0 {}
impl ::core::clone::Clone for D3DKMT_OUTPUTDUPLPRESENTFLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_OUTPUTDUPLPRESENTFLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OUTPUTDUPLPRESENTFLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_OUTPUTDUPLPRESENTFLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_OUTPUTDUPLPRESENTFLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_OUTPUTDUPLPRESENTFLAGS_0_0 {}
impl ::core::default::Default for D3DKMT_OUTPUTDUPLPRESENTFLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_OUTPUTDUPLPRESENTTOHWQUEUE {
pub hSource: u32,
pub VidPnSourceId: u32,
pub BroadcastHwQueueCount: u32,
pub hHwQueues: *mut u32,
pub PresentRegions: D3DKMT_PRESENT_RGNS,
pub Flags: D3DKMT_OUTPUTDUPLPRESENTFLAGS,
pub hIndirectHwQueue: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_OUTPUTDUPLPRESENTTOHWQUEUE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_OUTPUTDUPLPRESENTTOHWQUEUE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_OUTPUTDUPLPRESENTTOHWQUEUE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_OUTPUTDUPLPRESENTTOHWQUEUE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_OUTPUTDUPL_FRAMEINFO {
pub LastPresentTime: i64,
pub LastMouseUpdateTime: i64,
pub AccumulatedFrames: u32,
pub RectsCoalesced: super::super::super::Win32::Foundation::BOOL,
pub ProtectedContentMaskedOut: super::super::super::Win32::Foundation::BOOL,
pub PointerPosition: D3DKMT_OUTPUTDUPL_POINTER_POSITION,
pub TotalMetadataBufferSize: u32,
pub PointerShapeBufferSize: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_OUTPUTDUPL_FRAMEINFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_OUTPUTDUPL_FRAMEINFO {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_OUTPUTDUPL_FRAMEINFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OUTPUTDUPL_FRAMEINFO")
.field("LastPresentTime", &self.LastPresentTime)
.field("LastMouseUpdateTime", &self.LastMouseUpdateTime)
.field("AccumulatedFrames", &self.AccumulatedFrames)
.field("RectsCoalesced", &self.RectsCoalesced)
.field("ProtectedContentMaskedOut", &self.ProtectedContentMaskedOut)
.field("PointerPosition", &self.PointerPosition)
.field("TotalMetadataBufferSize", &self.TotalMetadataBufferSize)
.field("PointerShapeBufferSize", &self.PointerShapeBufferSize)
.finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_OUTPUTDUPL_FRAMEINFO {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_OUTPUTDUPL_FRAMEINFO {
fn eq(&self, other: &Self) -> bool {
self.LastPresentTime == other.LastPresentTime && self.LastMouseUpdateTime == other.LastMouseUpdateTime && self.AccumulatedFrames == other.AccumulatedFrames && self.RectsCoalesced == other.RectsCoalesced && self.ProtectedContentMaskedOut == other.ProtectedContentMaskedOut && self.PointerPosition == other.PointerPosition && self.TotalMetadataBufferSize == other.TotalMetadataBufferSize && self.PointerShapeBufferSize == other.PointerShapeBufferSize
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_OUTPUTDUPL_FRAMEINFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_OUTPUTDUPL_FRAMEINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_OUTPUTDUPL_GET_FRAMEINFO {
pub hAdapter: u32,
pub VidPnSourceId: u32,
pub FrameInfo: D3DKMT_OUTPUTDUPL_FRAMEINFO,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_OUTPUTDUPL_GET_FRAMEINFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_OUTPUTDUPL_GET_FRAMEINFO {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_OUTPUTDUPL_GET_FRAMEINFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OUTPUTDUPL_GET_FRAMEINFO").field("hAdapter", &self.hAdapter).field("VidPnSourceId", &self.VidPnSourceId).field("FrameInfo", &self.FrameInfo).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_OUTPUTDUPL_GET_FRAMEINFO {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_OUTPUTDUPL_GET_FRAMEINFO {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.VidPnSourceId == other.VidPnSourceId && self.FrameInfo == other.FrameInfo
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_OUTPUTDUPL_GET_FRAMEINFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_OUTPUTDUPL_GET_FRAMEINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_OUTPUTDUPL_GET_POINTER_SHAPE_DATA {
pub hAdapter: u32,
pub VidPnSourceId: u32,
pub BufferSizeSupplied: u32,
pub pShapeBuffer: *mut ::core::ffi::c_void,
pub BufferSizeRequired: u32,
pub ShapeInfo: D3DKMT_OUTDUPL_POINTER_SHAPE_INFO,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_OUTPUTDUPL_GET_POINTER_SHAPE_DATA {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_OUTPUTDUPL_GET_POINTER_SHAPE_DATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_OUTPUTDUPL_GET_POINTER_SHAPE_DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OUTPUTDUPL_GET_POINTER_SHAPE_DATA").field("hAdapter", &self.hAdapter).field("VidPnSourceId", &self.VidPnSourceId).field("BufferSizeSupplied", &self.BufferSizeSupplied).field("pShapeBuffer", &self.pShapeBuffer).field("BufferSizeRequired", &self.BufferSizeRequired).field("ShapeInfo", &self.ShapeInfo).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_OUTPUTDUPL_GET_POINTER_SHAPE_DATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_OUTPUTDUPL_GET_POINTER_SHAPE_DATA {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.VidPnSourceId == other.VidPnSourceId && self.BufferSizeSupplied == other.BufferSizeSupplied && self.pShapeBuffer == other.pShapeBuffer && self.BufferSizeRequired == other.BufferSizeRequired && self.ShapeInfo == other.ShapeInfo
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_OUTPUTDUPL_GET_POINTER_SHAPE_DATA {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_OUTPUTDUPL_GET_POINTER_SHAPE_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_OUTPUTDUPL_KEYEDMUTEX {
pub hSharedSurfaceNt: super::super::super::Win32::Foundation::HANDLE,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_OUTPUTDUPL_KEYEDMUTEX {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_OUTPUTDUPL_KEYEDMUTEX {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_OUTPUTDUPL_KEYEDMUTEX {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OUTPUTDUPL_KEYEDMUTEX").field("hSharedSurfaceNt", &self.hSharedSurfaceNt).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_OUTPUTDUPL_KEYEDMUTEX {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_OUTPUTDUPL_KEYEDMUTEX {
fn eq(&self, other: &Self) -> bool {
self.hSharedSurfaceNt == other.hSharedSurfaceNt
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_OUTPUTDUPL_KEYEDMUTEX {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_OUTPUTDUPL_KEYEDMUTEX {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_OUTPUTDUPL_METADATA {
pub hAdapter: u32,
pub VidPnSourceId: u32,
pub Type: D3DKMT_OUTPUTDUPL_METADATATYPE,
pub BufferSizeSupplied: u32,
pub pBuffer: *mut ::core::ffi::c_void,
pub BufferSizeRequired: u32,
}
impl ::core::marker::Copy for D3DKMT_OUTPUTDUPL_METADATA {}
impl ::core::clone::Clone for D3DKMT_OUTPUTDUPL_METADATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_OUTPUTDUPL_METADATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OUTPUTDUPL_METADATA").field("hAdapter", &self.hAdapter).field("VidPnSourceId", &self.VidPnSourceId).field("Type", &self.Type).field("BufferSizeSupplied", &self.BufferSizeSupplied).field("pBuffer", &self.pBuffer).field("BufferSizeRequired", &self.BufferSizeRequired).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_OUTPUTDUPL_METADATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_OUTPUTDUPL_METADATA {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.VidPnSourceId == other.VidPnSourceId && self.Type == other.Type && self.BufferSizeSupplied == other.BufferSizeSupplied && self.pBuffer == other.pBuffer && self.BufferSizeRequired == other.BufferSizeRequired
}
}
impl ::core::cmp::Eq for D3DKMT_OUTPUTDUPL_METADATA {}
impl ::core::default::Default for D3DKMT_OUTPUTDUPL_METADATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_OUTPUTDUPL_POINTER_POSITION {
pub Position: super::super::super::Win32::Foundation::POINT,
pub Visible: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_OUTPUTDUPL_POINTER_POSITION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_OUTPUTDUPL_POINTER_POSITION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_OUTPUTDUPL_POINTER_POSITION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OUTPUTDUPL_POINTER_POSITION").field("Position", &self.Position).field("Visible", &self.Visible).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_OUTPUTDUPL_POINTER_POSITION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_OUTPUTDUPL_POINTER_POSITION {
fn eq(&self, other: &Self) -> bool {
self.Position == other.Position && self.Visible == other.Visible
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_OUTPUTDUPL_POINTER_POSITION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_OUTPUTDUPL_POINTER_POSITION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_OUTPUTDUPL_RELEASE_FRAME {
pub hAdapter: u32,
pub VidPnSourceId: u32,
pub NextKeyMutexIdx: u32,
}
impl ::core::marker::Copy for D3DKMT_OUTPUTDUPL_RELEASE_FRAME {}
impl ::core::clone::Clone for D3DKMT_OUTPUTDUPL_RELEASE_FRAME {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_OUTPUTDUPL_RELEASE_FRAME {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OUTPUTDUPL_RELEASE_FRAME").field("hAdapter", &self.hAdapter).field("VidPnSourceId", &self.VidPnSourceId).field("NextKeyMutexIdx", &self.NextKeyMutexIdx).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_OUTPUTDUPL_RELEASE_FRAME {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_OUTPUTDUPL_RELEASE_FRAME {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.VidPnSourceId == other.VidPnSourceId && self.NextKeyMutexIdx == other.NextKeyMutexIdx
}
}
impl ::core::cmp::Eq for D3DKMT_OUTPUTDUPL_RELEASE_FRAME {}
impl ::core::default::Default for D3DKMT_OUTPUTDUPL_RELEASE_FRAME {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_OUTPUTDUPL_SNAPSHOT {
pub Size: u32,
pub SessionProcessCount: u32,
pub SessionActiveConnectionsCount: u32,
pub NumVidPnSources: u32,
pub NumOutputDuplContexts: u32,
pub Padding: u32,
pub OutputDuplDebugInfos: [OUTPUTDUPL_CONTEXT_DEBUG_INFO; 1],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_OUTPUTDUPL_SNAPSHOT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_OUTPUTDUPL_SNAPSHOT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_OUTPUTDUPL_SNAPSHOT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_OUTPUTDUPL_SNAPSHOT").field("Size", &self.Size).field("SessionProcessCount", &self.SessionProcessCount).field("SessionActiveConnectionsCount", &self.SessionActiveConnectionsCount).field("NumVidPnSources", &self.NumVidPnSources).field("NumOutputDuplContexts", &self.NumOutputDuplContexts).field("Padding", &self.Padding).field("OutputDuplDebugInfos", &self.OutputDuplDebugInfos).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_OUTPUTDUPL_SNAPSHOT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_OUTPUTDUPL_SNAPSHOT {
fn eq(&self, other: &Self) -> bool {
self.Size == other.Size && self.SessionProcessCount == other.SessionProcessCount && self.SessionActiveConnectionsCount == other.SessionActiveConnectionsCount && self.NumVidPnSources == other.NumVidPnSources && self.NumOutputDuplContexts == other.NumOutputDuplContexts && self.Padding == other.Padding && self.OutputDuplDebugInfos == other.OutputDuplDebugInfos
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_OUTPUTDUPL_SNAPSHOT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_OUTPUTDUPL_SNAPSHOT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_PAGE_TABLE_LEVEL_DESC {
pub IndexBitCount: u32,
pub IndexMask: u64,
pub IndexShift: u64,
pub LowerLevelsMask: u64,
pub EntryCoverageInPages: u64,
}
impl ::core::marker::Copy for D3DKMT_PAGE_TABLE_LEVEL_DESC {}
impl ::core::clone::Clone for D3DKMT_PAGE_TABLE_LEVEL_DESC {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_PAGE_TABLE_LEVEL_DESC {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_PAGE_TABLE_LEVEL_DESC").field("IndexBitCount", &self.IndexBitCount).field("IndexMask", &self.IndexMask).field("IndexShift", &self.IndexShift).field("LowerLevelsMask", &self.LowerLevelsMask).field("EntryCoverageInPages", &self.EntryCoverageInPages).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_PAGE_TABLE_LEVEL_DESC {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_PAGE_TABLE_LEVEL_DESC {
fn eq(&self, other: &Self) -> bool {
self.IndexBitCount == other.IndexBitCount && self.IndexMask == other.IndexMask && self.IndexShift == other.IndexShift && self.LowerLevelsMask == other.LowerLevelsMask && self.EntryCoverageInPages == other.EntryCoverageInPages
}
}
impl ::core::cmp::Eq for D3DKMT_PAGE_TABLE_LEVEL_DESC {}
impl ::core::default::Default for D3DKMT_PAGE_TABLE_LEVEL_DESC {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_PANELFITTER_SUPPORT {
pub Supported: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_PANELFITTER_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_PANELFITTER_SUPPORT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_PANELFITTER_SUPPORT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_PANELFITTER_SUPPORT").field("Supported", &self.Supported).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_PANELFITTER_SUPPORT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_PANELFITTER_SUPPORT {
fn eq(&self, other: &Self) -> bool {
self.Supported == other.Supported
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_PANELFITTER_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_PANELFITTER_SUPPORT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_PARAVIRTUALIZATION {
pub SecureContainer: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_PARAVIRTUALIZATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_PARAVIRTUALIZATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_PARAVIRTUALIZATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_PARAVIRTUALIZATION").field("SecureContainer", &self.SecureContainer).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_PARAVIRTUALIZATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_PARAVIRTUALIZATION {
fn eq(&self, other: &Self) -> bool {
self.SecureContainer == other.SecureContainer
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_PARAVIRTUALIZATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_PARAVIRTUALIZATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_PHYSICAL_ADAPTER_COUNT {
pub Count: u32,
}
impl ::core::marker::Copy for D3DKMT_PHYSICAL_ADAPTER_COUNT {}
impl ::core::clone::Clone for D3DKMT_PHYSICAL_ADAPTER_COUNT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_PHYSICAL_ADAPTER_COUNT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_PHYSICAL_ADAPTER_COUNT").field("Count", &self.Count).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_PHYSICAL_ADAPTER_COUNT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_PHYSICAL_ADAPTER_COUNT {
fn eq(&self, other: &Self) -> bool {
self.Count == other.Count
}
}
impl ::core::cmp::Eq for D3DKMT_PHYSICAL_ADAPTER_COUNT {}
impl ::core::default::Default for D3DKMT_PHYSICAL_ADAPTER_COUNT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_PINDIRECTFLIPRESOURCES {
pub hDevice: u32,
pub ResourceCount: u32,
pub pResourceList: *mut u32,
}
impl ::core::marker::Copy for D3DKMT_PINDIRECTFLIPRESOURCES {}
impl ::core::clone::Clone for D3DKMT_PINDIRECTFLIPRESOURCES {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_PINDIRECTFLIPRESOURCES {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_PINDIRECTFLIPRESOURCES").field("hDevice", &self.hDevice).field("ResourceCount", &self.ResourceCount).field("pResourceList", &self.pResourceList).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_PINDIRECTFLIPRESOURCES {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_PINDIRECTFLIPRESOURCES {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.ResourceCount == other.ResourceCount && self.pResourceList == other.pResourceList
}
}
impl ::core::cmp::Eq for D3DKMT_PINDIRECTFLIPRESOURCES {}
impl ::core::default::Default for D3DKMT_PINDIRECTFLIPRESOURCES {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS {
pub Anonymous: D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS_0,
}
impl ::core::marker::Copy for D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS {}
impl ::core::clone::Clone for D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS_0 {
pub Anonymous: D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS_0 {}
impl ::core::clone::Clone for D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS_0_0 {}
impl ::core::clone::Clone for D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS_0_0 {}
impl ::core::default::Default for D3DKMT_PLANE_SPECIFIC_INPUT_FLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS {
pub Anonymous: D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS_0,
}
impl ::core::marker::Copy for D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS {}
impl ::core::clone::Clone for D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS_0 {
pub Anonymous: D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS_0 {}
impl ::core::clone::Clone for D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS_0_0 {}
impl ::core::clone::Clone for D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS_0_0 {}
impl ::core::default::Default for D3DKMT_PLANE_SPECIFIC_OUTPUT_FLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_POLLDISPLAYCHILDREN {
pub hAdapter: u32,
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_POLLDISPLAYCHILDREN {}
impl ::core::clone::Clone for D3DKMT_POLLDISPLAYCHILDREN {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_POLLDISPLAYCHILDREN {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_POLLDISPLAYCHILDREN").field("hAdapter", &self.hAdapter).field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_POLLDISPLAYCHILDREN {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_POLLDISPLAYCHILDREN {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_POLLDISPLAYCHILDREN {}
impl ::core::default::Default for D3DKMT_POLLDISPLAYCHILDREN {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_PRESENT {
pub Anonymous1: D3DKMT_PRESENT_0,
pub hWindow: super::super::super::Win32::Foundation::HWND,
pub VidPnSourceId: u32,
pub hSource: u32,
pub hDestination: u32,
pub Color: u32,
pub DstRect: super::super::super::Win32::Foundation::RECT,
pub SrcRect: super::super::super::Win32::Foundation::RECT,
pub SubRectCnt: u32,
pub pSrcSubRects: *const super::super::super::Win32::Foundation::RECT,
pub PresentCount: u32,
pub FlipInterval: D3DDDI_FLIPINTERVAL_TYPE,
pub Flags: D3DKMT_PRESENTFLAGS,
pub BroadcastContextCount: u32,
pub BroadcastContext: [u32; 64],
pub PresentLimitSemaphore: super::super::super::Win32::Foundation::HANDLE,
pub PresentHistoryToken: D3DKMT_PRESENTHISTORYTOKEN,
pub pPresentRegions: *mut D3DKMT_PRESENT_RGNS,
pub Anonymous2: D3DKMT_PRESENT_1,
pub Duration: u32,
pub BroadcastSrcAllocation: *mut u32,
pub BroadcastDstAllocation: *mut u32,
pub PrivateDriverDataSize: u32,
pub pPrivateDriverData: *mut ::core::ffi::c_void,
pub bOptimizeForComposition: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_PRESENT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_PRESENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_PRESENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_PRESENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DKMT_PRESENT_0 {
pub hDevice: u32,
pub hContext: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_PRESENT_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_PRESENT_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_PRESENT_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_PRESENT_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DKMT_PRESENT_1 {
pub hAdapter: u32,
pub hIndirectContext: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_PRESENT_1 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_PRESENT_1 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_PRESENT_1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_PRESENT_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_PRESENTFLAGS {
pub Anonymous: D3DKMT_PRESENTFLAGS_0,
}
impl ::core::marker::Copy for D3DKMT_PRESENTFLAGS {}
impl ::core::clone::Clone for D3DKMT_PRESENTFLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_PRESENTFLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_PRESENTFLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_PRESENTFLAGS_0 {
pub Anonymous: D3DKMT_PRESENTFLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_PRESENTFLAGS_0 {}
impl ::core::clone::Clone for D3DKMT_PRESENTFLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_PRESENTFLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_PRESENTFLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_PRESENTFLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_PRESENTFLAGS_0_0 {}
impl ::core::clone::Clone for D3DKMT_PRESENTFLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_PRESENTFLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_PRESENTFLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_PRESENTFLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_PRESENTFLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_PRESENTFLAGS_0_0 {}
impl ::core::default::Default for D3DKMT_PRESENTFLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_PRESENTHISTORYTOKEN {
pub Model: D3DKMT_PRESENT_MODEL,
pub TokenSize: u32,
pub CompositionBindingId: u64,
pub Token: D3DKMT_PRESENTHISTORYTOKEN_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_PRESENTHISTORYTOKEN {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_PRESENTHISTORYTOKEN {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_PRESENTHISTORYTOKEN {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_PRESENTHISTORYTOKEN {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DKMT_PRESENTHISTORYTOKEN_0 {
pub Flip: D3DKMT_FLIPMODEL_PRESENTHISTORYTOKEN,
pub Blt: D3DKMT_BLTMODEL_PRESENTHISTORYTOKEN,
pub VistaBlt: u64,
pub Gdi: D3DKMT_GDIMODEL_PRESENTHISTORYTOKEN,
pub Fence: D3DKMT_FENCE_PRESENTHISTORYTOKEN,
pub GdiSysMem: D3DKMT_GDIMODEL_SYSMEM_PRESENTHISTORYTOKEN,
pub Composition: D3DKMT_COMPOSITION_PRESENTHISTORYTOKEN,
pub FlipManager: D3DKMT_FLIPMANAGER_PRESENTHISTORYTOKEN,
pub SurfaceComplete: D3DKMT_SURFACECOMPLETE_PRESENTHISTORYTOKEN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_PRESENTHISTORYTOKEN_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_PRESENTHISTORYTOKEN_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_PRESENTHISTORYTOKEN_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_PRESENTHISTORYTOKEN_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_PRESENT_MULTIPLANE_OVERLAY {
pub Anonymous: D3DKMT_PRESENT_MULTIPLANE_OVERLAY_0,
pub BroadcastContextCount: u32,
pub BroadcastContext: [u32; 64],
pub VidPnSourceId: u32,
pub PresentCount: u32,
pub FlipInterval: D3DDDI_FLIPINTERVAL_TYPE,
pub Flags: D3DKMT_PRESENTFLAGS,
pub PresentPlaneCount: u32,
pub pPresentPlanes: *mut D3DKMT_MULTIPLANE_OVERLAY,
pub Duration: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_PRESENT_MULTIPLANE_OVERLAY {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_PRESENT_MULTIPLANE_OVERLAY {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_PRESENT_MULTIPLANE_OVERLAY {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_PRESENT_MULTIPLANE_OVERLAY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DKMT_PRESENT_MULTIPLANE_OVERLAY_0 {
pub hDevice: u32,
pub hContext: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_PRESENT_MULTIPLANE_OVERLAY2 {
pub hAdapter: u32,
pub Anonymous: D3DKMT_PRESENT_MULTIPLANE_OVERLAY2_0,
pub BroadcastContextCount: u32,
pub BroadcastContext: [u32; 64],
pub VidPnSourceId: u32,
pub PresentCount: u32,
pub FlipInterval: D3DDDI_FLIPINTERVAL_TYPE,
pub Flags: D3DKMT_PRESENTFLAGS,
pub PresentPlaneCount: u32,
pub pPresentPlanes: *mut D3DKMT_MULTIPLANE_OVERLAY2,
pub Duration: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_PRESENT_MULTIPLANE_OVERLAY2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_PRESENT_MULTIPLANE_OVERLAY2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_PRESENT_MULTIPLANE_OVERLAY2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_PRESENT_MULTIPLANE_OVERLAY2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DKMT_PRESENT_MULTIPLANE_OVERLAY2_0 {
pub hDevice: u32,
pub hContext: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_PRESENT_MULTIPLANE_OVERLAY2_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_PRESENT_MULTIPLANE_OVERLAY2_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_PRESENT_MULTIPLANE_OVERLAY2_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_PRESENT_MULTIPLANE_OVERLAY2_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_PRESENT_MULTIPLANE_OVERLAY3 {
pub hAdapter: u32,
pub ContextCount: u32,
pub pContextList: *mut u32,
pub VidPnSourceId: u32,
pub PresentCount: u32,
pub Flags: D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS,
pub PresentPlaneCount: u32,
pub ppPresentPlanes: *mut *mut D3DKMT_MULTIPLANE_OVERLAY3,
pub pPostComposition: *mut D3DKMT_MULTIPLANE_OVERLAY_POST_COMPOSITION,
pub Duration: u32,
pub HDRMetaDataType: D3DDDI_HDR_METADATA_TYPE,
pub HDRMetaDataSize: u32,
pub pHDRMetaData: *const ::core::ffi::c_void,
pub BoostRefreshRateMultiplier: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_PRESENT_MULTIPLANE_OVERLAY3 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_PRESENT_MULTIPLANE_OVERLAY3 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_PRESENT_MULTIPLANE_OVERLAY3 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_PRESENT_MULTIPLANE_OVERLAY3 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS {
pub Anonymous: D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS_0,
}
impl ::core::marker::Copy for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS {}
impl ::core::clone::Clone for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS_0 {
pub Anonymous: D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS_0 {}
impl ::core::clone::Clone for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS_0_0 {}
impl ::core::clone::Clone for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS_0_0 {}
impl ::core::default::Default for D3DKMT_PRESENT_MULTIPLANE_OVERLAY_FLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_PRESENT_REDIRECTED {
pub hSyncObj: u32,
pub hDevice: u32,
pub WaitedFenceValue: u64,
pub PresentHistoryToken: D3DKMT_PRESENTHISTORYTOKEN,
pub Flags: D3DKMT_PRESENT_REDIRECTED_FLAGS,
pub hSource: u32,
pub PrivateDriverDataSize: u32,
pub pPrivateDriverData: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_PRESENT_REDIRECTED {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_PRESENT_REDIRECTED {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_PRESENT_REDIRECTED {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_PRESENT_REDIRECTED {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_PRESENT_REDIRECTED_FLAGS {
pub Anonymous: D3DKMT_PRESENT_REDIRECTED_FLAGS_0,
}
impl ::core::marker::Copy for D3DKMT_PRESENT_REDIRECTED_FLAGS {}
impl ::core::clone::Clone for D3DKMT_PRESENT_REDIRECTED_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_PRESENT_REDIRECTED_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_PRESENT_REDIRECTED_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_PRESENT_REDIRECTED_FLAGS_0 {
pub Anonymous: D3DKMT_PRESENT_REDIRECTED_FLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_PRESENT_REDIRECTED_FLAGS_0 {}
impl ::core::clone::Clone for D3DKMT_PRESENT_REDIRECTED_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_PRESENT_REDIRECTED_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_PRESENT_REDIRECTED_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_PRESENT_REDIRECTED_FLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_PRESENT_REDIRECTED_FLAGS_0_0 {}
impl ::core::clone::Clone for D3DKMT_PRESENT_REDIRECTED_FLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_PRESENT_REDIRECTED_FLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_PRESENT_REDIRECTED_FLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_PRESENT_REDIRECTED_FLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_PRESENT_REDIRECTED_FLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_PRESENT_REDIRECTED_FLAGS_0_0 {}
impl ::core::default::Default for D3DKMT_PRESENT_REDIRECTED_FLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_PRESENT_RGNS {
pub DirtyRectCount: u32,
pub pDirtyRects: *const super::super::super::Win32::Foundation::RECT,
pub MoveRectCount: u32,
pub pMoveRects: *const D3DKMT_MOVE_RECT,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_PRESENT_RGNS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_PRESENT_RGNS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_PRESENT_RGNS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_PRESENT_RGNS").field("DirtyRectCount", &self.DirtyRectCount).field("pDirtyRects", &self.pDirtyRects).field("MoveRectCount", &self.MoveRectCount).field("pMoveRects", &self.pMoveRects).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_PRESENT_RGNS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_PRESENT_RGNS {
fn eq(&self, other: &Self) -> bool {
self.DirtyRectCount == other.DirtyRectCount && self.pDirtyRects == other.pDirtyRects && self.MoveRectCount == other.MoveRectCount && self.pMoveRects == other.pMoveRects
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_PRESENT_RGNS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_PRESENT_RGNS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_PRESENT_STATS {
pub PresentCount: u32,
pub PresentRefreshCount: u32,
pub SyncRefreshCount: u32,
pub SyncQPCTime: i64,
pub SyncGPUTime: i64,
}
impl ::core::marker::Copy for D3DKMT_PRESENT_STATS {}
impl ::core::clone::Clone for D3DKMT_PRESENT_STATS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_PRESENT_STATS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_PRESENT_STATS").field("PresentCount", &self.PresentCount).field("PresentRefreshCount", &self.PresentRefreshCount).field("SyncRefreshCount", &self.SyncRefreshCount).field("SyncQPCTime", &self.SyncQPCTime).field("SyncGPUTime", &self.SyncGPUTime).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_PRESENT_STATS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_PRESENT_STATS {
fn eq(&self, other: &Self) -> bool {
self.PresentCount == other.PresentCount && self.PresentRefreshCount == other.PresentRefreshCount && self.SyncRefreshCount == other.SyncRefreshCount && self.SyncQPCTime == other.SyncQPCTime && self.SyncGPUTime == other.SyncGPUTime
}
}
impl ::core::cmp::Eq for D3DKMT_PRESENT_STATS {}
impl ::core::default::Default for D3DKMT_PRESENT_STATS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_PRESENT_STATS_DWM {
pub PresentCount: u32,
pub PresentRefreshCount: u32,
pub PresentQPCTime: i64,
pub SyncRefreshCount: u32,
pub SyncQPCTime: i64,
pub CustomPresentDuration: u32,
}
impl ::core::marker::Copy for D3DKMT_PRESENT_STATS_DWM {}
impl ::core::clone::Clone for D3DKMT_PRESENT_STATS_DWM {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_PRESENT_STATS_DWM {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_PRESENT_STATS_DWM").field("PresentCount", &self.PresentCount).field("PresentRefreshCount", &self.PresentRefreshCount).field("PresentQPCTime", &self.PresentQPCTime).field("SyncRefreshCount", &self.SyncRefreshCount).field("SyncQPCTime", &self.SyncQPCTime).field("CustomPresentDuration", &self.CustomPresentDuration).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_PRESENT_STATS_DWM {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_PRESENT_STATS_DWM {
fn eq(&self, other: &Self) -> bool {
self.PresentCount == other.PresentCount && self.PresentRefreshCount == other.PresentRefreshCount && self.PresentQPCTime == other.PresentQPCTime && self.SyncRefreshCount == other.SyncRefreshCount && self.SyncQPCTime == other.SyncQPCTime && self.CustomPresentDuration == other.CustomPresentDuration
}
}
impl ::core::cmp::Eq for D3DKMT_PRESENT_STATS_DWM {}
impl ::core::default::Default for D3DKMT_PRESENT_STATS_DWM {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_PRESENT_STATS_DWM2 {
pub cbSize: u32,
pub PresentCount: u32,
pub PresentRefreshCount: u32,
pub PresentQPCTime: i64,
pub SyncRefreshCount: u32,
pub SyncQPCTime: i64,
pub CustomPresentDuration: u32,
pub VirtualSyncRefreshCount: u32,
pub VirtualSyncQPCTime: i64,
}
impl ::core::marker::Copy for D3DKMT_PRESENT_STATS_DWM2 {}
impl ::core::clone::Clone for D3DKMT_PRESENT_STATS_DWM2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_PRESENT_STATS_DWM2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_PRESENT_STATS_DWM2")
.field("cbSize", &self.cbSize)
.field("PresentCount", &self.PresentCount)
.field("PresentRefreshCount", &self.PresentRefreshCount)
.field("PresentQPCTime", &self.PresentQPCTime)
.field("SyncRefreshCount", &self.SyncRefreshCount)
.field("SyncQPCTime", &self.SyncQPCTime)
.field("CustomPresentDuration", &self.CustomPresentDuration)
.field("VirtualSyncRefreshCount", &self.VirtualSyncRefreshCount)
.field("VirtualSyncQPCTime", &self.VirtualSyncQPCTime)
.finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_PRESENT_STATS_DWM2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_PRESENT_STATS_DWM2 {
fn eq(&self, other: &Self) -> bool {
self.cbSize == other.cbSize && self.PresentCount == other.PresentCount && self.PresentRefreshCount == other.PresentRefreshCount && self.PresentQPCTime == other.PresentQPCTime && self.SyncRefreshCount == other.SyncRefreshCount && self.SyncQPCTime == other.SyncQPCTime && self.CustomPresentDuration == other.CustomPresentDuration && self.VirtualSyncRefreshCount == other.VirtualSyncRefreshCount && self.VirtualSyncQPCTime == other.VirtualSyncQPCTime
}
}
impl ::core::cmp::Eq for D3DKMT_PRESENT_STATS_DWM2 {}
impl ::core::default::Default for D3DKMT_PRESENT_STATS_DWM2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_PROCESS_VERIFIER_OPTION {
pub hProcess: super::super::super::Win32::Foundation::HANDLE,
pub Type: D3DKMT_PROCESS_VERIFIER_OPTION_TYPE,
pub Mode: D3DKMT_VERIFIER_OPTION_MODE,
pub Data: D3DKMT_PROCESS_VERIFIER_OPTION_DATA,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_PROCESS_VERIFIER_OPTION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_PROCESS_VERIFIER_OPTION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_PROCESS_VERIFIER_OPTION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_PROCESS_VERIFIER_OPTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_PROCESS_VERIFIER_OPTION_DATA {
pub VidMmFlags: D3DKMT_PROCESS_VERIFIER_VIDMM_FLAGS,
pub VidMmRestrictBudget: D3DKMT_PROCESS_VERIFIER_VIDMM_RESTRICT_BUDGET,
}
impl ::core::marker::Copy for D3DKMT_PROCESS_VERIFIER_OPTION_DATA {}
impl ::core::clone::Clone for D3DKMT_PROCESS_VERIFIER_OPTION_DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_PROCESS_VERIFIER_OPTION_DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_PROCESS_VERIFIER_OPTION_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_PROCESS_VERIFIER_VIDMM_FLAGS {
pub Anonymous: D3DKMT_PROCESS_VERIFIER_VIDMM_FLAGS_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_PROCESS_VERIFIER_VIDMM_FLAGS {}
impl ::core::clone::Clone for D3DKMT_PROCESS_VERIFIER_VIDMM_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_PROCESS_VERIFIER_VIDMM_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_PROCESS_VERIFIER_VIDMM_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_PROCESS_VERIFIER_VIDMM_FLAGS_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_PROCESS_VERIFIER_VIDMM_FLAGS_0 {}
impl ::core::clone::Clone for D3DKMT_PROCESS_VERIFIER_VIDMM_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_PROCESS_VERIFIER_VIDMM_FLAGS_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_PROCESS_VERIFIER_VIDMM_FLAGS_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_PROCESS_VERIFIER_VIDMM_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_PROCESS_VERIFIER_VIDMM_FLAGS_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_PROCESS_VERIFIER_VIDMM_FLAGS_0 {}
impl ::core::default::Default for D3DKMT_PROCESS_VERIFIER_VIDMM_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_PROCESS_VERIFIER_VIDMM_RESTRICT_BUDGET {
pub LocalBudget: u64,
pub NonLocalBudget: u64,
}
impl ::core::marker::Copy for D3DKMT_PROCESS_VERIFIER_VIDMM_RESTRICT_BUDGET {}
impl ::core::clone::Clone for D3DKMT_PROCESS_VERIFIER_VIDMM_RESTRICT_BUDGET {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_PROCESS_VERIFIER_VIDMM_RESTRICT_BUDGET {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_PROCESS_VERIFIER_VIDMM_RESTRICT_BUDGET").field("LocalBudget", &self.LocalBudget).field("NonLocalBudget", &self.NonLocalBudget).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_PROCESS_VERIFIER_VIDMM_RESTRICT_BUDGET {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_PROCESS_VERIFIER_VIDMM_RESTRICT_BUDGET {
fn eq(&self, other: &Self) -> bool {
self.LocalBudget == other.LocalBudget && self.NonLocalBudget == other.NonLocalBudget
}
}
impl ::core::cmp::Eq for D3DKMT_PROCESS_VERIFIER_VIDMM_RESTRICT_BUDGET {}
impl ::core::default::Default for D3DKMT_PROCESS_VERIFIER_VIDMM_RESTRICT_BUDGET {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYADAPTERINFO {
pub hAdapter: u32,
pub Type: KMTQUERYADAPTERINFOTYPE,
pub pPrivateDriverData: *mut ::core::ffi::c_void,
pub PrivateDriverDataSize: u32,
}
impl ::core::marker::Copy for D3DKMT_QUERYADAPTERINFO {}
impl ::core::clone::Clone for D3DKMT_QUERYADAPTERINFO {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYADAPTERINFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYADAPTERINFO").field("hAdapter", &self.hAdapter).field("Type", &self.Type).field("pPrivateDriverData", &self.pPrivateDriverData).field("PrivateDriverDataSize", &self.PrivateDriverDataSize).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYADAPTERINFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYADAPTERINFO {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.Type == other.Type && self.pPrivateDriverData == other.pPrivateDriverData && self.PrivateDriverDataSize == other.PrivateDriverDataSize
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYADAPTERINFO {}
impl ::core::default::Default for D3DKMT_QUERYADAPTERINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYALLOCATIONRESIDENCY {
pub hDevice: u32,
pub hResource: u32,
pub phAllocationList: *const u32,
pub AllocationCount: u32,
pub pResidencyStatus: *mut D3DKMT_ALLOCATIONRESIDENCYSTATUS,
}
impl ::core::marker::Copy for D3DKMT_QUERYALLOCATIONRESIDENCY {}
impl ::core::clone::Clone for D3DKMT_QUERYALLOCATIONRESIDENCY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYALLOCATIONRESIDENCY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYALLOCATIONRESIDENCY").field("hDevice", &self.hDevice).field("hResource", &self.hResource).field("phAllocationList", &self.phAllocationList).field("AllocationCount", &self.AllocationCount).field("pResidencyStatus", &self.pResidencyStatus).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYALLOCATIONRESIDENCY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYALLOCATIONRESIDENCY {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.hResource == other.hResource && self.phAllocationList == other.phAllocationList && self.AllocationCount == other.AllocationCount && self.pResidencyStatus == other.pResidencyStatus
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYALLOCATIONRESIDENCY {}
impl ::core::default::Default for D3DKMT_QUERYALLOCATIONRESIDENCY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct D3DKMT_QUERYCLOCKCALIBRATION {
pub hAdapter: u32,
pub NodeOrdinal: u32,
pub PhysicalAdapterIndex: u32,
pub ClockData: DXGK_GPUCLOCKDATA,
}
impl ::core::marker::Copy for D3DKMT_QUERYCLOCKCALIBRATION {}
impl ::core::clone::Clone for D3DKMT_QUERYCLOCKCALIBRATION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYCLOCKCALIBRATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_QUERYCLOCKCALIBRATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_QUERYFSEBLOCK {
pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
pub hAdapter: u32,
pub VidPnSourceId: u32,
pub Flags: D3DKMT_QUERYFSEBLOCKFLAGS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_QUERYFSEBLOCK {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_QUERYFSEBLOCK {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_QUERYFSEBLOCK {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_QUERYFSEBLOCK {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_QUERYFSEBLOCKFLAGS {
pub Anonymous: D3DKMT_QUERYFSEBLOCKFLAGS_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_QUERYFSEBLOCKFLAGS {}
impl ::core::clone::Clone for D3DKMT_QUERYFSEBLOCKFLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYFSEBLOCKFLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_QUERYFSEBLOCKFLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYFSEBLOCKFLAGS_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_QUERYFSEBLOCKFLAGS_0 {}
impl ::core::clone::Clone for D3DKMT_QUERYFSEBLOCKFLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYFSEBLOCKFLAGS_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYFSEBLOCKFLAGS_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYFSEBLOCKFLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYFSEBLOCKFLAGS_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYFSEBLOCKFLAGS_0 {}
impl ::core::default::Default for D3DKMT_QUERYFSEBLOCKFLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_QUERYPROCESSOFFERINFO {
pub cbSize: u32,
pub hProcess: super::super::super::Win32::Foundation::HANDLE,
pub DecommitUniqueness: u64,
pub DecommittableBytes: u64,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_QUERYPROCESSOFFERINFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_QUERYPROCESSOFFERINFO {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_QUERYPROCESSOFFERINFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYPROCESSOFFERINFO").field("cbSize", &self.cbSize).field("hProcess", &self.hProcess).field("DecommitUniqueness", &self.DecommitUniqueness).field("DecommittableBytes", &self.DecommittableBytes).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_QUERYPROCESSOFFERINFO {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_QUERYPROCESSOFFERINFO {
fn eq(&self, other: &Self) -> bool {
self.cbSize == other.cbSize && self.hProcess == other.hProcess && self.DecommitUniqueness == other.DecommitUniqueness && self.DecommittableBytes == other.DecommittableBytes
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_QUERYPROCESSOFFERINFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_QUERYPROCESSOFFERINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_QUERYPROTECTEDSESSIONINFOFROMNTHANDLE {
pub hNtHandle: super::super::super::Win32::Foundation::HANDLE,
pub pPrivateDriverData: *const ::core::ffi::c_void,
pub PrivateDriverDataSize: u32,
pub pPrivateRuntimeData: *const ::core::ffi::c_void,
pub PrivateRuntimeDataSize: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_QUERYPROTECTEDSESSIONINFOFROMNTHANDLE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_QUERYPROTECTEDSESSIONINFOFROMNTHANDLE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_QUERYPROTECTEDSESSIONINFOFROMNTHANDLE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYPROTECTEDSESSIONINFOFROMNTHANDLE").field("hNtHandle", &self.hNtHandle).field("pPrivateDriverData", &self.pPrivateDriverData).field("PrivateDriverDataSize", &self.PrivateDriverDataSize).field("pPrivateRuntimeData", &self.pPrivateRuntimeData).field("PrivateRuntimeDataSize", &self.PrivateRuntimeDataSize).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_QUERYPROTECTEDSESSIONINFOFROMNTHANDLE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_QUERYPROTECTEDSESSIONINFOFROMNTHANDLE {
fn eq(&self, other: &Self) -> bool {
self.hNtHandle == other.hNtHandle && self.pPrivateDriverData == other.pPrivateDriverData && self.PrivateDriverDataSize == other.PrivateDriverDataSize && self.pPrivateRuntimeData == other.pPrivateRuntimeData && self.PrivateRuntimeDataSize == other.PrivateRuntimeDataSize
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_QUERYPROTECTEDSESSIONINFOFROMNTHANDLE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_QUERYPROTECTEDSESSIONINFOFROMNTHANDLE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYPROTECTEDSESSIONSTATUS {
pub hHandle: u32,
pub Status: D3DKMT_PROTECTED_SESSION_STATUS,
}
impl ::core::marker::Copy for D3DKMT_QUERYPROTECTEDSESSIONSTATUS {}
impl ::core::clone::Clone for D3DKMT_QUERYPROTECTEDSESSIONSTATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYPROTECTEDSESSIONSTATUS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYPROTECTEDSESSIONSTATUS").field("hHandle", &self.hHandle).field("Status", &self.Status).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYPROTECTEDSESSIONSTATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYPROTECTEDSESSIONSTATUS {
fn eq(&self, other: &Self) -> bool {
self.hHandle == other.hHandle && self.Status == other.Status
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYPROTECTEDSESSIONSTATUS {}
impl ::core::default::Default for D3DKMT_QUERYPROTECTEDSESSIONSTATUS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYREMOTEVIDPNSOURCEFROMGDIDISPLAYNAME {
pub DeviceName: [u16; 32],
pub VidPnSourceId: u32,
}
impl ::core::marker::Copy for D3DKMT_QUERYREMOTEVIDPNSOURCEFROMGDIDISPLAYNAME {}
impl ::core::clone::Clone for D3DKMT_QUERYREMOTEVIDPNSOURCEFROMGDIDISPLAYNAME {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYREMOTEVIDPNSOURCEFROMGDIDISPLAYNAME {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYREMOTEVIDPNSOURCEFROMGDIDISPLAYNAME").field("DeviceName", &self.DeviceName).field("VidPnSourceId", &self.VidPnSourceId).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYREMOTEVIDPNSOURCEFROMGDIDISPLAYNAME {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYREMOTEVIDPNSOURCEFROMGDIDISPLAYNAME {
fn eq(&self, other: &Self) -> bool {
self.DeviceName == other.DeviceName && self.VidPnSourceId == other.VidPnSourceId
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYREMOTEVIDPNSOURCEFROMGDIDISPLAYNAME {}
impl ::core::default::Default for D3DKMT_QUERYREMOTEVIDPNSOURCEFROMGDIDISPLAYNAME {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYRESOURCEINFO {
pub hDevice: u32,
pub hGlobalShare: u32,
pub pPrivateRuntimeData: *mut ::core::ffi::c_void,
pub PrivateRuntimeDataSize: u32,
pub TotalPrivateDriverDataSize: u32,
pub ResourcePrivateDriverDataSize: u32,
pub NumAllocations: u32,
}
impl ::core::marker::Copy for D3DKMT_QUERYRESOURCEINFO {}
impl ::core::clone::Clone for D3DKMT_QUERYRESOURCEINFO {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYRESOURCEINFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYRESOURCEINFO").field("hDevice", &self.hDevice).field("hGlobalShare", &self.hGlobalShare).field("pPrivateRuntimeData", &self.pPrivateRuntimeData).field("PrivateRuntimeDataSize", &self.PrivateRuntimeDataSize).field("TotalPrivateDriverDataSize", &self.TotalPrivateDriverDataSize).field("ResourcePrivateDriverDataSize", &self.ResourcePrivateDriverDataSize).field("NumAllocations", &self.NumAllocations).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYRESOURCEINFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYRESOURCEINFO {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.hGlobalShare == other.hGlobalShare && self.pPrivateRuntimeData == other.pPrivateRuntimeData && self.PrivateRuntimeDataSize == other.PrivateRuntimeDataSize && self.TotalPrivateDriverDataSize == other.TotalPrivateDriverDataSize && self.ResourcePrivateDriverDataSize == other.ResourcePrivateDriverDataSize && self.NumAllocations == other.NumAllocations
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYRESOURCEINFO {}
impl ::core::default::Default for D3DKMT_QUERYRESOURCEINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_QUERYRESOURCEINFOFROMNTHANDLE {
pub hDevice: u32,
pub hNtHandle: super::super::super::Win32::Foundation::HANDLE,
pub pPrivateRuntimeData: *mut ::core::ffi::c_void,
pub PrivateRuntimeDataSize: u32,
pub TotalPrivateDriverDataSize: u32,
pub ResourcePrivateDriverDataSize: u32,
pub NumAllocations: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_QUERYRESOURCEINFOFROMNTHANDLE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_QUERYRESOURCEINFOFROMNTHANDLE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_QUERYRESOURCEINFOFROMNTHANDLE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYRESOURCEINFOFROMNTHANDLE").field("hDevice", &self.hDevice).field("hNtHandle", &self.hNtHandle).field("pPrivateRuntimeData", &self.pPrivateRuntimeData).field("PrivateRuntimeDataSize", &self.PrivateRuntimeDataSize).field("TotalPrivateDriverDataSize", &self.TotalPrivateDriverDataSize).field("ResourcePrivateDriverDataSize", &self.ResourcePrivateDriverDataSize).field("NumAllocations", &self.NumAllocations).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_QUERYRESOURCEINFOFROMNTHANDLE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_QUERYRESOURCEINFOFROMNTHANDLE {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.hNtHandle == other.hNtHandle && self.pPrivateRuntimeData == other.pPrivateRuntimeData && self.PrivateRuntimeDataSize == other.PrivateRuntimeDataSize && self.TotalPrivateDriverDataSize == other.TotalPrivateDriverDataSize && self.ResourcePrivateDriverDataSize == other.ResourcePrivateDriverDataSize && self.NumAllocations == other.NumAllocations
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_QUERYRESOURCEINFOFROMNTHANDLE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_QUERYRESOURCEINFOFROMNTHANDLE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_QUERYSTATISTICS {
pub Type: D3DKMT_QUERYSTATISTICS_TYPE,
pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
pub hProcess: super::super::super::Win32::Foundation::HANDLE,
pub QueryResult: D3DKMT_QUERYSTATISTICS_RESULT,
pub Anonymous: D3DKMT_QUERYSTATISTICS_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DKMT_QUERYSTATISTICS_0 {
pub QuerySegment: D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT,
pub QueryProcessSegment: D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT,
pub QueryProcessSegmentGroup: D3DKMT_MEMORY_SEGMENT_GROUP,
pub QueryNode: D3DKMT_QUERYSTATISTICS_QUERY_NODE,
pub QueryProcessNode: D3DKMT_QUERYSTATISTICS_QUERY_NODE,
pub QueryVidPnSource: D3DKMT_QUERYSTATISTICS_QUERY_VIDPNSOURCE,
pub QueryProcessVidPnSource: D3DKMT_QUERYSTATISTICS_QUERY_VIDPNSOURCE,
pub QueryPhysAdapter: D3DKMT_QUERYSTATISTICS_QUERY_PHYSICAL_ADAPTER,
pub QueryAdapter2: D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER2,
pub QuerySegment2: D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT2,
pub QueryProcessAdapter2: D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER2,
pub QueryProcessSegment2: D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT2,
pub QueryProcessSegmentGroup2: D3DKMT_QUERYSTATISTICS_QUERY_PROCESS_SEGMENT_GROUP2,
pub QuerySegmentUsage: D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_USAGE,
pub QuerySegmentGroupUsage: D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_GROUP_USAGE,
pub QueryNode2: D3DKMT_QUERYSTATISTICS_QUERY_NODE2,
pub QueryProcessNode2: D3DKMT_QUERYSTATISTICS_QUERY_NODE2,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION {
pub NbSegments: u32,
pub NodeCount: u32,
pub VidPnSourceCount: u32,
pub VSyncEnabled: u32,
pub TdrDetectedCount: u32,
pub ZeroLengthDmaBuffers: i64,
pub RestartedPeriod: u64,
pub ReferenceDmaBuffer: D3DKMT_QUERYSTATSTICS_REFERENCE_DMA_BUFFER,
pub Renaming: D3DKMT_QUERYSTATSTICS_RENAMING,
pub Preparation: D3DKMT_QUERYSTATSTICS_PREPRATION,
pub PagingFault: D3DKMT_QUERYSTATSTICS_PAGING_FAULT,
pub PagingTransfer: D3DKMT_QUERYSTATSTICS_PAGING_TRANSFER,
pub SwizzlingRange: D3DKMT_QUERYSTATSTICS_SWIZZLING_RANGE,
pub Locks: D3DKMT_QUERYSTATSTICS_LOCKS,
pub Allocations: D3DKMT_QUERYSTATSTICS_ALLOCATIONS,
pub Terminations: D3DKMT_QUERYSTATSTICS_TERMINATIONS,
pub Flags: D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS,
pub Reserved: [u64; 7],
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS {
pub Anonymous: D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS_0,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS_0 {
pub Anonymous: D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS_0_0,
pub Value: u64,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS_0 {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS_0_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS_0_0 {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS_0_0 {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION_FLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_COMMITMENT_DATA {
pub TotalBytesEvictedFromProcess: u64,
pub BytesBySegmentPreference: [u64; 5],
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_COMMITMENT_DATA {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_COMMITMENT_DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_COMMITMENT_DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_COMMITMENT_DATA").field("TotalBytesEvictedFromProcess", &self.TotalBytesEvictedFromProcess).field("BytesBySegmentPreference", &self.BytesBySegmentPreference).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_COMMITMENT_DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_COMMITMENT_DATA {
fn eq(&self, other: &Self) -> bool {
self.TotalBytesEvictedFromProcess == other.TotalBytesEvictedFromProcess && self.BytesBySegmentPreference == other.BytesBySegmentPreference
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_COMMITMENT_DATA {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_COMMITMENT_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_COUNTER {
pub Count: u32,
pub Bytes: u64,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_COUNTER {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_COUNTER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_COUNTER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_COUNTER").field("Count", &self.Count).field("Bytes", &self.Bytes).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_COUNTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_COUNTER {
fn eq(&self, other: &Self) -> bool {
self.Count == other.Count && self.Bytes == other.Bytes
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_COUNTER {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_COUNTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_DMA_BUFFER {
pub Size: D3DKMT_QUERYSTATISTICS_COUNTER,
pub AllocationListBytes: u32,
pub PatchLocationListBytes: u32,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_DMA_BUFFER {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_DMA_BUFFER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_DMA_BUFFER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_DMA_BUFFER").field("Size", &self.Size).field("AllocationListBytes", &self.AllocationListBytes).field("PatchLocationListBytes", &self.PatchLocationListBytes).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_DMA_BUFFER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_DMA_BUFFER {
fn eq(&self, other: &Self) -> bool {
self.Size == other.Size && self.AllocationListBytes == other.AllocationListBytes && self.PatchLocationListBytes == other.PatchLocationListBytes
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_DMA_BUFFER {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_DMA_BUFFER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE_INFORMATION {
pub PacketSubmited: u32,
pub PacketCompleted: u32,
pub PacketPreempted: u32,
pub PacketFaulted: u32,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE_INFORMATION {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE_INFORMATION").field("PacketSubmited", &self.PacketSubmited).field("PacketCompleted", &self.PacketCompleted).field("PacketPreempted", &self.PacketPreempted).field("PacketFaulted", &self.PacketFaulted).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.PacketSubmited == other.PacketSubmited && self.PacketCompleted == other.PacketCompleted && self.PacketPreempted == other.PacketPreempted && self.PacketFaulted == other.PacketFaulted
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE_INFORMATION {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_MEMORY {
pub TotalBytesEvicted: u64,
pub AllocsCommitted: u32,
pub AllocsResident: u32,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_MEMORY {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_MEMORY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_MEMORY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_MEMORY").field("TotalBytesEvicted", &self.TotalBytesEvicted).field("AllocsCommitted", &self.AllocsCommitted).field("AllocsResident", &self.AllocsResident).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_MEMORY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_MEMORY {
fn eq(&self, other: &Self) -> bool {
self.TotalBytesEvicted == other.TotalBytesEvicted && self.AllocsCommitted == other.AllocsCommitted && self.AllocsResident == other.AllocsResident
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_MEMORY {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_MEMORY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_MEMORY_USAGE {
pub AllocatedBytes: u64,
pub FreeBytes: u64,
pub ZeroBytes: u64,
pub ModifiedBytes: u64,
pub StandbyBytes: u64,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_MEMORY_USAGE {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_MEMORY_USAGE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_MEMORY_USAGE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_MEMORY_USAGE").field("AllocatedBytes", &self.AllocatedBytes).field("FreeBytes", &self.FreeBytes).field("ZeroBytes", &self.ZeroBytes).field("ModifiedBytes", &self.ModifiedBytes).field("StandbyBytes", &self.StandbyBytes).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_MEMORY_USAGE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_MEMORY_USAGE {
fn eq(&self, other: &Self) -> bool {
self.AllocatedBytes == other.AllocatedBytes && self.FreeBytes == other.FreeBytes && self.ZeroBytes == other.ZeroBytes && self.ModifiedBytes == other.ModifiedBytes && self.StandbyBytes == other.StandbyBytes
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_MEMORY_USAGE {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_MEMORY_USAGE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_NODE_INFORMATION {
pub GlobalInformation: D3DKMT_QUERYSTATISTICS_PROCESS_NODE_INFORMATION,
pub SystemInformation: D3DKMT_QUERYSTATISTICS_PROCESS_NODE_INFORMATION,
pub NodePerfData: D3DKMT_NODE_PERFDATA,
pub Reserved: [u32; 3],
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_NODE_INFORMATION {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_NODE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_NODE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_NODE_INFORMATION").field("GlobalInformation", &self.GlobalInformation).field("SystemInformation", &self.SystemInformation).field("NodePerfData", &self.NodePerfData).field("Reserved", &self.Reserved).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_NODE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_NODE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.GlobalInformation == other.GlobalInformation && self.SystemInformation == other.SystemInformation && self.NodePerfData == other.NodePerfData && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_NODE_INFORMATION {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_NODE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_PACKET_INFORMATION {
pub QueuePacket: [D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE_INFORMATION; 8],
pub DmaPacket: [D3DKMT_QUERYSTATISTICS_DMA_PACKET_TYPE_INFORMATION; 4],
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_PACKET_INFORMATION {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_PACKET_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_PACKET_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_PACKET_INFORMATION").field("QueuePacket", &self.QueuePacket).field("DmaPacket", &self.DmaPacket).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_PACKET_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_PACKET_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.QueuePacket == other.QueuePacket && self.DmaPacket == other.DmaPacket
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_PACKET_INFORMATION {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_PACKET_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_PHYSICAL_ADAPTER_INFORMATION {
pub AdapterPerfData: D3DKMT_ADAPTER_PERFDATA,
pub AdapterPerfDataCaps: D3DKMT_ADAPTER_PERFDATACAPS,
pub GpuVersion: D3DKMT_GPUVERSION,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_PHYSICAL_ADAPTER_INFORMATION {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_PHYSICAL_ADAPTER_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_PHYSICAL_ADAPTER_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_PHYSICAL_ADAPTER_INFORMATION").field("AdapterPerfData", &self.AdapterPerfData).field("AdapterPerfDataCaps", &self.AdapterPerfDataCaps).field("GpuVersion", &self.GpuVersion).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_PHYSICAL_ADAPTER_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_PHYSICAL_ADAPTER_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.AdapterPerfData == other.AdapterPerfData && self.AdapterPerfDataCaps == other.AdapterPerfDataCaps && self.GpuVersion == other.GpuVersion
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_PHYSICAL_ADAPTER_INFORMATION {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_PHYSICAL_ADAPTER_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_POLICY {
pub PreferApertureForRead: [u64; 5],
pub PreferAperture: [u64; 5],
pub MemResetOnPaging: u64,
pub RemovePagesFromWorkingSetOnPaging: u64,
pub MigrationEnabled: u64,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_POLICY {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_POLICY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_POLICY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_POLICY").field("PreferApertureForRead", &self.PreferApertureForRead).field("PreferAperture", &self.PreferAperture).field("MemResetOnPaging", &self.MemResetOnPaging).field("RemovePagesFromWorkingSetOnPaging", &self.RemovePagesFromWorkingSetOnPaging).field("MigrationEnabled", &self.MigrationEnabled).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_POLICY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_POLICY {
fn eq(&self, other: &Self) -> bool {
self.PreferApertureForRead == other.PreferApertureForRead && self.PreferAperture == other.PreferAperture && self.MemResetOnPaging == other.MemResetOnPaging && self.RemovePagesFromWorkingSetOnPaging == other.RemovePagesFromWorkingSetOnPaging && self.MigrationEnabled == other.MigrationEnabled
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_POLICY {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_POLICY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_PREEMPTION_INFORMATION {
pub PreemptionCounter: [u32; 16],
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_PREEMPTION_INFORMATION {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_PREEMPTION_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_PREEMPTION_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_PREEMPTION_INFORMATION").field("PreemptionCounter", &self.PreemptionCounter).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_PREEMPTION_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_PREEMPTION_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.PreemptionCounter == other.PreemptionCounter
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_PREEMPTION_INFORMATION {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_PREEMPTION_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_PROCESS_ADAPTER_INFORMATION {
pub NbSegments: u32,
pub NodeCount: u32,
pub VidPnSourceCount: u32,
pub VirtualMemoryUsage: u32,
pub DmaBuffer: D3DKMT_QUERYSTATISTICS_DMA_BUFFER,
pub CommitmentData: D3DKMT_QUERYSTATISTICS_COMMITMENT_DATA,
pub _Policy: D3DKMT_QUERYSTATISTICS_POLICY,
pub ProcessInterferenceCounters: D3DKMT_QUERYSTATISTICS_PROCESS_INTERFERENCE_COUNTERS,
pub ClientHint: D3DKMT_CLIENTHINT,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_PROCESS_ADAPTER_INFORMATION {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_PROCESS_ADAPTER_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_PROCESS_ADAPTER_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_PROCESS_ADAPTER_INFORMATION").field("NbSegments", &self.NbSegments).field("NodeCount", &self.NodeCount).field("VidPnSourceCount", &self.VidPnSourceCount).field("VirtualMemoryUsage", &self.VirtualMemoryUsage).field("DmaBuffer", &self.DmaBuffer).field("CommitmentData", &self.CommitmentData).field("_Policy", &self._Policy).field("ProcessInterferenceCounters", &self.ProcessInterferenceCounters).field("ClientHint", &self.ClientHint).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_PROCESS_ADAPTER_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_PROCESS_ADAPTER_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.NbSegments == other.NbSegments && self.NodeCount == other.NodeCount && self.VidPnSourceCount == other.VidPnSourceCount && self.VirtualMemoryUsage == other.VirtualMemoryUsage && self.DmaBuffer == other.DmaBuffer && self.CommitmentData == other.CommitmentData && self._Policy == other._Policy && self.ProcessInterferenceCounters == other.ProcessInterferenceCounters && self.ClientHint == other.ClientHint
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_PROCESS_ADAPTER_INFORMATION {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_PROCESS_ADAPTER_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_PROCESS_INFORMATION {
pub NodeCount: u32,
pub VidPnSourceCount: u32,
pub SystemMemory: D3DKMT_QUERYSTATISTICS_SYSTEM_MEMORY,
pub Reserved: [u64; 7],
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_PROCESS_INFORMATION {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_PROCESS_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_PROCESS_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_PROCESS_INFORMATION").field("NodeCount", &self.NodeCount).field("VidPnSourceCount", &self.VidPnSourceCount).field("SystemMemory", &self.SystemMemory).field("Reserved", &self.Reserved).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_PROCESS_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_PROCESS_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.NodeCount == other.NodeCount && self.VidPnSourceCount == other.VidPnSourceCount && self.SystemMemory == other.SystemMemory && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_PROCESS_INFORMATION {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_PROCESS_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_PROCESS_INTERFERENCE_COUNTERS {
pub InterferenceCount: [u64; 9],
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_PROCESS_INTERFERENCE_COUNTERS {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_PROCESS_INTERFERENCE_COUNTERS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_PROCESS_INTERFERENCE_COUNTERS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_PROCESS_INTERFERENCE_COUNTERS").field("InterferenceCount", &self.InterferenceCount).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_PROCESS_INTERFERENCE_COUNTERS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_PROCESS_INTERFERENCE_COUNTERS {
fn eq(&self, other: &Self) -> bool {
self.InterferenceCount == other.InterferenceCount
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_PROCESS_INTERFERENCE_COUNTERS {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_PROCESS_INTERFERENCE_COUNTERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_PROCESS_NODE_INFORMATION {
pub RunningTime: i64,
pub ContextSwitch: u32,
pub PreemptionStatistics: D3DKMT_QUERYSTATISTICS_PREEMPTION_INFORMATION,
pub PacketStatistics: D3DKMT_QUERYSTATISTICS_PACKET_INFORMATION,
pub Reserved: [u64; 8],
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_PROCESS_NODE_INFORMATION {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_PROCESS_NODE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_PROCESS_NODE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_PROCESS_NODE_INFORMATION").field("RunningTime", &self.RunningTime).field("ContextSwitch", &self.ContextSwitch).field("PreemptionStatistics", &self.PreemptionStatistics).field("PacketStatistics", &self.PacketStatistics).field("Reserved", &self.Reserved).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_PROCESS_NODE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_PROCESS_NODE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.RunningTime == other.RunningTime && self.ContextSwitch == other.ContextSwitch && self.PreemptionStatistics == other.PreemptionStatistics && self.PacketStatistics == other.PacketStatistics && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_PROCESS_NODE_INFORMATION {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_PROCESS_NODE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_GROUP_INFORMATION {
pub Budget: u64,
pub Requested: u64,
pub Usage: u64,
pub Demoted: [u64; 5],
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_GROUP_INFORMATION {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_GROUP_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_GROUP_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_GROUP_INFORMATION").field("Budget", &self.Budget).field("Requested", &self.Requested).field("Usage", &self.Usage).field("Demoted", &self.Demoted).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_GROUP_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_GROUP_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Budget == other.Budget && self.Requested == other.Requested && self.Usage == other.Usage && self.Demoted == other.Demoted
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_GROUP_INFORMATION {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_GROUP_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_INFORMATION {
pub BytesCommitted: u64,
pub MaximumWorkingSet: u64,
pub MinimumWorkingSet: u64,
pub NbReferencedAllocationEvictedInPeriod: u32,
pub Padding: u32,
pub VideoMemory: D3DKMT_QUERYSTATISTICS_VIDEO_MEMORY,
pub _Policy: D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_POLICY,
pub Reserved: [u64; 8],
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_INFORMATION {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_INFORMATION").field("BytesCommitted", &self.BytesCommitted).field("MaximumWorkingSet", &self.MaximumWorkingSet).field("MinimumWorkingSet", &self.MinimumWorkingSet).field("NbReferencedAllocationEvictedInPeriod", &self.NbReferencedAllocationEvictedInPeriod).field("Padding", &self.Padding).field("VideoMemory", &self.VideoMemory).field("_Policy", &self._Policy).field("Reserved", &self.Reserved).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.BytesCommitted == other.BytesCommitted && self.MaximumWorkingSet == other.MaximumWorkingSet && self.MinimumWorkingSet == other.MinimumWorkingSet && self.NbReferencedAllocationEvictedInPeriod == other.NbReferencedAllocationEvictedInPeriod && self.Padding == other.Padding && self.VideoMemory == other.VideoMemory && self._Policy == other._Policy && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_INFORMATION {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_POLICY {
pub UseMRU: u64,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_POLICY {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_POLICY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_POLICY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_POLICY").field("UseMRU", &self.UseMRU).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_POLICY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_POLICY {
fn eq(&self, other: &Self) -> bool {
self.UseMRU == other.UseMRU
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_POLICY {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_POLICY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_PROCESS_VIDPNSOURCE_INFORMATION {
pub Frame: u32,
pub CancelledFrame: u32,
pub QueuedPresent: u32,
pub Padding: u32,
pub IsVSyncEnabled: u64,
pub VSyncOnTotalTimeMs: u64,
pub VSyncOffKeepPhaseTotalTimeMs: u64,
pub VSyncOffNoPhaseTotalTimeMs: u64,
pub Reserved: [u64; 4],
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_PROCESS_VIDPNSOURCE_INFORMATION {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_PROCESS_VIDPNSOURCE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_PROCESS_VIDPNSOURCE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_PROCESS_VIDPNSOURCE_INFORMATION")
.field("Frame", &self.Frame)
.field("CancelledFrame", &self.CancelledFrame)
.field("QueuedPresent", &self.QueuedPresent)
.field("Padding", &self.Padding)
.field("IsVSyncEnabled", &self.IsVSyncEnabled)
.field("VSyncOnTotalTimeMs", &self.VSyncOnTotalTimeMs)
.field("VSyncOffKeepPhaseTotalTimeMs", &self.VSyncOffKeepPhaseTotalTimeMs)
.field("VSyncOffNoPhaseTotalTimeMs", &self.VSyncOffNoPhaseTotalTimeMs)
.field("Reserved", &self.Reserved)
.finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_PROCESS_VIDPNSOURCE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_PROCESS_VIDPNSOURCE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Frame == other.Frame && self.CancelledFrame == other.CancelledFrame && self.QueuedPresent == other.QueuedPresent && self.Padding == other.Padding && self.IsVSyncEnabled == other.IsVSyncEnabled && self.VSyncOnTotalTimeMs == other.VSyncOnTotalTimeMs && self.VSyncOffKeepPhaseTotalTimeMs == other.VSyncOffKeepPhaseTotalTimeMs && self.VSyncOffNoPhaseTotalTimeMs == other.VSyncOffNoPhaseTotalTimeMs && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_PROCESS_VIDPNSOURCE_INFORMATION {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_PROCESS_VIDPNSOURCE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER2 {
pub PhysicalAdapterIndex: u16,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER2 {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER2").field("PhysicalAdapterIndex", &self.PhysicalAdapterIndex).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER2 {
fn eq(&self, other: &Self) -> bool {
self.PhysicalAdapterIndex == other.PhysicalAdapterIndex
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER2 {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER_INFORMATION2 {
pub PhysicalAdapterIndex: u16,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER_INFORMATION2 {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER_INFORMATION2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER_INFORMATION2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER_INFORMATION2").field("PhysicalAdapterIndex", &self.PhysicalAdapterIndex).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER_INFORMATION2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER_INFORMATION2 {
fn eq(&self, other: &Self) -> bool {
self.PhysicalAdapterIndex == other.PhysicalAdapterIndex
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER_INFORMATION2 {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_QUERY_ADAPTER_INFORMATION2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_QUERY_NODE {
pub NodeId: u32,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_QUERY_NODE {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_QUERY_NODE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_QUERY_NODE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_QUERY_NODE").field("NodeId", &self.NodeId).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_QUERY_NODE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_QUERY_NODE {
fn eq(&self, other: &Self) -> bool {
self.NodeId == other.NodeId
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_QUERY_NODE {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_QUERY_NODE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_QUERY_NODE2 {
pub PhysicalAdapterIndex: u16,
pub NodeOrdinal: u16,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_QUERY_NODE2 {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_QUERY_NODE2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_QUERY_NODE2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_QUERY_NODE2").field("PhysicalAdapterIndex", &self.PhysicalAdapterIndex).field("NodeOrdinal", &self.NodeOrdinal).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_QUERY_NODE2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_QUERY_NODE2 {
fn eq(&self, other: &Self) -> bool {
self.PhysicalAdapterIndex == other.PhysicalAdapterIndex && self.NodeOrdinal == other.NodeOrdinal
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_QUERY_NODE2 {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_QUERY_NODE2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_QUERY_PHYSICAL_ADAPTER {
pub PhysicalAdapterIndex: u32,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_QUERY_PHYSICAL_ADAPTER {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_QUERY_PHYSICAL_ADAPTER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_QUERY_PHYSICAL_ADAPTER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_QUERY_PHYSICAL_ADAPTER").field("PhysicalAdapterIndex", &self.PhysicalAdapterIndex).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_QUERY_PHYSICAL_ADAPTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_QUERY_PHYSICAL_ADAPTER {
fn eq(&self, other: &Self) -> bool {
self.PhysicalAdapterIndex == other.PhysicalAdapterIndex
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_QUERY_PHYSICAL_ADAPTER {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_QUERY_PHYSICAL_ADAPTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_QUERY_PROCESS_SEGMENT_GROUP2 {
pub PhysicalAdapterIndex: u16,
pub SegmentGroup: u16,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_QUERY_PROCESS_SEGMENT_GROUP2 {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_QUERY_PROCESS_SEGMENT_GROUP2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_QUERY_PROCESS_SEGMENT_GROUP2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_QUERY_PROCESS_SEGMENT_GROUP2").field("PhysicalAdapterIndex", &self.PhysicalAdapterIndex).field("SegmentGroup", &self.SegmentGroup).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_QUERY_PROCESS_SEGMENT_GROUP2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_QUERY_PROCESS_SEGMENT_GROUP2 {
fn eq(&self, other: &Self) -> bool {
self.PhysicalAdapterIndex == other.PhysicalAdapterIndex && self.SegmentGroup == other.SegmentGroup
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_QUERY_PROCESS_SEGMENT_GROUP2 {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_QUERY_PROCESS_SEGMENT_GROUP2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT {
pub SegmentId: u32,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT").field("SegmentId", &self.SegmentId).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT {
fn eq(&self, other: &Self) -> bool {
self.SegmentId == other.SegmentId
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT2 {
pub PhysicalAdapterIndex: u16,
pub SegmentId: u16,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT2 {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT2").field("PhysicalAdapterIndex", &self.PhysicalAdapterIndex).field("SegmentId", &self.SegmentId).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT2 {
fn eq(&self, other: &Self) -> bool {
self.PhysicalAdapterIndex == other.PhysicalAdapterIndex && self.SegmentId == other.SegmentId
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT2 {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_GROUP_USAGE {
pub PhysicalAdapterIndex: u16,
pub SegmentGroup: u16,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_GROUP_USAGE {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_GROUP_USAGE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_GROUP_USAGE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_GROUP_USAGE").field("PhysicalAdapterIndex", &self.PhysicalAdapterIndex).field("SegmentGroup", &self.SegmentGroup).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_GROUP_USAGE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_GROUP_USAGE {
fn eq(&self, other: &Self) -> bool {
self.PhysicalAdapterIndex == other.PhysicalAdapterIndex && self.SegmentGroup == other.SegmentGroup
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_GROUP_USAGE {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_GROUP_USAGE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_USAGE {
pub PhysicalAdapterIndex: u16,
pub SegmentId: u16,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_USAGE {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_USAGE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_USAGE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_USAGE").field("PhysicalAdapterIndex", &self.PhysicalAdapterIndex).field("SegmentId", &self.SegmentId).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_USAGE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_USAGE {
fn eq(&self, other: &Self) -> bool {
self.PhysicalAdapterIndex == other.PhysicalAdapterIndex && self.SegmentId == other.SegmentId
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_USAGE {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_QUERY_SEGMENT_USAGE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_QUERY_VIDPNSOURCE {
pub VidPnSourceId: u32,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_QUERY_VIDPNSOURCE {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_QUERY_VIDPNSOURCE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_QUERY_VIDPNSOURCE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_QUERY_VIDPNSOURCE").field("VidPnSourceId", &self.VidPnSourceId).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_QUERY_VIDPNSOURCE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_QUERY_VIDPNSOURCE {
fn eq(&self, other: &Self) -> bool {
self.VidPnSourceId == other.VidPnSourceId
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_QUERY_VIDPNSOURCE {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_QUERY_VIDPNSOURCE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE_INFORMATION {
pub PacketSubmited: u32,
pub PacketCompleted: u32,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE_INFORMATION {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE_INFORMATION").field("PacketSubmited", &self.PacketSubmited).field("PacketCompleted", &self.PacketCompleted).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.PacketSubmited == other.PacketSubmited && self.PacketCompleted == other.PacketCompleted
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE_INFORMATION {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_QUEUE_PACKET_TYPE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_QUERYSTATISTICS_RESULT {
pub AdapterInformation: D3DKMT_QUERYSTATISTICS_ADAPTER_INFORMATION,
pub PhysAdapterInformation: D3DKMT_QUERYSTATISTICS_PHYSICAL_ADAPTER_INFORMATION,
pub SegmentInformation: D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION,
pub NodeInformation: D3DKMT_QUERYSTATISTICS_NODE_INFORMATION,
pub VidPnSourceInformation: D3DKMT_QUERYSTATISTICS_VIDPNSOURCE_INFORMATION,
pub ProcessInformation: D3DKMT_QUERYSTATISTICS_PROCESS_INFORMATION,
pub ProcessAdapterInformation: D3DKMT_QUERYSTATISTICS_PROCESS_ADAPTER_INFORMATION,
pub ProcessSegmentInformation: D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_INFORMATION,
pub ProcessNodeInformation: D3DKMT_QUERYSTATISTICS_PROCESS_NODE_INFORMATION,
pub ProcessVidPnSourceInformation: D3DKMT_QUERYSTATISTICS_PROCESS_VIDPNSOURCE_INFORMATION,
pub ProcessSegmentGroupInformation: D3DKMT_QUERYSTATISTICS_PROCESS_SEGMENT_GROUP_INFORMATION,
pub SegmentUsageInformation: D3DKMT_QUERYSTATISTICS_MEMORY_USAGE,
pub SegmentGroupUsageInformation: D3DKMT_QUERYSTATISTICS_MEMORY_USAGE,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_RESULT {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_RESULT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_RESULT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_RESULT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION {
pub CommitLimit: u64,
pub BytesCommitted: u64,
pub BytesResident: u64,
pub Memory: D3DKMT_QUERYSTATISTICS_MEMORY,
pub Aperture: u32,
pub TotalBytesEvictedByPriority: [u64; 5],
pub SystemMemoryEndAddress: u64,
pub PowerFlags: D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_0,
pub SegmentProperties: D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_1,
pub Reserved: [u64; 5],
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION")
.field("CommitLimit", &self.CommitLimit)
.field("BytesCommitted", &self.BytesCommitted)
.field("BytesResident", &self.BytesResident)
.field("Memory", &self.Memory)
.field("Aperture", &self.Aperture)
.field("TotalBytesEvictedByPriority", &self.TotalBytesEvictedByPriority)
.field("SystemMemoryEndAddress", &self.SystemMemoryEndAddress)
.field("PowerFlags", &self.PowerFlags)
.field("SegmentProperties", &self.SegmentProperties)
.field("Reserved", &self.Reserved)
.finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.CommitLimit == other.CommitLimit && self.BytesCommitted == other.BytesCommitted && self.BytesResident == other.BytesResident && self.Memory == other.Memory && self.Aperture == other.Aperture && self.TotalBytesEvictedByPriority == other.TotalBytesEvictedByPriority && self.SystemMemoryEndAddress == other.SystemMemoryEndAddress && self.PowerFlags == other.PowerFlags && self.SegmentProperties == other.SegmentProperties && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_0 {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_0 {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_1 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_1 {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_1 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_1").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_1 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_1 {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_SEGMENT_INFORMATION_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_SYSTEM_MEMORY {
pub BytesAllocated: u64,
pub BytesReserved: u64,
pub SmallAllocationBlocks: u32,
pub LargeAllocationBlocks: u32,
pub WriteCombinedBytesAllocated: u64,
pub WriteCombinedBytesReserved: u64,
pub CachedBytesAllocated: u64,
pub CachedBytesReserved: u64,
pub SectionBytesAllocated: u64,
pub SectionBytesReserved: u64,
pub BytesZeroed: u64,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_SYSTEM_MEMORY {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_SYSTEM_MEMORY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_SYSTEM_MEMORY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_SYSTEM_MEMORY")
.field("BytesAllocated", &self.BytesAllocated)
.field("BytesReserved", &self.BytesReserved)
.field("SmallAllocationBlocks", &self.SmallAllocationBlocks)
.field("LargeAllocationBlocks", &self.LargeAllocationBlocks)
.field("WriteCombinedBytesAllocated", &self.WriteCombinedBytesAllocated)
.field("WriteCombinedBytesReserved", &self.WriteCombinedBytesReserved)
.field("CachedBytesAllocated", &self.CachedBytesAllocated)
.field("CachedBytesReserved", &self.CachedBytesReserved)
.field("SectionBytesAllocated", &self.SectionBytesAllocated)
.field("SectionBytesReserved", &self.SectionBytesReserved)
.field("BytesZeroed", &self.BytesZeroed)
.finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_SYSTEM_MEMORY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_SYSTEM_MEMORY {
fn eq(&self, other: &Self) -> bool {
self.BytesAllocated == other.BytesAllocated && self.BytesReserved == other.BytesReserved && self.SmallAllocationBlocks == other.SmallAllocationBlocks && self.LargeAllocationBlocks == other.LargeAllocationBlocks && self.WriteCombinedBytesAllocated == other.WriteCombinedBytesAllocated && self.WriteCombinedBytesReserved == other.WriteCombinedBytesReserved && self.CachedBytesAllocated == other.CachedBytesAllocated && self.CachedBytesReserved == other.CachedBytesReserved && self.SectionBytesAllocated == other.SectionBytesAllocated && self.SectionBytesReserved == other.SectionBytesReserved && self.BytesZeroed == other.BytesZeroed
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_SYSTEM_MEMORY {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_SYSTEM_MEMORY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_VIDEO_MEMORY {
pub AllocsCommitted: u32,
pub AllocsResidentInP: [D3DKMT_QUERYSTATISTICS_COUNTER; 5],
pub AllocsResidentInNonPreferred: D3DKMT_QUERYSTATISTICS_COUNTER,
pub TotalBytesEvictedDueToPreparation: u64,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_VIDEO_MEMORY {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_VIDEO_MEMORY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_VIDEO_MEMORY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_VIDEO_MEMORY").field("AllocsCommitted", &self.AllocsCommitted).field("AllocsResidentInP", &self.AllocsResidentInP).field("AllocsResidentInNonPreferred", &self.AllocsResidentInNonPreferred).field("TotalBytesEvictedDueToPreparation", &self.TotalBytesEvictedDueToPreparation).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_VIDEO_MEMORY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_VIDEO_MEMORY {
fn eq(&self, other: &Self) -> bool {
self.AllocsCommitted == other.AllocsCommitted && self.AllocsResidentInP == other.AllocsResidentInP && self.AllocsResidentInNonPreferred == other.AllocsResidentInNonPreferred && self.TotalBytesEvictedDueToPreparation == other.TotalBytesEvictedDueToPreparation
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_VIDEO_MEMORY {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_VIDEO_MEMORY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATISTICS_VIDPNSOURCE_INFORMATION {
pub GlobalInformation: D3DKMT_QUERYSTATISTICS_PROCESS_VIDPNSOURCE_INFORMATION,
pub SystemInformation: D3DKMT_QUERYSTATISTICS_PROCESS_VIDPNSOURCE_INFORMATION,
pub Reserved: [u64; 8],
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATISTICS_VIDPNSOURCE_INFORMATION {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATISTICS_VIDPNSOURCE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATISTICS_VIDPNSOURCE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATISTICS_VIDPNSOURCE_INFORMATION").field("GlobalInformation", &self.GlobalInformation).field("SystemInformation", &self.SystemInformation).field("Reserved", &self.Reserved).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATISTICS_VIDPNSOURCE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATISTICS_VIDPNSOURCE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.GlobalInformation == other.GlobalInformation && self.SystemInformation == other.SystemInformation && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATISTICS_VIDPNSOURCE_INFORMATION {}
impl ::core::default::Default for D3DKMT_QUERYSTATISTICS_VIDPNSOURCE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATSTICS_ALLOCATIONS {
pub Created: D3DKMT_QUERYSTATISTICS_COUNTER,
pub Destroyed: D3DKMT_QUERYSTATISTICS_COUNTER,
pub Opened: D3DKMT_QUERYSTATISTICS_COUNTER,
pub Closed: D3DKMT_QUERYSTATISTICS_COUNTER,
pub MigratedSuccess: D3DKMT_QUERYSTATISTICS_COUNTER,
pub MigratedFail: D3DKMT_QUERYSTATISTICS_COUNTER,
pub MigratedAbandoned: D3DKMT_QUERYSTATISTICS_COUNTER,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATSTICS_ALLOCATIONS {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATSTICS_ALLOCATIONS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATSTICS_ALLOCATIONS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATSTICS_ALLOCATIONS").field("Created", &self.Created).field("Destroyed", &self.Destroyed).field("Opened", &self.Opened).field("Closed", &self.Closed).field("MigratedSuccess", &self.MigratedSuccess).field("MigratedFail", &self.MigratedFail).field("MigratedAbandoned", &self.MigratedAbandoned).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATSTICS_ALLOCATIONS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATSTICS_ALLOCATIONS {
fn eq(&self, other: &Self) -> bool {
self.Created == other.Created && self.Destroyed == other.Destroyed && self.Opened == other.Opened && self.Closed == other.Closed && self.MigratedSuccess == other.MigratedSuccess && self.MigratedFail == other.MigratedFail && self.MigratedAbandoned == other.MigratedAbandoned
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATSTICS_ALLOCATIONS {}
impl ::core::default::Default for D3DKMT_QUERYSTATSTICS_ALLOCATIONS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATSTICS_LOCKS {
pub NbLocks: u32,
pub NbLocksWaitFlag: u32,
pub NbLocksDiscardFlag: u32,
pub NbLocksNoOverwrite: u32,
pub NbLocksNoReadSync: u32,
pub NbLocksLinearization: u32,
pub NbComplexLocks: u32,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATSTICS_LOCKS {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATSTICS_LOCKS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATSTICS_LOCKS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATSTICS_LOCKS").field("NbLocks", &self.NbLocks).field("NbLocksWaitFlag", &self.NbLocksWaitFlag).field("NbLocksDiscardFlag", &self.NbLocksDiscardFlag).field("NbLocksNoOverwrite", &self.NbLocksNoOverwrite).field("NbLocksNoReadSync", &self.NbLocksNoReadSync).field("NbLocksLinearization", &self.NbLocksLinearization).field("NbComplexLocks", &self.NbComplexLocks).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATSTICS_LOCKS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATSTICS_LOCKS {
fn eq(&self, other: &Self) -> bool {
self.NbLocks == other.NbLocks && self.NbLocksWaitFlag == other.NbLocksWaitFlag && self.NbLocksDiscardFlag == other.NbLocksDiscardFlag && self.NbLocksNoOverwrite == other.NbLocksNoOverwrite && self.NbLocksNoReadSync == other.NbLocksNoReadSync && self.NbLocksLinearization == other.NbLocksLinearization && self.NbComplexLocks == other.NbComplexLocks
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATSTICS_LOCKS {}
impl ::core::default::Default for D3DKMT_QUERYSTATSTICS_LOCKS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATSTICS_PAGING_FAULT {
pub Faults: D3DKMT_QUERYSTATISTICS_COUNTER,
pub FaultsFirstTimeAccess: D3DKMT_QUERYSTATISTICS_COUNTER,
pub FaultsReclaimed: D3DKMT_QUERYSTATISTICS_COUNTER,
pub FaultsMigration: D3DKMT_QUERYSTATISTICS_COUNTER,
pub FaultsIncorrectResource: D3DKMT_QUERYSTATISTICS_COUNTER,
pub FaultsLostContent: D3DKMT_QUERYSTATISTICS_COUNTER,
pub FaultsEvicted: D3DKMT_QUERYSTATISTICS_COUNTER,
pub AllocationsMEM_RESET: D3DKMT_QUERYSTATISTICS_COUNTER,
pub AllocationsUnresetSuccess: D3DKMT_QUERYSTATISTICS_COUNTER,
pub AllocationsUnresetFail: D3DKMT_QUERYSTATISTICS_COUNTER,
pub AllocationsUnresetSuccessRead: u32,
pub AllocationsUnresetFailRead: u32,
pub Evictions: D3DKMT_QUERYSTATISTICS_COUNTER,
pub EvictionsDueToPreparation: D3DKMT_QUERYSTATISTICS_COUNTER,
pub EvictionsDueToLock: D3DKMT_QUERYSTATISTICS_COUNTER,
pub EvictionsDueToClose: D3DKMT_QUERYSTATISTICS_COUNTER,
pub EvictionsDueToPurge: D3DKMT_QUERYSTATISTICS_COUNTER,
pub EvictionsDueToSuspendCPUAccess: D3DKMT_QUERYSTATISTICS_COUNTER,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATSTICS_PAGING_FAULT {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATSTICS_PAGING_FAULT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATSTICS_PAGING_FAULT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATSTICS_PAGING_FAULT")
.field("Faults", &self.Faults)
.field("FaultsFirstTimeAccess", &self.FaultsFirstTimeAccess)
.field("FaultsReclaimed", &self.FaultsReclaimed)
.field("FaultsMigration", &self.FaultsMigration)
.field("FaultsIncorrectResource", &self.FaultsIncorrectResource)
.field("FaultsLostContent", &self.FaultsLostContent)
.field("FaultsEvicted", &self.FaultsEvicted)
.field("AllocationsMEM_RESET", &self.AllocationsMEM_RESET)
.field("AllocationsUnresetSuccess", &self.AllocationsUnresetSuccess)
.field("AllocationsUnresetFail", &self.AllocationsUnresetFail)
.field("AllocationsUnresetSuccessRead", &self.AllocationsUnresetSuccessRead)
.field("AllocationsUnresetFailRead", &self.AllocationsUnresetFailRead)
.field("Evictions", &self.Evictions)
.field("EvictionsDueToPreparation", &self.EvictionsDueToPreparation)
.field("EvictionsDueToLock", &self.EvictionsDueToLock)
.field("EvictionsDueToClose", &self.EvictionsDueToClose)
.field("EvictionsDueToPurge", &self.EvictionsDueToPurge)
.field("EvictionsDueToSuspendCPUAccess", &self.EvictionsDueToSuspendCPUAccess)
.finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATSTICS_PAGING_FAULT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATSTICS_PAGING_FAULT {
fn eq(&self, other: &Self) -> bool {
self.Faults == other.Faults
&& self.FaultsFirstTimeAccess == other.FaultsFirstTimeAccess
&& self.FaultsReclaimed == other.FaultsReclaimed
&& self.FaultsMigration == other.FaultsMigration
&& self.FaultsIncorrectResource == other.FaultsIncorrectResource
&& self.FaultsLostContent == other.FaultsLostContent
&& self.FaultsEvicted == other.FaultsEvicted
&& self.AllocationsMEM_RESET == other.AllocationsMEM_RESET
&& self.AllocationsUnresetSuccess == other.AllocationsUnresetSuccess
&& self.AllocationsUnresetFail == other.AllocationsUnresetFail
&& self.AllocationsUnresetSuccessRead == other.AllocationsUnresetSuccessRead
&& self.AllocationsUnresetFailRead == other.AllocationsUnresetFailRead
&& self.Evictions == other.Evictions
&& self.EvictionsDueToPreparation == other.EvictionsDueToPreparation
&& self.EvictionsDueToLock == other.EvictionsDueToLock
&& self.EvictionsDueToClose == other.EvictionsDueToClose
&& self.EvictionsDueToPurge == other.EvictionsDueToPurge
&& self.EvictionsDueToSuspendCPUAccess == other.EvictionsDueToSuspendCPUAccess
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATSTICS_PAGING_FAULT {}
impl ::core::default::Default for D3DKMT_QUERYSTATSTICS_PAGING_FAULT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATSTICS_PAGING_TRANSFER {
pub BytesFilled: u64,
pub BytesDiscarded: u64,
pub BytesMappedIntoAperture: u64,
pub BytesUnmappedFromAperture: u64,
pub BytesTransferredFromMdlToMemory: u64,
pub BytesTransferredFromMemoryToMdl: u64,
pub BytesTransferredFromApertureToMemory: u64,
pub BytesTransferredFromMemoryToAperture: u64,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATSTICS_PAGING_TRANSFER {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATSTICS_PAGING_TRANSFER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATSTICS_PAGING_TRANSFER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATSTICS_PAGING_TRANSFER")
.field("BytesFilled", &self.BytesFilled)
.field("BytesDiscarded", &self.BytesDiscarded)
.field("BytesMappedIntoAperture", &self.BytesMappedIntoAperture)
.field("BytesUnmappedFromAperture", &self.BytesUnmappedFromAperture)
.field("BytesTransferredFromMdlToMemory", &self.BytesTransferredFromMdlToMemory)
.field("BytesTransferredFromMemoryToMdl", &self.BytesTransferredFromMemoryToMdl)
.field("BytesTransferredFromApertureToMemory", &self.BytesTransferredFromApertureToMemory)
.field("BytesTransferredFromMemoryToAperture", &self.BytesTransferredFromMemoryToAperture)
.finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATSTICS_PAGING_TRANSFER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATSTICS_PAGING_TRANSFER {
fn eq(&self, other: &Self) -> bool {
self.BytesFilled == other.BytesFilled && self.BytesDiscarded == other.BytesDiscarded && self.BytesMappedIntoAperture == other.BytesMappedIntoAperture && self.BytesUnmappedFromAperture == other.BytesUnmappedFromAperture && self.BytesTransferredFromMdlToMemory == other.BytesTransferredFromMdlToMemory && self.BytesTransferredFromMemoryToMdl == other.BytesTransferredFromMemoryToMdl && self.BytesTransferredFromApertureToMemory == other.BytesTransferredFromApertureToMemory && self.BytesTransferredFromMemoryToAperture == other.BytesTransferredFromMemoryToAperture
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATSTICS_PAGING_TRANSFER {}
impl ::core::default::Default for D3DKMT_QUERYSTATSTICS_PAGING_TRANSFER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATSTICS_PREPRATION {
pub BroadcastStall: u32,
pub NbDMAPrepared: u32,
pub NbDMAPreparedLongPath: u32,
pub ImmediateHighestPreparationPass: u32,
pub AllocationsTrimmed: D3DKMT_QUERYSTATISTICS_COUNTER,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATSTICS_PREPRATION {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATSTICS_PREPRATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATSTICS_PREPRATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATSTICS_PREPRATION").field("BroadcastStall", &self.BroadcastStall).field("NbDMAPrepared", &self.NbDMAPrepared).field("NbDMAPreparedLongPath", &self.NbDMAPreparedLongPath).field("ImmediateHighestPreparationPass", &self.ImmediateHighestPreparationPass).field("AllocationsTrimmed", &self.AllocationsTrimmed).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATSTICS_PREPRATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATSTICS_PREPRATION {
fn eq(&self, other: &Self) -> bool {
self.BroadcastStall == other.BroadcastStall && self.NbDMAPrepared == other.NbDMAPrepared && self.NbDMAPreparedLongPath == other.NbDMAPreparedLongPath && self.ImmediateHighestPreparationPass == other.ImmediateHighestPreparationPass && self.AllocationsTrimmed == other.AllocationsTrimmed
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATSTICS_PREPRATION {}
impl ::core::default::Default for D3DKMT_QUERYSTATSTICS_PREPRATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATSTICS_REFERENCE_DMA_BUFFER {
pub NbCall: u32,
pub NbAllocationsReferenced: u32,
pub MaxNbAllocationsReferenced: u32,
pub NbNULLReference: u32,
pub NbWriteReference: u32,
pub NbRenamedAllocationsReferenced: u32,
pub NbIterationSearchingRenamedAllocation: u32,
pub NbLockedAllocationReferenced: u32,
pub NbAllocationWithValidPrepatchingInfoReferenced: u32,
pub NbAllocationWithInvalidPrepatchingInfoReferenced: u32,
pub NbDMABufferSuccessfullyPrePatched: u32,
pub NbPrimariesReferencesOverflow: u32,
pub NbAllocationWithNonPreferredResources: u32,
pub NbAllocationInsertedInMigrationTable: u32,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATSTICS_REFERENCE_DMA_BUFFER {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATSTICS_REFERENCE_DMA_BUFFER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATSTICS_REFERENCE_DMA_BUFFER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATSTICS_REFERENCE_DMA_BUFFER")
.field("NbCall", &self.NbCall)
.field("NbAllocationsReferenced", &self.NbAllocationsReferenced)
.field("MaxNbAllocationsReferenced", &self.MaxNbAllocationsReferenced)
.field("NbNULLReference", &self.NbNULLReference)
.field("NbWriteReference", &self.NbWriteReference)
.field("NbRenamedAllocationsReferenced", &self.NbRenamedAllocationsReferenced)
.field("NbIterationSearchingRenamedAllocation", &self.NbIterationSearchingRenamedAllocation)
.field("NbLockedAllocationReferenced", &self.NbLockedAllocationReferenced)
.field("NbAllocationWithValidPrepatchingInfoReferenced", &self.NbAllocationWithValidPrepatchingInfoReferenced)
.field("NbAllocationWithInvalidPrepatchingInfoReferenced", &self.NbAllocationWithInvalidPrepatchingInfoReferenced)
.field("NbDMABufferSuccessfullyPrePatched", &self.NbDMABufferSuccessfullyPrePatched)
.field("NbPrimariesReferencesOverflow", &self.NbPrimariesReferencesOverflow)
.field("NbAllocationWithNonPreferredResources", &self.NbAllocationWithNonPreferredResources)
.field("NbAllocationInsertedInMigrationTable", &self.NbAllocationInsertedInMigrationTable)
.finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATSTICS_REFERENCE_DMA_BUFFER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATSTICS_REFERENCE_DMA_BUFFER {
fn eq(&self, other: &Self) -> bool {
self.NbCall == other.NbCall
&& self.NbAllocationsReferenced == other.NbAllocationsReferenced
&& self.MaxNbAllocationsReferenced == other.MaxNbAllocationsReferenced
&& self.NbNULLReference == other.NbNULLReference
&& self.NbWriteReference == other.NbWriteReference
&& self.NbRenamedAllocationsReferenced == other.NbRenamedAllocationsReferenced
&& self.NbIterationSearchingRenamedAllocation == other.NbIterationSearchingRenamedAllocation
&& self.NbLockedAllocationReferenced == other.NbLockedAllocationReferenced
&& self.NbAllocationWithValidPrepatchingInfoReferenced == other.NbAllocationWithValidPrepatchingInfoReferenced
&& self.NbAllocationWithInvalidPrepatchingInfoReferenced == other.NbAllocationWithInvalidPrepatchingInfoReferenced
&& self.NbDMABufferSuccessfullyPrePatched == other.NbDMABufferSuccessfullyPrePatched
&& self.NbPrimariesReferencesOverflow == other.NbPrimariesReferencesOverflow
&& self.NbAllocationWithNonPreferredResources == other.NbAllocationWithNonPreferredResources
&& self.NbAllocationInsertedInMigrationTable == other.NbAllocationInsertedInMigrationTable
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATSTICS_REFERENCE_DMA_BUFFER {}
impl ::core::default::Default for D3DKMT_QUERYSTATSTICS_REFERENCE_DMA_BUFFER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATSTICS_RENAMING {
pub NbAllocationsRenamed: u32,
pub NbAllocationsShrinked: u32,
pub NbRenamedBuffer: u32,
pub MaxRenamingListLength: u32,
pub NbFailuresDueToRenamingLimit: u32,
pub NbFailuresDueToCreateAllocation: u32,
pub NbFailuresDueToOpenAllocation: u32,
pub NbFailuresDueToLowResource: u32,
pub NbFailuresDueToNonRetiredLimit: u32,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATSTICS_RENAMING {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATSTICS_RENAMING {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATSTICS_RENAMING {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATSTICS_RENAMING")
.field("NbAllocationsRenamed", &self.NbAllocationsRenamed)
.field("NbAllocationsShrinked", &self.NbAllocationsShrinked)
.field("NbRenamedBuffer", &self.NbRenamedBuffer)
.field("MaxRenamingListLength", &self.MaxRenamingListLength)
.field("NbFailuresDueToRenamingLimit", &self.NbFailuresDueToRenamingLimit)
.field("NbFailuresDueToCreateAllocation", &self.NbFailuresDueToCreateAllocation)
.field("NbFailuresDueToOpenAllocation", &self.NbFailuresDueToOpenAllocation)
.field("NbFailuresDueToLowResource", &self.NbFailuresDueToLowResource)
.field("NbFailuresDueToNonRetiredLimit", &self.NbFailuresDueToNonRetiredLimit)
.finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATSTICS_RENAMING {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATSTICS_RENAMING {
fn eq(&self, other: &Self) -> bool {
self.NbAllocationsRenamed == other.NbAllocationsRenamed && self.NbAllocationsShrinked == other.NbAllocationsShrinked && self.NbRenamedBuffer == other.NbRenamedBuffer && self.MaxRenamingListLength == other.MaxRenamingListLength && self.NbFailuresDueToRenamingLimit == other.NbFailuresDueToRenamingLimit && self.NbFailuresDueToCreateAllocation == other.NbFailuresDueToCreateAllocation && self.NbFailuresDueToOpenAllocation == other.NbFailuresDueToOpenAllocation && self.NbFailuresDueToLowResource == other.NbFailuresDueToLowResource && self.NbFailuresDueToNonRetiredLimit == other.NbFailuresDueToNonRetiredLimit
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATSTICS_RENAMING {}
impl ::core::default::Default for D3DKMT_QUERYSTATSTICS_RENAMING {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATSTICS_SWIZZLING_RANGE {
pub NbRangesAcquired: u32,
pub NbRangesReleased: u32,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATSTICS_SWIZZLING_RANGE {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATSTICS_SWIZZLING_RANGE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATSTICS_SWIZZLING_RANGE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATSTICS_SWIZZLING_RANGE").field("NbRangesAcquired", &self.NbRangesAcquired).field("NbRangesReleased", &self.NbRangesReleased).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATSTICS_SWIZZLING_RANGE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATSTICS_SWIZZLING_RANGE {
fn eq(&self, other: &Self) -> bool {
self.NbRangesAcquired == other.NbRangesAcquired && self.NbRangesReleased == other.NbRangesReleased
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATSTICS_SWIZZLING_RANGE {}
impl ::core::default::Default for D3DKMT_QUERYSTATSTICS_SWIZZLING_RANGE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERYSTATSTICS_TERMINATIONS {
pub TerminatedShared: D3DKMT_QUERYSTATISTICS_COUNTER,
pub TerminatedNonShared: D3DKMT_QUERYSTATISTICS_COUNTER,
pub DestroyedShared: D3DKMT_QUERYSTATISTICS_COUNTER,
pub DestroyedNonShared: D3DKMT_QUERYSTATISTICS_COUNTER,
}
impl ::core::marker::Copy for D3DKMT_QUERYSTATSTICS_TERMINATIONS {}
impl ::core::clone::Clone for D3DKMT_QUERYSTATSTICS_TERMINATIONS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERYSTATSTICS_TERMINATIONS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYSTATSTICS_TERMINATIONS").field("TerminatedShared", &self.TerminatedShared).field("TerminatedNonShared", &self.TerminatedNonShared).field("DestroyedShared", &self.DestroyedShared).field("DestroyedNonShared", &self.DestroyedNonShared).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERYSTATSTICS_TERMINATIONS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERYSTATSTICS_TERMINATIONS {
fn eq(&self, other: &Self) -> bool {
self.TerminatedShared == other.TerminatedShared && self.TerminatedNonShared == other.TerminatedNonShared && self.DestroyedShared == other.DestroyedShared && self.DestroyedNonShared == other.DestroyedNonShared
}
}
impl ::core::cmp::Eq for D3DKMT_QUERYSTATSTICS_TERMINATIONS {}
impl ::core::default::Default for D3DKMT_QUERYSTATSTICS_TERMINATIONS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_QUERYVIDEOMEMORYINFO {
pub hProcess: super::super::super::Win32::Foundation::HANDLE,
pub hAdapter: u32,
pub MemorySegmentGroup: D3DKMT_MEMORY_SEGMENT_GROUP,
pub Budget: u64,
pub CurrentUsage: u64,
pub CurrentReservation: u64,
pub AvailableForReservation: u64,
pub PhysicalAdapterIndex: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_QUERYVIDEOMEMORYINFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_QUERYVIDEOMEMORYINFO {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_QUERYVIDEOMEMORYINFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYVIDEOMEMORYINFO").field("hProcess", &self.hProcess).field("hAdapter", &self.hAdapter).field("MemorySegmentGroup", &self.MemorySegmentGroup).field("Budget", &self.Budget).field("CurrentUsage", &self.CurrentUsage).field("CurrentReservation", &self.CurrentReservation).field("AvailableForReservation", &self.AvailableForReservation).field("PhysicalAdapterIndex", &self.PhysicalAdapterIndex).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_QUERYVIDEOMEMORYINFO {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_QUERYVIDEOMEMORYINFO {
fn eq(&self, other: &Self) -> bool {
self.hProcess == other.hProcess && self.hAdapter == other.hAdapter && self.MemorySegmentGroup == other.MemorySegmentGroup && self.Budget == other.Budget && self.CurrentUsage == other.CurrentUsage && self.CurrentReservation == other.CurrentReservation && self.AvailableForReservation == other.AvailableForReservation && self.PhysicalAdapterIndex == other.PhysicalAdapterIndex
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_QUERYVIDEOMEMORYINFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_QUERYVIDEOMEMORYINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_QUERYVIDPNEXCLUSIVEOWNERSHIP {
pub hProcess: super::super::super::Win32::Foundation::HANDLE,
pub hWindow: super::super::super::Win32::Foundation::HWND,
pub VidPnSourceId: u32,
pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
pub OwnerType: D3DKMT_VIDPNSOURCEOWNER_TYPE,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_QUERYVIDPNEXCLUSIVEOWNERSHIP {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_QUERYVIDPNEXCLUSIVEOWNERSHIP {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_QUERYVIDPNEXCLUSIVEOWNERSHIP {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERYVIDPNEXCLUSIVEOWNERSHIP").field("hProcess", &self.hProcess).field("hWindow", &self.hWindow).field("VidPnSourceId", &self.VidPnSourceId).field("AdapterLuid", &self.AdapterLuid).field("OwnerType", &self.OwnerType).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_QUERYVIDPNEXCLUSIVEOWNERSHIP {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_QUERYVIDPNEXCLUSIVEOWNERSHIP {
fn eq(&self, other: &Self) -> bool {
self.hProcess == other.hProcess && self.hWindow == other.hWindow && self.VidPnSourceId == other.VidPnSourceId && self.AdapterLuid == other.AdapterLuid && self.OwnerType == other.OwnerType
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_QUERYVIDPNEXCLUSIVEOWNERSHIP {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_QUERYVIDPNEXCLUSIVEOWNERSHIP {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERY_ADAPTER_UNIQUE_GUID {
pub AdapterUniqueGUID: [u16; 40],
}
impl ::core::marker::Copy for D3DKMT_QUERY_ADAPTER_UNIQUE_GUID {}
impl ::core::clone::Clone for D3DKMT_QUERY_ADAPTER_UNIQUE_GUID {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERY_ADAPTER_UNIQUE_GUID {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERY_ADAPTER_UNIQUE_GUID").field("AdapterUniqueGUID", &self.AdapterUniqueGUID).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERY_ADAPTER_UNIQUE_GUID {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERY_ADAPTER_UNIQUE_GUID {
fn eq(&self, other: &Self) -> bool {
self.AdapterUniqueGUID == other.AdapterUniqueGUID
}
}
impl ::core::cmp::Eq for D3DKMT_QUERY_ADAPTER_UNIQUE_GUID {}
impl ::core::default::Default for D3DKMT_QUERY_ADAPTER_UNIQUE_GUID {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERY_DEVICE_IDS {
pub PhysicalAdapterIndex: u32,
pub DeviceIds: D3DKMT_DEVICE_IDS,
}
impl ::core::marker::Copy for D3DKMT_QUERY_DEVICE_IDS {}
impl ::core::clone::Clone for D3DKMT_QUERY_DEVICE_IDS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERY_DEVICE_IDS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERY_DEVICE_IDS").field("PhysicalAdapterIndex", &self.PhysicalAdapterIndex).field("DeviceIds", &self.DeviceIds).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERY_DEVICE_IDS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERY_DEVICE_IDS {
fn eq(&self, other: &Self) -> bool {
self.PhysicalAdapterIndex == other.PhysicalAdapterIndex && self.DeviceIds == other.DeviceIds
}
}
impl ::core::cmp::Eq for D3DKMT_QUERY_DEVICE_IDS {}
impl ::core::default::Default for D3DKMT_QUERY_DEVICE_IDS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERY_GPUMMU_CAPS {
pub PhysicalAdapterIndex: u32,
pub Caps: D3DKMT_GPUMMU_CAPS,
}
impl ::core::marker::Copy for D3DKMT_QUERY_GPUMMU_CAPS {}
impl ::core::clone::Clone for D3DKMT_QUERY_GPUMMU_CAPS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERY_GPUMMU_CAPS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_QUERY_GPUMMU_CAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERY_MIRACAST_DRIVER_TYPE {
pub MiracastDriverType: D3DKMT_MIRACAST_DRIVER_TYPE,
}
impl ::core::marker::Copy for D3DKMT_QUERY_MIRACAST_DRIVER_TYPE {}
impl ::core::clone::Clone for D3DKMT_QUERY_MIRACAST_DRIVER_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERY_MIRACAST_DRIVER_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERY_MIRACAST_DRIVER_TYPE").field("MiracastDriverType", &self.MiracastDriverType).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERY_MIRACAST_DRIVER_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERY_MIRACAST_DRIVER_TYPE {
fn eq(&self, other: &Self) -> bool {
self.MiracastDriverType == other.MiracastDriverType
}
}
impl ::core::cmp::Eq for D3DKMT_QUERY_MIRACAST_DRIVER_TYPE {}
impl ::core::default::Default for D3DKMT_QUERY_MIRACAST_DRIVER_TYPE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERY_PHYSICAL_ADAPTER_PNP_KEY {
pub PhysicalAdapterIndex: u32,
pub PnPKeyType: D3DKMT_PNP_KEY_TYPE,
pub pDest: ::windows_core::PWSTR,
pub pCchDest: *mut u32,
}
impl ::core::marker::Copy for D3DKMT_QUERY_PHYSICAL_ADAPTER_PNP_KEY {}
impl ::core::clone::Clone for D3DKMT_QUERY_PHYSICAL_ADAPTER_PNP_KEY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERY_PHYSICAL_ADAPTER_PNP_KEY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERY_PHYSICAL_ADAPTER_PNP_KEY").field("PhysicalAdapterIndex", &self.PhysicalAdapterIndex).field("PnPKeyType", &self.PnPKeyType).field("pDest", &self.pDest).field("pCchDest", &self.pCchDest).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERY_PHYSICAL_ADAPTER_PNP_KEY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERY_PHYSICAL_ADAPTER_PNP_KEY {
fn eq(&self, other: &Self) -> bool {
self.PhysicalAdapterIndex == other.PhysicalAdapterIndex && self.PnPKeyType == other.PnPKeyType && self.pDest == other.pDest && self.pCchDest == other.pCchDest
}
}
impl ::core::cmp::Eq for D3DKMT_QUERY_PHYSICAL_ADAPTER_PNP_KEY {}
impl ::core::default::Default for D3DKMT_QUERY_PHYSICAL_ADAPTER_PNP_KEY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_QUERY_SCANOUT_CAPS {
pub VidPnSourceId: u32,
pub Caps: u32,
}
impl ::core::marker::Copy for D3DKMT_QUERY_SCANOUT_CAPS {}
impl ::core::clone::Clone for D3DKMT_QUERY_SCANOUT_CAPS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_QUERY_SCANOUT_CAPS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_QUERY_SCANOUT_CAPS").field("VidPnSourceId", &self.VidPnSourceId).field("Caps", &self.Caps).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_QUERY_SCANOUT_CAPS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_QUERY_SCANOUT_CAPS {
fn eq(&self, other: &Self) -> bool {
self.VidPnSourceId == other.VidPnSourceId && self.Caps == other.Caps
}
}
impl ::core::cmp::Eq for D3DKMT_QUERY_SCANOUT_CAPS {}
impl ::core::default::Default for D3DKMT_QUERY_SCANOUT_CAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_RECLAIMALLOCATIONS {
pub hDevice: u32,
pub pResources: *mut u32,
pub HandleList: *const u32,
pub pDiscarded: *mut super::super::super::Win32::Foundation::BOOL,
pub NumAllocations: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_RECLAIMALLOCATIONS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_RECLAIMALLOCATIONS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_RECLAIMALLOCATIONS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_RECLAIMALLOCATIONS").field("hDevice", &self.hDevice).field("pResources", &self.pResources).field("HandleList", &self.HandleList).field("pDiscarded", &self.pDiscarded).field("NumAllocations", &self.NumAllocations).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_RECLAIMALLOCATIONS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_RECLAIMALLOCATIONS {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.pResources == other.pResources && self.HandleList == other.HandleList && self.pDiscarded == other.pDiscarded && self.NumAllocations == other.NumAllocations
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_RECLAIMALLOCATIONS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_RECLAIMALLOCATIONS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_RECLAIMALLOCATIONS2 {
pub hPagingQueue: u32,
pub NumAllocations: u32,
pub pResources: *mut u32,
pub HandleList: *const u32,
pub Anonymous: D3DKMT_RECLAIMALLOCATIONS2_0,
pub PagingFenceValue: u64,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_RECLAIMALLOCATIONS2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_RECLAIMALLOCATIONS2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_RECLAIMALLOCATIONS2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_RECLAIMALLOCATIONS2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DKMT_RECLAIMALLOCATIONS2_0 {
pub pDiscarded: *mut super::super::super::Win32::Foundation::BOOL,
pub pResults: *mut D3DDDI_RECLAIM_RESULT,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_RECLAIMALLOCATIONS2_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_RECLAIMALLOCATIONS2_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_RECLAIMALLOCATIONS2_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_RECLAIMALLOCATIONS2_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_REGISTERBUDGETCHANGENOTIFICATION {
pub hDevice: u32,
pub Callback: PFND3DKMT_BUDGETCHANGENOTIFICATIONCALLBACK,
pub Context: *mut ::core::ffi::c_void,
pub Handle: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for D3DKMT_REGISTERBUDGETCHANGENOTIFICATION {}
impl ::core::clone::Clone for D3DKMT_REGISTERBUDGETCHANGENOTIFICATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_REGISTERBUDGETCHANGENOTIFICATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_REGISTERBUDGETCHANGENOTIFICATION").field("hDevice", &self.hDevice).field("Context", &self.Context).field("Handle", &self.Handle).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_REGISTERBUDGETCHANGENOTIFICATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_REGISTERBUDGETCHANGENOTIFICATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_REGISTERTRIMNOTIFICATION {
pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
pub hDevice: u32,
pub Callback: PFND3DKMT_TRIMNOTIFICATIONCALLBACK,
pub Context: *mut ::core::ffi::c_void,
pub Handle: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_REGISTERTRIMNOTIFICATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_REGISTERTRIMNOTIFICATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_REGISTERTRIMNOTIFICATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_REGISTERTRIMNOTIFICATION").field("AdapterLuid", &self.AdapterLuid).field("hDevice", &self.hDevice).field("Context", &self.Context).field("Handle", &self.Handle).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_REGISTERTRIMNOTIFICATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_REGISTERTRIMNOTIFICATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_RELEASEKEYEDMUTEX {
pub hKeyedMutex: u32,
pub Key: u64,
pub FenceValue: u64,
}
impl ::core::marker::Copy for D3DKMT_RELEASEKEYEDMUTEX {}
impl ::core::clone::Clone for D3DKMT_RELEASEKEYEDMUTEX {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_RELEASEKEYEDMUTEX {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_RELEASEKEYEDMUTEX").field("hKeyedMutex", &self.hKeyedMutex).field("Key", &self.Key).field("FenceValue", &self.FenceValue).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_RELEASEKEYEDMUTEX {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_RELEASEKEYEDMUTEX {
fn eq(&self, other: &Self) -> bool {
self.hKeyedMutex == other.hKeyedMutex && self.Key == other.Key && self.FenceValue == other.FenceValue
}
}
impl ::core::cmp::Eq for D3DKMT_RELEASEKEYEDMUTEX {}
impl ::core::default::Default for D3DKMT_RELEASEKEYEDMUTEX {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_RELEASEKEYEDMUTEX2 {
pub hKeyedMutex: u32,
pub Key: u64,
pub FenceValue: u64,
pub pPrivateRuntimeData: *mut ::core::ffi::c_void,
pub PrivateRuntimeDataSize: u32,
}
impl ::core::marker::Copy for D3DKMT_RELEASEKEYEDMUTEX2 {}
impl ::core::clone::Clone for D3DKMT_RELEASEKEYEDMUTEX2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_RELEASEKEYEDMUTEX2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_RELEASEKEYEDMUTEX2").field("hKeyedMutex", &self.hKeyedMutex).field("Key", &self.Key).field("FenceValue", &self.FenceValue).field("pPrivateRuntimeData", &self.pPrivateRuntimeData).field("PrivateRuntimeDataSize", &self.PrivateRuntimeDataSize).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_RELEASEKEYEDMUTEX2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_RELEASEKEYEDMUTEX2 {
fn eq(&self, other: &Self) -> bool {
self.hKeyedMutex == other.hKeyedMutex && self.Key == other.Key && self.FenceValue == other.FenceValue && self.pPrivateRuntimeData == other.pPrivateRuntimeData && self.PrivateRuntimeDataSize == other.PrivateRuntimeDataSize
}
}
impl ::core::cmp::Eq for D3DKMT_RELEASEKEYEDMUTEX2 {}
impl ::core::default::Default for D3DKMT_RELEASEKEYEDMUTEX2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_RENDER {
pub Anonymous: D3DKMT_RENDER_0,
pub CommandOffset: u32,
pub CommandLength: u32,
pub AllocationCount: u32,
pub PatchLocationCount: u32,
pub pNewCommandBuffer: *mut ::core::ffi::c_void,
pub NewCommandBufferSize: u32,
pub pNewAllocationList: *mut D3DDDI_ALLOCATIONLIST,
pub NewAllocationListSize: u32,
pub pNewPatchLocationList: *mut D3DDDI_PATCHLOCATIONLIST,
pub NewPatchLocationListSize: u32,
pub Flags: D3DKMT_RENDERFLAGS,
pub PresentHistoryToken: u64,
pub BroadcastContextCount: u32,
pub BroadcastContext: [u32; 64],
pub QueuedBufferCount: u32,
pub NewCommandBuffer: u64,
pub pPrivateDriverData: *mut ::core::ffi::c_void,
pub PrivateDriverDataSize: u32,
}
impl ::core::marker::Copy for D3DKMT_RENDER {}
impl ::core::clone::Clone for D3DKMT_RENDER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_RENDER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_RENDER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_RENDER_0 {
pub hDevice: u32,
pub hContext: u32,
}
impl ::core::marker::Copy for D3DKMT_RENDER_0 {}
impl ::core::clone::Clone for D3DKMT_RENDER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_RENDER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_RENDER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_RENDERFLAGS {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_RENDERFLAGS {}
impl ::core::clone::Clone for D3DKMT_RENDERFLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_RENDERFLAGS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_RENDERFLAGS").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_RENDERFLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_RENDERFLAGS {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_RENDERFLAGS {}
impl ::core::default::Default for D3DKMT_RENDERFLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_REQUEST_MACHINE_CRASH_ESCAPE {
pub Param1: usize,
pub Param2: usize,
pub Param3: usize,
}
impl ::core::marker::Copy for D3DKMT_REQUEST_MACHINE_CRASH_ESCAPE {}
impl ::core::clone::Clone for D3DKMT_REQUEST_MACHINE_CRASH_ESCAPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_REQUEST_MACHINE_CRASH_ESCAPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_REQUEST_MACHINE_CRASH_ESCAPE").field("Param1", &self.Param1).field("Param2", &self.Param2).field("Param3", &self.Param3).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_REQUEST_MACHINE_CRASH_ESCAPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_REQUEST_MACHINE_CRASH_ESCAPE {
fn eq(&self, other: &Self) -> bool {
self.Param1 == other.Param1 && self.Param2 == other.Param2 && self.Param3 == other.Param3
}
}
impl ::core::cmp::Eq for D3DKMT_REQUEST_MACHINE_CRASH_ESCAPE {}
impl ::core::default::Default for D3DKMT_REQUEST_MACHINE_CRASH_ESCAPE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_SCATTERBLT {
pub hLogicalSurfaceDestination: u64,
pub hDestinationCompSurfDWM: i64,
pub DestinationCompositionBindingId: u64,
pub SourceRect: super::super::super::Win32::Foundation::RECT,
pub DestinationOffset: super::super::super::Win32::Foundation::POINT,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_SCATTERBLT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_SCATTERBLT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_SCATTERBLT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SCATTERBLT").field("hLogicalSurfaceDestination", &self.hLogicalSurfaceDestination).field("hDestinationCompSurfDWM", &self.hDestinationCompSurfDWM).field("DestinationCompositionBindingId", &self.DestinationCompositionBindingId).field("SourceRect", &self.SourceRect).field("DestinationOffset", &self.DestinationOffset).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_SCATTERBLT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_SCATTERBLT {
fn eq(&self, other: &Self) -> bool {
self.hLogicalSurfaceDestination == other.hLogicalSurfaceDestination && self.hDestinationCompSurfDWM == other.hDestinationCompSurfDWM && self.DestinationCompositionBindingId == other.DestinationCompositionBindingId && self.SourceRect == other.SourceRect && self.DestinationOffset == other.DestinationOffset
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_SCATTERBLT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_SCATTERBLT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_SCATTERBLTS {
pub NumBlts: u32,
pub Blts: [D3DKMT_SCATTERBLT; 12],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_SCATTERBLTS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_SCATTERBLTS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_SCATTERBLTS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SCATTERBLTS").field("NumBlts", &self.NumBlts).field("Blts", &self.Blts).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_SCATTERBLTS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_SCATTERBLTS {
fn eq(&self, other: &Self) -> bool {
self.NumBlts == other.NumBlts && self.Blts == other.Blts
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_SCATTERBLTS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_SCATTERBLTS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SEGMENTGROUPSIZEINFO {
pub PhysicalAdapterIndex: u32,
pub LegacyInfo: D3DKMT_SEGMENTSIZEINFO,
pub LocalMemory: u64,
pub NonLocalMemory: u64,
pub NonBudgetMemory: u64,
}
impl ::core::marker::Copy for D3DKMT_SEGMENTGROUPSIZEINFO {}
impl ::core::clone::Clone for D3DKMT_SEGMENTGROUPSIZEINFO {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_SEGMENTGROUPSIZEINFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SEGMENTGROUPSIZEINFO").field("PhysicalAdapterIndex", &self.PhysicalAdapterIndex).field("LegacyInfo", &self.LegacyInfo).field("LocalMemory", &self.LocalMemory).field("NonLocalMemory", &self.NonLocalMemory).field("NonBudgetMemory", &self.NonBudgetMemory).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_SEGMENTGROUPSIZEINFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_SEGMENTGROUPSIZEINFO {
fn eq(&self, other: &Self) -> bool {
self.PhysicalAdapterIndex == other.PhysicalAdapterIndex && self.LegacyInfo == other.LegacyInfo && self.LocalMemory == other.LocalMemory && self.NonLocalMemory == other.NonLocalMemory && self.NonBudgetMemory == other.NonBudgetMemory
}
}
impl ::core::cmp::Eq for D3DKMT_SEGMENTGROUPSIZEINFO {}
impl ::core::default::Default for D3DKMT_SEGMENTGROUPSIZEINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SEGMENTSIZEINFO {
pub DedicatedVideoMemorySize: u64,
pub DedicatedSystemMemorySize: u64,
pub SharedSystemMemorySize: u64,
}
impl ::core::marker::Copy for D3DKMT_SEGMENTSIZEINFO {}
impl ::core::clone::Clone for D3DKMT_SEGMENTSIZEINFO {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_SEGMENTSIZEINFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SEGMENTSIZEINFO").field("DedicatedVideoMemorySize", &self.DedicatedVideoMemorySize).field("DedicatedSystemMemorySize", &self.DedicatedSystemMemorySize).field("SharedSystemMemorySize", &self.SharedSystemMemorySize).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_SEGMENTSIZEINFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_SEGMENTSIZEINFO {
fn eq(&self, other: &Self) -> bool {
self.DedicatedVideoMemorySize == other.DedicatedVideoMemorySize && self.DedicatedSystemMemorySize == other.DedicatedSystemMemorySize && self.SharedSystemMemorySize == other.SharedSystemMemorySize
}
}
impl ::core::cmp::Eq for D3DKMT_SEGMENTSIZEINFO {}
impl ::core::default::Default for D3DKMT_SEGMENTSIZEINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_SEGMENT_CAPS {
pub Size: u64,
pub PageSize: u32,
pub SegmentId: u32,
pub bAperture: super::super::super::Win32::Foundation::BOOLEAN,
pub bReservedSysMem: super::super::super::Win32::Foundation::BOOLEAN,
pub BudgetGroup: D3DKMT_MEMORY_SEGMENT_GROUP,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_SEGMENT_CAPS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_SEGMENT_CAPS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_SEGMENT_CAPS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SEGMENT_CAPS").field("Size", &self.Size).field("PageSize", &self.PageSize).field("SegmentId", &self.SegmentId).field("bAperture", &self.bAperture).field("bReservedSysMem", &self.bReservedSysMem).field("BudgetGroup", &self.BudgetGroup).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_SEGMENT_CAPS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_SEGMENT_CAPS {
fn eq(&self, other: &Self) -> bool {
self.Size == other.Size && self.PageSize == other.PageSize && self.SegmentId == other.SegmentId && self.bAperture == other.bAperture && self.bReservedSysMem == other.bReservedSysMem && self.BudgetGroup == other.BudgetGroup
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_SEGMENT_CAPS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_SEGMENT_CAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SETALLOCATIONPRIORITY {
pub hDevice: u32,
pub hResource: u32,
pub phAllocationList: *const u32,
pub AllocationCount: u32,
pub pPriorities: *const u32,
}
impl ::core::marker::Copy for D3DKMT_SETALLOCATIONPRIORITY {}
impl ::core::clone::Clone for D3DKMT_SETALLOCATIONPRIORITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_SETALLOCATIONPRIORITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SETALLOCATIONPRIORITY").field("hDevice", &self.hDevice).field("hResource", &self.hResource).field("phAllocationList", &self.phAllocationList).field("AllocationCount", &self.AllocationCount).field("pPriorities", &self.pPriorities).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_SETALLOCATIONPRIORITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_SETALLOCATIONPRIORITY {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.hResource == other.hResource && self.phAllocationList == other.phAllocationList && self.AllocationCount == other.AllocationCount && self.pPriorities == other.pPriorities
}
}
impl ::core::cmp::Eq for D3DKMT_SETALLOCATIONPRIORITY {}
impl ::core::default::Default for D3DKMT_SETALLOCATIONPRIORITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY {
pub hContext: u32,
pub Priority: i32,
}
impl ::core::marker::Copy for D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY {}
impl ::core::clone::Clone for D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY").field("hContext", &self.hContext).field("Priority", &self.Priority).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY {
fn eq(&self, other: &Self) -> bool {
self.hContext == other.hContext && self.Priority == other.Priority
}
}
impl ::core::cmp::Eq for D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY {}
impl ::core::default::Default for D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SETCONTEXTSCHEDULINGPRIORITY {
pub hContext: u32,
pub Priority: i32,
}
impl ::core::marker::Copy for D3DKMT_SETCONTEXTSCHEDULINGPRIORITY {}
impl ::core::clone::Clone for D3DKMT_SETCONTEXTSCHEDULINGPRIORITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_SETCONTEXTSCHEDULINGPRIORITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SETCONTEXTSCHEDULINGPRIORITY").field("hContext", &self.hContext).field("Priority", &self.Priority).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_SETCONTEXTSCHEDULINGPRIORITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_SETCONTEXTSCHEDULINGPRIORITY {
fn eq(&self, other: &Self) -> bool {
self.hContext == other.hContext && self.Priority == other.Priority
}
}
impl ::core::cmp::Eq for D3DKMT_SETCONTEXTSCHEDULINGPRIORITY {}
impl ::core::default::Default for D3DKMT_SETCONTEXTSCHEDULINGPRIORITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SETDISPLAYMODE {
pub hDevice: u32,
pub hPrimaryAllocation: u32,
pub ScanLineOrdering: D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING,
pub DisplayOrientation: D3DDDI_ROTATION,
pub PrivateDriverFormatAttribute: u32,
pub Flags: D3DKMT_SETDISPLAYMODE_FLAGS,
}
impl ::core::marker::Copy for D3DKMT_SETDISPLAYMODE {}
impl ::core::clone::Clone for D3DKMT_SETDISPLAYMODE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_SETDISPLAYMODE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SETDISPLAYMODE").field("hDevice", &self.hDevice).field("hPrimaryAllocation", &self.hPrimaryAllocation).field("ScanLineOrdering", &self.ScanLineOrdering).field("DisplayOrientation", &self.DisplayOrientation).field("PrivateDriverFormatAttribute", &self.PrivateDriverFormatAttribute).field("Flags", &self.Flags).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_SETDISPLAYMODE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_SETDISPLAYMODE {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.hPrimaryAllocation == other.hPrimaryAllocation && self.ScanLineOrdering == other.ScanLineOrdering && self.DisplayOrientation == other.DisplayOrientation && self.PrivateDriverFormatAttribute == other.PrivateDriverFormatAttribute && self.Flags == other.Flags
}
}
impl ::core::cmp::Eq for D3DKMT_SETDISPLAYMODE {}
impl ::core::default::Default for D3DKMT_SETDISPLAYMODE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SETDISPLAYMODE_FLAGS {
pub _bitfield1: u8,
pub _bitfield2: u32,
}
impl ::core::marker::Copy for D3DKMT_SETDISPLAYMODE_FLAGS {}
impl ::core::clone::Clone for D3DKMT_SETDISPLAYMODE_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_SETDISPLAYMODE_FLAGS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SETDISPLAYMODE_FLAGS").field("_bitfield1", &self._bitfield1).field("_bitfield2", &self._bitfield2).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_SETDISPLAYMODE_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_SETDISPLAYMODE_FLAGS {
fn eq(&self, other: &Self) -> bool {
self._bitfield1 == other._bitfield1 && self._bitfield2 == other._bitfield2
}
}
impl ::core::cmp::Eq for D3DKMT_SETDISPLAYMODE_FLAGS {}
impl ::core::default::Default for D3DKMT_SETDISPLAYMODE_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT {
pub hDevice: u32,
pub VidPnSourceId: u32,
pub PrivateDriverFormatAttribute: u32,
}
impl ::core::marker::Copy for D3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT {}
impl ::core::clone::Clone for D3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT").field("hDevice", &self.hDevice).field("VidPnSourceId", &self.VidPnSourceId).field("PrivateDriverFormatAttribute", &self.PrivateDriverFormatAttribute).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.VidPnSourceId == other.VidPnSourceId && self.PrivateDriverFormatAttribute == other.PrivateDriverFormatAttribute
}
}
impl ::core::cmp::Eq for D3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT {}
impl ::core::default::Default for D3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_SETFSEBLOCK {
pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
pub hAdapter: u32,
pub VidPnSourceId: u32,
pub Flags: D3DKMT_SETFSEBLOCKFLAGS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_SETFSEBLOCK {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_SETFSEBLOCK {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_SETFSEBLOCK {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_SETFSEBLOCK {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_SETFSEBLOCKFLAGS {
pub Anonymous: D3DKMT_SETFSEBLOCKFLAGS_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_SETFSEBLOCKFLAGS {}
impl ::core::clone::Clone for D3DKMT_SETFSEBLOCKFLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_SETFSEBLOCKFLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_SETFSEBLOCKFLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SETFSEBLOCKFLAGS_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_SETFSEBLOCKFLAGS_0 {}
impl ::core::clone::Clone for D3DKMT_SETFSEBLOCKFLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_SETFSEBLOCKFLAGS_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SETFSEBLOCKFLAGS_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_SETFSEBLOCKFLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_SETFSEBLOCKFLAGS_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_SETFSEBLOCKFLAGS_0 {}
impl ::core::default::Default for D3DKMT_SETFSEBLOCKFLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SETGAMMARAMP {
pub hDevice: u32,
pub VidPnSourceId: u32,
pub Type: D3DDDI_GAMMARAMP_TYPE,
pub Anonymous: D3DKMT_SETGAMMARAMP_0,
pub Size: u32,
}
impl ::core::marker::Copy for D3DKMT_SETGAMMARAMP {}
impl ::core::clone::Clone for D3DKMT_SETGAMMARAMP {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_SETGAMMARAMP {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_SETGAMMARAMP {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_SETGAMMARAMP_0 {
pub pGammaRampRgb256x3x16: *mut D3DDDI_GAMMA_RAMP_RGB256x3x16,
pub pGammaRampDXGI1: *mut D3DDDI_GAMMA_RAMP_DXGI_1,
}
impl ::core::marker::Copy for D3DKMT_SETGAMMARAMP_0 {}
impl ::core::clone::Clone for D3DKMT_SETGAMMARAMP_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_SETGAMMARAMP_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_SETGAMMARAMP_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_SETHWPROTECTIONTEARDOWNRECOVERY {
pub hAdapter: u32,
pub Recovered: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_SETHWPROTECTIONTEARDOWNRECOVERY {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_SETHWPROTECTIONTEARDOWNRECOVERY {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_SETHWPROTECTIONTEARDOWNRECOVERY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SETHWPROTECTIONTEARDOWNRECOVERY").field("hAdapter", &self.hAdapter).field("Recovered", &self.Recovered).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_SETHWPROTECTIONTEARDOWNRECOVERY {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_SETHWPROTECTIONTEARDOWNRECOVERY {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.Recovered == other.Recovered
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_SETHWPROTECTIONTEARDOWNRECOVERY {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_SETHWPROTECTIONTEARDOWNRECOVERY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SETQUEUEDLIMIT {
pub hDevice: u32,
pub Type: D3DKMT_QUEUEDLIMIT_TYPE,
pub Anonymous: D3DKMT_SETQUEUEDLIMIT_0,
}
impl ::core::marker::Copy for D3DKMT_SETQUEUEDLIMIT {}
impl ::core::clone::Clone for D3DKMT_SETQUEUEDLIMIT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_SETQUEUEDLIMIT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_SETQUEUEDLIMIT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_SETQUEUEDLIMIT_0 {
pub QueuedPresentLimit: u32,
pub Anonymous: D3DKMT_SETQUEUEDLIMIT_0_0,
}
impl ::core::marker::Copy for D3DKMT_SETQUEUEDLIMIT_0 {}
impl ::core::clone::Clone for D3DKMT_SETQUEUEDLIMIT_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_SETQUEUEDLIMIT_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_SETQUEUEDLIMIT_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SETQUEUEDLIMIT_0_0 {
pub VidPnSourceId: u32,
pub QueuedPendingFlipLimit: u32,
}
impl ::core::marker::Copy for D3DKMT_SETQUEUEDLIMIT_0_0 {}
impl ::core::clone::Clone for D3DKMT_SETQUEUEDLIMIT_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_SETQUEUEDLIMIT_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SETQUEUEDLIMIT_0_0").field("VidPnSourceId", &self.VidPnSourceId).field("QueuedPendingFlipLimit", &self.QueuedPendingFlipLimit).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_SETQUEUEDLIMIT_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_SETQUEUEDLIMIT_0_0 {
fn eq(&self, other: &Self) -> bool {
self.VidPnSourceId == other.VidPnSourceId && self.QueuedPendingFlipLimit == other.QueuedPendingFlipLimit
}
}
impl ::core::cmp::Eq for D3DKMT_SETQUEUEDLIMIT_0_0 {}
impl ::core::default::Default for D3DKMT_SETQUEUEDLIMIT_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_SETSTABLEPOWERSTATE {
pub hAdapter: u32,
pub Enabled: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_SETSTABLEPOWERSTATE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_SETSTABLEPOWERSTATE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_SETSTABLEPOWERSTATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SETSTABLEPOWERSTATE").field("hAdapter", &self.hAdapter).field("Enabled", &self.Enabled).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_SETSTABLEPOWERSTATE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_SETSTABLEPOWERSTATE {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.Enabled == other.Enabled
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_SETSTABLEPOWERSTATE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_SETSTABLEPOWERSTATE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SETSYNCREFRESHCOUNTWAITTARGET {
pub hAdapter: u32,
pub hDevice: u32,
pub VidPnSourceId: u32,
pub TargetSyncRefreshCount: u32,
}
impl ::core::marker::Copy for D3DKMT_SETSYNCREFRESHCOUNTWAITTARGET {}
impl ::core::clone::Clone for D3DKMT_SETSYNCREFRESHCOUNTWAITTARGET {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_SETSYNCREFRESHCOUNTWAITTARGET {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SETSYNCREFRESHCOUNTWAITTARGET").field("hAdapter", &self.hAdapter).field("hDevice", &self.hDevice).field("VidPnSourceId", &self.VidPnSourceId).field("TargetSyncRefreshCount", &self.TargetSyncRefreshCount).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_SETSYNCREFRESHCOUNTWAITTARGET {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_SETSYNCREFRESHCOUNTWAITTARGET {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.hDevice == other.hDevice && self.VidPnSourceId == other.VidPnSourceId && self.TargetSyncRefreshCount == other.TargetSyncRefreshCount
}
}
impl ::core::cmp::Eq for D3DKMT_SETSYNCREFRESHCOUNTWAITTARGET {}
impl ::core::default::Default for D3DKMT_SETSYNCREFRESHCOUNTWAITTARGET {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_SETVIDPNSOURCEHWPROTECTION {
pub hAdapter: u32,
pub VidPnSourceId: u32,
pub HwProtected: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_SETVIDPNSOURCEHWPROTECTION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_SETVIDPNSOURCEHWPROTECTION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_SETVIDPNSOURCEHWPROTECTION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SETVIDPNSOURCEHWPROTECTION").field("hAdapter", &self.hAdapter).field("VidPnSourceId", &self.VidPnSourceId).field("HwProtected", &self.HwProtected).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_SETVIDPNSOURCEHWPROTECTION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_SETVIDPNSOURCEHWPROTECTION {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.VidPnSourceId == other.VidPnSourceId && self.HwProtected == other.HwProtected
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_SETVIDPNSOURCEHWPROTECTION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_SETVIDPNSOURCEHWPROTECTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SETVIDPNSOURCEOWNER {
pub hDevice: u32,
pub pType: *const D3DKMT_VIDPNSOURCEOWNER_TYPE,
pub pVidPnSourceId: *const u32,
pub VidPnSourceCount: u32,
}
impl ::core::marker::Copy for D3DKMT_SETVIDPNSOURCEOWNER {}
impl ::core::clone::Clone for D3DKMT_SETVIDPNSOURCEOWNER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_SETVIDPNSOURCEOWNER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SETVIDPNSOURCEOWNER").field("hDevice", &self.hDevice).field("pType", &self.pType).field("pVidPnSourceId", &self.pVidPnSourceId).field("VidPnSourceCount", &self.VidPnSourceCount).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_SETVIDPNSOURCEOWNER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_SETVIDPNSOURCEOWNER {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.pType == other.pType && self.pVidPnSourceId == other.pVidPnSourceId && self.VidPnSourceCount == other.VidPnSourceCount
}
}
impl ::core::cmp::Eq for D3DKMT_SETVIDPNSOURCEOWNER {}
impl ::core::default::Default for D3DKMT_SETVIDPNSOURCEOWNER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SETVIDPNSOURCEOWNER1 {
pub Version0: D3DKMT_SETVIDPNSOURCEOWNER,
pub Flags: D3DKMT_VIDPNSOURCEOWNER_FLAGS,
}
impl ::core::marker::Copy for D3DKMT_SETVIDPNSOURCEOWNER1 {}
impl ::core::clone::Clone for D3DKMT_SETVIDPNSOURCEOWNER1 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_SETVIDPNSOURCEOWNER1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_SETVIDPNSOURCEOWNER1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SETVIDPNSOURCEOWNER2 {
pub Version1: D3DKMT_SETVIDPNSOURCEOWNER1,
pub pVidPnSourceNtHandles: *const isize,
}
impl ::core::marker::Copy for D3DKMT_SETVIDPNSOURCEOWNER2 {}
impl ::core::clone::Clone for D3DKMT_SETVIDPNSOURCEOWNER2 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_SETVIDPNSOURCEOWNER2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_SETVIDPNSOURCEOWNER2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_SET_COLORSPACE_TRANSFORM {
pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
pub VidPnTargetId: u32,
pub Type: D3DDDI_GAMMARAMP_TYPE,
pub Size: u32,
pub Anonymous: D3DKMT_SET_COLORSPACE_TRANSFORM_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_SET_COLORSPACE_TRANSFORM {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_SET_COLORSPACE_TRANSFORM {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_SET_COLORSPACE_TRANSFORM {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_SET_COLORSPACE_TRANSFORM {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DKMT_SET_COLORSPACE_TRANSFORM_0 {
pub pColorSpaceTransform: *mut D3DKMDT_3x4_COLORSPACE_TRANSFORM,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_SET_COLORSPACE_TRANSFORM_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_SET_COLORSPACE_TRANSFORM_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_SET_COLORSPACE_TRANSFORM_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_SET_COLORSPACE_TRANSFORM_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_SHAREDPRIMARYLOCKNOTIFICATION {
pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
pub VidPnSourceId: u32,
pub LockRect: super::super::super::Win32::Foundation::RECTL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_SHAREDPRIMARYLOCKNOTIFICATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_SHAREDPRIMARYLOCKNOTIFICATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_SHAREDPRIMARYLOCKNOTIFICATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SHAREDPRIMARYLOCKNOTIFICATION").field("AdapterLuid", &self.AdapterLuid).field("VidPnSourceId", &self.VidPnSourceId).field("LockRect", &self.LockRect).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_SHAREDPRIMARYLOCKNOTIFICATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_SHAREDPRIMARYLOCKNOTIFICATION {
fn eq(&self, other: &Self) -> bool {
self.AdapterLuid == other.AdapterLuid && self.VidPnSourceId == other.VidPnSourceId && self.LockRect == other.LockRect
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_SHAREDPRIMARYLOCKNOTIFICATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_SHAREDPRIMARYLOCKNOTIFICATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION {
pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
pub VidPnSourceId: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION").field("AdapterLuid", &self.AdapterLuid).field("VidPnSourceId", &self.VidPnSourceId).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION {
fn eq(&self, other: &Self) -> bool {
self.AdapterLuid == other.AdapterLuid && self.VidPnSourceId == other.VidPnSourceId
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SHAREOBJECTWITHHOST {
pub hDevice: u32,
pub hObject: u32,
pub Reserved: u64,
pub hVailProcessNtHandle: u64,
}
impl ::core::marker::Copy for D3DKMT_SHAREOBJECTWITHHOST {}
impl ::core::clone::Clone for D3DKMT_SHAREOBJECTWITHHOST {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_SHAREOBJECTWITHHOST {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SHAREOBJECTWITHHOST").field("hDevice", &self.hDevice).field("hObject", &self.hObject).field("Reserved", &self.Reserved).field("hVailProcessNtHandle", &self.hVailProcessNtHandle).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_SHAREOBJECTWITHHOST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_SHAREOBJECTWITHHOST {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.hObject == other.hObject && self.Reserved == other.Reserved && self.hVailProcessNtHandle == other.hVailProcessNtHandle
}
}
impl ::core::cmp::Eq for D3DKMT_SHAREOBJECTWITHHOST {}
impl ::core::default::Default for D3DKMT_SHAREOBJECTWITHHOST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SIGNALSYNCHRONIZATIONOBJECT {
pub hContext: u32,
pub ObjectCount: u32,
pub ObjectHandleArray: [u32; 32],
pub Flags: D3DDDICB_SIGNALFLAGS,
}
impl ::core::marker::Copy for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT {}
impl ::core::clone::Clone for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2 {
pub hContext: u32,
pub ObjectCount: u32,
pub ObjectHandleArray: [u32; 32],
pub Flags: D3DDDICB_SIGNALFLAGS,
pub BroadcastContextCount: u32,
pub BroadcastContext: [u32; 64],
pub Anonymous: D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2_0 {
pub Fence: D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2_0_0,
pub CpuEventHandle: super::super::super::Win32::Foundation::HANDLE,
pub Reserved: [u64; 8],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2_0_0 {
pub FenceValue: u64,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2_0_0").field("FenceValue", &self.FenceValue).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2_0_0 {
fn eq(&self, other: &Self) -> bool {
self.FenceValue == other.FenceValue
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMCPU {
pub hDevice: u32,
pub ObjectCount: u32,
pub ObjectHandleArray: *const u32,
pub FenceValueArray: *const u64,
pub Flags: D3DDDICB_SIGNALFLAGS,
}
impl ::core::marker::Copy for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMCPU {}
impl ::core::clone::Clone for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMCPU {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMCPU {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMCPU {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU {
pub hContext: u32,
pub ObjectCount: u32,
pub ObjectHandleArray: *const u32,
pub Anonymous: D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU_0,
}
impl ::core::marker::Copy for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU {}
impl ::core::clone::Clone for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU_0 {
pub MonitoredFenceValueArray: *const u64,
pub Reserved: [u64; 8],
}
impl ::core::marker::Copy for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU_0 {}
impl ::core::clone::Clone for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2 {
pub ObjectCount: u32,
pub ObjectHandleArray: *const u32,
pub Flags: D3DDDICB_SIGNALFLAGS,
pub BroadcastContextCount: u32,
pub BroadcastContextArray: *const u32,
pub Anonymous: D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2_0 {
pub FenceValue: u64,
pub CpuEventHandle: super::super::super::Win32::Foundation::HANDLE,
pub MonitoredFenceValueArray: *const u64,
pub Reserved: [u64; 8],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_STANDARDALLOCATION_EXISTINGHEAP {
pub Size: usize,
}
impl ::core::marker::Copy for D3DKMT_STANDARDALLOCATION_EXISTINGHEAP {}
impl ::core::clone::Clone for D3DKMT_STANDARDALLOCATION_EXISTINGHEAP {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_STANDARDALLOCATION_EXISTINGHEAP {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_STANDARDALLOCATION_EXISTINGHEAP").field("Size", &self.Size).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_STANDARDALLOCATION_EXISTINGHEAP {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_STANDARDALLOCATION_EXISTINGHEAP {
fn eq(&self, other: &Self) -> bool {
self.Size == other.Size
}
}
impl ::core::cmp::Eq for D3DKMT_STANDARDALLOCATION_EXISTINGHEAP {}
impl ::core::default::Default for D3DKMT_STANDARDALLOCATION_EXISTINGHEAP {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SUBMITCOMMAND {
pub Commands: u64,
pub CommandLength: u32,
pub Flags: D3DKMT_SUBMITCOMMANDFLAGS,
pub PresentHistoryToken: u64,
pub BroadcastContextCount: u32,
pub BroadcastContext: [u32; 64],
pub pPrivateDriverData: *mut ::core::ffi::c_void,
pub PrivateDriverDataSize: u32,
pub NumPrimaries: u32,
pub WrittenPrimaries: [u32; 16],
pub NumHistoryBuffers: u32,
pub HistoryBufferArray: *mut u32,
}
impl ::core::marker::Copy for D3DKMT_SUBMITCOMMAND {}
impl ::core::clone::Clone for D3DKMT_SUBMITCOMMAND {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_SUBMITCOMMAND {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SUBMITCOMMAND")
.field("Commands", &self.Commands)
.field("CommandLength", &self.CommandLength)
.field("Flags", &self.Flags)
.field("PresentHistoryToken", &self.PresentHistoryToken)
.field("BroadcastContextCount", &self.BroadcastContextCount)
.field("BroadcastContext", &self.BroadcastContext)
.field("pPrivateDriverData", &self.pPrivateDriverData)
.field("PrivateDriverDataSize", &self.PrivateDriverDataSize)
.field("NumPrimaries", &self.NumPrimaries)
.field("WrittenPrimaries", &self.WrittenPrimaries)
.field("NumHistoryBuffers", &self.NumHistoryBuffers)
.field("HistoryBufferArray", &self.HistoryBufferArray)
.finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_SUBMITCOMMAND {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_SUBMITCOMMAND {
fn eq(&self, other: &Self) -> bool {
self.Commands == other.Commands && self.CommandLength == other.CommandLength && self.Flags == other.Flags && self.PresentHistoryToken == other.PresentHistoryToken && self.BroadcastContextCount == other.BroadcastContextCount && self.BroadcastContext == other.BroadcastContext && self.pPrivateDriverData == other.pPrivateDriverData && self.PrivateDriverDataSize == other.PrivateDriverDataSize && self.NumPrimaries == other.NumPrimaries && self.WrittenPrimaries == other.WrittenPrimaries && self.NumHistoryBuffers == other.NumHistoryBuffers && self.HistoryBufferArray == other.HistoryBufferArray
}
}
impl ::core::cmp::Eq for D3DKMT_SUBMITCOMMAND {}
impl ::core::default::Default for D3DKMT_SUBMITCOMMAND {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SUBMITCOMMANDFLAGS {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_SUBMITCOMMANDFLAGS {}
impl ::core::clone::Clone for D3DKMT_SUBMITCOMMANDFLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_SUBMITCOMMANDFLAGS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SUBMITCOMMANDFLAGS").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_SUBMITCOMMANDFLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_SUBMITCOMMANDFLAGS {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_SUBMITCOMMANDFLAGS {}
impl ::core::default::Default for D3DKMT_SUBMITCOMMANDFLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SUBMITCOMMANDTOHWQUEUE {
pub hHwQueue: u32,
pub HwQueueProgressFenceId: u64,
pub CommandBuffer: u64,
pub CommandLength: u32,
pub PrivateDriverDataSize: u32,
pub pPrivateDriverData: *mut ::core::ffi::c_void,
pub NumPrimaries: u32,
pub WrittenPrimaries: *const u32,
}
impl ::core::marker::Copy for D3DKMT_SUBMITCOMMANDTOHWQUEUE {}
impl ::core::clone::Clone for D3DKMT_SUBMITCOMMANDTOHWQUEUE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_SUBMITCOMMANDTOHWQUEUE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SUBMITCOMMANDTOHWQUEUE").field("hHwQueue", &self.hHwQueue).field("HwQueueProgressFenceId", &self.HwQueueProgressFenceId).field("CommandBuffer", &self.CommandBuffer).field("CommandLength", &self.CommandLength).field("PrivateDriverDataSize", &self.PrivateDriverDataSize).field("pPrivateDriverData", &self.pPrivateDriverData).field("NumPrimaries", &self.NumPrimaries).field("WrittenPrimaries", &self.WrittenPrimaries).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_SUBMITCOMMANDTOHWQUEUE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_SUBMITCOMMANDTOHWQUEUE {
fn eq(&self, other: &Self) -> bool {
self.hHwQueue == other.hHwQueue && self.HwQueueProgressFenceId == other.HwQueueProgressFenceId && self.CommandBuffer == other.CommandBuffer && self.CommandLength == other.CommandLength && self.PrivateDriverDataSize == other.PrivateDriverDataSize && self.pPrivateDriverData == other.pPrivateDriverData && self.NumPrimaries == other.NumPrimaries && self.WrittenPrimaries == other.WrittenPrimaries
}
}
impl ::core::cmp::Eq for D3DKMT_SUBMITCOMMANDTOHWQUEUE {}
impl ::core::default::Default for D3DKMT_SUBMITCOMMANDTOHWQUEUE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_SUBMITPRESENTBLTTOHWQUEUE {
pub hHwQueue: u32,
pub HwQueueProgressFenceId: u64,
pub PrivatePresentData: D3DKMT_PRESENT,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_SUBMITPRESENTBLTTOHWQUEUE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_SUBMITPRESENTBLTTOHWQUEUE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_SUBMITPRESENTBLTTOHWQUEUE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_SUBMITPRESENTBLTTOHWQUEUE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_SUBMITPRESENTTOHWQUEUE {
pub hHwQueues: *mut u32,
pub PrivatePresentData: D3DKMT_PRESENT,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_SUBMITPRESENTTOHWQUEUE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_SUBMITPRESENTTOHWQUEUE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_SUBMITPRESENTTOHWQUEUE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_SUBMITPRESENTTOHWQUEUE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SUBMITSIGNALSYNCOBJECTSTOHWQUEUE {
pub Flags: D3DDDICB_SIGNALFLAGS,
pub BroadcastHwQueueCount: u32,
pub BroadcastHwQueueArray: *const u32,
pub ObjectCount: u32,
pub ObjectHandleArray: *const u32,
pub FenceValueArray: *const u64,
}
impl ::core::marker::Copy for D3DKMT_SUBMITSIGNALSYNCOBJECTSTOHWQUEUE {}
impl ::core::clone::Clone for D3DKMT_SUBMITSIGNALSYNCOBJECTSTOHWQUEUE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_SUBMITSIGNALSYNCOBJECTSTOHWQUEUE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_SUBMITSIGNALSYNCOBJECTSTOHWQUEUE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SUBMITWAITFORSYNCOBJECTSTOHWQUEUE {
pub hHwQueue: u32,
pub ObjectCount: u32,
pub ObjectHandleArray: *const u32,
pub FenceValueArray: *const u64,
}
impl ::core::marker::Copy for D3DKMT_SUBMITWAITFORSYNCOBJECTSTOHWQUEUE {}
impl ::core::clone::Clone for D3DKMT_SUBMITWAITFORSYNCOBJECTSTOHWQUEUE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_SUBMITWAITFORSYNCOBJECTSTOHWQUEUE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SUBMITWAITFORSYNCOBJECTSTOHWQUEUE").field("hHwQueue", &self.hHwQueue).field("ObjectCount", &self.ObjectCount).field("ObjectHandleArray", &self.ObjectHandleArray).field("FenceValueArray", &self.FenceValueArray).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_SUBMITWAITFORSYNCOBJECTSTOHWQUEUE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_SUBMITWAITFORSYNCOBJECTSTOHWQUEUE {
fn eq(&self, other: &Self) -> bool {
self.hHwQueue == other.hHwQueue && self.ObjectCount == other.ObjectCount && self.ObjectHandleArray == other.ObjectHandleArray && self.FenceValueArray == other.FenceValueArray
}
}
impl ::core::cmp::Eq for D3DKMT_SUBMITWAITFORSYNCOBJECTSTOHWQUEUE {}
impl ::core::default::Default for D3DKMT_SUBMITWAITFORSYNCOBJECTSTOHWQUEUE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_SURFACECOMPLETE_PRESENTHISTORYTOKEN {
pub hLogicalSurface: u64,
}
impl ::core::marker::Copy for D3DKMT_SURFACECOMPLETE_PRESENTHISTORYTOKEN {}
impl ::core::clone::Clone for D3DKMT_SURFACECOMPLETE_PRESENTHISTORYTOKEN {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_SURFACECOMPLETE_PRESENTHISTORYTOKEN {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_SURFACECOMPLETE_PRESENTHISTORYTOKEN").field("hLogicalSurface", &self.hLogicalSurface).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_SURFACECOMPLETE_PRESENTHISTORYTOKEN {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_SURFACECOMPLETE_PRESENTHISTORYTOKEN {
fn eq(&self, other: &Self) -> bool {
self.hLogicalSurface == other.hLogicalSurface
}
}
impl ::core::cmp::Eq for D3DKMT_SURFACECOMPLETE_PRESENTHISTORYTOKEN {}
impl ::core::default::Default for D3DKMT_SURFACECOMPLETE_PRESENTHISTORYTOKEN {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_TDRDBGCTRL_ESCAPE {
pub TdrControl: D3DKMT_TDRDBGCTRLTYPE,
pub Anonymous: D3DKMT_TDRDBGCTRL_ESCAPE_0,
}
impl ::core::marker::Copy for D3DKMT_TDRDBGCTRL_ESCAPE {}
impl ::core::clone::Clone for D3DKMT_TDRDBGCTRL_ESCAPE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_TDRDBGCTRL_ESCAPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_TDRDBGCTRL_ESCAPE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_TDRDBGCTRL_ESCAPE_0 {
pub NodeOrdinal: u32,
}
impl ::core::marker::Copy for D3DKMT_TDRDBGCTRL_ESCAPE_0 {}
impl ::core::clone::Clone for D3DKMT_TDRDBGCTRL_ESCAPE_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_TDRDBGCTRL_ESCAPE_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_TDRDBGCTRL_ESCAPE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_TRACKEDWORKLOAD_SUPPORT {
pub PhysicalAdapterIndex: u32,
pub EngineType: DXGK_ENGINE_TYPE,
pub Support: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_TRACKEDWORKLOAD_SUPPORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_TRACKEDWORKLOAD_SUPPORT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_TRACKEDWORKLOAD_SUPPORT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_TRACKEDWORKLOAD_SUPPORT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_TRIMNOTIFICATION {
pub Context: *mut ::core::ffi::c_void,
pub Flags: D3DDDI_TRIMRESIDENCYSET_FLAGS,
pub NumBytesToTrim: u64,
}
impl ::core::marker::Copy for D3DKMT_TRIMNOTIFICATION {}
impl ::core::clone::Clone for D3DKMT_TRIMNOTIFICATION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_TRIMNOTIFICATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_TRIMNOTIFICATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_TRIMPROCESSCOMMITMENT {
pub cbSize: u32,
pub hProcess: super::super::super::Win32::Foundation::HANDLE,
pub Flags: D3DKMT_TRIMPROCESSCOMMITMENT_FLAGS,
pub DecommitRequested: u64,
pub NumBytesDecommitted: u64,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_TRIMPROCESSCOMMITMENT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_TRIMPROCESSCOMMITMENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_TRIMPROCESSCOMMITMENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_TRIMPROCESSCOMMITMENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_TRIMPROCESSCOMMITMENT_FLAGS {
pub Anonymous: D3DKMT_TRIMPROCESSCOMMITMENT_FLAGS_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_TRIMPROCESSCOMMITMENT_FLAGS {}
impl ::core::clone::Clone for D3DKMT_TRIMPROCESSCOMMITMENT_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_TRIMPROCESSCOMMITMENT_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_TRIMPROCESSCOMMITMENT_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_TRIMPROCESSCOMMITMENT_FLAGS_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_TRIMPROCESSCOMMITMENT_FLAGS_0 {}
impl ::core::clone::Clone for D3DKMT_TRIMPROCESSCOMMITMENT_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_TRIMPROCESSCOMMITMENT_FLAGS_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_TRIMPROCESSCOMMITMENT_FLAGS_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_TRIMPROCESSCOMMITMENT_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_TRIMPROCESSCOMMITMENT_FLAGS_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_TRIMPROCESSCOMMITMENT_FLAGS_0 {}
impl ::core::default::Default for D3DKMT_TRIMPROCESSCOMMITMENT_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_UMDFILENAMEINFO {
pub Version: KMTUMDVERSION,
pub UmdFileName: [u16; 260],
}
impl ::core::marker::Copy for D3DKMT_UMDFILENAMEINFO {}
impl ::core::clone::Clone for D3DKMT_UMDFILENAMEINFO {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_UMDFILENAMEINFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_UMDFILENAMEINFO").field("Version", &self.Version).field("UmdFileName", &self.UmdFileName).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_UMDFILENAMEINFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_UMDFILENAMEINFO {
fn eq(&self, other: &Self) -> bool {
self.Version == other.Version && self.UmdFileName == other.UmdFileName
}
}
impl ::core::cmp::Eq for D3DKMT_UMDFILENAMEINFO {}
impl ::core::default::Default for D3DKMT_UMDFILENAMEINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_UMD_DRIVER_VERSION {
pub DriverVersion: i64,
}
impl ::core::marker::Copy for D3DKMT_UMD_DRIVER_VERSION {}
impl ::core::clone::Clone for D3DKMT_UMD_DRIVER_VERSION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_UMD_DRIVER_VERSION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_UMD_DRIVER_VERSION").field("DriverVersion", &self.DriverVersion).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_UMD_DRIVER_VERSION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_UMD_DRIVER_VERSION {
fn eq(&self, other: &Self) -> bool {
self.DriverVersion == other.DriverVersion
}
}
impl ::core::cmp::Eq for D3DKMT_UMD_DRIVER_VERSION {}
impl ::core::default::Default for D3DKMT_UMD_DRIVER_VERSION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_UNLOCK {
pub hDevice: u32,
pub NumAllocations: u32,
pub phAllocations: *const u32,
}
impl ::core::marker::Copy for D3DKMT_UNLOCK {}
impl ::core::clone::Clone for D3DKMT_UNLOCK {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_UNLOCK {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_UNLOCK").field("hDevice", &self.hDevice).field("NumAllocations", &self.NumAllocations).field("phAllocations", &self.phAllocations).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_UNLOCK {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_UNLOCK {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.NumAllocations == other.NumAllocations && self.phAllocations == other.phAllocations
}
}
impl ::core::cmp::Eq for D3DKMT_UNLOCK {}
impl ::core::default::Default for D3DKMT_UNLOCK {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_UNLOCK2 {
pub hDevice: u32,
pub hAllocation: u32,
}
impl ::core::marker::Copy for D3DKMT_UNLOCK2 {}
impl ::core::clone::Clone for D3DKMT_UNLOCK2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_UNLOCK2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_UNLOCK2").field("hDevice", &self.hDevice).field("hAllocation", &self.hAllocation).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_UNLOCK2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_UNLOCK2 {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.hAllocation == other.hAllocation
}
}
impl ::core::cmp::Eq for D3DKMT_UNLOCK2 {}
impl ::core::default::Default for D3DKMT_UNLOCK2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_UNPINDIRECTFLIPRESOURCES {
pub hDevice: u32,
pub ResourceCount: u32,
pub pResourceList: *mut u32,
}
impl ::core::marker::Copy for D3DKMT_UNPINDIRECTFLIPRESOURCES {}
impl ::core::clone::Clone for D3DKMT_UNPINDIRECTFLIPRESOURCES {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_UNPINDIRECTFLIPRESOURCES {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_UNPINDIRECTFLIPRESOURCES").field("hDevice", &self.hDevice).field("ResourceCount", &self.ResourceCount).field("pResourceList", &self.pResourceList).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_UNPINDIRECTFLIPRESOURCES {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_UNPINDIRECTFLIPRESOURCES {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.ResourceCount == other.ResourceCount && self.pResourceList == other.pResourceList
}
}
impl ::core::cmp::Eq for D3DKMT_UNPINDIRECTFLIPRESOURCES {}
impl ::core::default::Default for D3DKMT_UNPINDIRECTFLIPRESOURCES {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_UNREGISTERBUDGETCHANGENOTIFICATION {
pub Handle: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for D3DKMT_UNREGISTERBUDGETCHANGENOTIFICATION {}
impl ::core::clone::Clone for D3DKMT_UNREGISTERBUDGETCHANGENOTIFICATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_UNREGISTERBUDGETCHANGENOTIFICATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_UNREGISTERBUDGETCHANGENOTIFICATION").field("Handle", &self.Handle).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_UNREGISTERBUDGETCHANGENOTIFICATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_UNREGISTERBUDGETCHANGENOTIFICATION {
fn eq(&self, other: &Self) -> bool {
self.Handle == other.Handle
}
}
impl ::core::cmp::Eq for D3DKMT_UNREGISTERBUDGETCHANGENOTIFICATION {}
impl ::core::default::Default for D3DKMT_UNREGISTERBUDGETCHANGENOTIFICATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_UNREGISTERTRIMNOTIFICATION {
pub Handle: *mut ::core::ffi::c_void,
pub Callback: PFND3DKMT_TRIMNOTIFICATIONCALLBACK,
}
impl ::core::marker::Copy for D3DKMT_UNREGISTERTRIMNOTIFICATION {}
impl ::core::clone::Clone for D3DKMT_UNREGISTERTRIMNOTIFICATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_UNREGISTERTRIMNOTIFICATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_UNREGISTERTRIMNOTIFICATION").field("Handle", &self.Handle).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_UNREGISTERTRIMNOTIFICATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_UNREGISTERTRIMNOTIFICATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_UPDATEGPUVIRTUALADDRESS {
pub hDevice: u32,
pub hContext: u32,
pub hFenceObject: u32,
pub NumOperations: u32,
pub Operations: *mut D3DDDI_UPDATEGPUVIRTUALADDRESS_OPERATION,
pub Reserved0: usize,
pub Reserved1: u64,
pub FenceValue: u64,
pub Flags: D3DKMT_UPDATEGPUVIRTUALADDRESS_0,
}
impl ::core::marker::Copy for D3DKMT_UPDATEGPUVIRTUALADDRESS {}
impl ::core::clone::Clone for D3DKMT_UPDATEGPUVIRTUALADDRESS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_UPDATEGPUVIRTUALADDRESS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_UPDATEGPUVIRTUALADDRESS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_UPDATEGPUVIRTUALADDRESS_0 {
pub Anonymous: D3DKMT_UPDATEGPUVIRTUALADDRESS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_UPDATEGPUVIRTUALADDRESS_0 {}
impl ::core::clone::Clone for D3DKMT_UPDATEGPUVIRTUALADDRESS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_UPDATEGPUVIRTUALADDRESS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_UPDATEGPUVIRTUALADDRESS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_UPDATEGPUVIRTUALADDRESS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_UPDATEGPUVIRTUALADDRESS_0_0 {}
impl ::core::clone::Clone for D3DKMT_UPDATEGPUVIRTUALADDRESS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_UPDATEGPUVIRTUALADDRESS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_UPDATEGPUVIRTUALADDRESS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_UPDATEGPUVIRTUALADDRESS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_UPDATEGPUVIRTUALADDRESS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_UPDATEGPUVIRTUALADDRESS_0_0 {}
impl ::core::default::Default for D3DKMT_UPDATEGPUVIRTUALADDRESS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_UPDATEOVERLAY {
pub hDevice: u32,
pub hOverlay: u32,
pub OverlayInfo: D3DDDI_KERNELOVERLAYINFO,
}
impl ::core::marker::Copy for D3DKMT_UPDATEOVERLAY {}
impl ::core::clone::Clone for D3DKMT_UPDATEOVERLAY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_UPDATEOVERLAY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_UPDATEOVERLAY").field("hDevice", &self.hDevice).field("hOverlay", &self.hOverlay).field("OverlayInfo", &self.OverlayInfo).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_UPDATEOVERLAY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_UPDATEOVERLAY {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice && self.hOverlay == other.hOverlay && self.OverlayInfo == other.OverlayInfo
}
}
impl ::core::cmp::Eq for D3DKMT_UPDATEOVERLAY {}
impl ::core::default::Default for D3DKMT_UPDATEOVERLAY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_VAD_DESC {
pub VadIndex: u32,
pub VadAddress: u64,
pub NumMappedRanges: u32,
pub VadType: u32,
pub StartAddress: u64,
pub EndAddress: u64,
}
impl ::core::marker::Copy for D3DKMT_VAD_DESC {}
impl ::core::clone::Clone for D3DKMT_VAD_DESC {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_VAD_DESC {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_VAD_DESC").field("VadIndex", &self.VadIndex).field("VadAddress", &self.VadAddress).field("NumMappedRanges", &self.NumMappedRanges).field("VadType", &self.VadType).field("StartAddress", &self.StartAddress).field("EndAddress", &self.EndAddress).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_VAD_DESC {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_VAD_DESC {
fn eq(&self, other: &Self) -> bool {
self.VadIndex == other.VadIndex && self.VadAddress == other.VadAddress && self.NumMappedRanges == other.NumMappedRanges && self.VadType == other.VadType && self.StartAddress == other.StartAddress && self.EndAddress == other.EndAddress
}
}
impl ::core::cmp::Eq for D3DKMT_VAD_DESC {}
impl ::core::default::Default for D3DKMT_VAD_DESC {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_VA_RANGE_DESC {
pub VadAddress: u64,
pub VaRangeIndex: u32,
pub PhysicalAdapterIndex: u32,
pub StartAddress: u64,
pub EndAddress: u64,
pub DriverProtection: u64,
pub OwnerType: u32,
pub pOwner: u64,
pub OwnerOffset: u64,
pub Protection: u32,
}
impl ::core::marker::Copy for D3DKMT_VA_RANGE_DESC {}
impl ::core::clone::Clone for D3DKMT_VA_RANGE_DESC {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_VA_RANGE_DESC {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_VA_RANGE_DESC").field("VadAddress", &self.VadAddress).field("VaRangeIndex", &self.VaRangeIndex).field("PhysicalAdapterIndex", &self.PhysicalAdapterIndex).field("StartAddress", &self.StartAddress).field("EndAddress", &self.EndAddress).field("DriverProtection", &self.DriverProtection).field("OwnerType", &self.OwnerType).field("pOwner", &self.pOwner).field("OwnerOffset", &self.OwnerOffset).field("Protection", &self.Protection).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_VA_RANGE_DESC {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_VA_RANGE_DESC {
fn eq(&self, other: &Self) -> bool {
self.VadAddress == other.VadAddress && self.VaRangeIndex == other.VaRangeIndex && self.PhysicalAdapterIndex == other.PhysicalAdapterIndex && self.StartAddress == other.StartAddress && self.EndAddress == other.EndAddress && self.DriverProtection == other.DriverProtection && self.OwnerType == other.OwnerType && self.pOwner == other.pOwner && self.OwnerOffset == other.OwnerOffset && self.Protection == other.Protection
}
}
impl ::core::cmp::Eq for D3DKMT_VA_RANGE_DESC {}
impl ::core::default::Default for D3DKMT_VA_RANGE_DESC {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_VGPUINTERFACEID {
pub VirtualGpuIntefaceId: [u16; 260],
}
impl ::core::marker::Copy for D3DKMT_VGPUINTERFACEID {}
impl ::core::clone::Clone for D3DKMT_VGPUINTERFACEID {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_VGPUINTERFACEID {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_VGPUINTERFACEID").field("VirtualGpuIntefaceId", &self.VirtualGpuIntefaceId).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_VGPUINTERFACEID {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_VGPUINTERFACEID {
fn eq(&self, other: &Self) -> bool {
self.VirtualGpuIntefaceId == other.VirtualGpuIntefaceId
}
}
impl ::core::cmp::Eq for D3DKMT_VGPUINTERFACEID {}
impl ::core::default::Default for D3DKMT_VGPUINTERFACEID {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_VIDMM_ESCAPE {
pub Type: D3DKMT_VIDMMESCAPETYPE,
pub Anonymous: D3DKMT_VIDMM_ESCAPE_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_VIDMM_ESCAPE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_VIDMM_ESCAPE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DKMT_VIDMM_ESCAPE_0 {
pub SetFault: D3DKMT_VIDMM_ESCAPE_0_9,
pub Evict: D3DKMT_VIDMM_ESCAPE_0_4,
pub EvictByNtHandle: D3DKMT_VIDMM_ESCAPE_0_3,
pub GetVads: D3DKMT_VIDMM_ESCAPE_0_6,
pub SetBudget: D3DKMT_VIDMM_ESCAPE_0_8,
pub SuspendProcess: D3DKMT_VIDMM_ESCAPE_0_11,
pub ResumeProcess: D3DKMT_VIDMM_ESCAPE_0_7,
pub GetBudget: D3DKMT_VIDMM_ESCAPE_0_5,
pub SetTrimIntervals: D3DKMT_VIDMM_ESCAPE_0_10,
pub EvictByCriteria: D3DKMT_EVICTION_CRITERIA,
pub Wake: D3DKMT_VIDMM_ESCAPE_0_13,
pub Defrag: D3DKMT_VIDMM_ESCAPE_0_0,
pub DelayExecution: D3DKMT_VIDMM_ESCAPE_0_1,
pub VerifyIntegrity: D3DKMT_VIDMM_ESCAPE_0_12,
pub DelayedEvictionConfig: D3DKMT_VIDMM_ESCAPE_0_2,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_VIDMM_ESCAPE_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_VIDMM_ESCAPE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_VIDMM_ESCAPE_0_0 {
pub Operation: D3DKMT_DEFRAG_ESCAPE_OPERATION,
pub SegmentId: u32,
pub TotalCommitted: u64,
pub TotalFree: u64,
pub LargestGapBefore: u64,
pub LargestGapAfter: u64,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_VIDMM_ESCAPE_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_VIDMM_ESCAPE_0_0").field("Operation", &self.Operation).field("SegmentId", &self.SegmentId).field("TotalCommitted", &self.TotalCommitted).field("TotalFree", &self.TotalFree).field("LargestGapBefore", &self.LargestGapBefore).field("LargestGapAfter", &self.LargestGapAfter).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_VIDMM_ESCAPE_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_VIDMM_ESCAPE_0_0 {
fn eq(&self, other: &Self) -> bool {
self.Operation == other.Operation && self.SegmentId == other.SegmentId && self.TotalCommitted == other.TotalCommitted && self.TotalFree == other.TotalFree && self.LargestGapBefore == other.LargestGapBefore && self.LargestGapAfter == other.LargestGapAfter
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_VIDMM_ESCAPE_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_VIDMM_ESCAPE_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_VIDMM_ESCAPE_0_1 {
pub hPagingQueue: u32,
pub PhysicalAdapterIndex: u32,
pub Milliseconds: u32,
pub PagingFenceValue: u64,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_1 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_1 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_VIDMM_ESCAPE_0_1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_VIDMM_ESCAPE_0_1").field("hPagingQueue", &self.hPagingQueue).field("PhysicalAdapterIndex", &self.PhysicalAdapterIndex).field("Milliseconds", &self.Milliseconds).field("PagingFenceValue", &self.PagingFenceValue).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_VIDMM_ESCAPE_0_1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_VIDMM_ESCAPE_0_1 {
fn eq(&self, other: &Self) -> bool {
self.hPagingQueue == other.hPagingQueue && self.PhysicalAdapterIndex == other.PhysicalAdapterIndex && self.Milliseconds == other.Milliseconds && self.PagingFenceValue == other.PagingFenceValue
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_VIDMM_ESCAPE_0_1 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_VIDMM_ESCAPE_0_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_VIDMM_ESCAPE_0_2 {
pub TimerValue: i64,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_VIDMM_ESCAPE_0_2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_VIDMM_ESCAPE_0_2").field("TimerValue", &self.TimerValue).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_VIDMM_ESCAPE_0_2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_VIDMM_ESCAPE_0_2 {
fn eq(&self, other: &Self) -> bool {
self.TimerValue == other.TimerValue
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_VIDMM_ESCAPE_0_2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_VIDMM_ESCAPE_0_2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_VIDMM_ESCAPE_0_3 {
pub NtHandle: u64,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_3 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_3 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_VIDMM_ESCAPE_0_3 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_VIDMM_ESCAPE_0_3").field("NtHandle", &self.NtHandle).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_VIDMM_ESCAPE_0_3 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_VIDMM_ESCAPE_0_3 {
fn eq(&self, other: &Self) -> bool {
self.NtHandle == other.NtHandle
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_VIDMM_ESCAPE_0_3 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_VIDMM_ESCAPE_0_3 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_VIDMM_ESCAPE_0_4 {
pub ResourceHandle: u32,
pub AllocationHandle: u32,
pub hProcess: super::super::super::Win32::Foundation::HANDLE,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_4 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_4 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_VIDMM_ESCAPE_0_4 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_VIDMM_ESCAPE_0_4").field("ResourceHandle", &self.ResourceHandle).field("AllocationHandle", &self.AllocationHandle).field("hProcess", &self.hProcess).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_VIDMM_ESCAPE_0_4 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_VIDMM_ESCAPE_0_4 {
fn eq(&self, other: &Self) -> bool {
self.ResourceHandle == other.ResourceHandle && self.AllocationHandle == other.AllocationHandle && self.hProcess == other.hProcess
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_VIDMM_ESCAPE_0_4 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_VIDMM_ESCAPE_0_4 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_VIDMM_ESCAPE_0_5 {
pub NumBytesToTrim: u64,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_5 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_5 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_VIDMM_ESCAPE_0_5 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_VIDMM_ESCAPE_0_5").field("NumBytesToTrim", &self.NumBytesToTrim).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_VIDMM_ESCAPE_0_5 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_VIDMM_ESCAPE_0_5 {
fn eq(&self, other: &Self) -> bool {
self.NumBytesToTrim == other.NumBytesToTrim
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_VIDMM_ESCAPE_0_5 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_VIDMM_ESCAPE_0_5 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_VIDMM_ESCAPE_0_6 {
pub Anonymous: D3DKMT_VIDMM_ESCAPE_0_6_0,
pub Command: D3DKMT_VAD_ESCAPE_COMMAND,
pub Status: super::super::super::Win32::Foundation::NTSTATUS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_6 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_6 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_VIDMM_ESCAPE_0_6 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_VIDMM_ESCAPE_0_6 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DKMT_VIDMM_ESCAPE_0_6_0 {
pub GetNumVads: D3DKMT_VIDMM_ESCAPE_0_6_0_0,
pub GetVad: D3DKMT_VAD_DESC,
pub GetVadRange: D3DKMT_VA_RANGE_DESC,
pub GetGpuMmuCaps: D3DKMT_GET_GPUMMU_CAPS,
pub GetPte: D3DKMT_GET_PTE,
pub GetSegmentCaps: D3DKMT_GET_SEGMENT_CAPS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_6_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_6_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_VIDMM_ESCAPE_0_6_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_VIDMM_ESCAPE_0_6_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_VIDMM_ESCAPE_0_6_0_0 {
pub NumVads: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_6_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_6_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_VIDMM_ESCAPE_0_6_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_VIDMM_ESCAPE_0_6_0_0").field("NumVads", &self.NumVads).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_VIDMM_ESCAPE_0_6_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_VIDMM_ESCAPE_0_6_0_0 {
fn eq(&self, other: &Self) -> bool {
self.NumVads == other.NumVads
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_VIDMM_ESCAPE_0_6_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_VIDMM_ESCAPE_0_6_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_VIDMM_ESCAPE_0_7 {
pub hProcess: super::super::super::Win32::Foundation::HANDLE,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_7 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_7 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_VIDMM_ESCAPE_0_7 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_VIDMM_ESCAPE_0_7").field("hProcess", &self.hProcess).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_VIDMM_ESCAPE_0_7 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_VIDMM_ESCAPE_0_7 {
fn eq(&self, other: &Self) -> bool {
self.hProcess == other.hProcess
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_VIDMM_ESCAPE_0_7 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_VIDMM_ESCAPE_0_7 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_VIDMM_ESCAPE_0_8 {
pub LocalMemoryBudget: u64,
pub SystemMemoryBudget: u64,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_8 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_8 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_VIDMM_ESCAPE_0_8 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_VIDMM_ESCAPE_0_8").field("LocalMemoryBudget", &self.LocalMemoryBudget).field("SystemMemoryBudget", &self.SystemMemoryBudget).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_VIDMM_ESCAPE_0_8 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_VIDMM_ESCAPE_0_8 {
fn eq(&self, other: &Self) -> bool {
self.LocalMemoryBudget == other.LocalMemoryBudget && self.SystemMemoryBudget == other.SystemMemoryBudget
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_VIDMM_ESCAPE_0_8 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_VIDMM_ESCAPE_0_8 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_VIDMM_ESCAPE_0_9 {
pub Anonymous: D3DKMT_VIDMM_ESCAPE_0_9_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_9 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_9 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_VIDMM_ESCAPE_0_9 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_VIDMM_ESCAPE_0_9 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DKMT_VIDMM_ESCAPE_0_9_0 {
pub Anonymous: D3DKMT_VIDMM_ESCAPE_0_9_0_0,
pub Value: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_9_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_9_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_VIDMM_ESCAPE_0_9_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_VIDMM_ESCAPE_0_9_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_VIDMM_ESCAPE_0_9_0_0 {
pub _bitfield: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_9_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_9_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_VIDMM_ESCAPE_0_9_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_VIDMM_ESCAPE_0_9_0_0").field("_bitfield", &self._bitfield).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_VIDMM_ESCAPE_0_9_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_VIDMM_ESCAPE_0_9_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_VIDMM_ESCAPE_0_9_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_VIDMM_ESCAPE_0_9_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_VIDMM_ESCAPE_0_10 {
pub MinTrimInterval: u32,
pub MaxTrimInterval: u32,
pub IdleTrimInterval: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_10 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_10 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_VIDMM_ESCAPE_0_10 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_VIDMM_ESCAPE_0_10").field("MinTrimInterval", &self.MinTrimInterval).field("MaxTrimInterval", &self.MaxTrimInterval).field("IdleTrimInterval", &self.IdleTrimInterval).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_VIDMM_ESCAPE_0_10 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_VIDMM_ESCAPE_0_10 {
fn eq(&self, other: &Self) -> bool {
self.MinTrimInterval == other.MinTrimInterval && self.MaxTrimInterval == other.MaxTrimInterval && self.IdleTrimInterval == other.IdleTrimInterval
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_VIDMM_ESCAPE_0_10 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_VIDMM_ESCAPE_0_10 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_VIDMM_ESCAPE_0_11 {
pub hProcess: super::super::super::Win32::Foundation::HANDLE,
pub bAllowWakeOnSubmission: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_11 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_11 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_VIDMM_ESCAPE_0_11 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_VIDMM_ESCAPE_0_11").field("hProcess", &self.hProcess).field("bAllowWakeOnSubmission", &self.bAllowWakeOnSubmission).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_VIDMM_ESCAPE_0_11 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_VIDMM_ESCAPE_0_11 {
fn eq(&self, other: &Self) -> bool {
self.hProcess == other.hProcess && self.bAllowWakeOnSubmission == other.bAllowWakeOnSubmission
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_VIDMM_ESCAPE_0_11 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_VIDMM_ESCAPE_0_11 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_VIDMM_ESCAPE_0_12 {
pub SegmentId: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_12 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_12 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_VIDMM_ESCAPE_0_12 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_VIDMM_ESCAPE_0_12").field("SegmentId", &self.SegmentId).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_VIDMM_ESCAPE_0_12 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_VIDMM_ESCAPE_0_12 {
fn eq(&self, other: &Self) -> bool {
self.SegmentId == other.SegmentId
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_VIDMM_ESCAPE_0_12 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_VIDMM_ESCAPE_0_12 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_VIDMM_ESCAPE_0_13 {
pub bFlush: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_VIDMM_ESCAPE_0_13 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_VIDMM_ESCAPE_0_13 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_VIDMM_ESCAPE_0_13 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_VIDMM_ESCAPE_0_13").field("bFlush", &self.bFlush).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_VIDMM_ESCAPE_0_13 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_VIDMM_ESCAPE_0_13 {
fn eq(&self, other: &Self) -> bool {
self.bFlush == other.bFlush
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_VIDMM_ESCAPE_0_13 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_VIDMM_ESCAPE_0_13 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_VIDPNSOURCEOWNER_FLAGS {
pub Anonymous: D3DKMT_VIDPNSOURCEOWNER_FLAGS_0,
}
impl ::core::marker::Copy for D3DKMT_VIDPNSOURCEOWNER_FLAGS {}
impl ::core::clone::Clone for D3DKMT_VIDPNSOURCEOWNER_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_VIDPNSOURCEOWNER_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_VIDPNSOURCEOWNER_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_VIDPNSOURCEOWNER_FLAGS_0 {
pub Anonymous: D3DKMT_VIDPNSOURCEOWNER_FLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_VIDPNSOURCEOWNER_FLAGS_0 {}
impl ::core::clone::Clone for D3DKMT_VIDPNSOURCEOWNER_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_VIDPNSOURCEOWNER_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_VIDPNSOURCEOWNER_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_VIDPNSOURCEOWNER_FLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_VIDPNSOURCEOWNER_FLAGS_0_0 {}
impl ::core::clone::Clone for D3DKMT_VIDPNSOURCEOWNER_FLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_VIDPNSOURCEOWNER_FLAGS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_VIDPNSOURCEOWNER_FLAGS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_VIDPNSOURCEOWNER_FLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_VIDPNSOURCEOWNER_FLAGS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_VIDPNSOURCEOWNER_FLAGS_0_0 {}
impl ::core::default::Default for D3DKMT_VIDPNSOURCEOWNER_FLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_VIDSCH_ESCAPE {
pub Type: D3DKMT_VIDSCHESCAPETYPE,
pub Anonymous: D3DKMT_VIDSCH_ESCAPE_0,
pub VirtualRefreshRateControl: D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_VIDSCH_ESCAPE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_VIDSCH_ESCAPE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_VIDSCH_ESCAPE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_VIDSCH_ESCAPE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DKMT_VIDSCH_ESCAPE_0 {
pub PreemptionControl: super::super::super::Win32::Foundation::BOOL,
pub EnableContextDelay: super::super::super::Win32::Foundation::BOOL,
pub TdrControl2: D3DKMT_VIDSCH_ESCAPE_0_0,
pub SuspendScheduler: super::super::super::Win32::Foundation::BOOL,
pub TdrControl: u32,
pub SuspendTime: u32,
pub TdrLimit: D3DKMT_VIDSCH_ESCAPE_0_1,
pub PfnControl: D3DKMT_ESCAPE_PFN_CONTROL_COMMAND,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_VIDSCH_ESCAPE_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_VIDSCH_ESCAPE_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_VIDSCH_ESCAPE_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_VIDSCH_ESCAPE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_VIDSCH_ESCAPE_0_0 {
pub TdrControl: u32,
pub Anonymous: D3DKMT_VIDSCH_ESCAPE_0_0_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_VIDSCH_ESCAPE_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_VIDSCH_ESCAPE_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_VIDSCH_ESCAPE_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_VIDSCH_ESCAPE_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union D3DKMT_VIDSCH_ESCAPE_0_0_0 {
pub NodeOrdinal: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_VIDSCH_ESCAPE_0_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_VIDSCH_ESCAPE_0_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_VIDSCH_ESCAPE_0_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_VIDSCH_ESCAPE_0_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_VIDSCH_ESCAPE_0_1 {
pub Count: u32,
pub Time: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_VIDSCH_ESCAPE_0_1 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_VIDSCH_ESCAPE_0_1 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_VIDSCH_ESCAPE_0_1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_VIDSCH_ESCAPE_0_1").field("Count", &self.Count).field("Time", &self.Time).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_VIDSCH_ESCAPE_0_1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_VIDSCH_ESCAPE_0_1 {
fn eq(&self, other: &Self) -> bool {
self.Count == other.Count && self.Time == other.Time
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_VIDSCH_ESCAPE_0_1 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_VIDSCH_ESCAPE_0_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_VIRTUALADDRESSFLAGS {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_VIRTUALADDRESSFLAGS {}
impl ::core::clone::Clone for D3DKMT_VIRTUALADDRESSFLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_VIRTUALADDRESSFLAGS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_VIRTUALADDRESSFLAGS").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_VIRTUALADDRESSFLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_VIRTUALADDRESSFLAGS {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_VIRTUALADDRESSFLAGS {}
impl ::core::default::Default for D3DKMT_VIRTUALADDRESSFLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_VIRTUALADDRESSINFO {
pub VirtualAddressFlags: D3DKMT_VIRTUALADDRESSFLAGS,
}
impl ::core::marker::Copy for D3DKMT_VIRTUALADDRESSINFO {}
impl ::core::clone::Clone for D3DKMT_VIRTUALADDRESSINFO {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_VIRTUALADDRESSINFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_VIRTUALADDRESSINFO").field("VirtualAddressFlags", &self.VirtualAddressFlags).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_VIRTUALADDRESSINFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_VIRTUALADDRESSINFO {
fn eq(&self, other: &Self) -> bool {
self.VirtualAddressFlags == other.VirtualAddressFlags
}
}
impl ::core::cmp::Eq for D3DKMT_VIRTUALADDRESSINFO {}
impl ::core::default::Default for D3DKMT_VIRTUALADDRESSINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_WAITFORIDLE {
pub hDevice: u32,
}
impl ::core::marker::Copy for D3DKMT_WAITFORIDLE {}
impl ::core::clone::Clone for D3DKMT_WAITFORIDLE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_WAITFORIDLE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_WAITFORIDLE").field("hDevice", &self.hDevice).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_WAITFORIDLE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_WAITFORIDLE {
fn eq(&self, other: &Self) -> bool {
self.hDevice == other.hDevice
}
}
impl ::core::cmp::Eq for D3DKMT_WAITFORIDLE {}
impl ::core::default::Default for D3DKMT_WAITFORIDLE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_WAITFORSYNCHRONIZATIONOBJECT {
pub hContext: u32,
pub ObjectCount: u32,
pub ObjectHandleArray: [u32; 32],
}
impl ::core::marker::Copy for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT {}
impl ::core::clone::Clone for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_WAITFORSYNCHRONIZATIONOBJECT").field("hContext", &self.hContext).field("ObjectCount", &self.ObjectCount).field("ObjectHandleArray", &self.ObjectHandleArray).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT {
fn eq(&self, other: &Self) -> bool {
self.hContext == other.hContext && self.ObjectCount == other.ObjectCount && self.ObjectHandleArray == other.ObjectHandleArray
}
}
impl ::core::cmp::Eq for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT {}
impl ::core::default::Default for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2 {
pub hContext: u32,
pub ObjectCount: u32,
pub ObjectHandleArray: [u32; 32],
pub Anonymous: D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2_0,
}
impl ::core::marker::Copy for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2 {}
impl ::core::clone::Clone for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2_0 {
pub Fence: D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2_0_0,
pub Reserved: [u64; 8],
}
impl ::core::marker::Copy for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2_0 {}
impl ::core::clone::Clone for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2_0_0 {
pub FenceValue: u64,
}
impl ::core::marker::Copy for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2_0_0 {}
impl ::core::clone::Clone for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2_0_0").field("FenceValue", &self.FenceValue).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2_0_0 {
fn eq(&self, other: &Self) -> bool {
self.FenceValue == other.FenceValue
}
}
impl ::core::cmp::Eq for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2_0_0 {}
impl ::core::default::Default for D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMCPU {
pub hDevice: u32,
pub ObjectCount: u32,
pub ObjectHandleArray: *const u32,
pub FenceValueArray: *const u64,
pub hAsyncEvent: super::super::super::Win32::Foundation::HANDLE,
pub Flags: D3DDDI_WAITFORSYNCHRONIZATIONOBJECTFROMCPU_FLAGS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMCPU {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMCPU {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMCPU {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMCPU {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU {
pub hContext: u32,
pub ObjectCount: u32,
pub ObjectHandleArray: *const u32,
pub Anonymous: D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU_0,
}
impl ::core::marker::Copy for D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU {}
impl ::core::clone::Clone for D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU_0 {
pub MonitoredFenceValueArray: *const u64,
pub FenceValue: u64,
pub Reserved: [u64; 8],
}
impl ::core::marker::Copy for D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU_0 {}
impl ::core::clone::Clone for D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_WAITFORVERTICALBLANKEVENT {
pub hAdapter: u32,
pub hDevice: u32,
pub VidPnSourceId: u32,
}
impl ::core::marker::Copy for D3DKMT_WAITFORVERTICALBLANKEVENT {}
impl ::core::clone::Clone for D3DKMT_WAITFORVERTICALBLANKEVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_WAITFORVERTICALBLANKEVENT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_WAITFORVERTICALBLANKEVENT").field("hAdapter", &self.hAdapter).field("hDevice", &self.hDevice).field("VidPnSourceId", &self.VidPnSourceId).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_WAITFORVERTICALBLANKEVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_WAITFORVERTICALBLANKEVENT {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.hDevice == other.hDevice && self.VidPnSourceId == other.VidPnSourceId
}
}
impl ::core::cmp::Eq for D3DKMT_WAITFORVERTICALBLANKEVENT {}
impl ::core::default::Default for D3DKMT_WAITFORVERTICALBLANKEVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_WAITFORVERTICALBLANKEVENT2 {
pub hAdapter: u32,
pub hDevice: u32,
pub VidPnSourceId: u32,
pub NumObjects: u32,
pub ObjectHandleArray: [isize; 8],
}
impl ::core::marker::Copy for D3DKMT_WAITFORVERTICALBLANKEVENT2 {}
impl ::core::clone::Clone for D3DKMT_WAITFORVERTICALBLANKEVENT2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_WAITFORVERTICALBLANKEVENT2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_WAITFORVERTICALBLANKEVENT2").field("hAdapter", &self.hAdapter).field("hDevice", &self.hDevice).field("VidPnSourceId", &self.VidPnSourceId).field("NumObjects", &self.NumObjects).field("ObjectHandleArray", &self.ObjectHandleArray).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_WAITFORVERTICALBLANKEVENT2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_WAITFORVERTICALBLANKEVENT2 {
fn eq(&self, other: &Self) -> bool {
self.hAdapter == other.hAdapter && self.hDevice == other.hDevice && self.VidPnSourceId == other.VidPnSourceId && self.NumObjects == other.NumObjects && self.ObjectHandleArray == other.ObjectHandleArray
}
}
impl ::core::cmp::Eq for D3DKMT_WAITFORVERTICALBLANKEVENT2 {}
impl ::core::default::Default for D3DKMT_WAITFORVERTICALBLANKEVENT2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_WDDM_1_2_CAPS {
pub PreemptionCaps: D3DKMDT_PREEMPTION_CAPS,
pub Anonymous: D3DKMT_WDDM_1_2_CAPS_0,
}
impl ::core::marker::Copy for D3DKMT_WDDM_1_2_CAPS {}
impl ::core::clone::Clone for D3DKMT_WDDM_1_2_CAPS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_WDDM_1_2_CAPS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_WDDM_1_2_CAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DKMT_WDDM_1_2_CAPS_0 {
pub Anonymous: D3DKMT_WDDM_1_2_CAPS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_WDDM_1_2_CAPS_0 {}
impl ::core::clone::Clone for D3DKMT_WDDM_1_2_CAPS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_WDDM_1_2_CAPS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_WDDM_1_2_CAPS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_WDDM_1_2_CAPS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_WDDM_1_2_CAPS_0_0 {}
impl ::core::clone::Clone for D3DKMT_WDDM_1_2_CAPS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_WDDM_1_2_CAPS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_WDDM_1_2_CAPS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_WDDM_1_2_CAPS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_WDDM_1_2_CAPS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_WDDM_1_2_CAPS_0_0 {}
impl ::core::default::Default for D3DKMT_WDDM_1_2_CAPS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_WDDM_1_3_CAPS {
pub Anonymous: D3DKMT_WDDM_1_3_CAPS_0,
}
impl ::core::marker::Copy for D3DKMT_WDDM_1_3_CAPS {}
impl ::core::clone::Clone for D3DKMT_WDDM_1_3_CAPS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_WDDM_1_3_CAPS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_WDDM_1_3_CAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub union D3DKMT_WDDM_1_3_CAPS_0 {
pub Anonymous: D3DKMT_WDDM_1_3_CAPS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_WDDM_1_3_CAPS_0 {}
impl ::core::clone::Clone for D3DKMT_WDDM_1_3_CAPS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_WDDM_1_3_CAPS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_WDDM_1_3_CAPS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct D3DKMT_WDDM_1_3_CAPS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_WDDM_1_3_CAPS_0_0 {}
impl ::core::clone::Clone for D3DKMT_WDDM_1_3_CAPS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_WDDM_1_3_CAPS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_WDDM_1_3_CAPS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_WDDM_2_0_CAPS {
pub Anonymous: D3DKMT_WDDM_2_0_CAPS_0,
}
impl ::core::marker::Copy for D3DKMT_WDDM_2_0_CAPS {}
impl ::core::clone::Clone for D3DKMT_WDDM_2_0_CAPS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_WDDM_2_0_CAPS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_WDDM_2_0_CAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub union D3DKMT_WDDM_2_0_CAPS_0 {
pub Anonymous: D3DKMT_WDDM_2_0_CAPS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_WDDM_2_0_CAPS_0 {}
impl ::core::clone::Clone for D3DKMT_WDDM_2_0_CAPS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_WDDM_2_0_CAPS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_WDDM_2_0_CAPS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct D3DKMT_WDDM_2_0_CAPS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_WDDM_2_0_CAPS_0_0 {}
impl ::core::clone::Clone for D3DKMT_WDDM_2_0_CAPS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_WDDM_2_0_CAPS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_WDDM_2_0_CAPS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_WDDM_2_7_CAPS {
pub Anonymous: D3DKMT_WDDM_2_7_CAPS_0,
}
impl ::core::marker::Copy for D3DKMT_WDDM_2_7_CAPS {}
impl ::core::clone::Clone for D3DKMT_WDDM_2_7_CAPS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_WDDM_2_7_CAPS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_WDDM_2_7_CAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub union D3DKMT_WDDM_2_7_CAPS_0 {
pub Anonymous: D3DKMT_WDDM_2_7_CAPS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_WDDM_2_7_CAPS_0 {}
impl ::core::clone::Clone for D3DKMT_WDDM_2_7_CAPS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_WDDM_2_7_CAPS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_WDDM_2_7_CAPS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct D3DKMT_WDDM_2_7_CAPS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_WDDM_2_7_CAPS_0_0 {}
impl ::core::clone::Clone for D3DKMT_WDDM_2_7_CAPS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_WDDM_2_7_CAPS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_WDDM_2_7_CAPS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_WDDM_2_9_CAPS {
pub Anonymous: D3DKMT_WDDM_2_9_CAPS_0,
}
impl ::core::marker::Copy for D3DKMT_WDDM_2_9_CAPS {}
impl ::core::clone::Clone for D3DKMT_WDDM_2_9_CAPS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_WDDM_2_9_CAPS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_WDDM_2_9_CAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub union D3DKMT_WDDM_2_9_CAPS_0 {
pub Anonymous: D3DKMT_WDDM_2_9_CAPS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_WDDM_2_9_CAPS_0 {}
impl ::core::clone::Clone for D3DKMT_WDDM_2_9_CAPS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_WDDM_2_9_CAPS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_WDDM_2_9_CAPS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct D3DKMT_WDDM_2_9_CAPS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_WDDM_2_9_CAPS_0_0 {}
impl ::core::clone::Clone for D3DKMT_WDDM_2_9_CAPS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_WDDM_2_9_CAPS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_WDDM_2_9_CAPS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_WDDM_3_0_CAPS {
pub Anonymous: D3DKMT_WDDM_3_0_CAPS_0,
}
impl ::core::marker::Copy for D3DKMT_WDDM_3_0_CAPS {}
impl ::core::clone::Clone for D3DKMT_WDDM_3_0_CAPS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_WDDM_3_0_CAPS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_WDDM_3_0_CAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub union D3DKMT_WDDM_3_0_CAPS_0 {
pub Anonymous: D3DKMT_WDDM_3_0_CAPS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_WDDM_3_0_CAPS_0 {}
impl ::core::clone::Clone for D3DKMT_WDDM_3_0_CAPS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_WDDM_3_0_CAPS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_WDDM_3_0_CAPS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct D3DKMT_WDDM_3_0_CAPS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_WDDM_3_0_CAPS_0_0 {}
impl ::core::clone::Clone for D3DKMT_WDDM_3_0_CAPS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_WDDM_3_0_CAPS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_WDDM_3_0_CAPS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_WDDM_3_1_CAPS {
pub Anonymous: D3DKMT_WDDM_3_1_CAPS_0,
}
impl ::core::marker::Copy for D3DKMT_WDDM_3_1_CAPS {}
impl ::core::clone::Clone for D3DKMT_WDDM_3_1_CAPS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_WDDM_3_1_CAPS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_WDDM_3_1_CAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub union D3DKMT_WDDM_3_1_CAPS_0 {
pub Anonymous: D3DKMT_WDDM_3_1_CAPS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for D3DKMT_WDDM_3_1_CAPS_0 {}
impl ::core::clone::Clone for D3DKMT_WDDM_3_1_CAPS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_WDDM_3_1_CAPS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_WDDM_3_1_CAPS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct D3DKMT_WDDM_3_1_CAPS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_WDDM_3_1_CAPS_0_0 {}
impl ::core::clone::Clone for D3DKMT_WDDM_3_1_CAPS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DKMT_WDDM_3_1_CAPS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DKMT_WDDM_3_1_CAPS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_WORKINGSETFLAGS {
pub _bitfield: u32,
}
impl ::core::marker::Copy for D3DKMT_WORKINGSETFLAGS {}
impl ::core::clone::Clone for D3DKMT_WORKINGSETFLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_WORKINGSETFLAGS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_WORKINGSETFLAGS").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_WORKINGSETFLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_WORKINGSETFLAGS {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for D3DKMT_WORKINGSETFLAGS {}
impl ::core::default::Default for D3DKMT_WORKINGSETFLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_WORKINGSETINFO {
pub Flags: D3DKMT_WORKINGSETFLAGS,
pub MinimumWorkingSetPercentile: u32,
pub MaximumWorkingSetPercentile: u32,
}
impl ::core::marker::Copy for D3DKMT_WORKINGSETINFO {}
impl ::core::clone::Clone for D3DKMT_WORKINGSETINFO {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_WORKINGSETINFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_WORKINGSETINFO").field("Flags", &self.Flags).field("MinimumWorkingSetPercentile", &self.MinimumWorkingSetPercentile).field("MaximumWorkingSetPercentile", &self.MaximumWorkingSetPercentile).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_WORKINGSETINFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_WORKINGSETINFO {
fn eq(&self, other: &Self) -> bool {
self.Flags == other.Flags && self.MinimumWorkingSetPercentile == other.MinimumWorkingSetPercentile && self.MaximumWorkingSetPercentile == other.MaximumWorkingSetPercentile
}
}
impl ::core::cmp::Eq for D3DKMT_WORKINGSETINFO {}
impl ::core::default::Default for D3DKMT_WORKINGSETINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DKMT_WSAUMDIMAGENAME {
pub WsaUmdImageName: [u16; 260],
}
impl ::core::marker::Copy for D3DKMT_WSAUMDIMAGENAME {}
impl ::core::clone::Clone for D3DKMT_WSAUMDIMAGENAME {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DKMT_WSAUMDIMAGENAME {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_WSAUMDIMAGENAME").field("WsaUmdImageName", &self.WsaUmdImageName).finish()
}
}
impl ::windows_core::TypeKind for D3DKMT_WSAUMDIMAGENAME {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DKMT_WSAUMDIMAGENAME {
fn eq(&self, other: &Self) -> bool {
self.WsaUmdImageName == other.WsaUmdImageName
}
}
impl ::core::cmp::Eq for D3DKMT_WSAUMDIMAGENAME {}
impl ::core::default::Default for D3DKMT_WSAUMDIMAGENAME {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DKMT_XBOX {
pub IsXBOX: super::super::super::Win32::Foundation::BOOL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DKMT_XBOX {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DKMT_XBOX {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DKMT_XBOX {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DKMT_XBOX").field("IsXBOX", &self.IsXBOX).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DKMT_XBOX {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DKMT_XBOX {
fn eq(&self, other: &Self) -> bool {
self.IsXBOX == other.IsXBOX
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DKMT_XBOX {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DKMT_XBOX {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DLINEPATTERN {
pub wRepeatFactor: u16,
pub wLinePattern: u16,
}
impl ::core::marker::Copy for D3DLINEPATTERN {}
impl ::core::clone::Clone for D3DLINEPATTERN {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DLINEPATTERN {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DLINEPATTERN").field("wRepeatFactor", &self.wRepeatFactor).field("wLinePattern", &self.wLinePattern).finish()
}
}
impl ::windows_core::TypeKind for D3DLINEPATTERN {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DLINEPATTERN {
fn eq(&self, other: &Self) -> bool {
self.wRepeatFactor == other.wRepeatFactor && self.wLinePattern == other.wLinePattern
}
}
impl ::core::cmp::Eq for D3DLINEPATTERN {}
impl ::core::default::Default for D3DLINEPATTERN {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
pub struct D3DNTDEVICEDESC_V3 {
pub dwSize: u32,
pub dwFlags: u32,
pub dcmColorModel: u32,
pub dwDevCaps: u32,
pub dtcTransformCaps: super::super::super::Win32::Graphics::Direct3D9::D3DTRANSFORMCAPS,
pub bClipping: super::super::super::Win32::Foundation::BOOL,
pub dlcLightingCaps: super::super::super::Win32::Graphics::Direct3D9::D3DLIGHTINGCAPS,
pub dpcLineCaps: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMCAPS,
pub dpcTriCaps: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMCAPS,
pub dwDeviceRenderBitDepth: u32,
pub dwDeviceZBufferBitDepth: u32,
pub dwMaxBufferSize: u32,
pub dwMaxVertexCount: u32,
pub dwMinTextureWidth: u32,
pub dwMinTextureHeight: u32,
pub dwMaxTextureWidth: u32,
pub dwMaxTextureHeight: u32,
pub dwMinStippleWidth: u32,
pub dwMaxStippleWidth: u32,
pub dwMinStippleHeight: u32,
pub dwMaxStippleHeight: u32,
pub dwMaxTextureRepeat: u32,
pub dwMaxTextureAspectRatio: u32,
pub dwMaxAnisotropy: u32,
pub dvGuardBandLeft: f32,
pub dvGuardBandTop: f32,
pub dvGuardBandRight: f32,
pub dvGuardBandBottom: f32,
pub dvExtentsAdjust: f32,
pub dwStencilCaps: u32,
pub dwFVFCaps: u32,
pub dwTextureOpCaps: u32,
pub wMaxTextureBlendStages: u16,
pub wMaxSimultaneousTextures: u16,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::marker::Copy for D3DNTDEVICEDESC_V3 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::clone::Clone for D3DNTDEVICEDESC_V3 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::fmt::Debug for D3DNTDEVICEDESC_V3 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTDEVICEDESC_V3")
.field("dwSize", &self.dwSize)
.field("dwFlags", &self.dwFlags)
.field("dcmColorModel", &self.dcmColorModel)
.field("dwDevCaps", &self.dwDevCaps)
.field("dtcTransformCaps", &self.dtcTransformCaps)
.field("bClipping", &self.bClipping)
.field("dlcLightingCaps", &self.dlcLightingCaps)
.field("dpcLineCaps", &self.dpcLineCaps)
.field("dpcTriCaps", &self.dpcTriCaps)
.field("dwDeviceRenderBitDepth", &self.dwDeviceRenderBitDepth)
.field("dwDeviceZBufferBitDepth", &self.dwDeviceZBufferBitDepth)
.field("dwMaxBufferSize", &self.dwMaxBufferSize)
.field("dwMaxVertexCount", &self.dwMaxVertexCount)
.field("dwMinTextureWidth", &self.dwMinTextureWidth)
.field("dwMinTextureHeight", &self.dwMinTextureHeight)
.field("dwMaxTextureWidth", &self.dwMaxTextureWidth)
.field("dwMaxTextureHeight", &self.dwMaxTextureHeight)
.field("dwMinStippleWidth", &self.dwMinStippleWidth)
.field("dwMaxStippleWidth", &self.dwMaxStippleWidth)
.field("dwMinStippleHeight", &self.dwMinStippleHeight)
.field("dwMaxStippleHeight", &self.dwMaxStippleHeight)
.field("dwMaxTextureRepeat", &self.dwMaxTextureRepeat)
.field("dwMaxTextureAspectRatio", &self.dwMaxTextureAspectRatio)
.field("dwMaxAnisotropy", &self.dwMaxAnisotropy)
.field("dvGuardBandLeft", &self.dvGuardBandLeft)
.field("dvGuardBandTop", &self.dvGuardBandTop)
.field("dvGuardBandRight", &self.dvGuardBandRight)
.field("dvGuardBandBottom", &self.dvGuardBandBottom)
.field("dvExtentsAdjust", &self.dvExtentsAdjust)
.field("dwStencilCaps", &self.dwStencilCaps)
.field("dwFVFCaps", &self.dwFVFCaps)
.field("dwTextureOpCaps", &self.dwTextureOpCaps)
.field("wMaxTextureBlendStages", &self.wMaxTextureBlendStages)
.field("wMaxSimultaneousTextures", &self.wMaxSimultaneousTextures)
.finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::windows_core::TypeKind for D3DNTDEVICEDESC_V3 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::cmp::PartialEq for D3DNTDEVICEDESC_V3 {
fn eq(&self, other: &Self) -> bool {
self.dwSize == other.dwSize
&& self.dwFlags == other.dwFlags
&& self.dcmColorModel == other.dcmColorModel
&& self.dwDevCaps == other.dwDevCaps
&& self.dtcTransformCaps == other.dtcTransformCaps
&& self.bClipping == other.bClipping
&& self.dlcLightingCaps == other.dlcLightingCaps
&& self.dpcLineCaps == other.dpcLineCaps
&& self.dpcTriCaps == other.dpcTriCaps
&& self.dwDeviceRenderBitDepth == other.dwDeviceRenderBitDepth
&& self.dwDeviceZBufferBitDepth == other.dwDeviceZBufferBitDepth
&& self.dwMaxBufferSize == other.dwMaxBufferSize
&& self.dwMaxVertexCount == other.dwMaxVertexCount
&& self.dwMinTextureWidth == other.dwMinTextureWidth
&& self.dwMinTextureHeight == other.dwMinTextureHeight
&& self.dwMaxTextureWidth == other.dwMaxTextureWidth
&& self.dwMaxTextureHeight == other.dwMaxTextureHeight
&& self.dwMinStippleWidth == other.dwMinStippleWidth
&& self.dwMaxStippleWidth == other.dwMaxStippleWidth
&& self.dwMinStippleHeight == other.dwMinStippleHeight
&& self.dwMaxStippleHeight == other.dwMaxStippleHeight
&& self.dwMaxTextureRepeat == other.dwMaxTextureRepeat
&& self.dwMaxTextureAspectRatio == other.dwMaxTextureAspectRatio
&& self.dwMaxAnisotropy == other.dwMaxAnisotropy
&& self.dvGuardBandLeft == other.dvGuardBandLeft
&& self.dvGuardBandTop == other.dvGuardBandTop
&& self.dvGuardBandRight == other.dvGuardBandRight
&& self.dvGuardBandBottom == other.dvGuardBandBottom
&& self.dvExtentsAdjust == other.dvExtentsAdjust
&& self.dwStencilCaps == other.dwStencilCaps
&& self.dwFVFCaps == other.dwFVFCaps
&& self.dwTextureOpCaps == other.dwTextureOpCaps
&& self.wMaxTextureBlendStages == other.wMaxTextureBlendStages
&& self.wMaxSimultaneousTextures == other.wMaxSimultaneousTextures
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::cmp::Eq for D3DNTDEVICEDESC_V3 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::default::Default for D3DNTDEVICEDESC_V3 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
pub struct D3DNTHALDEVICEDESC_V1 {
pub dwSize: u32,
pub dwFlags: u32,
pub dcmColorModel: u32,
pub dwDevCaps: u32,
pub dtcTransformCaps: super::super::super::Win32::Graphics::Direct3D9::D3DTRANSFORMCAPS,
pub bClipping: super::super::super::Win32::Foundation::BOOL,
pub dlcLightingCaps: super::super::super::Win32::Graphics::Direct3D9::D3DLIGHTINGCAPS,
pub dpcLineCaps: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMCAPS,
pub dpcTriCaps: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMCAPS,
pub dwDeviceRenderBitDepth: u32,
pub dwDeviceZBufferBitDepth: u32,
pub dwMaxBufferSize: u32,
pub dwMaxVertexCount: u32,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::marker::Copy for D3DNTHALDEVICEDESC_V1 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::clone::Clone for D3DNTHALDEVICEDESC_V1 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::fmt::Debug for D3DNTHALDEVICEDESC_V1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHALDEVICEDESC_V1")
.field("dwSize", &self.dwSize)
.field("dwFlags", &self.dwFlags)
.field("dcmColorModel", &self.dcmColorModel)
.field("dwDevCaps", &self.dwDevCaps)
.field("dtcTransformCaps", &self.dtcTransformCaps)
.field("bClipping", &self.bClipping)
.field("dlcLightingCaps", &self.dlcLightingCaps)
.field("dpcLineCaps", &self.dpcLineCaps)
.field("dpcTriCaps", &self.dpcTriCaps)
.field("dwDeviceRenderBitDepth", &self.dwDeviceRenderBitDepth)
.field("dwDeviceZBufferBitDepth", &self.dwDeviceZBufferBitDepth)
.field("dwMaxBufferSize", &self.dwMaxBufferSize)
.field("dwMaxVertexCount", &self.dwMaxVertexCount)
.finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::windows_core::TypeKind for D3DNTHALDEVICEDESC_V1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::cmp::PartialEq for D3DNTHALDEVICEDESC_V1 {
fn eq(&self, other: &Self) -> bool {
self.dwSize == other.dwSize && self.dwFlags == other.dwFlags && self.dcmColorModel == other.dcmColorModel && self.dwDevCaps == other.dwDevCaps && self.dtcTransformCaps == other.dtcTransformCaps && self.bClipping == other.bClipping && self.dlcLightingCaps == other.dlcLightingCaps && self.dpcLineCaps == other.dpcLineCaps && self.dpcTriCaps == other.dpcTriCaps && self.dwDeviceRenderBitDepth == other.dwDeviceRenderBitDepth && self.dwDeviceZBufferBitDepth == other.dwDeviceZBufferBitDepth && self.dwMaxBufferSize == other.dwMaxBufferSize && self.dwMaxVertexCount == other.dwMaxVertexCount
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::cmp::Eq for D3DNTHALDEVICEDESC_V1 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::default::Default for D3DNTHALDEVICEDESC_V1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
pub struct D3DNTHALDEVICEDESC_V2 {
pub dwSize: u32,
pub dwFlags: u32,
pub dcmColorModel: u32,
pub dwDevCaps: u32,
pub dtcTransformCaps: super::super::super::Win32::Graphics::Direct3D9::D3DTRANSFORMCAPS,
pub bClipping: super::super::super::Win32::Foundation::BOOL,
pub dlcLightingCaps: super::super::super::Win32::Graphics::Direct3D9::D3DLIGHTINGCAPS,
pub dpcLineCaps: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMCAPS,
pub dpcTriCaps: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMCAPS,
pub dwDeviceRenderBitDepth: u32,
pub dwDeviceZBufferBitDepth: u32,
pub dwMaxBufferSize: u32,
pub dwMaxVertexCount: u32,
pub dwMinTextureWidth: u32,
pub dwMinTextureHeight: u32,
pub dwMaxTextureWidth: u32,
pub dwMaxTextureHeight: u32,
pub dwMinStippleWidth: u32,
pub dwMaxStippleWidth: u32,
pub dwMinStippleHeight: u32,
pub dwMaxStippleHeight: u32,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::marker::Copy for D3DNTHALDEVICEDESC_V2 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::clone::Clone for D3DNTHALDEVICEDESC_V2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::fmt::Debug for D3DNTHALDEVICEDESC_V2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHALDEVICEDESC_V2")
.field("dwSize", &self.dwSize)
.field("dwFlags", &self.dwFlags)
.field("dcmColorModel", &self.dcmColorModel)
.field("dwDevCaps", &self.dwDevCaps)
.field("dtcTransformCaps", &self.dtcTransformCaps)
.field("bClipping", &self.bClipping)
.field("dlcLightingCaps", &self.dlcLightingCaps)
.field("dpcLineCaps", &self.dpcLineCaps)
.field("dpcTriCaps", &self.dpcTriCaps)
.field("dwDeviceRenderBitDepth", &self.dwDeviceRenderBitDepth)
.field("dwDeviceZBufferBitDepth", &self.dwDeviceZBufferBitDepth)
.field("dwMaxBufferSize", &self.dwMaxBufferSize)
.field("dwMaxVertexCount", &self.dwMaxVertexCount)
.field("dwMinTextureWidth", &self.dwMinTextureWidth)
.field("dwMinTextureHeight", &self.dwMinTextureHeight)
.field("dwMaxTextureWidth", &self.dwMaxTextureWidth)
.field("dwMaxTextureHeight", &self.dwMaxTextureHeight)
.field("dwMinStippleWidth", &self.dwMinStippleWidth)
.field("dwMaxStippleWidth", &self.dwMaxStippleWidth)
.field("dwMinStippleHeight", &self.dwMinStippleHeight)
.field("dwMaxStippleHeight", &self.dwMaxStippleHeight)
.finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::windows_core::TypeKind for D3DNTHALDEVICEDESC_V2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::cmp::PartialEq for D3DNTHALDEVICEDESC_V2 {
fn eq(&self, other: &Self) -> bool {
self.dwSize == other.dwSize
&& self.dwFlags == other.dwFlags
&& self.dcmColorModel == other.dcmColorModel
&& self.dwDevCaps == other.dwDevCaps
&& self.dtcTransformCaps == other.dtcTransformCaps
&& self.bClipping == other.bClipping
&& self.dlcLightingCaps == other.dlcLightingCaps
&& self.dpcLineCaps == other.dpcLineCaps
&& self.dpcTriCaps == other.dpcTriCaps
&& self.dwDeviceRenderBitDepth == other.dwDeviceRenderBitDepth
&& self.dwDeviceZBufferBitDepth == other.dwDeviceZBufferBitDepth
&& self.dwMaxBufferSize == other.dwMaxBufferSize
&& self.dwMaxVertexCount == other.dwMaxVertexCount
&& self.dwMinTextureWidth == other.dwMinTextureWidth
&& self.dwMinTextureHeight == other.dwMinTextureHeight
&& self.dwMaxTextureWidth == other.dwMaxTextureWidth
&& self.dwMaxTextureHeight == other.dwMaxTextureHeight
&& self.dwMinStippleWidth == other.dwMinStippleWidth
&& self.dwMaxStippleWidth == other.dwMaxStippleWidth
&& self.dwMinStippleHeight == other.dwMinStippleHeight
&& self.dwMaxStippleHeight == other.dwMaxStippleHeight
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::cmp::Eq for D3DNTHALDEVICEDESC_V2 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::default::Default for D3DNTHALDEVICEDESC_V2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
pub struct D3DNTHAL_CALLBACKS {
pub dwSize: u32,
pub ContextCreate: LPD3DNTHAL_CONTEXTCREATECB,
pub ContextDestroy: LPD3DNTHAL_CONTEXTDESTROYCB,
pub ContextDestroyAll: LPD3DNTHAL_CONTEXTDESTROYALLCB,
pub SceneCapture: LPD3DNTHAL_SCENECAPTURECB,
pub dwReserved10: *mut ::core::ffi::c_void,
pub dwReserved11: *mut ::core::ffi::c_void,
pub dwReserved22: *mut ::core::ffi::c_void,
pub dwReserved23: *mut ::core::ffi::c_void,
pub dwReserved: usize,
pub TextureCreate: LPD3DNTHAL_TEXTURECREATECB,
pub TextureDestroy: LPD3DNTHAL_TEXTUREDESTROYCB,
pub TextureSwap: LPD3DNTHAL_TEXTURESWAPCB,
pub TextureGetSurf: LPD3DNTHAL_TEXTUREGETSURFCB,
pub dwReserved12: *mut ::core::ffi::c_void,
pub dwReserved13: *mut ::core::ffi::c_void,
pub dwReserved14: *mut ::core::ffi::c_void,
pub dwReserved15: *mut ::core::ffi::c_void,
pub dwReserved16: *mut ::core::ffi::c_void,
pub dwReserved17: *mut ::core::ffi::c_void,
pub dwReserved18: *mut ::core::ffi::c_void,
pub dwReserved19: *mut ::core::ffi::c_void,
pub dwReserved20: *mut ::core::ffi::c_void,
pub dwReserved21: *mut ::core::ffi::c_void,
pub dwReserved24: *mut ::core::ffi::c_void,
pub dwReserved0: usize,
pub dwReserved1: usize,
pub dwReserved2: usize,
pub dwReserved3: usize,
pub dwReserved4: usize,
pub dwReserved5: usize,
pub dwReserved6: usize,
pub dwReserved7: usize,
pub dwReserved8: usize,
pub dwReserved9: usize,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::marker::Copy for D3DNTHAL_CALLBACKS {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::clone::Clone for D3DNTHAL_CALLBACKS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::fmt::Debug for D3DNTHAL_CALLBACKS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_CALLBACKS")
.field("dwSize", &self.dwSize)
.field("dwReserved10", &self.dwReserved10)
.field("dwReserved11", &self.dwReserved11)
.field("dwReserved22", &self.dwReserved22)
.field("dwReserved23", &self.dwReserved23)
.field("dwReserved", &self.dwReserved)
.field("dwReserved12", &self.dwReserved12)
.field("dwReserved13", &self.dwReserved13)
.field("dwReserved14", &self.dwReserved14)
.field("dwReserved15", &self.dwReserved15)
.field("dwReserved16", &self.dwReserved16)
.field("dwReserved17", &self.dwReserved17)
.field("dwReserved18", &self.dwReserved18)
.field("dwReserved19", &self.dwReserved19)
.field("dwReserved20", &self.dwReserved20)
.field("dwReserved21", &self.dwReserved21)
.field("dwReserved24", &self.dwReserved24)
.field("dwReserved0", &self.dwReserved0)
.field("dwReserved1", &self.dwReserved1)
.field("dwReserved2", &self.dwReserved2)
.field("dwReserved3", &self.dwReserved3)
.field("dwReserved4", &self.dwReserved4)
.field("dwReserved5", &self.dwReserved5)
.field("dwReserved6", &self.dwReserved6)
.field("dwReserved7", &self.dwReserved7)
.field("dwReserved8", &self.dwReserved8)
.field("dwReserved9", &self.dwReserved9)
.finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::windows_core::TypeKind for D3DNTHAL_CALLBACKS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::default::Default for D3DNTHAL_CALLBACKS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
pub struct D3DNTHAL_CALLBACKS2 {
pub dwSize: u32,
pub dwFlags: u32,
pub SetRenderTarget: LPD3DNTHAL_SETRENDERTARGETCB,
pub dwReserved1: *mut ::core::ffi::c_void,
pub dwReserved2: *mut ::core::ffi::c_void,
pub dwReserved3: *mut ::core::ffi::c_void,
pub dwReserved4: *mut ::core::ffi::c_void,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::marker::Copy for D3DNTHAL_CALLBACKS2 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::clone::Clone for D3DNTHAL_CALLBACKS2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::fmt::Debug for D3DNTHAL_CALLBACKS2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_CALLBACKS2").field("dwSize", &self.dwSize).field("dwFlags", &self.dwFlags).field("dwReserved1", &self.dwReserved1).field("dwReserved2", &self.dwReserved2).field("dwReserved3", &self.dwReserved3).field("dwReserved4", &self.dwReserved4).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::windows_core::TypeKind for D3DNTHAL_CALLBACKS2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::default::Default for D3DNTHAL_CALLBACKS2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_DirectDraw\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
pub struct D3DNTHAL_CALLBACKS3 {
pub dwSize: u32,
pub dwFlags: u32,
pub Clear2: LPD3DNTHAL_CLEAR2CB,
pub lpvReserved: *mut ::core::ffi::c_void,
pub ValidateTextureStageState: LPD3DNTHAL_VALIDATETEXTURESTAGESTATECB,
pub DrawPrimitives2: LPD3DNTHAL_DRAWPRIMITIVES2CB,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::marker::Copy for D3DNTHAL_CALLBACKS3 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::clone::Clone for D3DNTHAL_CALLBACKS3 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::fmt::Debug for D3DNTHAL_CALLBACKS3 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_CALLBACKS3").field("dwSize", &self.dwSize).field("dwFlags", &self.dwFlags).field("lpvReserved", &self.lpvReserved).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
impl ::windows_core::TypeKind for D3DNTHAL_CALLBACKS3 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::default::Default for D3DNTHAL_CALLBACKS3 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DNTHAL_CLEAR2DATA {
pub dwhContext: usize,
pub dwFlags: u32,
pub dwFillColor: u32,
pub dvFillDepth: f32,
pub dwFillStencil: u32,
pub lpRects: *mut super::super::super::Win32::Graphics::Direct3D9::D3DRECT,
pub dwNumRects: u32,
pub ddrval: ::windows_core::HRESULT,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DNTHAL_CLEAR2DATA {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DNTHAL_CLEAR2DATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DNTHAL_CLEAR2DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_CLEAR2DATA").field("dwhContext", &self.dwhContext).field("dwFlags", &self.dwFlags).field("dwFillColor", &self.dwFillColor).field("dvFillDepth", &self.dvFillDepth).field("dwFillStencil", &self.dwFillStencil).field("lpRects", &self.lpRects).field("dwNumRects", &self.dwNumRects).field("ddrval", &self.ddrval).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DNTHAL_CLEAR2DATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DNTHAL_CLEAR2DATA {
fn eq(&self, other: &Self) -> bool {
self.dwhContext == other.dwhContext && self.dwFlags == other.dwFlags && self.dwFillColor == other.dwFillColor && self.dvFillDepth == other.dvFillDepth && self.dwFillStencil == other.dwFillStencil && self.lpRects == other.lpRects && self.dwNumRects == other.dwNumRects && self.ddrval == other.ddrval
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DNTHAL_CLEAR2DATA {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DNTHAL_CLEAR2DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_CLIPPEDTRIANGLEFAN {
pub FirstVertexOffset: u32,
pub dwEdgeFlags: u32,
pub PrimitiveCount: u32,
}
impl ::core::marker::Copy for D3DNTHAL_CLIPPEDTRIANGLEFAN {}
impl ::core::clone::Clone for D3DNTHAL_CLIPPEDTRIANGLEFAN {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_CLIPPEDTRIANGLEFAN {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_CLIPPEDTRIANGLEFAN").field("FirstVertexOffset", &self.FirstVertexOffset).field("dwEdgeFlags", &self.dwEdgeFlags).field("PrimitiveCount", &self.PrimitiveCount).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_CLIPPEDTRIANGLEFAN {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_CLIPPEDTRIANGLEFAN {
fn eq(&self, other: &Self) -> bool {
self.FirstVertexOffset == other.FirstVertexOffset && self.dwEdgeFlags == other.dwEdgeFlags && self.PrimitiveCount == other.PrimitiveCount
}
}
impl ::core::cmp::Eq for D3DNTHAL_CLIPPEDTRIANGLEFAN {}
impl ::core::default::Default for D3DNTHAL_CLIPPEDTRIANGLEFAN {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
pub struct D3DNTHAL_CONTEXTCREATEDATA {
pub Anonymous1: D3DNTHAL_CONTEXTCREATEDATA_0,
pub Anonymous2: D3DNTHAL_CONTEXTCREATEDATA_1,
pub Anonymous3: D3DNTHAL_CONTEXTCREATEDATA_2,
pub dwPID: u32,
pub dwhContext: usize,
pub ddrval: ::windows_core::HRESULT,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::marker::Copy for D3DNTHAL_CONTEXTCREATEDATA {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::clone::Clone for D3DNTHAL_CONTEXTCREATEDATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::windows_core::TypeKind for D3DNTHAL_CONTEXTCREATEDATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::default::Default for D3DNTHAL_CONTEXTCREATEDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
pub union D3DNTHAL_CONTEXTCREATEDATA_0 {
pub lpDDGbl: *mut super::super::super::Win32::Graphics::DirectDraw::DD_DIRECTDRAW_GLOBAL,
pub lpDDLcl: *mut super::super::super::Win32::Graphics::DirectDraw::DD_DIRECTDRAW_LOCAL,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::marker::Copy for D3DNTHAL_CONTEXTCREATEDATA_0 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::clone::Clone for D3DNTHAL_CONTEXTCREATEDATA_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::windows_core::TypeKind for D3DNTHAL_CONTEXTCREATEDATA_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::default::Default for D3DNTHAL_CONTEXTCREATEDATA_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
pub union D3DNTHAL_CONTEXTCREATEDATA_1 {
pub lpDDS: *mut super::super::super::Win32::Graphics::DirectDraw::DD_SURFACE_LOCAL,
pub lpDDSLcl: *mut super::super::super::Win32::Graphics::DirectDraw::DD_SURFACE_LOCAL,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::marker::Copy for D3DNTHAL_CONTEXTCREATEDATA_1 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::clone::Clone for D3DNTHAL_CONTEXTCREATEDATA_1 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::windows_core::TypeKind for D3DNTHAL_CONTEXTCREATEDATA_1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::default::Default for D3DNTHAL_CONTEXTCREATEDATA_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
pub union D3DNTHAL_CONTEXTCREATEDATA_2 {
pub lpDDSZ: *mut super::super::super::Win32::Graphics::DirectDraw::DD_SURFACE_LOCAL,
pub lpDDSZLcl: *mut super::super::super::Win32::Graphics::DirectDraw::DD_SURFACE_LOCAL,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::marker::Copy for D3DNTHAL_CONTEXTCREATEDATA_2 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::clone::Clone for D3DNTHAL_CONTEXTCREATEDATA_2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::windows_core::TypeKind for D3DNTHAL_CONTEXTCREATEDATA_2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::default::Default for D3DNTHAL_CONTEXTCREATEDATA_2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_CONTEXTDESTROYALLDATA {
pub dwPID: u32,
pub ddrval: ::windows_core::HRESULT,
}
impl ::core::marker::Copy for D3DNTHAL_CONTEXTDESTROYALLDATA {}
impl ::core::clone::Clone for D3DNTHAL_CONTEXTDESTROYALLDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_CONTEXTDESTROYALLDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_CONTEXTDESTROYALLDATA").field("dwPID", &self.dwPID).field("ddrval", &self.ddrval).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_CONTEXTDESTROYALLDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_CONTEXTDESTROYALLDATA {
fn eq(&self, other: &Self) -> bool {
self.dwPID == other.dwPID && self.ddrval == other.ddrval
}
}
impl ::core::cmp::Eq for D3DNTHAL_CONTEXTDESTROYALLDATA {}
impl ::core::default::Default for D3DNTHAL_CONTEXTDESTROYALLDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_CONTEXTDESTROYDATA {
pub dwhContext: usize,
pub ddrval: ::windows_core::HRESULT,
}
impl ::core::marker::Copy for D3DNTHAL_CONTEXTDESTROYDATA {}
impl ::core::clone::Clone for D3DNTHAL_CONTEXTDESTROYDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_CONTEXTDESTROYDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_CONTEXTDESTROYDATA").field("dwhContext", &self.dwhContext).field("ddrval", &self.ddrval).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_CONTEXTDESTROYDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_CONTEXTDESTROYDATA {
fn eq(&self, other: &Self) -> bool {
self.dwhContext == other.dwhContext && self.ddrval == other.ddrval
}
}
impl ::core::cmp::Eq for D3DNTHAL_CONTEXTDESTROYDATA {}
impl ::core::default::Default for D3DNTHAL_CONTEXTDESTROYDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_D3DDX6EXTENDEDCAPS {
pub dwSize: u32,
pub dwMinTextureWidth: u32,
pub dwMaxTextureWidth: u32,
pub dwMinTextureHeight: u32,
pub dwMaxTextureHeight: u32,
pub dwMinStippleWidth: u32,
pub dwMaxStippleWidth: u32,
pub dwMinStippleHeight: u32,
pub dwMaxStippleHeight: u32,
pub dwMaxTextureRepeat: u32,
pub dwMaxTextureAspectRatio: u32,
pub dwMaxAnisotropy: u32,
pub dvGuardBandLeft: f32,
pub dvGuardBandTop: f32,
pub dvGuardBandRight: f32,
pub dvGuardBandBottom: f32,
pub dvExtentsAdjust: f32,
pub dwStencilCaps: u32,
pub dwFVFCaps: u32,
pub dwTextureOpCaps: u32,
pub wMaxTextureBlendStages: u16,
pub wMaxSimultaneousTextures: u16,
}
impl ::core::marker::Copy for D3DNTHAL_D3DDX6EXTENDEDCAPS {}
impl ::core::clone::Clone for D3DNTHAL_D3DDX6EXTENDEDCAPS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_D3DDX6EXTENDEDCAPS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_D3DDX6EXTENDEDCAPS")
.field("dwSize", &self.dwSize)
.field("dwMinTextureWidth", &self.dwMinTextureWidth)
.field("dwMaxTextureWidth", &self.dwMaxTextureWidth)
.field("dwMinTextureHeight", &self.dwMinTextureHeight)
.field("dwMaxTextureHeight", &self.dwMaxTextureHeight)
.field("dwMinStippleWidth", &self.dwMinStippleWidth)
.field("dwMaxStippleWidth", &self.dwMaxStippleWidth)
.field("dwMinStippleHeight", &self.dwMinStippleHeight)
.field("dwMaxStippleHeight", &self.dwMaxStippleHeight)
.field("dwMaxTextureRepeat", &self.dwMaxTextureRepeat)
.field("dwMaxTextureAspectRatio", &self.dwMaxTextureAspectRatio)
.field("dwMaxAnisotropy", &self.dwMaxAnisotropy)
.field("dvGuardBandLeft", &self.dvGuardBandLeft)
.field("dvGuardBandTop", &self.dvGuardBandTop)
.field("dvGuardBandRight", &self.dvGuardBandRight)
.field("dvGuardBandBottom", &self.dvGuardBandBottom)
.field("dvExtentsAdjust", &self.dvExtentsAdjust)
.field("dwStencilCaps", &self.dwStencilCaps)
.field("dwFVFCaps", &self.dwFVFCaps)
.field("dwTextureOpCaps", &self.dwTextureOpCaps)
.field("wMaxTextureBlendStages", &self.wMaxTextureBlendStages)
.field("wMaxSimultaneousTextures", &self.wMaxSimultaneousTextures)
.finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_D3DDX6EXTENDEDCAPS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_D3DDX6EXTENDEDCAPS {
fn eq(&self, other: &Self) -> bool {
self.dwSize == other.dwSize
&& self.dwMinTextureWidth == other.dwMinTextureWidth
&& self.dwMaxTextureWidth == other.dwMaxTextureWidth
&& self.dwMinTextureHeight == other.dwMinTextureHeight
&& self.dwMaxTextureHeight == other.dwMaxTextureHeight
&& self.dwMinStippleWidth == other.dwMinStippleWidth
&& self.dwMaxStippleWidth == other.dwMaxStippleWidth
&& self.dwMinStippleHeight == other.dwMinStippleHeight
&& self.dwMaxStippleHeight == other.dwMaxStippleHeight
&& self.dwMaxTextureRepeat == other.dwMaxTextureRepeat
&& self.dwMaxTextureAspectRatio == other.dwMaxTextureAspectRatio
&& self.dwMaxAnisotropy == other.dwMaxAnisotropy
&& self.dvGuardBandLeft == other.dvGuardBandLeft
&& self.dvGuardBandTop == other.dvGuardBandTop
&& self.dvGuardBandRight == other.dvGuardBandRight
&& self.dvGuardBandBottom == other.dvGuardBandBottom
&& self.dvExtentsAdjust == other.dvExtentsAdjust
&& self.dwStencilCaps == other.dwStencilCaps
&& self.dwFVFCaps == other.dwFVFCaps
&& self.dwTextureOpCaps == other.dwTextureOpCaps
&& self.wMaxTextureBlendStages == other.wMaxTextureBlendStages
&& self.wMaxSimultaneousTextures == other.wMaxSimultaneousTextures
}
}
impl ::core::cmp::Eq for D3DNTHAL_D3DDX6EXTENDEDCAPS {}
impl ::core::default::Default for D3DNTHAL_D3DDX6EXTENDEDCAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_D3DEXTENDEDCAPS {
pub dwSize: u32,
pub dwMinTextureWidth: u32,
pub dwMaxTextureWidth: u32,
pub dwMinTextureHeight: u32,
pub dwMaxTextureHeight: u32,
pub dwMinStippleWidth: u32,
pub dwMaxStippleWidth: u32,
pub dwMinStippleHeight: u32,
pub dwMaxStippleHeight: u32,
pub dwMaxTextureRepeat: u32,
pub dwMaxTextureAspectRatio: u32,
pub dwMaxAnisotropy: u32,
pub dvGuardBandLeft: f32,
pub dvGuardBandTop: f32,
pub dvGuardBandRight: f32,
pub dvGuardBandBottom: f32,
pub dvExtentsAdjust: f32,
pub dwStencilCaps: u32,
pub dwFVFCaps: u32,
pub dwTextureOpCaps: u32,
pub wMaxTextureBlendStages: u16,
pub wMaxSimultaneousTextures: u16,
pub dwMaxActiveLights: u32,
pub dvMaxVertexW: f32,
pub wMaxUserClipPlanes: u16,
pub wMaxVertexBlendMatrices: u16,
pub dwVertexProcessingCaps: u32,
pub dwReserved1: u32,
pub dwReserved2: u32,
pub dwReserved3: u32,
pub dwReserved4: u32,
}
impl ::core::marker::Copy for D3DNTHAL_D3DEXTENDEDCAPS {}
impl ::core::clone::Clone for D3DNTHAL_D3DEXTENDEDCAPS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_D3DEXTENDEDCAPS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_D3DEXTENDEDCAPS")
.field("dwSize", &self.dwSize)
.field("dwMinTextureWidth", &self.dwMinTextureWidth)
.field("dwMaxTextureWidth", &self.dwMaxTextureWidth)
.field("dwMinTextureHeight", &self.dwMinTextureHeight)
.field("dwMaxTextureHeight", &self.dwMaxTextureHeight)
.field("dwMinStippleWidth", &self.dwMinStippleWidth)
.field("dwMaxStippleWidth", &self.dwMaxStippleWidth)
.field("dwMinStippleHeight", &self.dwMinStippleHeight)
.field("dwMaxStippleHeight", &self.dwMaxStippleHeight)
.field("dwMaxTextureRepeat", &self.dwMaxTextureRepeat)
.field("dwMaxTextureAspectRatio", &self.dwMaxTextureAspectRatio)
.field("dwMaxAnisotropy", &self.dwMaxAnisotropy)
.field("dvGuardBandLeft", &self.dvGuardBandLeft)
.field("dvGuardBandTop", &self.dvGuardBandTop)
.field("dvGuardBandRight", &self.dvGuardBandRight)
.field("dvGuardBandBottom", &self.dvGuardBandBottom)
.field("dvExtentsAdjust", &self.dvExtentsAdjust)
.field("dwStencilCaps", &self.dwStencilCaps)
.field("dwFVFCaps", &self.dwFVFCaps)
.field("dwTextureOpCaps", &self.dwTextureOpCaps)
.field("wMaxTextureBlendStages", &self.wMaxTextureBlendStages)
.field("wMaxSimultaneousTextures", &self.wMaxSimultaneousTextures)
.field("dwMaxActiveLights", &self.dwMaxActiveLights)
.field("dvMaxVertexW", &self.dvMaxVertexW)
.field("wMaxUserClipPlanes", &self.wMaxUserClipPlanes)
.field("wMaxVertexBlendMatrices", &self.wMaxVertexBlendMatrices)
.field("dwVertexProcessingCaps", &self.dwVertexProcessingCaps)
.field("dwReserved1", &self.dwReserved1)
.field("dwReserved2", &self.dwReserved2)
.field("dwReserved3", &self.dwReserved3)
.field("dwReserved4", &self.dwReserved4)
.finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_D3DEXTENDEDCAPS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_D3DEXTENDEDCAPS {
fn eq(&self, other: &Self) -> bool {
self.dwSize == other.dwSize
&& self.dwMinTextureWidth == other.dwMinTextureWidth
&& self.dwMaxTextureWidth == other.dwMaxTextureWidth
&& self.dwMinTextureHeight == other.dwMinTextureHeight
&& self.dwMaxTextureHeight == other.dwMaxTextureHeight
&& self.dwMinStippleWidth == other.dwMinStippleWidth
&& self.dwMaxStippleWidth == other.dwMaxStippleWidth
&& self.dwMinStippleHeight == other.dwMinStippleHeight
&& self.dwMaxStippleHeight == other.dwMaxStippleHeight
&& self.dwMaxTextureRepeat == other.dwMaxTextureRepeat
&& self.dwMaxTextureAspectRatio == other.dwMaxTextureAspectRatio
&& self.dwMaxAnisotropy == other.dwMaxAnisotropy
&& self.dvGuardBandLeft == other.dvGuardBandLeft
&& self.dvGuardBandTop == other.dvGuardBandTop
&& self.dvGuardBandRight == other.dvGuardBandRight
&& self.dvGuardBandBottom == other.dvGuardBandBottom
&& self.dvExtentsAdjust == other.dvExtentsAdjust
&& self.dwStencilCaps == other.dwStencilCaps
&& self.dwFVFCaps == other.dwFVFCaps
&& self.dwTextureOpCaps == other.dwTextureOpCaps
&& self.wMaxTextureBlendStages == other.wMaxTextureBlendStages
&& self.wMaxSimultaneousTextures == other.wMaxSimultaneousTextures
&& self.dwMaxActiveLights == other.dwMaxActiveLights
&& self.dvMaxVertexW == other.dvMaxVertexW
&& self.wMaxUserClipPlanes == other.wMaxUserClipPlanes
&& self.wMaxVertexBlendMatrices == other.wMaxVertexBlendMatrices
&& self.dwVertexProcessingCaps == other.dwVertexProcessingCaps
&& self.dwReserved1 == other.dwReserved1
&& self.dwReserved2 == other.dwReserved2
&& self.dwReserved3 == other.dwReserved3
&& self.dwReserved4 == other.dwReserved4
}
}
impl ::core::cmp::Eq for D3DNTHAL_D3DEXTENDEDCAPS {}
impl ::core::default::Default for D3DNTHAL_D3DEXTENDEDCAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DNTHAL_DP2ADDDIRTYBOX {
pub dwSurface: u32,
pub DirtyBox: super::super::super::Win32::Graphics::Direct3D9::D3DBOX,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DNTHAL_DP2ADDDIRTYBOX {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DNTHAL_DP2ADDDIRTYBOX {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DNTHAL_DP2ADDDIRTYBOX {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2ADDDIRTYBOX").field("dwSurface", &self.dwSurface).field("DirtyBox", &self.DirtyBox).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DNTHAL_DP2ADDDIRTYBOX {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DNTHAL_DP2ADDDIRTYBOX {
fn eq(&self, other: &Self) -> bool {
self.dwSurface == other.dwSurface && self.DirtyBox == other.DirtyBox
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DNTHAL_DP2ADDDIRTYBOX {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DNTHAL_DP2ADDDIRTYBOX {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DNTHAL_DP2ADDDIRTYRECT {
pub dwSurface: u32,
pub rDirtyArea: super::super::super::Win32::Foundation::RECTL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DNTHAL_DP2ADDDIRTYRECT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DNTHAL_DP2ADDDIRTYRECT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DNTHAL_DP2ADDDIRTYRECT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2ADDDIRTYRECT").field("dwSurface", &self.dwSurface).field("rDirtyArea", &self.rDirtyArea).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DNTHAL_DP2ADDDIRTYRECT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DNTHAL_DP2ADDDIRTYRECT {
fn eq(&self, other: &Self) -> bool {
self.dwSurface == other.dwSurface && self.rDirtyArea == other.rDirtyArea
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DNTHAL_DP2ADDDIRTYRECT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DNTHAL_DP2ADDDIRTYRECT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DNTHAL_DP2BLT {
pub dwSource: u32,
pub rSource: super::super::super::Win32::Foundation::RECTL,
pub dwSourceMipLevel: u32,
pub dwDest: u32,
pub rDest: super::super::super::Win32::Foundation::RECTL,
pub dwDestMipLevel: u32,
pub Flags: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DNTHAL_DP2BLT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DNTHAL_DP2BLT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DNTHAL_DP2BLT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2BLT").field("dwSource", &self.dwSource).field("rSource", &self.rSource).field("dwSourceMipLevel", &self.dwSourceMipLevel).field("dwDest", &self.dwDest).field("rDest", &self.rDest).field("dwDestMipLevel", &self.dwDestMipLevel).field("Flags", &self.Flags).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DNTHAL_DP2BLT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DNTHAL_DP2BLT {
fn eq(&self, other: &Self) -> bool {
self.dwSource == other.dwSource && self.rSource == other.rSource && self.dwSourceMipLevel == other.dwSourceMipLevel && self.dwDest == other.dwDest && self.rDest == other.rDest && self.dwDestMipLevel == other.dwDestMipLevel && self.Flags == other.Flags
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DNTHAL_DP2BLT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DNTHAL_DP2BLT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DNTHAL_DP2BUFFERBLT {
pub dwDDDestSurface: u32,
pub dwDDSrcSurface: u32,
pub dwOffset: u32,
pub rSrc: super::super::super::Win32::Graphics::Direct3D9::D3DRANGE,
pub dwFlags: u32,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DNTHAL_DP2BUFFERBLT {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DNTHAL_DP2BUFFERBLT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DNTHAL_DP2BUFFERBLT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2BUFFERBLT").field("dwDDDestSurface", &self.dwDDDestSurface).field("dwDDSrcSurface", &self.dwDDSrcSurface).field("dwOffset", &self.dwOffset).field("rSrc", &self.rSrc).field("dwFlags", &self.dwFlags).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DNTHAL_DP2BUFFERBLT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DNTHAL_DP2BUFFERBLT {
fn eq(&self, other: &Self) -> bool {
self.dwDDDestSurface == other.dwDDDestSurface && self.dwDDSrcSurface == other.dwDDSrcSurface && self.dwOffset == other.dwOffset && self.rSrc == other.rSrc && self.dwFlags == other.dwFlags
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DNTHAL_DP2BUFFERBLT {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DNTHAL_DP2BUFFERBLT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DNTHAL_DP2CLEAR {
pub dwFlags: u32,
pub dwFillColor: u32,
pub dvFillDepth: f32,
pub dwFillStencil: u32,
pub Rects: [super::super::super::Win32::Foundation::RECT; 1],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DNTHAL_DP2CLEAR {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DNTHAL_DP2CLEAR {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DNTHAL_DP2CLEAR {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2CLEAR").field("dwFlags", &self.dwFlags).field("dwFillColor", &self.dwFillColor).field("dvFillDepth", &self.dvFillDepth).field("dwFillStencil", &self.dwFillStencil).field("Rects", &self.Rects).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DNTHAL_DP2CLEAR {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DNTHAL_DP2CLEAR {
fn eq(&self, other: &Self) -> bool {
self.dwFlags == other.dwFlags && self.dwFillColor == other.dwFillColor && self.dvFillDepth == other.dvFillDepth && self.dwFillStencil == other.dwFillStencil && self.Rects == other.Rects
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DNTHAL_DP2CLEAR {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DNTHAL_DP2CLEAR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DNTHAL_DP2COLORFILL {
pub dwSurface: u32,
pub rRect: super::super::super::Win32::Foundation::RECTL,
pub Color: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DNTHAL_DP2COLORFILL {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DNTHAL_DP2COLORFILL {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DNTHAL_DP2COLORFILL {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2COLORFILL").field("dwSurface", &self.dwSurface).field("rRect", &self.rRect).field("Color", &self.Color).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DNTHAL_DP2COLORFILL {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DNTHAL_DP2COLORFILL {
fn eq(&self, other: &Self) -> bool {
self.dwSurface == other.dwSurface && self.rRect == other.rRect && self.Color == other.Color
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DNTHAL_DP2COLORFILL {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DNTHAL_DP2COLORFILL {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2COMMAND {
pub bCommand: u8,
pub bReserved: u8,
pub Anonymous: D3DNTHAL_DP2COMMAND_0,
}
impl ::core::marker::Copy for D3DNTHAL_DP2COMMAND {}
impl ::core::clone::Clone for D3DNTHAL_DP2COMMAND {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2COMMAND {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DNTHAL_DP2COMMAND {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DNTHAL_DP2COMMAND_0 {
pub wPrimitiveCount: u16,
pub wStateCount: u16,
}
impl ::core::marker::Copy for D3DNTHAL_DP2COMMAND_0 {}
impl ::core::clone::Clone for D3DNTHAL_DP2COMMAND_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2COMMAND_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DNTHAL_DP2COMMAND_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DNTHAL_DP2COMPOSERECTS {
pub SrcSurfaceHandle: u32,
pub DstSurfaceHandle: u32,
pub SrcRectDescsVBHandle: u32,
pub NumRects: u32,
pub DstRectDescsVBHandle: u32,
pub Operation: super::super::super::Win32::Graphics::Direct3D9::D3DCOMPOSERECTSOP,
pub XOffset: i32,
pub YOffset: i32,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DNTHAL_DP2COMPOSERECTS {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DNTHAL_DP2COMPOSERECTS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DNTHAL_DP2COMPOSERECTS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2COMPOSERECTS").field("SrcSurfaceHandle", &self.SrcSurfaceHandle).field("DstSurfaceHandle", &self.DstSurfaceHandle).field("SrcRectDescsVBHandle", &self.SrcRectDescsVBHandle).field("NumRects", &self.NumRects).field("DstRectDescsVBHandle", &self.DstRectDescsVBHandle).field("Operation", &self.Operation).field("XOffset", &self.XOffset).field("YOffset", &self.YOffset).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DNTHAL_DP2COMPOSERECTS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DNTHAL_DP2COMPOSERECTS {
fn eq(&self, other: &Self) -> bool {
self.SrcSurfaceHandle == other.SrcSurfaceHandle && self.DstSurfaceHandle == other.DstSurfaceHandle && self.SrcRectDescsVBHandle == other.SrcRectDescsVBHandle && self.NumRects == other.NumRects && self.DstRectDescsVBHandle == other.DstRectDescsVBHandle && self.Operation == other.Operation && self.XOffset == other.XOffset && self.YOffset == other.YOffset
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DNTHAL_DP2COMPOSERECTS {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DNTHAL_DP2COMPOSERECTS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2CREATELIGHT {
pub dwIndex: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2CREATELIGHT {}
impl ::core::clone::Clone for D3DNTHAL_DP2CREATELIGHT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2CREATELIGHT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2CREATELIGHT").field("dwIndex", &self.dwIndex).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2CREATELIGHT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2CREATELIGHT {
fn eq(&self, other: &Self) -> bool {
self.dwIndex == other.dwIndex
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2CREATELIGHT {}
impl ::core::default::Default for D3DNTHAL_DP2CREATELIGHT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2CREATEPIXELSHADER {
pub dwHandle: u32,
pub dwCodeSize: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2CREATEPIXELSHADER {}
impl ::core::clone::Clone for D3DNTHAL_DP2CREATEPIXELSHADER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2CREATEPIXELSHADER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2CREATEPIXELSHADER").field("dwHandle", &self.dwHandle).field("dwCodeSize", &self.dwCodeSize).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2CREATEPIXELSHADER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2CREATEPIXELSHADER {
fn eq(&self, other: &Self) -> bool {
self.dwHandle == other.dwHandle && self.dwCodeSize == other.dwCodeSize
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2CREATEPIXELSHADER {}
impl ::core::default::Default for D3DNTHAL_DP2CREATEPIXELSHADER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DNTHAL_DP2CREATEQUERY {
pub dwQueryID: u32,
pub QueryType: super::super::super::Win32::Graphics::Direct3D9::D3DQUERYTYPE,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DNTHAL_DP2CREATEQUERY {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DNTHAL_DP2CREATEQUERY {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DNTHAL_DP2CREATEQUERY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2CREATEQUERY").field("dwQueryID", &self.dwQueryID).field("QueryType", &self.QueryType).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DNTHAL_DP2CREATEQUERY {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DNTHAL_DP2CREATEQUERY {
fn eq(&self, other: &Self) -> bool {
self.dwQueryID == other.dwQueryID && self.QueryType == other.QueryType
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DNTHAL_DP2CREATEQUERY {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DNTHAL_DP2CREATEQUERY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2CREATEVERTEXSHADER {
pub dwHandle: u32,
pub dwDeclSize: u32,
pub dwCodeSize: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2CREATEVERTEXSHADER {}
impl ::core::clone::Clone for D3DNTHAL_DP2CREATEVERTEXSHADER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2CREATEVERTEXSHADER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2CREATEVERTEXSHADER").field("dwHandle", &self.dwHandle).field("dwDeclSize", &self.dwDeclSize).field("dwCodeSize", &self.dwCodeSize).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2CREATEVERTEXSHADER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2CREATEVERTEXSHADER {
fn eq(&self, other: &Self) -> bool {
self.dwHandle == other.dwHandle && self.dwDeclSize == other.dwDeclSize && self.dwCodeSize == other.dwCodeSize
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2CREATEVERTEXSHADER {}
impl ::core::default::Default for D3DNTHAL_DP2CREATEVERTEXSHADER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2CREATEVERTEXSHADERDECL {
pub dwHandle: u32,
pub dwNumVertexElements: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2CREATEVERTEXSHADERDECL {}
impl ::core::clone::Clone for D3DNTHAL_DP2CREATEVERTEXSHADERDECL {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2CREATEVERTEXSHADERDECL {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2CREATEVERTEXSHADERDECL").field("dwHandle", &self.dwHandle).field("dwNumVertexElements", &self.dwNumVertexElements).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2CREATEVERTEXSHADERDECL {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2CREATEVERTEXSHADERDECL {
fn eq(&self, other: &Self) -> bool {
self.dwHandle == other.dwHandle && self.dwNumVertexElements == other.dwNumVertexElements
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2CREATEVERTEXSHADERDECL {}
impl ::core::default::Default for D3DNTHAL_DP2CREATEVERTEXSHADERDECL {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2CREATEVERTEXSHADERFUNC {
pub dwHandle: u32,
pub dwSize: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2CREATEVERTEXSHADERFUNC {}
impl ::core::clone::Clone for D3DNTHAL_DP2CREATEVERTEXSHADERFUNC {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2CREATEVERTEXSHADERFUNC {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2CREATEVERTEXSHADERFUNC").field("dwHandle", &self.dwHandle).field("dwSize", &self.dwSize).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2CREATEVERTEXSHADERFUNC {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2CREATEVERTEXSHADERFUNC {
fn eq(&self, other: &Self) -> bool {
self.dwHandle == other.dwHandle && self.dwSize == other.dwSize
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2CREATEVERTEXSHADERFUNC {}
impl ::core::default::Default for D3DNTHAL_DP2CREATEVERTEXSHADERFUNC {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2DELETEQUERY {
pub dwQueryID: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2DELETEQUERY {}
impl ::core::clone::Clone for D3DNTHAL_DP2DELETEQUERY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2DELETEQUERY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2DELETEQUERY").field("dwQueryID", &self.dwQueryID).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2DELETEQUERY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2DELETEQUERY {
fn eq(&self, other: &Self) -> bool {
self.dwQueryID == other.dwQueryID
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2DELETEQUERY {}
impl ::core::default::Default for D3DNTHAL_DP2DELETEQUERY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DNTHAL_DP2DRAWINDEXEDPRIMITIVE {
pub primType: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMITIVETYPE,
pub BaseVertexIndex: i32,
pub MinIndex: u32,
pub NumVertices: u32,
pub StartIndex: u32,
pub PrimitiveCount: u32,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DNTHAL_DP2DRAWINDEXEDPRIMITIVE {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DNTHAL_DP2DRAWINDEXEDPRIMITIVE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DNTHAL_DP2DRAWINDEXEDPRIMITIVE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2DRAWINDEXEDPRIMITIVE").field("primType", &self.primType).field("BaseVertexIndex", &self.BaseVertexIndex).field("MinIndex", &self.MinIndex).field("NumVertices", &self.NumVertices).field("StartIndex", &self.StartIndex).field("PrimitiveCount", &self.PrimitiveCount).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DNTHAL_DP2DRAWINDEXEDPRIMITIVE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DNTHAL_DP2DRAWINDEXEDPRIMITIVE {
fn eq(&self, other: &Self) -> bool {
self.primType == other.primType && self.BaseVertexIndex == other.BaseVertexIndex && self.MinIndex == other.MinIndex && self.NumVertices == other.NumVertices && self.StartIndex == other.StartIndex && self.PrimitiveCount == other.PrimitiveCount
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DNTHAL_DP2DRAWINDEXEDPRIMITIVE {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DNTHAL_DP2DRAWINDEXEDPRIMITIVE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DNTHAL_DP2DRAWINDEXEDPRIMITIVE2 {
pub primType: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMITIVETYPE,
pub BaseVertexOffset: i32,
pub MinIndex: u32,
pub NumVertices: u32,
pub StartIndexOffset: u32,
pub PrimitiveCount: u32,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DNTHAL_DP2DRAWINDEXEDPRIMITIVE2 {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DNTHAL_DP2DRAWINDEXEDPRIMITIVE2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DNTHAL_DP2DRAWINDEXEDPRIMITIVE2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2DRAWINDEXEDPRIMITIVE2").field("primType", &self.primType).field("BaseVertexOffset", &self.BaseVertexOffset).field("MinIndex", &self.MinIndex).field("NumVertices", &self.NumVertices).field("StartIndexOffset", &self.StartIndexOffset).field("PrimitiveCount", &self.PrimitiveCount).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DNTHAL_DP2DRAWINDEXEDPRIMITIVE2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DNTHAL_DP2DRAWINDEXEDPRIMITIVE2 {
fn eq(&self, other: &Self) -> bool {
self.primType == other.primType && self.BaseVertexOffset == other.BaseVertexOffset && self.MinIndex == other.MinIndex && self.NumVertices == other.NumVertices && self.StartIndexOffset == other.StartIndexOffset && self.PrimitiveCount == other.PrimitiveCount
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DNTHAL_DP2DRAWINDEXEDPRIMITIVE2 {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DNTHAL_DP2DRAWINDEXEDPRIMITIVE2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DNTHAL_DP2DRAWPRIMITIVE {
pub primType: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMITIVETYPE,
pub VStart: u32,
pub PrimitiveCount: u32,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DNTHAL_DP2DRAWPRIMITIVE {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DNTHAL_DP2DRAWPRIMITIVE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DNTHAL_DP2DRAWPRIMITIVE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2DRAWPRIMITIVE").field("primType", &self.primType).field("VStart", &self.VStart).field("PrimitiveCount", &self.PrimitiveCount).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DNTHAL_DP2DRAWPRIMITIVE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DNTHAL_DP2DRAWPRIMITIVE {
fn eq(&self, other: &Self) -> bool {
self.primType == other.primType && self.VStart == other.VStart && self.PrimitiveCount == other.PrimitiveCount
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DNTHAL_DP2DRAWPRIMITIVE {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DNTHAL_DP2DRAWPRIMITIVE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DNTHAL_DP2DRAWPRIMITIVE2 {
pub primType: super::super::super::Win32::Graphics::Direct3D9::D3DPRIMITIVETYPE,
pub FirstVertexOffset: u32,
pub PrimitiveCount: u32,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DNTHAL_DP2DRAWPRIMITIVE2 {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DNTHAL_DP2DRAWPRIMITIVE2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DNTHAL_DP2DRAWPRIMITIVE2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2DRAWPRIMITIVE2").field("primType", &self.primType).field("FirstVertexOffset", &self.FirstVertexOffset).field("PrimitiveCount", &self.PrimitiveCount).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DNTHAL_DP2DRAWPRIMITIVE2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DNTHAL_DP2DRAWPRIMITIVE2 {
fn eq(&self, other: &Self) -> bool {
self.primType == other.primType && self.FirstVertexOffset == other.FirstVertexOffset && self.PrimitiveCount == other.PrimitiveCount
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DNTHAL_DP2DRAWPRIMITIVE2 {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DNTHAL_DP2DRAWPRIMITIVE2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2DRAWRECTPATCH {
pub Handle: u32,
pub Flags: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2DRAWRECTPATCH {}
impl ::core::clone::Clone for D3DNTHAL_DP2DRAWRECTPATCH {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2DRAWRECTPATCH {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2DRAWRECTPATCH").field("Handle", &self.Handle).field("Flags", &self.Flags).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2DRAWRECTPATCH {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2DRAWRECTPATCH {
fn eq(&self, other: &Self) -> bool {
self.Handle == other.Handle && self.Flags == other.Flags
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2DRAWRECTPATCH {}
impl ::core::default::Default for D3DNTHAL_DP2DRAWRECTPATCH {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2DRAWTRIPATCH {
pub Handle: u32,
pub Flags: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2DRAWTRIPATCH {}
impl ::core::clone::Clone for D3DNTHAL_DP2DRAWTRIPATCH {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2DRAWTRIPATCH {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2DRAWTRIPATCH").field("Handle", &self.Handle).field("Flags", &self.Flags).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2DRAWTRIPATCH {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2DRAWTRIPATCH {
fn eq(&self, other: &Self) -> bool {
self.Handle == other.Handle && self.Flags == other.Flags
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2DRAWTRIPATCH {}
impl ::core::default::Default for D3DNTHAL_DP2DRAWTRIPATCH {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2EXT {
pub dwExtToken: u32,
pub dwSize: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2EXT {}
impl ::core::clone::Clone for D3DNTHAL_DP2EXT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2EXT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2EXT").field("dwExtToken", &self.dwExtToken).field("dwSize", &self.dwSize).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2EXT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2EXT {
fn eq(&self, other: &Self) -> bool {
self.dwExtToken == other.dwExtToken && self.dwSize == other.dwSize
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2EXT {}
impl ::core::default::Default for D3DNTHAL_DP2EXT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DNTHAL_DP2GENERATEMIPSUBLEVELS {
pub hSurface: u32,
pub Filter: super::super::super::Win32::Graphics::Direct3D9::D3DTEXTUREFILTERTYPE,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DNTHAL_DP2GENERATEMIPSUBLEVELS {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DNTHAL_DP2GENERATEMIPSUBLEVELS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DNTHAL_DP2GENERATEMIPSUBLEVELS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2GENERATEMIPSUBLEVELS").field("hSurface", &self.hSurface).field("Filter", &self.Filter).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DNTHAL_DP2GENERATEMIPSUBLEVELS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DNTHAL_DP2GENERATEMIPSUBLEVELS {
fn eq(&self, other: &Self) -> bool {
self.hSurface == other.hSurface && self.Filter == other.Filter
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DNTHAL_DP2GENERATEMIPSUBLEVELS {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DNTHAL_DP2GENERATEMIPSUBLEVELS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2INDEXEDLINELIST {
pub wV1: u16,
pub wV2: u16,
}
impl ::core::marker::Copy for D3DNTHAL_DP2INDEXEDLINELIST {}
impl ::core::clone::Clone for D3DNTHAL_DP2INDEXEDLINELIST {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2INDEXEDLINELIST {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2INDEXEDLINELIST").field("wV1", &self.wV1).field("wV2", &self.wV2).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2INDEXEDLINELIST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2INDEXEDLINELIST {
fn eq(&self, other: &Self) -> bool {
self.wV1 == other.wV1 && self.wV2 == other.wV2
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2INDEXEDLINELIST {}
impl ::core::default::Default for D3DNTHAL_DP2INDEXEDLINELIST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2INDEXEDLINESTRIP {
pub wV: [u16; 2],
}
impl ::core::marker::Copy for D3DNTHAL_DP2INDEXEDLINESTRIP {}
impl ::core::clone::Clone for D3DNTHAL_DP2INDEXEDLINESTRIP {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2INDEXEDLINESTRIP {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2INDEXEDLINESTRIP").field("wV", &self.wV).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2INDEXEDLINESTRIP {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2INDEXEDLINESTRIP {
fn eq(&self, other: &Self) -> bool {
self.wV == other.wV
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2INDEXEDLINESTRIP {}
impl ::core::default::Default for D3DNTHAL_DP2INDEXEDLINESTRIP {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2INDEXEDTRIANGLEFAN {
pub wV: [u16; 3],
}
impl ::core::marker::Copy for D3DNTHAL_DP2INDEXEDTRIANGLEFAN {}
impl ::core::clone::Clone for D3DNTHAL_DP2INDEXEDTRIANGLEFAN {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2INDEXEDTRIANGLEFAN {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2INDEXEDTRIANGLEFAN").field("wV", &self.wV).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2INDEXEDTRIANGLEFAN {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2INDEXEDTRIANGLEFAN {
fn eq(&self, other: &Self) -> bool {
self.wV == other.wV
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2INDEXEDTRIANGLEFAN {}
impl ::core::default::Default for D3DNTHAL_DP2INDEXEDTRIANGLEFAN {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2INDEXEDTRIANGLELIST {
pub wV1: u16,
pub wV2: u16,
pub wV3: u16,
pub wFlags: u16,
}
impl ::core::marker::Copy for D3DNTHAL_DP2INDEXEDTRIANGLELIST {}
impl ::core::clone::Clone for D3DNTHAL_DP2INDEXEDTRIANGLELIST {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2INDEXEDTRIANGLELIST {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2INDEXEDTRIANGLELIST").field("wV1", &self.wV1).field("wV2", &self.wV2).field("wV3", &self.wV3).field("wFlags", &self.wFlags).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2INDEXEDTRIANGLELIST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2INDEXEDTRIANGLELIST {
fn eq(&self, other: &Self) -> bool {
self.wV1 == other.wV1 && self.wV2 == other.wV2 && self.wV3 == other.wV3 && self.wFlags == other.wFlags
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2INDEXEDTRIANGLELIST {}
impl ::core::default::Default for D3DNTHAL_DP2INDEXEDTRIANGLELIST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2INDEXEDTRIANGLELIST2 {
pub wV1: u16,
pub wV2: u16,
pub wV3: u16,
}
impl ::core::marker::Copy for D3DNTHAL_DP2INDEXEDTRIANGLELIST2 {}
impl ::core::clone::Clone for D3DNTHAL_DP2INDEXEDTRIANGLELIST2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2INDEXEDTRIANGLELIST2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2INDEXEDTRIANGLELIST2").field("wV1", &self.wV1).field("wV2", &self.wV2).field("wV3", &self.wV3).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2INDEXEDTRIANGLELIST2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2INDEXEDTRIANGLELIST2 {
fn eq(&self, other: &Self) -> bool {
self.wV1 == other.wV1 && self.wV2 == other.wV2 && self.wV3 == other.wV3
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2INDEXEDTRIANGLELIST2 {}
impl ::core::default::Default for D3DNTHAL_DP2INDEXEDTRIANGLELIST2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2INDEXEDTRIANGLESTRIP {
pub wV: [u16; 3],
}
impl ::core::marker::Copy for D3DNTHAL_DP2INDEXEDTRIANGLESTRIP {}
impl ::core::clone::Clone for D3DNTHAL_DP2INDEXEDTRIANGLESTRIP {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2INDEXEDTRIANGLESTRIP {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2INDEXEDTRIANGLESTRIP").field("wV", &self.wV).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2INDEXEDTRIANGLESTRIP {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2INDEXEDTRIANGLESTRIP {
fn eq(&self, other: &Self) -> bool {
self.wV == other.wV
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2INDEXEDTRIANGLESTRIP {}
impl ::core::default::Default for D3DNTHAL_DP2INDEXEDTRIANGLESTRIP {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2ISSUEQUERY {
pub dwQueryID: u32,
pub dwFlags: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2ISSUEQUERY {}
impl ::core::clone::Clone for D3DNTHAL_DP2ISSUEQUERY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2ISSUEQUERY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2ISSUEQUERY").field("dwQueryID", &self.dwQueryID).field("dwFlags", &self.dwFlags).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2ISSUEQUERY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2ISSUEQUERY {
fn eq(&self, other: &Self) -> bool {
self.dwQueryID == other.dwQueryID && self.dwFlags == other.dwFlags
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2ISSUEQUERY {}
impl ::core::default::Default for D3DNTHAL_DP2ISSUEQUERY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2LINELIST {
pub wVStart: u16,
}
impl ::core::marker::Copy for D3DNTHAL_DP2LINELIST {}
impl ::core::clone::Clone for D3DNTHAL_DP2LINELIST {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2LINELIST {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2LINELIST").field("wVStart", &self.wVStart).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2LINELIST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2LINELIST {
fn eq(&self, other: &Self) -> bool {
self.wVStart == other.wVStart
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2LINELIST {}
impl ::core::default::Default for D3DNTHAL_DP2LINELIST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2LINESTRIP {
pub wVStart: u16,
}
impl ::core::marker::Copy for D3DNTHAL_DP2LINESTRIP {}
impl ::core::clone::Clone for D3DNTHAL_DP2LINESTRIP {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2LINESTRIP {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2LINESTRIP").field("wVStart", &self.wVStart).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2LINESTRIP {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2LINESTRIP {
fn eq(&self, other: &Self) -> bool {
self.wVStart == other.wVStart
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2LINESTRIP {}
impl ::core::default::Default for D3DNTHAL_DP2LINESTRIP {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
pub struct D3DNTHAL_DP2MULTIPLYTRANSFORM {
pub xfrmType: super::super::super::Win32::Graphics::Direct3D9::D3DTRANSFORMSTATETYPE,
pub matrix: super::super::super::Foundation::Numerics::Matrix4x4,
}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::marker::Copy for D3DNTHAL_DP2MULTIPLYTRANSFORM {}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::clone::Clone for D3DNTHAL_DP2MULTIPLYTRANSFORM {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::fmt::Debug for D3DNTHAL_DP2MULTIPLYTRANSFORM {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2MULTIPLYTRANSFORM").field("xfrmType", &self.xfrmType).field("matrix", &self.matrix).finish()
}
}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::windows_core::TypeKind for D3DNTHAL_DP2MULTIPLYTRANSFORM {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::cmp::PartialEq for D3DNTHAL_DP2MULTIPLYTRANSFORM {
fn eq(&self, other: &Self) -> bool {
self.xfrmType == other.xfrmType && self.matrix == other.matrix
}
}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::cmp::Eq for D3DNTHAL_DP2MULTIPLYTRANSFORM {}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::default::Default for D3DNTHAL_DP2MULTIPLYTRANSFORM {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2PIXELSHADER {
pub dwHandle: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2PIXELSHADER {}
impl ::core::clone::Clone for D3DNTHAL_DP2PIXELSHADER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2PIXELSHADER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2PIXELSHADER").field("dwHandle", &self.dwHandle).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2PIXELSHADER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2PIXELSHADER {
fn eq(&self, other: &Self) -> bool {
self.dwHandle == other.dwHandle
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2PIXELSHADER {}
impl ::core::default::Default for D3DNTHAL_DP2PIXELSHADER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2POINTS {
pub wCount: u16,
pub wVStart: u16,
}
impl ::core::marker::Copy for D3DNTHAL_DP2POINTS {}
impl ::core::clone::Clone for D3DNTHAL_DP2POINTS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2POINTS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2POINTS").field("wCount", &self.wCount).field("wVStart", &self.wVStart).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2POINTS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2POINTS {
fn eq(&self, other: &Self) -> bool {
self.wCount == other.wCount && self.wVStart == other.wVStart
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2POINTS {}
impl ::core::default::Default for D3DNTHAL_DP2POINTS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DNTHAL_DP2RENDERSTATE {
pub RenderState: super::super::super::Win32::Graphics::Direct3D9::D3DRENDERSTATETYPE,
pub Anonymous: D3DNTHAL_DP2RENDERSTATE_0,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DNTHAL_DP2RENDERSTATE {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DNTHAL_DP2RENDERSTATE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DNTHAL_DP2RENDERSTATE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DNTHAL_DP2RENDERSTATE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub union D3DNTHAL_DP2RENDERSTATE_0 {
pub fState: f32,
pub dwState: u32,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DNTHAL_DP2RENDERSTATE_0 {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DNTHAL_DP2RENDERSTATE_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DNTHAL_DP2RENDERSTATE_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DNTHAL_DP2RENDERSTATE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2RESPONSE {
pub bCommand: u8,
pub bReserved: u8,
pub wStateCount: u16,
pub dwTotalSize: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2RESPONSE {}
impl ::core::clone::Clone for D3DNTHAL_DP2RESPONSE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2RESPONSE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2RESPONSE").field("bCommand", &self.bCommand).field("bReserved", &self.bReserved).field("wStateCount", &self.wStateCount).field("dwTotalSize", &self.dwTotalSize).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2RESPONSE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2RESPONSE {
fn eq(&self, other: &Self) -> bool {
self.bCommand == other.bCommand && self.bReserved == other.bReserved && self.wStateCount == other.wStateCount && self.dwTotalSize == other.dwTotalSize
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2RESPONSE {}
impl ::core::default::Default for D3DNTHAL_DP2RESPONSE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2RESPONSEQUERY {
pub dwQueryID: u32,
pub dwSize: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2RESPONSEQUERY {}
impl ::core::clone::Clone for D3DNTHAL_DP2RESPONSEQUERY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2RESPONSEQUERY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2RESPONSEQUERY").field("dwQueryID", &self.dwQueryID).field("dwSize", &self.dwSize).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2RESPONSEQUERY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2RESPONSEQUERY {
fn eq(&self, other: &Self) -> bool {
self.dwQueryID == other.dwQueryID && self.dwSize == other.dwSize
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2RESPONSEQUERY {}
impl ::core::default::Default for D3DNTHAL_DP2RESPONSEQUERY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2SETCLIPPLANE {
pub dwIndex: u32,
pub plane: [f32; 4],
}
impl ::core::marker::Copy for D3DNTHAL_DP2SETCLIPPLANE {}
impl ::core::clone::Clone for D3DNTHAL_DP2SETCLIPPLANE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2SETCLIPPLANE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2SETCLIPPLANE").field("dwIndex", &self.dwIndex).field("plane", &self.plane).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2SETCLIPPLANE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2SETCLIPPLANE {
fn eq(&self, other: &Self) -> bool {
self.dwIndex == other.dwIndex && self.plane == other.plane
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2SETCLIPPLANE {}
impl ::core::default::Default for D3DNTHAL_DP2SETCLIPPLANE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2SETCONVOLUTIONKERNELMONO {
pub dwWidth: u32,
pub dwHeight: u32,
pub dwFlags: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2SETCONVOLUTIONKERNELMONO {}
impl ::core::clone::Clone for D3DNTHAL_DP2SETCONVOLUTIONKERNELMONO {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2SETCONVOLUTIONKERNELMONO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2SETCONVOLUTIONKERNELMONO").field("dwWidth", &self.dwWidth).field("dwHeight", &self.dwHeight).field("dwFlags", &self.dwFlags).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2SETCONVOLUTIONKERNELMONO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2SETCONVOLUTIONKERNELMONO {
fn eq(&self, other: &Self) -> bool {
self.dwWidth == other.dwWidth && self.dwHeight == other.dwHeight && self.dwFlags == other.dwFlags
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2SETCONVOLUTIONKERNELMONO {}
impl ::core::default::Default for D3DNTHAL_DP2SETCONVOLUTIONKERNELMONO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2SETDEPTHSTENCIL {
pub hZBuffer: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2SETDEPTHSTENCIL {}
impl ::core::clone::Clone for D3DNTHAL_DP2SETDEPTHSTENCIL {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2SETDEPTHSTENCIL {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2SETDEPTHSTENCIL").field("hZBuffer", &self.hZBuffer).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2SETDEPTHSTENCIL {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2SETDEPTHSTENCIL {
fn eq(&self, other: &Self) -> bool {
self.hZBuffer == other.hZBuffer
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2SETDEPTHSTENCIL {}
impl ::core::default::Default for D3DNTHAL_DP2SETDEPTHSTENCIL {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2SETINDICES {
pub dwVBHandle: u32,
pub dwStride: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2SETINDICES {}
impl ::core::clone::Clone for D3DNTHAL_DP2SETINDICES {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2SETINDICES {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2SETINDICES").field("dwVBHandle", &self.dwVBHandle).field("dwStride", &self.dwStride).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2SETINDICES {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2SETINDICES {
fn eq(&self, other: &Self) -> bool {
self.dwVBHandle == other.dwVBHandle && self.dwStride == other.dwStride
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2SETINDICES {}
impl ::core::default::Default for D3DNTHAL_DP2SETINDICES {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2SETLIGHT {
pub dwIndex: u32,
pub Anonymous: D3DNTHAL_DP2SETLIGHT_0,
}
impl ::core::marker::Copy for D3DNTHAL_DP2SETLIGHT {}
impl ::core::clone::Clone for D3DNTHAL_DP2SETLIGHT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2SETLIGHT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DNTHAL_DP2SETLIGHT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union D3DNTHAL_DP2SETLIGHT_0 {
pub lightData: u32,
pub dwDataType: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2SETLIGHT_0 {}
impl ::core::clone::Clone for D3DNTHAL_DP2SETLIGHT_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2SETLIGHT_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for D3DNTHAL_DP2SETLIGHT_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2SETPALETTE {
pub dwPaletteHandle: u32,
pub dwPaletteFlags: u32,
pub dwSurfaceHandle: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2SETPALETTE {}
impl ::core::clone::Clone for D3DNTHAL_DP2SETPALETTE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2SETPALETTE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2SETPALETTE").field("dwPaletteHandle", &self.dwPaletteHandle).field("dwPaletteFlags", &self.dwPaletteFlags).field("dwSurfaceHandle", &self.dwSurfaceHandle).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2SETPALETTE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2SETPALETTE {
fn eq(&self, other: &Self) -> bool {
self.dwPaletteHandle == other.dwPaletteHandle && self.dwPaletteFlags == other.dwPaletteFlags && self.dwSurfaceHandle == other.dwSurfaceHandle
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2SETPALETTE {}
impl ::core::default::Default for D3DNTHAL_DP2SETPALETTE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2SETPIXELSHADERCONST {
pub dwRegister: u32,
pub dwCount: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2SETPIXELSHADERCONST {}
impl ::core::clone::Clone for D3DNTHAL_DP2SETPIXELSHADERCONST {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2SETPIXELSHADERCONST {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2SETPIXELSHADERCONST").field("dwRegister", &self.dwRegister).field("dwCount", &self.dwCount).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2SETPIXELSHADERCONST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2SETPIXELSHADERCONST {
fn eq(&self, other: &Self) -> bool {
self.dwRegister == other.dwRegister && self.dwCount == other.dwCount
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2SETPIXELSHADERCONST {}
impl ::core::default::Default for D3DNTHAL_DP2SETPIXELSHADERCONST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2SETPRIORITY {
pub dwDDDestSurface: u32,
pub dwPriority: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2SETPRIORITY {}
impl ::core::clone::Clone for D3DNTHAL_DP2SETPRIORITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2SETPRIORITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2SETPRIORITY").field("dwDDDestSurface", &self.dwDDDestSurface).field("dwPriority", &self.dwPriority).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2SETPRIORITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2SETPRIORITY {
fn eq(&self, other: &Self) -> bool {
self.dwDDDestSurface == other.dwDDDestSurface && self.dwPriority == other.dwPriority
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2SETPRIORITY {}
impl ::core::default::Default for D3DNTHAL_DP2SETPRIORITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2SETRENDERTARGET {
pub hRenderTarget: u32,
pub hZBuffer: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2SETRENDERTARGET {}
impl ::core::clone::Clone for D3DNTHAL_DP2SETRENDERTARGET {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2SETRENDERTARGET {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2SETRENDERTARGET").field("hRenderTarget", &self.hRenderTarget).field("hZBuffer", &self.hZBuffer).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2SETRENDERTARGET {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2SETRENDERTARGET {
fn eq(&self, other: &Self) -> bool {
self.hRenderTarget == other.hRenderTarget && self.hZBuffer == other.hZBuffer
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2SETRENDERTARGET {}
impl ::core::default::Default for D3DNTHAL_DP2SETRENDERTARGET {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2SETRENDERTARGET2 {
pub RTIndex: u32,
pub hRenderTarget: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2SETRENDERTARGET2 {}
impl ::core::clone::Clone for D3DNTHAL_DP2SETRENDERTARGET2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2SETRENDERTARGET2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2SETRENDERTARGET2").field("RTIndex", &self.RTIndex).field("hRenderTarget", &self.hRenderTarget).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2SETRENDERTARGET2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2SETRENDERTARGET2 {
fn eq(&self, other: &Self) -> bool {
self.RTIndex == other.RTIndex && self.hRenderTarget == other.hRenderTarget
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2SETRENDERTARGET2 {}
impl ::core::default::Default for D3DNTHAL_DP2SETRENDERTARGET2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2SETSTREAMSOURCE {
pub dwStream: u32,
pub dwVBHandle: u32,
pub dwStride: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2SETSTREAMSOURCE {}
impl ::core::clone::Clone for D3DNTHAL_DP2SETSTREAMSOURCE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2SETSTREAMSOURCE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2SETSTREAMSOURCE").field("dwStream", &self.dwStream).field("dwVBHandle", &self.dwVBHandle).field("dwStride", &self.dwStride).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2SETSTREAMSOURCE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2SETSTREAMSOURCE {
fn eq(&self, other: &Self) -> bool {
self.dwStream == other.dwStream && self.dwVBHandle == other.dwVBHandle && self.dwStride == other.dwStride
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2SETSTREAMSOURCE {}
impl ::core::default::Default for D3DNTHAL_DP2SETSTREAMSOURCE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2SETSTREAMSOURCE2 {
pub dwStream: u32,
pub dwVBHandle: u32,
pub dwOffset: u32,
pub dwStride: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2SETSTREAMSOURCE2 {}
impl ::core::clone::Clone for D3DNTHAL_DP2SETSTREAMSOURCE2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2SETSTREAMSOURCE2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2SETSTREAMSOURCE2").field("dwStream", &self.dwStream).field("dwVBHandle", &self.dwVBHandle).field("dwOffset", &self.dwOffset).field("dwStride", &self.dwStride).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2SETSTREAMSOURCE2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2SETSTREAMSOURCE2 {
fn eq(&self, other: &Self) -> bool {
self.dwStream == other.dwStream && self.dwVBHandle == other.dwVBHandle && self.dwOffset == other.dwOffset && self.dwStride == other.dwStride
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2SETSTREAMSOURCE2 {}
impl ::core::default::Default for D3DNTHAL_DP2SETSTREAMSOURCE2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2SETSTREAMSOURCEFREQ {
pub dwStream: u32,
pub dwDivider: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2SETSTREAMSOURCEFREQ {}
impl ::core::clone::Clone for D3DNTHAL_DP2SETSTREAMSOURCEFREQ {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2SETSTREAMSOURCEFREQ {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2SETSTREAMSOURCEFREQ").field("dwStream", &self.dwStream).field("dwDivider", &self.dwDivider).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2SETSTREAMSOURCEFREQ {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2SETSTREAMSOURCEFREQ {
fn eq(&self, other: &Self) -> bool {
self.dwStream == other.dwStream && self.dwDivider == other.dwDivider
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2SETSTREAMSOURCEFREQ {}
impl ::core::default::Default for D3DNTHAL_DP2SETSTREAMSOURCEFREQ {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2SETSTREAMSOURCEUM {
pub dwStream: u32,
pub dwStride: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2SETSTREAMSOURCEUM {}
impl ::core::clone::Clone for D3DNTHAL_DP2SETSTREAMSOURCEUM {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2SETSTREAMSOURCEUM {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2SETSTREAMSOURCEUM").field("dwStream", &self.dwStream).field("dwStride", &self.dwStride).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2SETSTREAMSOURCEUM {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2SETSTREAMSOURCEUM {
fn eq(&self, other: &Self) -> bool {
self.dwStream == other.dwStream && self.dwStride == other.dwStride
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2SETSTREAMSOURCEUM {}
impl ::core::default::Default for D3DNTHAL_DP2SETSTREAMSOURCEUM {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2SETTEXLOD {
pub dwDDSurface: u32,
pub dwLOD: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2SETTEXLOD {}
impl ::core::clone::Clone for D3DNTHAL_DP2SETTEXLOD {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2SETTEXLOD {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2SETTEXLOD").field("dwDDSurface", &self.dwDDSurface).field("dwLOD", &self.dwLOD).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2SETTEXLOD {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2SETTEXLOD {
fn eq(&self, other: &Self) -> bool {
self.dwDDSurface == other.dwDDSurface && self.dwLOD == other.dwLOD
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2SETTEXLOD {}
impl ::core::default::Default for D3DNTHAL_DP2SETTEXLOD {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
pub struct D3DNTHAL_DP2SETTRANSFORM {
pub xfrmType: super::super::super::Win32::Graphics::Direct3D9::D3DTRANSFORMSTATETYPE,
pub matrix: super::super::super::Foundation::Numerics::Matrix4x4,
}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::marker::Copy for D3DNTHAL_DP2SETTRANSFORM {}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::clone::Clone for D3DNTHAL_DP2SETTRANSFORM {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::fmt::Debug for D3DNTHAL_DP2SETTRANSFORM {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2SETTRANSFORM").field("xfrmType", &self.xfrmType).field("matrix", &self.matrix).finish()
}
}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::windows_core::TypeKind for D3DNTHAL_DP2SETTRANSFORM {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::cmp::PartialEq for D3DNTHAL_DP2SETTRANSFORM {
fn eq(&self, other: &Self) -> bool {
self.xfrmType == other.xfrmType && self.matrix == other.matrix
}
}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::cmp::Eq for D3DNTHAL_DP2SETTRANSFORM {}
#[cfg(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct3D9"))]
impl ::core::default::Default for D3DNTHAL_DP2SETTRANSFORM {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2SETVERTEXSHADERCONST {
pub dwRegister: u32,
pub dwCount: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2SETVERTEXSHADERCONST {}
impl ::core::clone::Clone for D3DNTHAL_DP2SETVERTEXSHADERCONST {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2SETVERTEXSHADERCONST {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2SETVERTEXSHADERCONST").field("dwRegister", &self.dwRegister).field("dwCount", &self.dwCount).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2SETVERTEXSHADERCONST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2SETVERTEXSHADERCONST {
fn eq(&self, other: &Self) -> bool {
self.dwRegister == other.dwRegister && self.dwCount == other.dwCount
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2SETVERTEXSHADERCONST {}
impl ::core::default::Default for D3DNTHAL_DP2SETVERTEXSHADERCONST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2STARTVERTEX {
pub wVStart: u16,
}
impl ::core::marker::Copy for D3DNTHAL_DP2STARTVERTEX {}
impl ::core::clone::Clone for D3DNTHAL_DP2STARTVERTEX {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2STARTVERTEX {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2STARTVERTEX").field("wVStart", &self.wVStart).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2STARTVERTEX {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2STARTVERTEX {
fn eq(&self, other: &Self) -> bool {
self.wVStart == other.wVStart
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2STARTVERTEX {}
impl ::core::default::Default for D3DNTHAL_DP2STARTVERTEX {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DNTHAL_DP2STATESET {
pub dwOperation: u32,
pub dwParam: u32,
pub sbType: super::super::super::Win32::Graphics::Direct3D9::D3DSTATEBLOCKTYPE,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DNTHAL_DP2STATESET {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DNTHAL_DP2STATESET {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DNTHAL_DP2STATESET {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2STATESET").field("dwOperation", &self.dwOperation).field("dwParam", &self.dwParam).field("sbType", &self.sbType).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DNTHAL_DP2STATESET {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DNTHAL_DP2STATESET {
fn eq(&self, other: &Self) -> bool {
self.dwOperation == other.dwOperation && self.dwParam == other.dwParam && self.sbType == other.sbType
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DNTHAL_DP2STATESET {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DNTHAL_DP2STATESET {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DNTHAL_DP2SURFACEBLT {
pub dwSource: u32,
pub rSource: super::super::super::Win32::Foundation::RECTL,
pub dwSourceMipLevel: u32,
pub dwDest: u32,
pub rDest: super::super::super::Win32::Foundation::RECTL,
pub dwDestMipLevel: u32,
pub Flags: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DNTHAL_DP2SURFACEBLT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DNTHAL_DP2SURFACEBLT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DNTHAL_DP2SURFACEBLT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2SURFACEBLT").field("dwSource", &self.dwSource).field("rSource", &self.rSource).field("dwSourceMipLevel", &self.dwSourceMipLevel).field("dwDest", &self.dwDest).field("rDest", &self.rDest).field("dwDestMipLevel", &self.dwDestMipLevel).field("Flags", &self.Flags).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DNTHAL_DP2SURFACEBLT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DNTHAL_DP2SURFACEBLT {
fn eq(&self, other: &Self) -> bool {
self.dwSource == other.dwSource && self.rSource == other.rSource && self.dwSourceMipLevel == other.dwSourceMipLevel && self.dwDest == other.dwDest && self.rDest == other.rDest && self.dwDestMipLevel == other.dwDestMipLevel && self.Flags == other.Flags
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DNTHAL_DP2SURFACEBLT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DNTHAL_DP2SURFACEBLT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DNTHAL_DP2TEXBLT {
pub dwDDDestSurface: u32,
pub dwDDSrcSurface: u32,
pub pDest: super::super::super::Win32::Foundation::POINT,
pub rSrc: super::super::super::Win32::Foundation::RECTL,
pub dwFlags: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DNTHAL_DP2TEXBLT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DNTHAL_DP2TEXBLT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DNTHAL_DP2TEXBLT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2TEXBLT").field("dwDDDestSurface", &self.dwDDDestSurface).field("dwDDSrcSurface", &self.dwDDSrcSurface).field("pDest", &self.pDest).field("rSrc", &self.rSrc).field("dwFlags", &self.dwFlags).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DNTHAL_DP2TEXBLT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DNTHAL_DP2TEXBLT {
fn eq(&self, other: &Self) -> bool {
self.dwDDDestSurface == other.dwDDDestSurface && self.dwDDSrcSurface == other.dwDDSrcSurface && self.pDest == other.pDest && self.rSrc == other.rSrc && self.dwFlags == other.dwFlags
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DNTHAL_DP2TEXBLT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DNTHAL_DP2TEXBLT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2TEXTURESTAGESTATE {
pub wStage: u16,
pub TSState: u16,
pub dwValue: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2TEXTURESTAGESTATE {}
impl ::core::clone::Clone for D3DNTHAL_DP2TEXTURESTAGESTATE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2TEXTURESTAGESTATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2TEXTURESTAGESTATE").field("wStage", &self.wStage).field("TSState", &self.TSState).field("dwValue", &self.dwValue).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2TEXTURESTAGESTATE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2TEXTURESTAGESTATE {
fn eq(&self, other: &Self) -> bool {
self.wStage == other.wStage && self.TSState == other.TSState && self.dwValue == other.dwValue
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2TEXTURESTAGESTATE {}
impl ::core::default::Default for D3DNTHAL_DP2TEXTURESTAGESTATE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2TRIANGLEFAN {
pub wVStart: u16,
}
impl ::core::marker::Copy for D3DNTHAL_DP2TRIANGLEFAN {}
impl ::core::clone::Clone for D3DNTHAL_DP2TRIANGLEFAN {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2TRIANGLEFAN {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2TRIANGLEFAN").field("wVStart", &self.wVStart).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2TRIANGLEFAN {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2TRIANGLEFAN {
fn eq(&self, other: &Self) -> bool {
self.wVStart == other.wVStart
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2TRIANGLEFAN {}
impl ::core::default::Default for D3DNTHAL_DP2TRIANGLEFAN {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2TRIANGLEFAN_IMM {
pub dwEdgeFlags: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2TRIANGLEFAN_IMM {}
impl ::core::clone::Clone for D3DNTHAL_DP2TRIANGLEFAN_IMM {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2TRIANGLEFAN_IMM {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2TRIANGLEFAN_IMM").field("dwEdgeFlags", &self.dwEdgeFlags).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2TRIANGLEFAN_IMM {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2TRIANGLEFAN_IMM {
fn eq(&self, other: &Self) -> bool {
self.dwEdgeFlags == other.dwEdgeFlags
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2TRIANGLEFAN_IMM {}
impl ::core::default::Default for D3DNTHAL_DP2TRIANGLEFAN_IMM {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2TRIANGLELIST {
pub wVStart: u16,
}
impl ::core::marker::Copy for D3DNTHAL_DP2TRIANGLELIST {}
impl ::core::clone::Clone for D3DNTHAL_DP2TRIANGLELIST {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2TRIANGLELIST {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2TRIANGLELIST").field("wVStart", &self.wVStart).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2TRIANGLELIST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2TRIANGLELIST {
fn eq(&self, other: &Self) -> bool {
self.wVStart == other.wVStart
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2TRIANGLELIST {}
impl ::core::default::Default for D3DNTHAL_DP2TRIANGLELIST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2TRIANGLESTRIP {
pub wVStart: u16,
}
impl ::core::marker::Copy for D3DNTHAL_DP2TRIANGLESTRIP {}
impl ::core::clone::Clone for D3DNTHAL_DP2TRIANGLESTRIP {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2TRIANGLESTRIP {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2TRIANGLESTRIP").field("wVStart", &self.wVStart).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2TRIANGLESTRIP {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2TRIANGLESTRIP {
fn eq(&self, other: &Self) -> bool {
self.wVStart == other.wVStart
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2TRIANGLESTRIP {}
impl ::core::default::Default for D3DNTHAL_DP2TRIANGLESTRIP {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2UPDATEPALETTE {
pub dwPaletteHandle: u32,
pub wStartIndex: u16,
pub wNumEntries: u16,
}
impl ::core::marker::Copy for D3DNTHAL_DP2UPDATEPALETTE {}
impl ::core::clone::Clone for D3DNTHAL_DP2UPDATEPALETTE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2UPDATEPALETTE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2UPDATEPALETTE").field("dwPaletteHandle", &self.dwPaletteHandle).field("wStartIndex", &self.wStartIndex).field("wNumEntries", &self.wNumEntries).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2UPDATEPALETTE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2UPDATEPALETTE {
fn eq(&self, other: &Self) -> bool {
self.dwPaletteHandle == other.dwPaletteHandle && self.wStartIndex == other.wStartIndex && self.wNumEntries == other.wNumEntries
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2UPDATEPALETTE {}
impl ::core::default::Default for D3DNTHAL_DP2UPDATEPALETTE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2VERTEXSHADER {
pub dwHandle: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2VERTEXSHADER {}
impl ::core::clone::Clone for D3DNTHAL_DP2VERTEXSHADER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2VERTEXSHADER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2VERTEXSHADER").field("dwHandle", &self.dwHandle).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2VERTEXSHADER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2VERTEXSHADER {
fn eq(&self, other: &Self) -> bool {
self.dwHandle == other.dwHandle
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2VERTEXSHADER {}
impl ::core::default::Default for D3DNTHAL_DP2VERTEXSHADER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2VIEWPORTINFO {
pub dwX: u32,
pub dwY: u32,
pub dwWidth: u32,
pub dwHeight: u32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2VIEWPORTINFO {}
impl ::core::clone::Clone for D3DNTHAL_DP2VIEWPORTINFO {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2VIEWPORTINFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2VIEWPORTINFO").field("dwX", &self.dwX).field("dwY", &self.dwY).field("dwWidth", &self.dwWidth).field("dwHeight", &self.dwHeight).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2VIEWPORTINFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2VIEWPORTINFO {
fn eq(&self, other: &Self) -> bool {
self.dwX == other.dwX && self.dwY == other.dwY && self.dwWidth == other.dwWidth && self.dwHeight == other.dwHeight
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2VIEWPORTINFO {}
impl ::core::default::Default for D3DNTHAL_DP2VIEWPORTINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct D3DNTHAL_DP2VOLUMEBLT {
pub dwDDDestSurface: u32,
pub dwDDSrcSurface: u32,
pub dwDestX: u32,
pub dwDestY: u32,
pub dwDestZ: u32,
pub srcBox: super::super::super::Win32::Graphics::Direct3D9::D3DBOX,
pub dwFlags: u32,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for D3DNTHAL_DP2VOLUMEBLT {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for D3DNTHAL_DP2VOLUMEBLT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for D3DNTHAL_DP2VOLUMEBLT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2VOLUMEBLT").field("dwDDDestSurface", &self.dwDDDestSurface).field("dwDDSrcSurface", &self.dwDDSrcSurface).field("dwDestX", &self.dwDestX).field("dwDestY", &self.dwDestY).field("dwDestZ", &self.dwDestZ).field("srcBox", &self.srcBox).field("dwFlags", &self.dwFlags).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for D3DNTHAL_DP2VOLUMEBLT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for D3DNTHAL_DP2VOLUMEBLT {
fn eq(&self, other: &Self) -> bool {
self.dwDDDestSurface == other.dwDDDestSurface && self.dwDDSrcSurface == other.dwDDSrcSurface && self.dwDestX == other.dwDestX && self.dwDestY == other.dwDestY && self.dwDestZ == other.dwDestZ && self.srcBox == other.srcBox && self.dwFlags == other.dwFlags
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for D3DNTHAL_DP2VOLUMEBLT {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for D3DNTHAL_DP2VOLUMEBLT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2WINFO {
pub dvWNear: f32,
pub dvWFar: f32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2WINFO {}
impl ::core::clone::Clone for D3DNTHAL_DP2WINFO {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2WINFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2WINFO").field("dvWNear", &self.dvWNear).field("dvWFar", &self.dvWFar).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2WINFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2WINFO {
fn eq(&self, other: &Self) -> bool {
self.dvWNear == other.dvWNear && self.dvWFar == other.dvWFar
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2WINFO {}
impl ::core::default::Default for D3DNTHAL_DP2WINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_DP2ZRANGE {
pub dvMinZ: f32,
pub dvMaxZ: f32,
}
impl ::core::marker::Copy for D3DNTHAL_DP2ZRANGE {}
impl ::core::clone::Clone for D3DNTHAL_DP2ZRANGE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_DP2ZRANGE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_DP2ZRANGE").field("dvMinZ", &self.dvMinZ).field("dvMaxZ", &self.dvMaxZ).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_DP2ZRANGE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_DP2ZRANGE {
fn eq(&self, other: &Self) -> bool {
self.dvMinZ == other.dvMinZ && self.dvMaxZ == other.dvMaxZ
}
}
impl ::core::cmp::Eq for D3DNTHAL_DP2ZRANGE {}
impl ::core::default::Default for D3DNTHAL_DP2ZRANGE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
pub struct D3DNTHAL_DRAWPRIMITIVES2DATA {
pub dwhContext: usize,
pub dwFlags: u32,
pub dwVertexType: u32,
pub lpDDCommands: *mut super::super::super::Win32::Graphics::DirectDraw::DD_SURFACE_LOCAL,
pub dwCommandOffset: u32,
pub dwCommandLength: u32,
pub Anonymous1: D3DNTHAL_DRAWPRIMITIVES2DATA_0,
pub dwVertexOffset: u32,
pub dwVertexLength: u32,
pub dwReqVertexBufSize: u32,
pub dwReqCommandBufSize: u32,
pub lpdwRStates: *mut u32,
pub Anonymous2: D3DNTHAL_DRAWPRIMITIVES2DATA_1,
pub dwErrorOffset: u32,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::marker::Copy for D3DNTHAL_DRAWPRIMITIVES2DATA {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::clone::Clone for D3DNTHAL_DRAWPRIMITIVES2DATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::windows_core::TypeKind for D3DNTHAL_DRAWPRIMITIVES2DATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::default::Default for D3DNTHAL_DRAWPRIMITIVES2DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
pub union D3DNTHAL_DRAWPRIMITIVES2DATA_0 {
pub lpDDVertex: *mut super::super::super::Win32::Graphics::DirectDraw::DD_SURFACE_LOCAL,
pub lpVertices: *mut ::core::ffi::c_void,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::marker::Copy for D3DNTHAL_DRAWPRIMITIVES2DATA_0 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::clone::Clone for D3DNTHAL_DRAWPRIMITIVES2DATA_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::windows_core::TypeKind for D3DNTHAL_DRAWPRIMITIVES2DATA_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::default::Default for D3DNTHAL_DRAWPRIMITIVES2DATA_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
pub union D3DNTHAL_DRAWPRIMITIVES2DATA_1 {
pub dwVertexSize: u32,
pub ddrval: ::windows_core::HRESULT,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::marker::Copy for D3DNTHAL_DRAWPRIMITIVES2DATA_1 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::clone::Clone for D3DNTHAL_DRAWPRIMITIVES2DATA_1 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::windows_core::TypeKind for D3DNTHAL_DRAWPRIMITIVES2DATA_1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::default::Default for D3DNTHAL_DRAWPRIMITIVES2DATA_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_DirectDraw\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
pub struct D3DNTHAL_GLOBALDRIVERDATA {
pub dwSize: u32,
pub hwCaps: D3DNTHALDEVICEDESC_V1,
pub dwNumVertices: u32,
pub dwNumClipVertices: u32,
pub dwNumTextureFormats: u32,
pub lpTextureFormats: *mut super::super::super::Win32::Graphics::DirectDraw::DDSURFACEDESC,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::marker::Copy for D3DNTHAL_GLOBALDRIVERDATA {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::clone::Clone for D3DNTHAL_GLOBALDRIVERDATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::fmt::Debug for D3DNTHAL_GLOBALDRIVERDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_GLOBALDRIVERDATA").field("dwSize", &self.dwSize).field("hwCaps", &self.hwCaps).field("dwNumVertices", &self.dwNumVertices).field("dwNumClipVertices", &self.dwNumClipVertices).field("dwNumTextureFormats", &self.dwNumTextureFormats).field("lpTextureFormats", &self.lpTextureFormats).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
impl ::windows_core::TypeKind for D3DNTHAL_GLOBALDRIVERDATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::cmp::PartialEq for D3DNTHAL_GLOBALDRIVERDATA {
fn eq(&self, other: &Self) -> bool {
self.dwSize == other.dwSize && self.hwCaps == other.hwCaps && self.dwNumVertices == other.dwNumVertices && self.dwNumClipVertices == other.dwNumClipVertices && self.dwNumTextureFormats == other.dwNumTextureFormats && self.lpTextureFormats == other.lpTextureFormats
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::cmp::Eq for D3DNTHAL_GLOBALDRIVERDATA {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::default::Default for D3DNTHAL_GLOBALDRIVERDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_SCENECAPTUREDATA {
pub dwhContext: usize,
pub dwFlag: u32,
pub ddrval: ::windows_core::HRESULT,
}
impl ::core::marker::Copy for D3DNTHAL_SCENECAPTUREDATA {}
impl ::core::clone::Clone for D3DNTHAL_SCENECAPTUREDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_SCENECAPTUREDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_SCENECAPTUREDATA").field("dwhContext", &self.dwhContext).field("dwFlag", &self.dwFlag).field("ddrval", &self.ddrval).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_SCENECAPTUREDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_SCENECAPTUREDATA {
fn eq(&self, other: &Self) -> bool {
self.dwhContext == other.dwhContext && self.dwFlag == other.dwFlag && self.ddrval == other.ddrval
}
}
impl ::core::cmp::Eq for D3DNTHAL_SCENECAPTUREDATA {}
impl ::core::default::Default for D3DNTHAL_SCENECAPTUREDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
pub struct D3DNTHAL_SETRENDERTARGETDATA {
pub dwhContext: usize,
pub lpDDS: *mut super::super::super::Win32::Graphics::DirectDraw::DD_SURFACE_LOCAL,
pub lpDDSZ: *mut super::super::super::Win32::Graphics::DirectDraw::DD_SURFACE_LOCAL,
pub ddrval: ::windows_core::HRESULT,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::marker::Copy for D3DNTHAL_SETRENDERTARGETDATA {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::clone::Clone for D3DNTHAL_SETRENDERTARGETDATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::fmt::Debug for D3DNTHAL_SETRENDERTARGETDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_SETRENDERTARGETDATA").field("dwhContext", &self.dwhContext).field("lpDDS", &self.lpDDS).field("lpDDSZ", &self.lpDDSZ).field("ddrval", &self.ddrval).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::windows_core::TypeKind for D3DNTHAL_SETRENDERTARGETDATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::cmp::PartialEq for D3DNTHAL_SETRENDERTARGETDATA {
fn eq(&self, other: &Self) -> bool {
self.dwhContext == other.dwhContext && self.lpDDS == other.lpDDS && self.lpDDSZ == other.lpDDSZ && self.ddrval == other.ddrval
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::cmp::Eq for D3DNTHAL_SETRENDERTARGETDATA {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
impl ::core::default::Default for D3DNTHAL_SETRENDERTARGETDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DNTHAL_TEXTURECREATEDATA {
pub dwhContext: usize,
pub hDDS: super::super::super::Win32::Foundation::HANDLE,
pub dwHandle: usize,
pub ddrval: ::windows_core::HRESULT,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DNTHAL_TEXTURECREATEDATA {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DNTHAL_TEXTURECREATEDATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DNTHAL_TEXTURECREATEDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_TEXTURECREATEDATA").field("dwhContext", &self.dwhContext).field("hDDS", &self.hDDS).field("dwHandle", &self.dwHandle).field("ddrval", &self.ddrval).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DNTHAL_TEXTURECREATEDATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DNTHAL_TEXTURECREATEDATA {
fn eq(&self, other: &Self) -> bool {
self.dwhContext == other.dwhContext && self.hDDS == other.hDDS && self.dwHandle == other.dwHandle && self.ddrval == other.ddrval
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DNTHAL_TEXTURECREATEDATA {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DNTHAL_TEXTURECREATEDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_TEXTUREDESTROYDATA {
pub dwhContext: usize,
pub dwHandle: usize,
pub ddrval: ::windows_core::HRESULT,
}
impl ::core::marker::Copy for D3DNTHAL_TEXTUREDESTROYDATA {}
impl ::core::clone::Clone for D3DNTHAL_TEXTUREDESTROYDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_TEXTUREDESTROYDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_TEXTUREDESTROYDATA").field("dwhContext", &self.dwhContext).field("dwHandle", &self.dwHandle).field("ddrval", &self.ddrval).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_TEXTUREDESTROYDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_TEXTUREDESTROYDATA {
fn eq(&self, other: &Self) -> bool {
self.dwhContext == other.dwhContext && self.dwHandle == other.dwHandle && self.ddrval == other.ddrval
}
}
impl ::core::cmp::Eq for D3DNTHAL_TEXTUREDESTROYDATA {}
impl ::core::default::Default for D3DNTHAL_TEXTUREDESTROYDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3DNTHAL_TEXTUREGETSURFDATA {
pub dwhContext: usize,
pub hDDS: super::super::super::Win32::Foundation::HANDLE,
pub dwHandle: usize,
pub ddrval: ::windows_core::HRESULT,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3DNTHAL_TEXTUREGETSURFDATA {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3DNTHAL_TEXTUREGETSURFDATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3DNTHAL_TEXTUREGETSURFDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_TEXTUREGETSURFDATA").field("dwhContext", &self.dwhContext).field("hDDS", &self.hDDS).field("dwHandle", &self.dwHandle).field("ddrval", &self.ddrval).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3DNTHAL_TEXTUREGETSURFDATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for D3DNTHAL_TEXTUREGETSURFDATA {
fn eq(&self, other: &Self) -> bool {
self.dwhContext == other.dwhContext && self.hDDS == other.hDDS && self.dwHandle == other.dwHandle && self.ddrval == other.ddrval
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for D3DNTHAL_TEXTUREGETSURFDATA {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3DNTHAL_TEXTUREGETSURFDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_TEXTURESWAPDATA {
pub dwhContext: usize,
pub dwHandle1: usize,
pub dwHandle2: usize,
pub ddrval: ::windows_core::HRESULT,
}
impl ::core::marker::Copy for D3DNTHAL_TEXTURESWAPDATA {}
impl ::core::clone::Clone for D3DNTHAL_TEXTURESWAPDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_TEXTURESWAPDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_TEXTURESWAPDATA").field("dwhContext", &self.dwhContext).field("dwHandle1", &self.dwHandle1).field("dwHandle2", &self.dwHandle2).field("ddrval", &self.ddrval).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_TEXTURESWAPDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_TEXTURESWAPDATA {
fn eq(&self, other: &Self) -> bool {
self.dwhContext == other.dwhContext && self.dwHandle1 == other.dwHandle1 && self.dwHandle2 == other.dwHandle2 && self.ddrval == other.ddrval
}
}
impl ::core::cmp::Eq for D3DNTHAL_TEXTURESWAPDATA {}
impl ::core::default::Default for D3DNTHAL_TEXTURESWAPDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA {
pub dwhContext: usize,
pub dwFlags: u32,
pub dwReserved: usize,
pub dwNumPasses: u32,
pub ddrval: ::windows_core::HRESULT,
}
impl ::core::marker::Copy for D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA {}
impl ::core::clone::Clone for D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA").field("dwhContext", &self.dwhContext).field("dwFlags", &self.dwFlags).field("dwReserved", &self.dwReserved).field("dwNumPasses", &self.dwNumPasses).field("ddrval", &self.ddrval).finish()
}
}
impl ::windows_core::TypeKind for D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA {
fn eq(&self, other: &Self) -> bool {
self.dwhContext == other.dwhContext && self.dwFlags == other.dwFlags && self.dwReserved == other.dwReserved && self.dwNumPasses == other.dwNumPasses && self.ddrval == other.ddrval
}
}
impl ::core::cmp::Eq for D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA {}
impl ::core::default::Default for D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DDNT_DEFERRED_AGP_AWARE_DATA {
pub gdi2: DDNT_GETDRIVERINFO2DATA,
}
impl ::core::marker::Copy for DDNT_DEFERRED_AGP_AWARE_DATA {}
impl ::core::clone::Clone for DDNT_DEFERRED_AGP_AWARE_DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DDNT_DEFERRED_AGP_AWARE_DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DDNT_DEFERRED_AGP_AWARE_DATA").field("gdi2", &self.gdi2).finish()
}
}
impl ::windows_core::TypeKind for DDNT_DEFERRED_AGP_AWARE_DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DDNT_DEFERRED_AGP_AWARE_DATA {
fn eq(&self, other: &Self) -> bool {
self.gdi2 == other.gdi2
}
}
impl ::core::cmp::Eq for DDNT_DEFERRED_AGP_AWARE_DATA {}
impl ::core::default::Default for DDNT_DEFERRED_AGP_AWARE_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DDNT_DXVERSION {
pub gdi2: DDNT_GETDRIVERINFO2DATA,
pub dwDXVersion: u32,
pub dwReserved: u32,
}
impl ::core::marker::Copy for DDNT_DXVERSION {}
impl ::core::clone::Clone for DDNT_DXVERSION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DDNT_DXVERSION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DDNT_DXVERSION").field("gdi2", &self.gdi2).field("dwDXVersion", &self.dwDXVersion).field("dwReserved", &self.dwReserved).finish()
}
}
impl ::windows_core::TypeKind for DDNT_DXVERSION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DDNT_DXVERSION {
fn eq(&self, other: &Self) -> bool {
self.gdi2 == other.gdi2 && self.dwDXVersion == other.dwDXVersion && self.dwReserved == other.dwReserved
}
}
impl ::core::cmp::Eq for DDNT_DXVERSION {}
impl ::core::default::Default for DDNT_DXVERSION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DDNT_FREE_DEFERRED_AGP_DATA {
pub gdi2: DDNT_GETDRIVERINFO2DATA,
pub dwProcessId: u32,
}
impl ::core::marker::Copy for DDNT_FREE_DEFERRED_AGP_DATA {}
impl ::core::clone::Clone for DDNT_FREE_DEFERRED_AGP_DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DDNT_FREE_DEFERRED_AGP_DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DDNT_FREE_DEFERRED_AGP_DATA").field("gdi2", &self.gdi2).field("dwProcessId", &self.dwProcessId).finish()
}
}
impl ::windows_core::TypeKind for DDNT_FREE_DEFERRED_AGP_DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DDNT_FREE_DEFERRED_AGP_DATA {
fn eq(&self, other: &Self) -> bool {
self.gdi2 == other.gdi2 && self.dwProcessId == other.dwProcessId
}
}
impl ::core::cmp::Eq for DDNT_FREE_DEFERRED_AGP_DATA {}
impl ::core::default::Default for DDNT_FREE_DEFERRED_AGP_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DDNT_GETADAPTERGROUPDATA {
pub gdi2: DDNT_GETDRIVERINFO2DATA,
pub ulUniqueAdapterGroupId: usize,
pub dwReserved1: u32,
pub dwReserved2: u32,
}
impl ::core::marker::Copy for DDNT_GETADAPTERGROUPDATA {}
impl ::core::clone::Clone for DDNT_GETADAPTERGROUPDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DDNT_GETADAPTERGROUPDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DDNT_GETADAPTERGROUPDATA").field("gdi2", &self.gdi2).field("ulUniqueAdapterGroupId", &self.ulUniqueAdapterGroupId).field("dwReserved1", &self.dwReserved1).field("dwReserved2", &self.dwReserved2).finish()
}
}
impl ::windows_core::TypeKind for DDNT_GETADAPTERGROUPDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DDNT_GETADAPTERGROUPDATA {
fn eq(&self, other: &Self) -> bool {
self.gdi2 == other.gdi2 && self.ulUniqueAdapterGroupId == other.ulUniqueAdapterGroupId && self.dwReserved1 == other.dwReserved1 && self.dwReserved2 == other.dwReserved2
}
}
impl ::core::cmp::Eq for DDNT_GETADAPTERGROUPDATA {}
impl ::core::default::Default for DDNT_GETADAPTERGROUPDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DDNT_GETD3DQUERYCOUNTDATA {
pub gdi2: DDNT_GETDRIVERINFO2DATA,
pub dwNumQueries: u32,
}
impl ::core::marker::Copy for DDNT_GETD3DQUERYCOUNTDATA {}
impl ::core::clone::Clone for DDNT_GETD3DQUERYCOUNTDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DDNT_GETD3DQUERYCOUNTDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DDNT_GETD3DQUERYCOUNTDATA").field("gdi2", &self.gdi2).field("dwNumQueries", &self.dwNumQueries).finish()
}
}
impl ::windows_core::TypeKind for DDNT_GETD3DQUERYCOUNTDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DDNT_GETD3DQUERYCOUNTDATA {
fn eq(&self, other: &Self) -> bool {
self.gdi2 == other.gdi2 && self.dwNumQueries == other.dwNumQueries
}
}
impl ::core::cmp::Eq for DDNT_GETD3DQUERYCOUNTDATA {}
impl ::core::default::Default for DDNT_GETD3DQUERYCOUNTDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct DDNT_GETD3DQUERYDATA {
pub gdi2: DDNT_GETDRIVERINFO2DATA,
pub Anonymous: DDNT_GETD3DQUERYDATA_0,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for DDNT_GETD3DQUERYDATA {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for DDNT_GETD3DQUERYDATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for DDNT_GETD3DQUERYDATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for DDNT_GETD3DQUERYDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub union DDNT_GETD3DQUERYDATA_0 {
pub dwQueryIndex: u32,
pub QueryType: super::super::super::Win32::Graphics::Direct3D9::D3DQUERYTYPE,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for DDNT_GETD3DQUERYDATA_0 {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for DDNT_GETD3DQUERYDATA_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for DDNT_GETD3DQUERYDATA_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for DDNT_GETD3DQUERYDATA_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DDNT_GETDDIVERSIONDATA {
pub gdi2: DDNT_GETDRIVERINFO2DATA,
pub dwDXVersion: u32,
pub dwDDIVersion: u32,
}
impl ::core::marker::Copy for DDNT_GETDDIVERSIONDATA {}
impl ::core::clone::Clone for DDNT_GETDDIVERSIONDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DDNT_GETDDIVERSIONDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DDNT_GETDDIVERSIONDATA").field("gdi2", &self.gdi2).field("dwDXVersion", &self.dwDXVersion).field("dwDDIVersion", &self.dwDDIVersion).finish()
}
}
impl ::windows_core::TypeKind for DDNT_GETDDIVERSIONDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DDNT_GETDDIVERSIONDATA {
fn eq(&self, other: &Self) -> bool {
self.gdi2 == other.gdi2 && self.dwDXVersion == other.dwDXVersion && self.dwDDIVersion == other.dwDDIVersion
}
}
impl ::core::cmp::Eq for DDNT_GETDDIVERSIONDATA {}
impl ::core::default::Default for DDNT_GETDDIVERSIONDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DDNT_GETDRIVERINFO2DATA {
pub dwReserved: u32,
pub dwMagic: u32,
pub dwType: u32,
pub dwExpectedSize: u32,
}
impl ::core::marker::Copy for DDNT_GETDRIVERINFO2DATA {}
impl ::core::clone::Clone for DDNT_GETDRIVERINFO2DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DDNT_GETDRIVERINFO2DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DDNT_GETDRIVERINFO2DATA").field("dwReserved", &self.dwReserved).field("dwMagic", &self.dwMagic).field("dwType", &self.dwType).field("dwExpectedSize", &self.dwExpectedSize).finish()
}
}
impl ::windows_core::TypeKind for DDNT_GETDRIVERINFO2DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DDNT_GETDRIVERINFO2DATA {
fn eq(&self, other: &Self) -> bool {
self.dwReserved == other.dwReserved && self.dwMagic == other.dwMagic && self.dwType == other.dwType && self.dwExpectedSize == other.dwExpectedSize
}
}
impl ::core::cmp::Eq for DDNT_GETDRIVERINFO2DATA {}
impl ::core::default::Default for DDNT_GETDRIVERINFO2DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DDNT_GETEXTENDEDMODECOUNTDATA {
pub gdi2: DDNT_GETDRIVERINFO2DATA,
pub dwModeCount: u32,
pub dwReserved: u32,
}
impl ::core::marker::Copy for DDNT_GETEXTENDEDMODECOUNTDATA {}
impl ::core::clone::Clone for DDNT_GETEXTENDEDMODECOUNTDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DDNT_GETEXTENDEDMODECOUNTDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DDNT_GETEXTENDEDMODECOUNTDATA").field("gdi2", &self.gdi2).field("dwModeCount", &self.dwModeCount).field("dwReserved", &self.dwReserved).finish()
}
}
impl ::windows_core::TypeKind for DDNT_GETEXTENDEDMODECOUNTDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DDNT_GETEXTENDEDMODECOUNTDATA {
fn eq(&self, other: &Self) -> bool {
self.gdi2 == other.gdi2 && self.dwModeCount == other.dwModeCount && self.dwReserved == other.dwReserved
}
}
impl ::core::cmp::Eq for DDNT_GETEXTENDEDMODECOUNTDATA {}
impl ::core::default::Default for DDNT_GETEXTENDEDMODECOUNTDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct DDNT_GETEXTENDEDMODEDATA {
pub gdi2: DDNT_GETDRIVERINFO2DATA,
pub dwModeIndex: u32,
pub mode: super::super::super::Win32::Graphics::Direct3D9::D3DDISPLAYMODE,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for DDNT_GETEXTENDEDMODEDATA {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for DDNT_GETEXTENDEDMODEDATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for DDNT_GETEXTENDEDMODEDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DDNT_GETEXTENDEDMODEDATA").field("gdi2", &self.gdi2).field("dwModeIndex", &self.dwModeIndex).field("mode", &self.mode).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for DDNT_GETEXTENDEDMODEDATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for DDNT_GETEXTENDEDMODEDATA {
fn eq(&self, other: &Self) -> bool {
self.gdi2 == other.gdi2 && self.dwModeIndex == other.dwModeIndex && self.mode == other.mode
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for DDNT_GETEXTENDEDMODEDATA {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for DDNT_GETEXTENDEDMODEDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DDNT_GETFORMATCOUNTDATA {
pub gdi2: DDNT_GETDRIVERINFO2DATA,
pub dwFormatCount: u32,
pub dwReserved: u32,
}
impl ::core::marker::Copy for DDNT_GETFORMATCOUNTDATA {}
impl ::core::clone::Clone for DDNT_GETFORMATCOUNTDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DDNT_GETFORMATCOUNTDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DDNT_GETFORMATCOUNTDATA").field("gdi2", &self.gdi2).field("dwFormatCount", &self.dwFormatCount).field("dwReserved", &self.dwReserved).finish()
}
}
impl ::windows_core::TypeKind for DDNT_GETFORMATCOUNTDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DDNT_GETFORMATCOUNTDATA {
fn eq(&self, other: &Self) -> bool {
self.gdi2 == other.gdi2 && self.dwFormatCount == other.dwFormatCount && self.dwReserved == other.dwReserved
}
}
impl ::core::cmp::Eq for DDNT_GETFORMATCOUNTDATA {}
impl ::core::default::Default for DDNT_GETFORMATCOUNTDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"]
#[cfg(feature = "Win32_Graphics_DirectDraw")]
pub struct DDNT_GETFORMATDATA {
pub gdi2: DDNT_GETDRIVERINFO2DATA,
pub dwFormatIndex: u32,
pub format: super::super::super::Win32::Graphics::DirectDraw::DDPIXELFORMAT,
}
#[cfg(feature = "Win32_Graphics_DirectDraw")]
impl ::core::marker::Copy for DDNT_GETFORMATDATA {}
#[cfg(feature = "Win32_Graphics_DirectDraw")]
impl ::core::clone::Clone for DDNT_GETFORMATDATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_DirectDraw")]
impl ::windows_core::TypeKind for DDNT_GETFORMATDATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_DirectDraw")]
impl ::core::default::Default for DDNT_GETFORMATDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct DDNT_MULTISAMPLEQUALITYLEVELSDATA {
pub gdi2: DDNT_GETDRIVERINFO2DATA,
pub Format: super::super::super::Win32::Graphics::Direct3D9::D3DFORMAT,
pub _bitfield: i32,
pub QualityLevels: u32,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for DDNT_MULTISAMPLEQUALITYLEVELSDATA {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for DDNT_MULTISAMPLEQUALITYLEVELSDATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for DDNT_MULTISAMPLEQUALITYLEVELSDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DDNT_MULTISAMPLEQUALITYLEVELSDATA").field("gdi2", &self.gdi2).field("Format", &self.Format).field("_bitfield", &self._bitfield).field("QualityLevels", &self.QualityLevels).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for DDNT_MULTISAMPLEQUALITYLEVELSDATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for DDNT_MULTISAMPLEQUALITYLEVELSDATA {
fn eq(&self, other: &Self) -> bool {
self.gdi2 == other.gdi2 && self.Format == other.Format && self._bitfield == other._bitfield && self.QualityLevels == other.QualityLevels
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for DDNT_MULTISAMPLEQUALITYLEVELSDATA {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for DDNT_MULTISAMPLEQUALITYLEVELSDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DD_DEFERRED_AGP_AWARE_DATA {
pub gdi2: DD_GETDRIVERINFO2DATA,
}
impl ::core::marker::Copy for DD_DEFERRED_AGP_AWARE_DATA {}
impl ::core::clone::Clone for DD_DEFERRED_AGP_AWARE_DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DD_DEFERRED_AGP_AWARE_DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DD_DEFERRED_AGP_AWARE_DATA").field("gdi2", &self.gdi2).finish()
}
}
impl ::windows_core::TypeKind for DD_DEFERRED_AGP_AWARE_DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DD_DEFERRED_AGP_AWARE_DATA {
fn eq(&self, other: &Self) -> bool {
self.gdi2 == other.gdi2
}
}
impl ::core::cmp::Eq for DD_DEFERRED_AGP_AWARE_DATA {}
impl ::core::default::Default for DD_DEFERRED_AGP_AWARE_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DD_DXVERSION {
pub gdi2: DD_GETDRIVERINFO2DATA,
pub dwDXVersion: u32,
pub dwReserved: u32,
}
impl ::core::marker::Copy for DD_DXVERSION {}
impl ::core::clone::Clone for DD_DXVERSION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DD_DXVERSION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DD_DXVERSION").field("gdi2", &self.gdi2).field("dwDXVersion", &self.dwDXVersion).field("dwReserved", &self.dwReserved).finish()
}
}
impl ::windows_core::TypeKind for DD_DXVERSION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DD_DXVERSION {
fn eq(&self, other: &Self) -> bool {
self.gdi2 == other.gdi2 && self.dwDXVersion == other.dwDXVersion && self.dwReserved == other.dwReserved
}
}
impl ::core::cmp::Eq for DD_DXVERSION {}
impl ::core::default::Default for DD_DXVERSION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DD_FREE_DEFERRED_AGP_DATA {
pub gdi2: DD_GETDRIVERINFO2DATA,
pub dwProcessId: u32,
}
impl ::core::marker::Copy for DD_FREE_DEFERRED_AGP_DATA {}
impl ::core::clone::Clone for DD_FREE_DEFERRED_AGP_DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DD_FREE_DEFERRED_AGP_DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DD_FREE_DEFERRED_AGP_DATA").field("gdi2", &self.gdi2).field("dwProcessId", &self.dwProcessId).finish()
}
}
impl ::windows_core::TypeKind for DD_FREE_DEFERRED_AGP_DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DD_FREE_DEFERRED_AGP_DATA {
fn eq(&self, other: &Self) -> bool {
self.gdi2 == other.gdi2 && self.dwProcessId == other.dwProcessId
}
}
impl ::core::cmp::Eq for DD_FREE_DEFERRED_AGP_DATA {}
impl ::core::default::Default for DD_FREE_DEFERRED_AGP_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DD_GETADAPTERGROUPDATA {
pub gdi2: DD_GETDRIVERINFO2DATA,
pub ulUniqueAdapterGroupId: usize,
pub dwReserved1: u32,
pub dwReserved2: u32,
}
impl ::core::marker::Copy for DD_GETADAPTERGROUPDATA {}
impl ::core::clone::Clone for DD_GETADAPTERGROUPDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DD_GETADAPTERGROUPDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DD_GETADAPTERGROUPDATA").field("gdi2", &self.gdi2).field("ulUniqueAdapterGroupId", &self.ulUniqueAdapterGroupId).field("dwReserved1", &self.dwReserved1).field("dwReserved2", &self.dwReserved2).finish()
}
}
impl ::windows_core::TypeKind for DD_GETADAPTERGROUPDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DD_GETADAPTERGROUPDATA {
fn eq(&self, other: &Self) -> bool {
self.gdi2 == other.gdi2 && self.ulUniqueAdapterGroupId == other.ulUniqueAdapterGroupId && self.dwReserved1 == other.dwReserved1 && self.dwReserved2 == other.dwReserved2
}
}
impl ::core::cmp::Eq for DD_GETADAPTERGROUPDATA {}
impl ::core::default::Default for DD_GETADAPTERGROUPDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DD_GETD3DQUERYCOUNTDATA {
pub gdi2: DD_GETDRIVERINFO2DATA,
pub dwNumQueries: u32,
}
impl ::core::marker::Copy for DD_GETD3DQUERYCOUNTDATA {}
impl ::core::clone::Clone for DD_GETD3DQUERYCOUNTDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DD_GETD3DQUERYCOUNTDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DD_GETD3DQUERYCOUNTDATA").field("gdi2", &self.gdi2).field("dwNumQueries", &self.dwNumQueries).finish()
}
}
impl ::windows_core::TypeKind for DD_GETD3DQUERYCOUNTDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DD_GETD3DQUERYCOUNTDATA {
fn eq(&self, other: &Self) -> bool {
self.gdi2 == other.gdi2 && self.dwNumQueries == other.dwNumQueries
}
}
impl ::core::cmp::Eq for DD_GETD3DQUERYCOUNTDATA {}
impl ::core::default::Default for DD_GETD3DQUERYCOUNTDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct DD_GETD3DQUERYDATA {
pub gdi2: DD_GETDRIVERINFO2DATA,
pub Anonymous: DD_GETD3DQUERYDATA_0,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for DD_GETD3DQUERYDATA {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for DD_GETD3DQUERYDATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for DD_GETD3DQUERYDATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for DD_GETD3DQUERYDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub union DD_GETD3DQUERYDATA_0 {
pub dwQueryIndex: u32,
pub QueryType: super::super::super::Win32::Graphics::Direct3D9::D3DQUERYTYPE,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for DD_GETD3DQUERYDATA_0 {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for DD_GETD3DQUERYDATA_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for DD_GETD3DQUERYDATA_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for DD_GETD3DQUERYDATA_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DD_GETDDIVERSIONDATA {
pub gdi2: DD_GETDRIVERINFO2DATA,
pub dwDXVersion: u32,
pub dwDDIVersion: u32,
}
impl ::core::marker::Copy for DD_GETDDIVERSIONDATA {}
impl ::core::clone::Clone for DD_GETDDIVERSIONDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DD_GETDDIVERSIONDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DD_GETDDIVERSIONDATA").field("gdi2", &self.gdi2).field("dwDXVersion", &self.dwDXVersion).field("dwDDIVersion", &self.dwDDIVersion).finish()
}
}
impl ::windows_core::TypeKind for DD_GETDDIVERSIONDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DD_GETDDIVERSIONDATA {
fn eq(&self, other: &Self) -> bool {
self.gdi2 == other.gdi2 && self.dwDXVersion == other.dwDXVersion && self.dwDDIVersion == other.dwDDIVersion
}
}
impl ::core::cmp::Eq for DD_GETDDIVERSIONDATA {}
impl ::core::default::Default for DD_GETDDIVERSIONDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DD_GETDRIVERINFO2DATA {
pub dwReserved: u32,
pub dwMagic: u32,
pub dwType: u32,
pub dwExpectedSize: u32,
}
impl ::core::marker::Copy for DD_GETDRIVERINFO2DATA {}
impl ::core::clone::Clone for DD_GETDRIVERINFO2DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DD_GETDRIVERINFO2DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DD_GETDRIVERINFO2DATA").field("dwReserved", &self.dwReserved).field("dwMagic", &self.dwMagic).field("dwType", &self.dwType).field("dwExpectedSize", &self.dwExpectedSize).finish()
}
}
impl ::windows_core::TypeKind for DD_GETDRIVERINFO2DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DD_GETDRIVERINFO2DATA {
fn eq(&self, other: &Self) -> bool {
self.dwReserved == other.dwReserved && self.dwMagic == other.dwMagic && self.dwType == other.dwType && self.dwExpectedSize == other.dwExpectedSize
}
}
impl ::core::cmp::Eq for DD_GETDRIVERINFO2DATA {}
impl ::core::default::Default for DD_GETDRIVERINFO2DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DD_GETEXTENDEDMODECOUNTDATA {
pub gdi2: DD_GETDRIVERINFO2DATA,
pub dwModeCount: u32,
pub dwReserved: u32,
}
impl ::core::marker::Copy for DD_GETEXTENDEDMODECOUNTDATA {}
impl ::core::clone::Clone for DD_GETEXTENDEDMODECOUNTDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DD_GETEXTENDEDMODECOUNTDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DD_GETEXTENDEDMODECOUNTDATA").field("gdi2", &self.gdi2).field("dwModeCount", &self.dwModeCount).field("dwReserved", &self.dwReserved).finish()
}
}
impl ::windows_core::TypeKind for DD_GETEXTENDEDMODECOUNTDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DD_GETEXTENDEDMODECOUNTDATA {
fn eq(&self, other: &Self) -> bool {
self.gdi2 == other.gdi2 && self.dwModeCount == other.dwModeCount && self.dwReserved == other.dwReserved
}
}
impl ::core::cmp::Eq for DD_GETEXTENDEDMODECOUNTDATA {}
impl ::core::default::Default for DD_GETEXTENDEDMODECOUNTDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct DD_GETEXTENDEDMODEDATA {
pub gdi2: DD_GETDRIVERINFO2DATA,
pub dwModeIndex: u32,
pub mode: super::super::super::Win32::Graphics::Direct3D9::D3DDISPLAYMODE,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for DD_GETEXTENDEDMODEDATA {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for DD_GETEXTENDEDMODEDATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for DD_GETEXTENDEDMODEDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DD_GETEXTENDEDMODEDATA").field("gdi2", &self.gdi2).field("dwModeIndex", &self.dwModeIndex).field("mode", &self.mode).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for DD_GETEXTENDEDMODEDATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for DD_GETEXTENDEDMODEDATA {
fn eq(&self, other: &Self) -> bool {
self.gdi2 == other.gdi2 && self.dwModeIndex == other.dwModeIndex && self.mode == other.mode
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for DD_GETEXTENDEDMODEDATA {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for DD_GETEXTENDEDMODEDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DD_GETFORMATCOUNTDATA {
pub gdi2: DD_GETDRIVERINFO2DATA,
pub dwFormatCount: u32,
pub dwReserved: u32,
}
impl ::core::marker::Copy for DD_GETFORMATCOUNTDATA {}
impl ::core::clone::Clone for DD_GETFORMATCOUNTDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DD_GETFORMATCOUNTDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DD_GETFORMATCOUNTDATA").field("gdi2", &self.gdi2).field("dwFormatCount", &self.dwFormatCount).field("dwReserved", &self.dwReserved).finish()
}
}
impl ::windows_core::TypeKind for DD_GETFORMATCOUNTDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DD_GETFORMATCOUNTDATA {
fn eq(&self, other: &Self) -> bool {
self.gdi2 == other.gdi2 && self.dwFormatCount == other.dwFormatCount && self.dwReserved == other.dwReserved
}
}
impl ::core::cmp::Eq for DD_GETFORMATCOUNTDATA {}
impl ::core::default::Default for DD_GETFORMATCOUNTDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"]
#[cfg(feature = "Win32_Graphics_DirectDraw")]
pub struct DD_GETFORMATDATA {
pub gdi2: DD_GETDRIVERINFO2DATA,
pub dwFormatIndex: u32,
pub format: super::super::super::Win32::Graphics::DirectDraw::DDPIXELFORMAT,
}
#[cfg(feature = "Win32_Graphics_DirectDraw")]
impl ::core::marker::Copy for DD_GETFORMATDATA {}
#[cfg(feature = "Win32_Graphics_DirectDraw")]
impl ::core::clone::Clone for DD_GETFORMATDATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_DirectDraw")]
impl ::windows_core::TypeKind for DD_GETFORMATDATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_DirectDraw")]
impl ::core::default::Default for DD_GETFORMATDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub struct DD_MULTISAMPLEQUALITYLEVELSDATA {
pub gdi2: DD_GETDRIVERINFO2DATA,
pub Format: super::super::super::Win32::Graphics::Direct3D9::D3DFORMAT,
pub _bitfield: i32,
pub QualityLevels: u32,
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::marker::Copy for DD_MULTISAMPLEQUALITYLEVELSDATA {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::clone::Clone for DD_MULTISAMPLEQUALITYLEVELSDATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::fmt::Debug for DD_MULTISAMPLEQUALITYLEVELSDATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DD_MULTISAMPLEQUALITYLEVELSDATA").field("gdi2", &self.gdi2).field("Format", &self.Format).field("_bitfield", &self._bitfield).field("QualityLevels", &self.QualityLevels).finish()
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::windows_core::TypeKind for DD_MULTISAMPLEQUALITYLEVELSDATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::PartialEq for DD_MULTISAMPLEQUALITYLEVELSDATA {
fn eq(&self, other: &Self) -> bool {
self.gdi2 == other.gdi2 && self.Format == other.Format && self._bitfield == other._bitfield && self.QualityLevels == other.QualityLevels
}
}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::cmp::Eq for DD_MULTISAMPLEQUALITYLEVELSDATA {}
#[cfg(feature = "Win32_Graphics_Direct3D9")]
impl ::core::default::Default for DD_MULTISAMPLEQUALITYLEVELSDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DISPLAYID_DETAILED_TIMING_TYPE_I {
pub Anonymous1: DISPLAYID_DETAILED_TIMING_TYPE_I_0,
pub HorizontalActivePixels: u16,
pub HorizontalBlankPixels: u16,
pub Anonymous2: DISPLAYID_DETAILED_TIMING_TYPE_I_1,
pub HorizontalSyncWidth: u16,
pub VerticalActiveLines: u16,
pub VerticalBlankLines: u16,
pub Anonymous3: DISPLAYID_DETAILED_TIMING_TYPE_I_2,
pub VerticalSyncWidth: u16,
}
impl ::core::marker::Copy for DISPLAYID_DETAILED_TIMING_TYPE_I {}
impl ::core::clone::Clone for DISPLAYID_DETAILED_TIMING_TYPE_I {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DISPLAYID_DETAILED_TIMING_TYPE_I {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DISPLAYID_DETAILED_TIMING_TYPE_I {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DISPLAYID_DETAILED_TIMING_TYPE_I_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for DISPLAYID_DETAILED_TIMING_TYPE_I_0 {}
impl ::core::clone::Clone for DISPLAYID_DETAILED_TIMING_TYPE_I_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DISPLAYID_DETAILED_TIMING_TYPE_I_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DISPLAYID_DETAILED_TIMING_TYPE_I_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DISPLAYID_DETAILED_TIMING_TYPE_I_1 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for DISPLAYID_DETAILED_TIMING_TYPE_I_1 {}
impl ::core::clone::Clone for DISPLAYID_DETAILED_TIMING_TYPE_I_1 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DISPLAYID_DETAILED_TIMING_TYPE_I_1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DISPLAYID_DETAILED_TIMING_TYPE_I_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DISPLAYID_DETAILED_TIMING_TYPE_I_2 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for DISPLAYID_DETAILED_TIMING_TYPE_I_2 {}
impl ::core::clone::Clone for DISPLAYID_DETAILED_TIMING_TYPE_I_2 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DISPLAYID_DETAILED_TIMING_TYPE_I_2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DISPLAYID_DETAILED_TIMING_TYPE_I_2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DXGKARG_SETPALETTE {
pub VidPnSourceId: u32,
pub FirstEntry: u32,
pub NumEntries: u32,
pub pLookupTable: *mut D3DKMDT_PALETTEDATA,
}
impl ::core::marker::Copy for DXGKARG_SETPALETTE {}
impl ::core::clone::Clone for DXGKARG_SETPALETTE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DXGKARG_SETPALETTE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DXGKARG_SETPALETTE").field("VidPnSourceId", &self.VidPnSourceId).field("FirstEntry", &self.FirstEntry).field("NumEntries", &self.NumEntries).field("pLookupTable", &self.pLookupTable).finish()
}
}
impl ::windows_core::TypeKind for DXGKARG_SETPALETTE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DXGKARG_SETPALETTE {
fn eq(&self, other: &Self) -> bool {
self.VidPnSourceId == other.VidPnSourceId && self.FirstEntry == other.FirstEntry && self.NumEntries == other.NumEntries && self.pLookupTable == other.pLookupTable
}
}
impl ::core::cmp::Eq for DXGKARG_SETPALETTE {}
impl ::core::default::Default for DXGKARG_SETPALETTE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGKMDT_OPM_ACP_AND_CGMSA_SIGNALING {
pub rnRandomNumber: DXGKMDT_OPM_RANDOM_NUMBER,
pub ulStatusFlags: u32,
pub ulAvailableTVProtectionStandards: u32,
pub ulActiveTVProtectionStandard: u32,
pub ulReserved: u32,
pub ulAspectRatioValidMask1: u32,
pub ulAspectRatioData1: u32,
pub ulAspectRatioValidMask2: u32,
pub ulAspectRatioData2: u32,
pub ulAspectRatioValidMask3: u32,
pub ulAspectRatioData3: u32,
pub ulReserved2: [u32; 4],
pub ulReserved3: [u32; 4],
}
impl ::core::marker::Copy for DXGKMDT_OPM_ACP_AND_CGMSA_SIGNALING {}
impl ::core::clone::Clone for DXGKMDT_OPM_ACP_AND_CGMSA_SIGNALING {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_ACP_AND_CGMSA_SIGNALING {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGKMDT_OPM_ACP_AND_CGMSA_SIGNALING {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGKMDT_OPM_ACTUAL_OUTPUT_FORMAT {
pub rnRandomNumber: DXGKMDT_OPM_RANDOM_NUMBER,
pub ulStatusFlags: u32,
pub ulDisplayWidth: u32,
pub ulDisplayHeight: u32,
pub ifInterleaveFormat: DXGKMDT_OPM_INTERLEAVE_FORMAT,
pub d3dFormat: u32,
pub ulFrequencyNumerator: u32,
pub ulFrequencyDenominator: u32,
}
impl ::core::marker::Copy for DXGKMDT_OPM_ACTUAL_OUTPUT_FORMAT {}
impl ::core::clone::Clone for DXGKMDT_OPM_ACTUAL_OUTPUT_FORMAT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_ACTUAL_OUTPUT_FORMAT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGKMDT_OPM_ACTUAL_OUTPUT_FORMAT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGKMDT_OPM_CONFIGURE_PARAMETERS {
pub omac: DXGKMDT_OPM_OMAC,
pub guidSetting: ::windows_core::GUID,
pub ulSequenceNumber: u32,
pub cbParametersSize: u32,
pub abParameters: [u8; 4056],
}
impl ::core::marker::Copy for DXGKMDT_OPM_CONFIGURE_PARAMETERS {}
impl ::core::clone::Clone for DXGKMDT_OPM_CONFIGURE_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_CONFIGURE_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGKMDT_OPM_CONFIGURE_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGKMDT_OPM_CONNECTED_HDCP_DEVICE_INFORMATION {
pub rnRandomNumber: DXGKMDT_OPM_RANDOM_NUMBER,
pub ulStatusFlags: u32,
pub ulHDCPFlags: u32,
pub ksvB: DXGKMDT_OPM_HDCP_KEY_SELECTION_VECTOR,
pub Reserved: [u8; 11],
pub Reserved2: [u8; 16],
pub Reserved3: [u8; 16],
}
impl ::core::marker::Copy for DXGKMDT_OPM_CONNECTED_HDCP_DEVICE_INFORMATION {}
impl ::core::clone::Clone for DXGKMDT_OPM_CONNECTED_HDCP_DEVICE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_CONNECTED_HDCP_DEVICE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGKMDT_OPM_CONNECTED_HDCP_DEVICE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGKMDT_OPM_COPP_COMPATIBLE_GET_INFO_PARAMETERS {
pub rnRandomNumber: DXGKMDT_OPM_RANDOM_NUMBER,
pub guidInformation: ::windows_core::GUID,
pub ulSequenceNumber: u32,
pub cbParametersSize: u32,
pub abParameters: [u8; 4056],
}
impl ::core::marker::Copy for DXGKMDT_OPM_COPP_COMPATIBLE_GET_INFO_PARAMETERS {}
impl ::core::clone::Clone for DXGKMDT_OPM_COPP_COMPATIBLE_GET_INFO_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_COPP_COMPATIBLE_GET_INFO_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGKMDT_OPM_COPP_COMPATIBLE_GET_INFO_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DXGKMDT_OPM_CREATE_VIDEO_OUTPUT_FOR_TARGET_PARAMETERS {
pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
pub TargetId: u32,
pub Vos: DXGKMDT_OPM_VIDEO_OUTPUT_SEMANTICS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DXGKMDT_OPM_CREATE_VIDEO_OUTPUT_FOR_TARGET_PARAMETERS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DXGKMDT_OPM_CREATE_VIDEO_OUTPUT_FOR_TARGET_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DXGKMDT_OPM_CREATE_VIDEO_OUTPUT_FOR_TARGET_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DXGKMDT_OPM_CREATE_VIDEO_OUTPUT_FOR_TARGET_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DXGKMDT_OPM_ENCRYPTED_PARAMETERS {
pub abEncryptedParameters: [u8; 256],
}
impl ::core::marker::Copy for DXGKMDT_OPM_ENCRYPTED_PARAMETERS {}
impl ::core::clone::Clone for DXGKMDT_OPM_ENCRYPTED_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DXGKMDT_OPM_ENCRYPTED_PARAMETERS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DXGKMDT_OPM_ENCRYPTED_PARAMETERS").field("abEncryptedParameters", &self.abEncryptedParameters).finish()
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_ENCRYPTED_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DXGKMDT_OPM_ENCRYPTED_PARAMETERS {
fn eq(&self, other: &Self) -> bool {
self.abEncryptedParameters == other.abEncryptedParameters
}
}
impl ::core::cmp::Eq for DXGKMDT_OPM_ENCRYPTED_PARAMETERS {}
impl ::core::default::Default for DXGKMDT_OPM_ENCRYPTED_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGKMDT_OPM_GET_INFO_PARAMETERS {
pub omac: DXGKMDT_OPM_OMAC,
pub rnRandomNumber: DXGKMDT_OPM_RANDOM_NUMBER,
pub guidInformation: ::windows_core::GUID,
pub ulSequenceNumber: u32,
pub cbParametersSize: u32,
pub abParameters: [u8; 4056],
}
impl ::core::marker::Copy for DXGKMDT_OPM_GET_INFO_PARAMETERS {}
impl ::core::clone::Clone for DXGKMDT_OPM_GET_INFO_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_GET_INFO_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGKMDT_OPM_GET_INFO_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DXGKMDT_OPM_HDCP_KEY_SELECTION_VECTOR {
pub abKeySelectionVector: [u8; 5],
}
impl ::core::marker::Copy for DXGKMDT_OPM_HDCP_KEY_SELECTION_VECTOR {}
impl ::core::clone::Clone for DXGKMDT_OPM_HDCP_KEY_SELECTION_VECTOR {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DXGKMDT_OPM_HDCP_KEY_SELECTION_VECTOR {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DXGKMDT_OPM_HDCP_KEY_SELECTION_VECTOR").field("abKeySelectionVector", &self.abKeySelectionVector).finish()
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_HDCP_KEY_SELECTION_VECTOR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DXGKMDT_OPM_HDCP_KEY_SELECTION_VECTOR {
fn eq(&self, other: &Self) -> bool {
self.abKeySelectionVector == other.abKeySelectionVector
}
}
impl ::core::cmp::Eq for DXGKMDT_OPM_HDCP_KEY_SELECTION_VECTOR {}
impl ::core::default::Default for DXGKMDT_OPM_HDCP_KEY_SELECTION_VECTOR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DXGKMDT_OPM_OMAC {
pub abOMAC: [u8; 16],
}
impl ::core::marker::Copy for DXGKMDT_OPM_OMAC {}
impl ::core::clone::Clone for DXGKMDT_OPM_OMAC {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DXGKMDT_OPM_OMAC {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DXGKMDT_OPM_OMAC").field("abOMAC", &self.abOMAC).finish()
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_OMAC {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DXGKMDT_OPM_OMAC {
fn eq(&self, other: &Self) -> bool {
self.abOMAC == other.abOMAC
}
}
impl ::core::cmp::Eq for DXGKMDT_OPM_OMAC {}
impl ::core::default::Default for DXGKMDT_OPM_OMAC {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGKMDT_OPM_OUTPUT_ID {
pub rnRandomNumber: DXGKMDT_OPM_RANDOM_NUMBER,
pub ulStatusFlags: u32,
pub OutputId: u64,
}
impl ::core::marker::Copy for DXGKMDT_OPM_OUTPUT_ID {}
impl ::core::clone::Clone for DXGKMDT_OPM_OUTPUT_ID {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_OUTPUT_ID {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGKMDT_OPM_OUTPUT_ID {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DXGKMDT_OPM_RANDOM_NUMBER {
pub abRandomNumber: [u8; 16],
}
impl ::core::marker::Copy for DXGKMDT_OPM_RANDOM_NUMBER {}
impl ::core::clone::Clone for DXGKMDT_OPM_RANDOM_NUMBER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DXGKMDT_OPM_RANDOM_NUMBER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DXGKMDT_OPM_RANDOM_NUMBER").field("abRandomNumber", &self.abRandomNumber).finish()
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_RANDOM_NUMBER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DXGKMDT_OPM_RANDOM_NUMBER {
fn eq(&self, other: &Self) -> bool {
self.abRandomNumber == other.abRandomNumber
}
}
impl ::core::cmp::Eq for DXGKMDT_OPM_RANDOM_NUMBER {}
impl ::core::default::Default for DXGKMDT_OPM_RANDOM_NUMBER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGKMDT_OPM_REQUESTED_INFORMATION {
pub omac: DXGKMDT_OPM_OMAC,
pub cbRequestedInformationSize: u32,
pub abRequestedInformation: [u8; 4076],
}
impl ::core::marker::Copy for DXGKMDT_OPM_REQUESTED_INFORMATION {}
impl ::core::clone::Clone for DXGKMDT_OPM_REQUESTED_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_REQUESTED_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGKMDT_OPM_REQUESTED_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGKMDT_OPM_SET_ACP_AND_CGMSA_SIGNALING_PARAMETERS {
pub ulNewTVProtectionStandard: u32,
pub ulAspectRatioChangeMask1: u32,
pub ulAspectRatioData1: u32,
pub ulAspectRatioChangeMask2: u32,
pub ulAspectRatioData2: u32,
pub ulAspectRatioChangeMask3: u32,
pub ulAspectRatioData3: u32,
pub ulReserved: [u32; 4],
pub ulReserved2: [u32; 4],
pub ulReserved3: u32,
}
impl ::core::marker::Copy for DXGKMDT_OPM_SET_ACP_AND_CGMSA_SIGNALING_PARAMETERS {}
impl ::core::clone::Clone for DXGKMDT_OPM_SET_ACP_AND_CGMSA_SIGNALING_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_SET_ACP_AND_CGMSA_SIGNALING_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGKMDT_OPM_SET_ACP_AND_CGMSA_SIGNALING_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGKMDT_OPM_SET_HDCP_SRM_PARAMETERS {
pub ulSRMVersion: u32,
}
impl ::core::marker::Copy for DXGKMDT_OPM_SET_HDCP_SRM_PARAMETERS {}
impl ::core::clone::Clone for DXGKMDT_OPM_SET_HDCP_SRM_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_SET_HDCP_SRM_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGKMDT_OPM_SET_HDCP_SRM_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGKMDT_OPM_SET_PROTECTION_LEVEL_PARAMETERS {
pub ulProtectionType: u32,
pub ulProtectionLevel: u32,
pub Reserved: u32,
pub Reserved2: u32,
}
impl ::core::marker::Copy for DXGKMDT_OPM_SET_PROTECTION_LEVEL_PARAMETERS {}
impl ::core::clone::Clone for DXGKMDT_OPM_SET_PROTECTION_LEVEL_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_SET_PROTECTION_LEVEL_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGKMDT_OPM_SET_PROTECTION_LEVEL_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGKMDT_OPM_STANDARD_INFORMATION {
pub rnRandomNumber: DXGKMDT_OPM_RANDOM_NUMBER,
pub ulStatusFlags: u32,
pub ulInformation: u32,
pub ulReserved: u32,
pub ulReserved2: u32,
}
impl ::core::marker::Copy for DXGKMDT_OPM_STANDARD_INFORMATION {}
impl ::core::clone::Clone for DXGKMDT_OPM_STANDARD_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGKMDT_OPM_STANDARD_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGKMDT_OPM_STANDARD_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DXGKVGPU_ESCAPE_HEAD {
pub Luid: GPUP_DRIVER_ESCAPE_INPUT,
pub Type: DXGKVGPU_ESCAPE_TYPE,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DXGKVGPU_ESCAPE_HEAD {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DXGKVGPU_ESCAPE_HEAD {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for DXGKVGPU_ESCAPE_HEAD {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DXGKVGPU_ESCAPE_HEAD").field("Luid", &self.Luid).field("Type", &self.Type).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DXGKVGPU_ESCAPE_HEAD {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for DXGKVGPU_ESCAPE_HEAD {
fn eq(&self, other: &Self) -> bool {
self.Luid == other.Luid && self.Type == other.Type
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for DXGKVGPU_ESCAPE_HEAD {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DXGKVGPU_ESCAPE_HEAD {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DXGKVGPU_ESCAPE_INITIALIZE {
pub Header: DXGKVGPU_ESCAPE_HEAD,
pub VmGuid: ::windows_core::GUID,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DXGKVGPU_ESCAPE_INITIALIZE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DXGKVGPU_ESCAPE_INITIALIZE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for DXGKVGPU_ESCAPE_INITIALIZE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DXGKVGPU_ESCAPE_INITIALIZE").field("Header", &self.Header).field("VmGuid", &self.VmGuid).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DXGKVGPU_ESCAPE_INITIALIZE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for DXGKVGPU_ESCAPE_INITIALIZE {
fn eq(&self, other: &Self) -> bool {
self.Header == other.Header && self.VmGuid == other.VmGuid
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for DXGKVGPU_ESCAPE_INITIALIZE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DXGKVGPU_ESCAPE_INITIALIZE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DXGKVGPU_ESCAPE_PAUSE {
pub Header: DXGKVGPU_ESCAPE_HEAD,
pub DeviceLuid: super::super::super::Win32::Foundation::LUID,
pub Anonymous: DXGKVGPU_ESCAPE_PAUSE_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DXGKVGPU_ESCAPE_PAUSE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DXGKVGPU_ESCAPE_PAUSE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DXGKVGPU_ESCAPE_PAUSE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DXGKVGPU_ESCAPE_PAUSE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub union DXGKVGPU_ESCAPE_PAUSE_0 {
pub Anonymous: DXGKVGPU_ESCAPE_PAUSE_0_0,
pub Flags: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DXGKVGPU_ESCAPE_PAUSE_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DXGKVGPU_ESCAPE_PAUSE_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DXGKVGPU_ESCAPE_PAUSE_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DXGKVGPU_ESCAPE_PAUSE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DXGKVGPU_ESCAPE_PAUSE_0_0 {
pub _bitfield: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DXGKVGPU_ESCAPE_PAUSE_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DXGKVGPU_ESCAPE_PAUSE_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for DXGKVGPU_ESCAPE_PAUSE_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DXGKVGPU_ESCAPE_PAUSE_0_0").field("_bitfield", &self._bitfield).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DXGKVGPU_ESCAPE_PAUSE_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for DXGKVGPU_ESCAPE_PAUSE_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for DXGKVGPU_ESCAPE_PAUSE_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DXGKVGPU_ESCAPE_PAUSE_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DXGKVGPU_ESCAPE_POWERTRANSITIONCOMPLETE {
pub Header: DXGKVGPU_ESCAPE_HEAD,
pub PowerState: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DXGKVGPU_ESCAPE_POWERTRANSITIONCOMPLETE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DXGKVGPU_ESCAPE_POWERTRANSITIONCOMPLETE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for DXGKVGPU_ESCAPE_POWERTRANSITIONCOMPLETE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DXGKVGPU_ESCAPE_POWERTRANSITIONCOMPLETE").field("Header", &self.Header).field("PowerState", &self.PowerState).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DXGKVGPU_ESCAPE_POWERTRANSITIONCOMPLETE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for DXGKVGPU_ESCAPE_POWERTRANSITIONCOMPLETE {
fn eq(&self, other: &Self) -> bool {
self.Header == other.Header && self.PowerState == other.PowerState
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for DXGKVGPU_ESCAPE_POWERTRANSITIONCOMPLETE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DXGKVGPU_ESCAPE_POWERTRANSITIONCOMPLETE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DXGKVGPU_ESCAPE_READ_PCI_CONFIG {
pub Header: DXGKVGPU_ESCAPE_HEAD,
pub Offset: u32,
pub Size: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DXGKVGPU_ESCAPE_READ_PCI_CONFIG {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DXGKVGPU_ESCAPE_READ_PCI_CONFIG {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for DXGKVGPU_ESCAPE_READ_PCI_CONFIG {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DXGKVGPU_ESCAPE_READ_PCI_CONFIG").field("Header", &self.Header).field("Offset", &self.Offset).field("Size", &self.Size).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DXGKVGPU_ESCAPE_READ_PCI_CONFIG {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for DXGKVGPU_ESCAPE_READ_PCI_CONFIG {
fn eq(&self, other: &Self) -> bool {
self.Header == other.Header && self.Offset == other.Offset && self.Size == other.Size
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for DXGKVGPU_ESCAPE_READ_PCI_CONFIG {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DXGKVGPU_ESCAPE_READ_PCI_CONFIG {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DXGKVGPU_ESCAPE_READ_VGPU_TYPE {
pub Header: DXGKVGPU_ESCAPE_HEAD,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DXGKVGPU_ESCAPE_READ_VGPU_TYPE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DXGKVGPU_ESCAPE_READ_VGPU_TYPE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for DXGKVGPU_ESCAPE_READ_VGPU_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DXGKVGPU_ESCAPE_READ_VGPU_TYPE").field("Header", &self.Header).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DXGKVGPU_ESCAPE_READ_VGPU_TYPE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for DXGKVGPU_ESCAPE_READ_VGPU_TYPE {
fn eq(&self, other: &Self) -> bool {
self.Header == other.Header
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for DXGKVGPU_ESCAPE_READ_VGPU_TYPE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DXGKVGPU_ESCAPE_READ_VGPU_TYPE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DXGKVGPU_ESCAPE_RELEASE {
pub Header: DXGKVGPU_ESCAPE_HEAD,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DXGKVGPU_ESCAPE_RELEASE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DXGKVGPU_ESCAPE_RELEASE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for DXGKVGPU_ESCAPE_RELEASE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DXGKVGPU_ESCAPE_RELEASE").field("Header", &self.Header).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DXGKVGPU_ESCAPE_RELEASE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for DXGKVGPU_ESCAPE_RELEASE {
fn eq(&self, other: &Self) -> bool {
self.Header == other.Header
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for DXGKVGPU_ESCAPE_RELEASE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DXGKVGPU_ESCAPE_RELEASE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DXGKVGPU_ESCAPE_RESUME {
pub Header: DXGKVGPU_ESCAPE_HEAD,
pub DeviceLuid: super::super::super::Win32::Foundation::LUID,
pub Flags: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DXGKVGPU_ESCAPE_RESUME {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DXGKVGPU_ESCAPE_RESUME {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for DXGKVGPU_ESCAPE_RESUME {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DXGKVGPU_ESCAPE_RESUME").field("Header", &self.Header).field("DeviceLuid", &self.DeviceLuid).field("Flags", &self.Flags).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DXGKVGPU_ESCAPE_RESUME {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for DXGKVGPU_ESCAPE_RESUME {
fn eq(&self, other: &Self) -> bool {
self.Header == other.Header && self.DeviceLuid == other.DeviceLuid && self.Flags == other.Flags
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for DXGKVGPU_ESCAPE_RESUME {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DXGKVGPU_ESCAPE_RESUME {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DXGKVGPU_ESCAPE_WRITE_PCI_CONFIG {
pub Header: DXGKVGPU_ESCAPE_HEAD,
pub Offset: u32,
pub Size: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DXGKVGPU_ESCAPE_WRITE_PCI_CONFIG {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DXGKVGPU_ESCAPE_WRITE_PCI_CONFIG {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for DXGKVGPU_ESCAPE_WRITE_PCI_CONFIG {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DXGKVGPU_ESCAPE_WRITE_PCI_CONFIG").field("Header", &self.Header).field("Offset", &self.Offset).field("Size", &self.Size).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DXGKVGPU_ESCAPE_WRITE_PCI_CONFIG {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for DXGKVGPU_ESCAPE_WRITE_PCI_CONFIG {
fn eq(&self, other: &Self) -> bool {
self.Header == other.Header && self.Offset == other.Offset && self.Size == other.Size
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for DXGKVGPU_ESCAPE_WRITE_PCI_CONFIG {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DXGKVGPU_ESCAPE_WRITE_PCI_CONFIG {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGK_ADAPTER_PERFDATA {
pub MemoryFrequency: u64,
pub MaxMemoryFrequency: u64,
pub MaxMemoryFrequencyOC: u64,
pub MemoryBandwidth: u64,
pub PCIEBandwidth: u64,
pub FanRPM: u32,
pub Power: u32,
pub Temperature: u32,
pub PowerStateOverride: u8,
}
impl ::core::marker::Copy for DXGK_ADAPTER_PERFDATA {}
impl ::core::clone::Clone for DXGK_ADAPTER_PERFDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_ADAPTER_PERFDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_ADAPTER_PERFDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGK_ADAPTER_PERFDATACAPS {
pub MaxMemoryBandwidth: u64,
pub MaxPCIEBandwidth: u64,
pub MaxFanRPM: u32,
pub TemperatureMax: u32,
pub TemperatureWarning: u32,
}
impl ::core::marker::Copy for DXGK_ADAPTER_PERFDATACAPS {}
impl ::core::clone::Clone for DXGK_ADAPTER_PERFDATACAPS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_ADAPTER_PERFDATACAPS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_ADAPTER_PERFDATACAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGK_BACKLIGHT_INFO {
pub BacklightUsersetting: u16,
pub BacklightEffective: u16,
pub GammaRamp: D3DDDI_GAMMA_RAMP_RGB256x3x16,
}
impl ::core::marker::Copy for DXGK_BACKLIGHT_INFO {}
impl ::core::clone::Clone for DXGK_BACKLIGHT_INFO {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_BACKLIGHT_INFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_BACKLIGHT_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DXGK_BRIGHTNESS_CAPS {
pub Anonymous: DXGK_BRIGHTNESS_CAPS_0,
}
impl ::core::marker::Copy for DXGK_BRIGHTNESS_CAPS {}
impl ::core::clone::Clone for DXGK_BRIGHTNESS_CAPS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_BRIGHTNESS_CAPS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_BRIGHTNESS_CAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub union DXGK_BRIGHTNESS_CAPS_0 {
pub Anonymous: DXGK_BRIGHTNESS_CAPS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for DXGK_BRIGHTNESS_CAPS_0 {}
impl ::core::clone::Clone for DXGK_BRIGHTNESS_CAPS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_BRIGHTNESS_CAPS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_BRIGHTNESS_CAPS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGK_BRIGHTNESS_CAPS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for DXGK_BRIGHTNESS_CAPS_0_0 {}
impl ::core::clone::Clone for DXGK_BRIGHTNESS_CAPS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_BRIGHTNESS_CAPS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_BRIGHTNESS_CAPS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGK_BRIGHTNESS_GET_NIT_RANGES_OUT {
pub NormalRangeCount: u32,
pub RangeCount: u32,
pub PreferredMaximumBrightness: u32,
pub SupportedRanges: [DXGK_BRIGHTNESS_NIT_RANGE; 16],
}
impl ::core::marker::Copy for DXGK_BRIGHTNESS_GET_NIT_RANGES_OUT {}
impl ::core::clone::Clone for DXGK_BRIGHTNESS_GET_NIT_RANGES_OUT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_BRIGHTNESS_GET_NIT_RANGES_OUT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_BRIGHTNESS_GET_NIT_RANGES_OUT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGK_BRIGHTNESS_GET_OUT {
pub CurrentBrightnessMillinits: u32,
pub TargetBrightnessMillinits: u32,
}
impl ::core::marker::Copy for DXGK_BRIGHTNESS_GET_OUT {}
impl ::core::clone::Clone for DXGK_BRIGHTNESS_GET_OUT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_BRIGHTNESS_GET_OUT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_BRIGHTNESS_GET_OUT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGK_BRIGHTNESS_NIT_RANGE {
pub MinimumLevelMillinit: u32,
pub MaximumLevelMillinit: u32,
pub StepSizeMillinit: u32,
}
impl ::core::marker::Copy for DXGK_BRIGHTNESS_NIT_RANGE {}
impl ::core::clone::Clone for DXGK_BRIGHTNESS_NIT_RANGE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_BRIGHTNESS_NIT_RANGE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_BRIGHTNESS_NIT_RANGE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGK_BRIGHTNESS_SENSOR_DATA {
pub Size: u32,
pub Anonymous: DXGK_BRIGHTNESS_SENSOR_DATA_0,
pub AlsReading: f32,
pub Chromaticity: DXGK_BRIGHTNESS_SENSOR_DATA_CHROMATICITY,
pub ColorTemperature: f32,
}
impl ::core::marker::Copy for DXGK_BRIGHTNESS_SENSOR_DATA {}
impl ::core::clone::Clone for DXGK_BRIGHTNESS_SENSOR_DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_BRIGHTNESS_SENSOR_DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_BRIGHTNESS_SENSOR_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub union DXGK_BRIGHTNESS_SENSOR_DATA_0 {
pub Flags: DXGK_BRIGHTNESS_SENSOR_DATA_0_0,
pub ValidSensorValues: u32,
}
impl ::core::marker::Copy for DXGK_BRIGHTNESS_SENSOR_DATA_0 {}
impl ::core::clone::Clone for DXGK_BRIGHTNESS_SENSOR_DATA_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_BRIGHTNESS_SENSOR_DATA_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_BRIGHTNESS_SENSOR_DATA_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGK_BRIGHTNESS_SENSOR_DATA_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for DXGK_BRIGHTNESS_SENSOR_DATA_0_0 {}
impl ::core::clone::Clone for DXGK_BRIGHTNESS_SENSOR_DATA_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_BRIGHTNESS_SENSOR_DATA_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_BRIGHTNESS_SENSOR_DATA_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGK_BRIGHTNESS_SENSOR_DATA_CHROMATICITY {
pub ChromaticityX: f32,
pub ChromaticityY: f32,
}
impl ::core::marker::Copy for DXGK_BRIGHTNESS_SENSOR_DATA_CHROMATICITY {}
impl ::core::clone::Clone for DXGK_BRIGHTNESS_SENSOR_DATA_CHROMATICITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_BRIGHTNESS_SENSOR_DATA_CHROMATICITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_BRIGHTNESS_SENSOR_DATA_CHROMATICITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGK_BRIGHTNESS_SET_IN {
pub BrightnessMillinits: u32,
pub TransitionTimeMs: u32,
pub SensorReadings: DXGK_BRIGHTNESS_SENSOR_DATA,
}
impl ::core::marker::Copy for DXGK_BRIGHTNESS_SET_IN {}
impl ::core::clone::Clone for DXGK_BRIGHTNESS_SET_IN {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_BRIGHTNESS_SET_IN {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_BRIGHTNESS_SET_IN {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DXGK_BRIGHTNESS_STATE {
pub Anonymous: DXGK_BRIGHTNESS_STATE_0,
}
impl ::core::marker::Copy for DXGK_BRIGHTNESS_STATE {}
impl ::core::clone::Clone for DXGK_BRIGHTNESS_STATE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_BRIGHTNESS_STATE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_BRIGHTNESS_STATE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub union DXGK_BRIGHTNESS_STATE_0 {
pub Anonymous: DXGK_BRIGHTNESS_STATE_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for DXGK_BRIGHTNESS_STATE_0 {}
impl ::core::clone::Clone for DXGK_BRIGHTNESS_STATE_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_BRIGHTNESS_STATE_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_BRIGHTNESS_STATE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGK_BRIGHTNESS_STATE_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for DXGK_BRIGHTNESS_STATE_0_0 {}
impl ::core::clone::Clone for DXGK_BRIGHTNESS_STATE_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_BRIGHTNESS_STATE_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_BRIGHTNESS_STATE_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DXGK_DISPLAY_INFORMATION {
pub Width: u32,
pub Height: u32,
pub Pitch: u32,
pub ColorFormat: D3DDDIFORMAT,
pub PhysicAddress: i64,
pub TargetId: u32,
pub AcpiId: u32,
}
impl ::core::marker::Copy for DXGK_DISPLAY_INFORMATION {}
impl ::core::clone::Clone for DXGK_DISPLAY_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DXGK_DISPLAY_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DXGK_DISPLAY_INFORMATION").field("Width", &self.Width).field("Height", &self.Height).field("Pitch", &self.Pitch).field("ColorFormat", &self.ColorFormat).field("PhysicAddress", &self.PhysicAddress).field("TargetId", &self.TargetId).field("AcpiId", &self.AcpiId).finish()
}
}
impl ::windows_core::TypeKind for DXGK_DISPLAY_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DXGK_DISPLAY_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Width == other.Width && self.Height == other.Height && self.Pitch == other.Pitch && self.ColorFormat == other.ColorFormat && self.PhysicAddress == other.PhysicAddress && self.TargetId == other.TargetId && self.AcpiId == other.AcpiId
}
}
impl ::core::cmp::Eq for DXGK_DISPLAY_INFORMATION {}
impl ::core::default::Default for DXGK_DISPLAY_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DXGK_ESCAPE_GPUMMUCAPS {
pub ReadOnlyMemorySupported: super::super::super::Win32::Foundation::BOOLEAN,
pub NoExecuteMemorySupported: super::super::super::Win32::Foundation::BOOLEAN,
pub ZeroInPteSupported: super::super::super::Win32::Foundation::BOOLEAN,
pub CacheCoherentMemorySupported: super::super::super::Win32::Foundation::BOOLEAN,
pub LargePageSupported: super::super::super::Win32::Foundation::BOOLEAN,
pub DualPteSupported: super::super::super::Win32::Foundation::BOOLEAN,
pub AllowNonAlignedLargePageAddress: super::super::super::Win32::Foundation::BOOLEAN,
pub VirtualAddressBitCount: u32,
pub PageTableLevelCount: u32,
pub PageTableLevelDesk: [D3DKMT_PAGE_TABLE_LEVEL_DESC; 6],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DXGK_ESCAPE_GPUMMUCAPS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DXGK_ESCAPE_GPUMMUCAPS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for DXGK_ESCAPE_GPUMMUCAPS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DXGK_ESCAPE_GPUMMUCAPS")
.field("ReadOnlyMemorySupported", &self.ReadOnlyMemorySupported)
.field("NoExecuteMemorySupported", &self.NoExecuteMemorySupported)
.field("ZeroInPteSupported", &self.ZeroInPteSupported)
.field("CacheCoherentMemorySupported", &self.CacheCoherentMemorySupported)
.field("LargePageSupported", &self.LargePageSupported)
.field("DualPteSupported", &self.DualPteSupported)
.field("AllowNonAlignedLargePageAddress", &self.AllowNonAlignedLargePageAddress)
.field("VirtualAddressBitCount", &self.VirtualAddressBitCount)
.field("PageTableLevelCount", &self.PageTableLevelCount)
.field("PageTableLevelDesk", &self.PageTableLevelDesk)
.finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DXGK_ESCAPE_GPUMMUCAPS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for DXGK_ESCAPE_GPUMMUCAPS {
fn eq(&self, other: &Self) -> bool {
self.ReadOnlyMemorySupported == other.ReadOnlyMemorySupported && self.NoExecuteMemorySupported == other.NoExecuteMemorySupported && self.ZeroInPteSupported == other.ZeroInPteSupported && self.CacheCoherentMemorySupported == other.CacheCoherentMemorySupported && self.LargePageSupported == other.LargePageSupported && self.DualPteSupported == other.DualPteSupported && self.AllowNonAlignedLargePageAddress == other.AllowNonAlignedLargePageAddress && self.VirtualAddressBitCount == other.VirtualAddressBitCount && self.PageTableLevelCount == other.PageTableLevelCount && self.PageTableLevelDesk == other.PageTableLevelDesk
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for DXGK_ESCAPE_GPUMMUCAPS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DXGK_ESCAPE_GPUMMUCAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DXGK_FAULT_ERROR_CODE {
pub Anonymous: DXGK_FAULT_ERROR_CODE_0,
}
impl ::core::marker::Copy for DXGK_FAULT_ERROR_CODE {}
impl ::core::clone::Clone for DXGK_FAULT_ERROR_CODE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_FAULT_ERROR_CODE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_FAULT_ERROR_CODE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union DXGK_FAULT_ERROR_CODE_0 {
pub Anonymous1: DXGK_FAULT_ERROR_CODE_0_0,
pub Anonymous2: DXGK_FAULT_ERROR_CODE_0_1,
}
impl ::core::marker::Copy for DXGK_FAULT_ERROR_CODE_0 {}
impl ::core::clone::Clone for DXGK_FAULT_ERROR_CODE_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_FAULT_ERROR_CODE_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_FAULT_ERROR_CODE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGK_FAULT_ERROR_CODE_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for DXGK_FAULT_ERROR_CODE_0_0 {}
impl ::core::clone::Clone for DXGK_FAULT_ERROR_CODE_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_FAULT_ERROR_CODE_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_FAULT_ERROR_CODE_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGK_FAULT_ERROR_CODE_0_1 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for DXGK_FAULT_ERROR_CODE_0_1 {}
impl ::core::clone::Clone for DXGK_FAULT_ERROR_CODE_0_1 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_FAULT_ERROR_CODE_0_1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_FAULT_ERROR_CODE_0_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGK_GPUCLOCKDATA {
pub GpuFrequency: u64,
pub GpuClockCounter: u64,
pub CpuClockCounter: u64,
pub Flags: DXGK_GPUCLOCKDATA_FLAGS,
}
impl ::core::marker::Copy for DXGK_GPUCLOCKDATA {}
impl ::core::clone::Clone for DXGK_GPUCLOCKDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_GPUCLOCKDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_GPUCLOCKDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DXGK_GPUCLOCKDATA_FLAGS {
pub Anonymous: DXGK_GPUCLOCKDATA_FLAGS_0,
}
impl ::core::marker::Copy for DXGK_GPUCLOCKDATA_FLAGS {}
impl ::core::clone::Clone for DXGK_GPUCLOCKDATA_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_GPUCLOCKDATA_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_GPUCLOCKDATA_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub union DXGK_GPUCLOCKDATA_FLAGS_0 {
pub Anonymous: DXGK_GPUCLOCKDATA_FLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for DXGK_GPUCLOCKDATA_FLAGS_0 {}
impl ::core::clone::Clone for DXGK_GPUCLOCKDATA_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_GPUCLOCKDATA_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_GPUCLOCKDATA_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGK_GPUCLOCKDATA_FLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for DXGK_GPUCLOCKDATA_FLAGS_0_0 {}
impl ::core::clone::Clone for DXGK_GPUCLOCKDATA_FLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_GPUCLOCKDATA_FLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_GPUCLOCKDATA_FLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGK_GPUVERSION {
pub BiosVersion: [u16; 32],
pub GpuArchitecture: [u16; 32],
}
impl ::core::marker::Copy for DXGK_GPUVERSION {}
impl ::core::clone::Clone for DXGK_GPUVERSION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_GPUVERSION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_GPUVERSION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Power\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))]
pub struct DXGK_GRAPHICSPOWER_REGISTER_INPUT_V_1_2 {
pub Version: u32,
pub PrivateHandle: *mut ::core::ffi::c_void,
pub PowerNotificationCb: PDXGK_POWER_NOTIFICATION,
pub RemovalNotificationCb: PDXGK_REMOVAL_NOTIFICATION,
pub FStateNotificationCb: PDXGK_FSTATE_NOTIFICATION,
pub InitialComponentStateCb: PDXGK_INITIAL_COMPONENT_STATE,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))]
impl ::core::marker::Copy for DXGK_GRAPHICSPOWER_REGISTER_INPUT_V_1_2 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))]
impl ::core::clone::Clone for DXGK_GRAPHICSPOWER_REGISTER_INPUT_V_1_2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))]
impl ::core::fmt::Debug for DXGK_GRAPHICSPOWER_REGISTER_INPUT_V_1_2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DXGK_GRAPHICSPOWER_REGISTER_INPUT_V_1_2").field("Version", &self.Version).field("PrivateHandle", &self.PrivateHandle).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))]
impl ::windows_core::TypeKind for DXGK_GRAPHICSPOWER_REGISTER_INPUT_V_1_2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))]
impl ::core::default::Default for DXGK_GRAPHICSPOWER_REGISTER_INPUT_V_1_2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Power\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))]
pub struct DXGK_GRAPHICSPOWER_REGISTER_OUTPUT {
pub DeviceHandle: *mut ::core::ffi::c_void,
pub InitialGrfxPowerState: super::super::super::Win32::System::Power::DEVICE_POWER_STATE,
pub SetSharedPowerComponentStateCb: PDXGK_SET_SHARED_POWER_COMPONENT_STATE,
pub UnregisterCb: PDXGK_GRAPHICSPOWER_UNREGISTER,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))]
impl ::core::marker::Copy for DXGK_GRAPHICSPOWER_REGISTER_OUTPUT {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))]
impl ::core::clone::Clone for DXGK_GRAPHICSPOWER_REGISTER_OUTPUT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))]
impl ::core::fmt::Debug for DXGK_GRAPHICSPOWER_REGISTER_OUTPUT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DXGK_GRAPHICSPOWER_REGISTER_OUTPUT").field("DeviceHandle", &self.DeviceHandle).field("InitialGrfxPowerState", &self.InitialGrfxPowerState).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))]
impl ::windows_core::TypeKind for DXGK_GRAPHICSPOWER_REGISTER_OUTPUT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))]
impl ::core::default::Default for DXGK_GRAPHICSPOWER_REGISTER_OUTPUT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union DXGK_MIRACAST_CHUNK_ID {
pub Anonymous: DXGK_MIRACAST_CHUNK_ID_0,
pub Value: u64,
}
impl ::core::marker::Copy for DXGK_MIRACAST_CHUNK_ID {}
impl ::core::clone::Clone for DXGK_MIRACAST_CHUNK_ID {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_MIRACAST_CHUNK_ID {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_MIRACAST_CHUNK_ID {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DXGK_MIRACAST_CHUNK_ID_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for DXGK_MIRACAST_CHUNK_ID_0 {}
impl ::core::clone::Clone for DXGK_MIRACAST_CHUNK_ID_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DXGK_MIRACAST_CHUNK_ID_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DXGK_MIRACAST_CHUNK_ID_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for DXGK_MIRACAST_CHUNK_ID_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DXGK_MIRACAST_CHUNK_ID_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for DXGK_MIRACAST_CHUNK_ID_0 {}
impl ::core::default::Default for DXGK_MIRACAST_CHUNK_ID_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DXGK_MIRACAST_CHUNK_INFO {
pub ChunkType: DXGK_MIRACAST_CHUNK_TYPE,
pub ChunkId: DXGK_MIRACAST_CHUNK_ID,
pub ProcessingTime: u32,
pub EncodeRate: u32,
}
impl ::core::marker::Copy for DXGK_MIRACAST_CHUNK_INFO {}
impl ::core::clone::Clone for DXGK_MIRACAST_CHUNK_INFO {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_MIRACAST_CHUNK_INFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_MIRACAST_CHUNK_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub union DXGK_MONITORLINKINFO_CAPABILITIES {
pub Anonymous: DXGK_MONITORLINKINFO_CAPABILITIES_0,
pub Value: u32,
}
impl ::core::marker::Copy for DXGK_MONITORLINKINFO_CAPABILITIES {}
impl ::core::clone::Clone for DXGK_MONITORLINKINFO_CAPABILITIES {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_MONITORLINKINFO_CAPABILITIES {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_MONITORLINKINFO_CAPABILITIES {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGK_MONITORLINKINFO_CAPABILITIES_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for DXGK_MONITORLINKINFO_CAPABILITIES_0 {}
impl ::core::clone::Clone for DXGK_MONITORLINKINFO_CAPABILITIES_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_MONITORLINKINFO_CAPABILITIES_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_MONITORLINKINFO_CAPABILITIES_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub union DXGK_MONITORLINKINFO_USAGEHINTS {
pub Anonymous: DXGK_MONITORLINKINFO_USAGEHINTS_0,
pub Value: u32,
}
impl ::core::marker::Copy for DXGK_MONITORLINKINFO_USAGEHINTS {}
impl ::core::clone::Clone for DXGK_MONITORLINKINFO_USAGEHINTS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_MONITORLINKINFO_USAGEHINTS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_MONITORLINKINFO_USAGEHINTS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGK_MONITORLINKINFO_USAGEHINTS_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for DXGK_MONITORLINKINFO_USAGEHINTS_0 {}
impl ::core::clone::Clone for DXGK_MONITORLINKINFO_USAGEHINTS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_MONITORLINKINFO_USAGEHINTS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_MONITORLINKINFO_USAGEHINTS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct DXGK_NODEMETADATA {
pub EngineType: DXGK_ENGINE_TYPE,
pub FriendlyName: [u16; 32],
pub Flags: DXGK_NODEMETADATA_FLAGS,
pub GpuMmuSupported: super::super::super::Win32::Foundation::BOOLEAN,
pub IoMmuSupported: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DXGK_NODEMETADATA {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DXGK_NODEMETADATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DXGK_NODEMETADATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DXGK_NODEMETADATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DXGK_NODEMETADATA_FLAGS {
pub Anonymous: DXGK_NODEMETADATA_FLAGS_0,
}
impl ::core::marker::Copy for DXGK_NODEMETADATA_FLAGS {}
impl ::core::clone::Clone for DXGK_NODEMETADATA_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_NODEMETADATA_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_NODEMETADATA_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub union DXGK_NODEMETADATA_FLAGS_0 {
pub Anonymous: DXGK_NODEMETADATA_FLAGS_0_0,
pub Value: u32,
}
impl ::core::marker::Copy for DXGK_NODEMETADATA_FLAGS_0 {}
impl ::core::clone::Clone for DXGK_NODEMETADATA_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_NODEMETADATA_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_NODEMETADATA_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGK_NODEMETADATA_FLAGS_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for DXGK_NODEMETADATA_FLAGS_0_0 {}
impl ::core::clone::Clone for DXGK_NODEMETADATA_FLAGS_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_NODEMETADATA_FLAGS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_NODEMETADATA_FLAGS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
pub struct DXGK_NODE_PERFDATA {
pub Frequency: u64,
pub MaxFrequency: u64,
pub MaxFrequencyOC: u64,
pub Voltage: u32,
pub VoltageMax: u32,
pub VoltageMaxOC: u32,
pub MaxTransitionLatency: u64,
}
impl ::core::marker::Copy for DXGK_NODE_PERFDATA {}
impl ::core::clone::Clone for DXGK_NODE_PERFDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_NODE_PERFDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_NODE_PERFDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DXGK_PTE {
pub Anonymous1: DXGK_PTE_0,
pub Anonymous2: DXGK_PTE_1,
}
impl ::core::marker::Copy for DXGK_PTE {}
impl ::core::clone::Clone for DXGK_PTE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_PTE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_PTE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union DXGK_PTE_0 {
pub Anonymous: DXGK_PTE_0_0,
pub Flags: u64,
}
impl ::core::marker::Copy for DXGK_PTE_0 {}
impl ::core::clone::Clone for DXGK_PTE_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_PTE_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_PTE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DXGK_PTE_0_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for DXGK_PTE_0_0 {}
impl ::core::clone::Clone for DXGK_PTE_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DXGK_PTE_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DXGK_PTE_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for DXGK_PTE_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DXGK_PTE_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for DXGK_PTE_0_0 {}
impl ::core::default::Default for DXGK_PTE_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub union DXGK_PTE_1 {
pub PageAddress: u64,
pub PageTableAddress: u64,
}
impl ::core::marker::Copy for DXGK_PTE_1 {}
impl ::core::clone::Clone for DXGK_PTE_1 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_PTE_1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_PTE_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct DXGK_TARGETMODE_DETAIL_TIMING {
pub VideoStandard: D3DKMDT_VIDEO_SIGNAL_STANDARD,
pub TimingId: u32,
pub DetailTiming: DISPLAYID_DETAILED_TIMING_TYPE_I,
}
impl ::core::marker::Copy for DXGK_TARGETMODE_DETAIL_TIMING {}
impl ::core::clone::Clone for DXGK_TARGETMODE_DETAIL_TIMING {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DXGK_TARGETMODE_DETAIL_TIMING {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DXGK_TARGETMODE_DETAIL_TIMING {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct GPUP_DRIVER_ESCAPE_INPUT {
pub vfLUID: super::super::super::Win32::Foundation::LUID,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for GPUP_DRIVER_ESCAPE_INPUT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for GPUP_DRIVER_ESCAPE_INPUT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for GPUP_DRIVER_ESCAPE_INPUT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("GPUP_DRIVER_ESCAPE_INPUT").field("vfLUID", &self.vfLUID).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for GPUP_DRIVER_ESCAPE_INPUT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for GPUP_DRIVER_ESCAPE_INPUT {
fn eq(&self, other: &Self) -> bool {
self.vfLUID == other.vfLUID
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for GPUP_DRIVER_ESCAPE_INPUT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for GPUP_DRIVER_ESCAPE_INPUT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub struct OUTPUTDUPL_CONTEXT_DEBUG_INFO {
pub Status: OUTPUTDUPL_CONTEXT_DEBUG_STATUS,
pub ProcessID: super::super::super::Win32::Foundation::HANDLE,
pub AccumulatedPresents: u32,
pub LastPresentTime: i64,
pub LastMouseTime: i64,
pub ProcessName: [u8; 16],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for OUTPUTDUPL_CONTEXT_DEBUG_INFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for OUTPUTDUPL_CONTEXT_DEBUG_INFO {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for OUTPUTDUPL_CONTEXT_DEBUG_INFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("OUTPUTDUPL_CONTEXT_DEBUG_INFO").field("Status", &self.Status).field("ProcessID", &self.ProcessID).field("AccumulatedPresents", &self.AccumulatedPresents).field("LastPresentTime", &self.LastPresentTime).field("LastMouseTime", &self.LastMouseTime).field("ProcessName", &self.ProcessName).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for OUTPUTDUPL_CONTEXT_DEBUG_INFO {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for OUTPUTDUPL_CONTEXT_DEBUG_INFO {
fn eq(&self, other: &Self) -> bool {
self.Status == other.Status && self.ProcessID == other.ProcessID && self.AccumulatedPresents == other.AccumulatedPresents && self.LastPresentTime == other.LastPresentTime && self.LastMouseTime == other.LastMouseTime && self.ProcessName == other.ProcessName
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for OUTPUTDUPL_CONTEXT_DEBUG_INFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for OUTPUTDUPL_CONTEXT_DEBUG_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
pub struct _NT_D3DLINEPATTERN {
pub wRepeatFactor: u16,
pub wLinePattern: u16,
}
impl ::core::marker::Copy for _NT_D3DLINEPATTERN {}
impl ::core::clone::Clone for _NT_D3DLINEPATTERN {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for _NT_D3DLINEPATTERN {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("_NT_D3DLINEPATTERN").field("wRepeatFactor", &self.wRepeatFactor).field("wLinePattern", &self.wLinePattern).finish()
}
}
impl ::windows_core::TypeKind for _NT_D3DLINEPATTERN {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for _NT_D3DLINEPATTERN {
fn eq(&self, other: &Self) -> bool {
self.wRepeatFactor == other.wRepeatFactor && self.wLinePattern == other.wLinePattern
}
}
impl ::core::cmp::Eq for _NT_D3DLINEPATTERN {}
impl ::core::default::Default for _NT_D3DLINEPATTERN {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub type LPD3DHAL_CLEAR2CB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_CLEAR2DATA) -> u32>;
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub type LPD3DHAL_CLEARCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_CLEARDATA) -> u32>;
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
pub type LPD3DHAL_CONTEXTCREATECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_CONTEXTCREATEDATA) -> u32>;
pub type LPD3DHAL_CONTEXTDESTROYALLCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_CONTEXTDESTROYALLDATA) -> u32>;
pub type LPD3DHAL_CONTEXTDESTROYCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_CONTEXTDESTROYDATA) -> u32>;
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub type LPD3DHAL_DRAWONEINDEXEDPRIMITIVECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_DRAWONEINDEXEDPRIMITIVEDATA) -> u32>;
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub type LPD3DHAL_DRAWONEPRIMITIVECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_DRAWONEPRIMITIVEDATA) -> u32>;
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
pub type LPD3DHAL_DRAWPRIMITIVES2CB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_DRAWPRIMITIVES2DATA) -> u32>;
pub type LPD3DHAL_DRAWPRIMITIVESCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_DRAWPRIMITIVESDATA) -> u32>;
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub type LPD3DHAL_GETSTATECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_GETSTATEDATA) -> u32>;
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_DirectDraw\"`"]
#[cfg(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))]
pub type LPD3DHAL_RENDERPRIMITIVECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_RENDERPRIMITIVEDATA) -> u32>;
#[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"]
#[cfg(feature = "Win32_Graphics_DirectDraw")]
pub type LPD3DHAL_RENDERSTATECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_RENDERSTATEDATA) -> u32>;
pub type LPD3DHAL_SCENECAPTURECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_SCENECAPTUREDATA) -> u32>;
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))]
pub type LPD3DHAL_SETRENDERTARGETCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_SETRENDERTARGETDATA) -> u32>;
#[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"]
#[cfg(feature = "Win32_Graphics_DirectDraw")]
pub type LPD3DHAL_TEXTURECREATECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_TEXTURECREATEDATA) -> u32>;
pub type LPD3DHAL_TEXTUREDESTROYCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_TEXTUREDESTROYDATA) -> u32>;
pub type LPD3DHAL_TEXTUREGETSURFCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_TEXTUREGETSURFDATA) -> u32>;
pub type LPD3DHAL_TEXTURESWAPCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_TEXTURESWAPDATA) -> u32>;
pub type LPD3DHAL_VALIDATETEXTURESTAGESTATECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DHAL_VALIDATETEXTURESTAGESTATEDATA) -> u32>;
#[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"]
#[cfg(feature = "Win32_Graphics_Direct3D9")]
pub type LPD3DNTHAL_CLEAR2CB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DNTHAL_CLEAR2DATA) -> u32>;
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
pub type LPD3DNTHAL_CONTEXTCREATECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DNTHAL_CONTEXTCREATEDATA) -> u32>;
pub type LPD3DNTHAL_CONTEXTDESTROYALLCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DNTHAL_CONTEXTDESTROYALLDATA) -> u32>;
pub type LPD3DNTHAL_CONTEXTDESTROYCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DNTHAL_CONTEXTDESTROYDATA) -> u32>;
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
pub type LPD3DNTHAL_DRAWPRIMITIVES2CB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DNTHAL_DRAWPRIMITIVES2DATA) -> u32>;
pub type LPD3DNTHAL_SCENECAPTURECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DNTHAL_SCENECAPTUREDATA) -> u32>;
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_DirectDraw"))]
pub type LPD3DNTHAL_SETRENDERTARGETCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DNTHAL_SETRENDERTARGETDATA) -> u32>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type LPD3DNTHAL_TEXTURECREATECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DNTHAL_TEXTURECREATEDATA) -> u32>;
pub type LPD3DNTHAL_TEXTUREDESTROYCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DNTHAL_TEXTUREDESTROYDATA) -> u32>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type LPD3DNTHAL_TEXTUREGETSURFCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DNTHAL_TEXTUREGETSURFDATA) -> u32>;
pub type LPD3DNTHAL_TEXTURESWAPCB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DNTHAL_TEXTURESWAPDATA) -> u32>;
pub type LPD3DNTHAL_VALIDATETEXTURESTAGESTATECB = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA) -> u32>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
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) -> ()>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
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>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
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_core::GUID, powercomponentmappingflag: u32) -> ()>;
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Power\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))]
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) -> ()>;
pub type PDXGK_REMOVAL_NOTIFICATION = ::core::option::Option<unsafe extern "system" fn(graphicsdevicehandle: *mut ::core::ffi::c_void, privatehandle: *mut ::core::ffi::c_void) -> ()>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
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>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_ACQUIREKEYEDMUTEX = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_ACQUIREKEYEDMUTEX) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_ACQUIREKEYEDMUTEX2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_ACQUIREKEYEDMUTEX2) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_ADJUSTFULLSCREENGAMMA = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_ADJUSTFULLSCREENGAMMA) -> super::super::super::Win32::Foundation::NTSTATUS>;
pub type PFND3DKMT_BUDGETCHANGENOTIFICATIONCALLBACK = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_BUDGETCHANGENOTIFICATION) -> ()>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CANCELPRESENTS = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_CANCEL_PRESENTS) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
pub type PFND3DKMT_CHANGESURFACEPOINTER = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_CHANGESURFACEPOINTER) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CHANGEVIDEOMEMORYRESERVATION = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_CHANGEVIDEOMEMORYRESERVATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CHECKEXCLUSIVEOWNERSHIP = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CHECKMONITORPOWERSTATE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_CHECKMONITORPOWERSTATE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT2) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT3 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT3) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CHECKOCCLUSION = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_CHECKOCCLUSION) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CHECKSHAREDRESOURCEACCESS = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_CHECKSHAREDRESOURCEACCESS) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_CHECKVIDPNEXCLUSIVEOWNERSHIP) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CLOSEADAPTER = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_CLOSEADAPTER) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CONFIGURESHAREDRESOURCE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_CONFIGURESHAREDRESOURCE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CONNECTDOORBELL = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_CONNECT_DOORBELL) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CREATEALLOCATION = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATEALLOCATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CREATEALLOCATION2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATEALLOCATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CREATECONTEXT = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATECONTEXT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CREATECONTEXTVIRTUAL = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATECONTEXTVIRTUAL) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
pub type PFND3DKMT_CREATEDCFROMMEMORY = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATEDCFROMMEMORY) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CREATEDEVICE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATEDEVICE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CREATEDOORBELL = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_CREATE_DOORBELL) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CREATEHWQUEUE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATEHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CREATEKEYEDMUTEX = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATEKEYEDMUTEX) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CREATEKEYEDMUTEX2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATEKEYEDMUTEX2) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CREATENATIVEFENCE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATENATIVEFENCE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CREATEOUTPUTDUPL = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_CREATE_OUTPUTDUPL) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CREATEOVERLAY = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATEOVERLAY) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CREATEPAGINGQUEUE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATEPAGINGQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CREATEPROTECTEDSESSION = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATEPROTECTEDSESSION) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CREATESYNCHRONIZATIONOBJECT = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATESYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_CREATESYNCHRONIZATIONOBJECT2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_CREATESYNCHRONIZATIONOBJECT2) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_DESTROYALLOCATION = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_DESTROYALLOCATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_DESTROYALLOCATION2 = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_DESTROYALLOCATION2) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_DESTROYCONTEXT = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_DESTROYCONTEXT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
pub type PFND3DKMT_DESTROYDCFROMMEMORY = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_DESTROYDCFROMMEMORY) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_DESTROYDEVICE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_DESTROYDEVICE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_DESTROYDOORBELL = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_DESTROY_DOORBELL) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_DESTROYHWQUEUE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_DESTROYHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_DESTROYKEYEDMUTEX = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_DESTROYKEYEDMUTEX) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_DESTROYOUTPUTDUPL = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_DESTROY_OUTPUTDUPL) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_DESTROYOVERLAY = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_DESTROYOVERLAY) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_DESTROYPAGINGQUEUE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DDDI_DESTROYPAGINGQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_DESTROYPROTECTEDSESSION = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_DESTROYPROTECTEDSESSION) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_DESTROYSYNCHRONIZATIONOBJECT = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_DESTROYSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_ENUMADAPTERS = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_ENUMADAPTERS) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_ENUMADAPTERS2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_ENUMADAPTERS2) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_ENUMADAPTERS3 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_ENUMADAPTERS3) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_ESCAPE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_ESCAPE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_EVICT = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_EVICT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_FLIPOVERLAY = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_FLIPOVERLAY) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_FLUSHHEAPTRANSITIONS = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_FLUSHHEAPTRANSITIONS) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_FREEGPUVIRTUALADDRESS = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_FREEGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_GETALLOCATIONPRIORITY = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_GETALLOCATIONPRIORITY) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_GETCONTEXTINPROCESSSCHEDULINGPRIORITY = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GETCONTEXTINPROCESSSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_GETCONTEXTSCHEDULINGPRIORITY = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GETCONTEXTSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_GETDEVICESTATE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GETDEVICESTATE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_GETDISPLAYMODELIST = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GETDISPLAYMODELIST) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_GETDWMVERTICALBLANKEVENT = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_GETVERTICALBLANKEVENT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_GETMULTIPLANEOVERLAYCAPS = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GET_MULTIPLANE_OVERLAY_CAPS) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_GETMULTISAMPLEMETHODLIST = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GETMULTISAMPLEMETHODLIST) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_GETOVERLAYSTATE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GETOVERLAYSTATE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_GETPOSTCOMPOSITIONCAPS = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GET_POST_COMPOSITION_CAPS) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_GETPRESENTHISTORY = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GETPRESENTHISTORY) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_GETPROCESSDEVICEREMOVALSUPPORT = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GETPROCESSDEVICEREMOVALSUPPORT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
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>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_GETRESOURCEPRESENTPRIVATEDRIVERDATA = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DDDI_GETRESOURCEPRESENTPRIVATEDRIVERDATA) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_GETRUNTIMEDATA = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GETRUNTIMEDATA) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_GETSCANLINE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GETSCANLINE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_GETSHAREDPRIMARYHANDLE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GETSHAREDPRIMARYHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_GETSHAREDRESOURCEADAPTERLUID = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_GETSHAREDRESOURCEADAPTERLUID) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_INVALIDATEACTIVEVIDPN = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_INVALIDATEACTIVEVIDPN) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_INVALIDATECACHE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_INVALIDATECACHE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_LOCK = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_LOCK) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_LOCK2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_LOCK2) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_MAKERESIDENT = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DDDI_MAKERESIDENT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_MAPGPUVIRTUALADDRESS = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DDDI_MAPGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_MARKDEVICEASERROR = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_MARKDEVICEASERROR) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_NOTIFYWORKSUBMISSION = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_NOTIFY_WORK_SUBMISSION) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_OFFERALLOCATIONS = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_OFFERALLOCATIONS) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_OPENADAPTERFROMDEVICENAME = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENADAPTERFROMDEVICENAME) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_OPENADAPTERFROMGDIDISPLAYNAME = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
pub type PFND3DKMT_OPENADAPTERFROMHDC = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENADAPTERFROMHDC) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_OPENADAPTERFROMLUID = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENADAPTERFROMLUID) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_OPENKEYEDMUTEX = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENKEYEDMUTEX) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_OPENKEYEDMUTEX2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENKEYEDMUTEX2) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_OPENKEYEDMUTEXFROMNTHANDLE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENKEYEDMUTEXFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_OPENNATIVEFENCEFROMNTHANDLE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENNATIVEFENCEFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type PFND3DKMT_OPENNTHANDLEFROMNAME = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENNTHANDLEFROMNAME) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENPROTECTEDSESSIONFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_OPENRESOURCE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENRESOURCE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_OPENRESOURCE2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENRESOURCE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_OPENRESOURCEFROMNTHANDLE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENRESOURCEFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_OPENSYNCHRONIZATIONOBJECT = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_OPENSYNCOBJECTFROMNTHANDLE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENSYNCOBJECTFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_OPENSYNCOBJECTFROMNTHANDLE2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENSYNCOBJECTFROMNTHANDLE2) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type PFND3DKMT_OPENSYNCOBJECTNTHANDLEFROMNAME = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OPENSYNCOBJECTNTHANDLEFROMNAME) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_OUTPUTDUPLGETFRAMEINFO = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OUTPUTDUPL_GET_FRAMEINFO) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_OUTPUTDUPLGETMETADATA = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_OUTPUTDUPL_METADATA) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
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>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_OUTPUTDUPLPRESENT = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_OUTPUTDUPLPRESENT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_OUTPUTDUPLPRESENTTOHWQUEUE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_OUTPUTDUPLPRESENTTOHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_OUTPUTDUPLRELEASEFRAME = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_OUTPUTDUPL_RELEASE_FRAME) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_PINDIRECTFLIPRESOURCES = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_PINDIRECTFLIPRESOURCES) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_POLLDISPLAYCHILDREN = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_POLLDISPLAYCHILDREN) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_PRESENT = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_PRESENT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_PRESENTMULTIPLANEOVERLAY = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_PRESENT_MULTIPLANE_OVERLAY) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_PRESENTMULTIPLANEOVERLAY2 = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_PRESENT_MULTIPLANE_OVERLAY2) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_PRESENTMULTIPLANEOVERLAY3 = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_PRESENT_MULTIPLANE_OVERLAY3) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_QUERYADAPTERINFO = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_QUERYADAPTERINFO) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_QUERYALLOCATIONRESIDENCY = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_QUERYALLOCATIONRESIDENCY) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_QUERYCLOCKCALIBRATION = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_QUERYCLOCKCALIBRATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_QUERYFSEBLOCK = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_QUERYFSEBLOCK) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_QUERYHYBRIDLISTVALUE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_HYBRID_LIST) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_QUERYPROCESSOFFERINFO = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_QUERYPROCESSOFFERINFO) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_QUERYPROTECTEDSESSIONINFOFROMNTHANDLE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_QUERYPROTECTEDSESSIONINFOFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_QUERYPROTECTEDSESSIONSTATUS = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_QUERYPROTECTEDSESSIONSTATUS) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_QUERYREMOTEVIDPNSOURCEFROMGDIDISPLAYNAME = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_QUERYREMOTEVIDPNSOURCEFROMGDIDISPLAYNAME) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_QUERYRESOURCEINFO = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_QUERYRESOURCEINFO) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_QUERYRESOURCEINFOFROMNTHANDLE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_QUERYRESOURCEINFOFROMNTHANDLE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_QUERYSTATISTICS = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_QUERYSTATISTICS) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_QUERYVIDEOMEMORYINFO = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_QUERYVIDEOMEMORYINFO) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_QUERYVIDPNEXCLUSIVEOWNERSHIP = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_QUERYVIDPNEXCLUSIVEOWNERSHIP) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_RECLAIMALLOCATIONS = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_RECLAIMALLOCATIONS) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_RECLAIMALLOCATIONS2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_RECLAIMALLOCATIONS2) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_REGISTERBUDGETCHANGENOTIFICATION = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_REGISTERBUDGETCHANGENOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_REGISTERTRIMNOTIFICATION = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_REGISTERTRIMNOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_RELEASEKEYEDMUTEX = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_RELEASEKEYEDMUTEX) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_RELEASEKEYEDMUTEX2 = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_RELEASEKEYEDMUTEX2) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_RELEASEPROCESSVIDPNSOURCEOWNERS = ::core::option::Option<unsafe extern "system" fn(param0: super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_RENDER = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_RENDER) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_RESERVEGPUVIRTUALADDRESS = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DDDI_RESERVEGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SETALLOCATIONPRIORITY = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETALLOCATIONPRIORITY) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETCONTEXTINPROCESSSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SETCONTEXTSCHEDULINGPRIORITY = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETCONTEXTSCHEDULINGPRIORITY) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SETDISPLAYMODE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_SETDISPLAYMODE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETDISPLAYPRIVATEDRIVERFORMAT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SETFSEBLOCK = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETFSEBLOCK) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SETGAMMARAMP = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETGAMMARAMP) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SETHWPROTECTIONTEARDOWNRECOVERY = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETHWPROTECTIONTEARDOWNRECOVERY) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SETHYBRIDLISTVVALUE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_HYBRID_LIST) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
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>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SETQUEUEDLIMIT = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETQUEUEDLIMIT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SETSTABLEPOWERSTATE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETSTABLEPOWERSTATE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SETSTEREOENABLED = ::core::option::Option<unsafe extern "system" fn(param0: super::super::super::Win32::Foundation::BOOL) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SETSYNCREFRESHCOUNTWAITTARGET = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETSYNCREFRESHCOUNTWAITTARGET) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SETVIDPNSOURCEHWPROTECTION = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETVIDPNSOURCEHWPROTECTION) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SETVIDPNSOURCEOWNER = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETVIDPNSOURCEOWNER) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SETVIDPNSOURCEOWNER1 = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETVIDPNSOURCEOWNER1) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SETVIDPNSOURCEOWNER2 = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SETVIDPNSOURCEOWNER2) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SHAREDPRIMARYLOCKNOTIFICATION = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SHAREDPRIMARYLOCKNOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SHAREDPRIMARYUNLOCKNOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
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>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SIGNALSYNCHRONIZATIONOBJECT = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SIGNALSYNCHRONIZATIONOBJECT2 = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECT2) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMCPU = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMCPU) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2 = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SUBMITCOMMAND = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SUBMITCOMMAND) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SUBMITCOMMANDTOHWQUEUE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SUBMITCOMMANDTOHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SUBMITPRESENTBLTTOHWQUEUE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SUBMITPRESENTBLTTOHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SUBMITPRESENTTOHWQUEUE = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_SUBMITPRESENTTOHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SUBMITSIGNALSYNCOBJECTSTOHWQUEUE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SUBMITSIGNALSYNCOBJECTSTOHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_SUBMITWAITFORSYNCOBJECTSTOHWQUEUE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_SUBMITWAITFORSYNCOBJECTSTOHWQUEUE) -> super::super::super::Win32::Foundation::NTSTATUS>;
pub type PFND3DKMT_TRIMNOTIFICATIONCALLBACK = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_TRIMNOTIFICATION) -> ()>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_TRIMPROCESSCOMMITMENT = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_TRIMPROCESSCOMMITMENT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_UNLOCK = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_UNLOCK) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_UNLOCK2 = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_UNLOCK2) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_UNPINDIRECTFLIPRESOURCES = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_UNPINDIRECTFLIPRESOURCES) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_UNREGISTERBUDGETCHANGENOTIFICATION = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_UNREGISTERBUDGETCHANGENOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_UNREGISTERTRIMNOTIFICATION = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DKMT_UNREGISTERTRIMNOTIFICATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_UPDATEALLOCATIONPROPERTY = ::core::option::Option<unsafe extern "system" fn(param0: *mut D3DDDI_UPDATEALLOCPROPERTY) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_UPDATEGPUVIRTUALADDRESS = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_UPDATEGPUVIRTUALADDRESS) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_UPDATEOVERLAY = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_UPDATEOVERLAY) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_WAITFORIDLE = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_WAITFORIDLE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_WAITFORSYNCHRONIZATIONOBJECT = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_WAITFORSYNCHRONIZATIONOBJECT2 = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECT2) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMCPU = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMCPU) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMGPU) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_WAITFORVERTICALBLANKEVENT = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_WAITFORVERTICALBLANKEVENT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "Required features: `\"Win32_Foundation\"`"]
#[cfg(feature = "Win32_Foundation")]
pub type PFND3DKMT_WAITFORVERTICALBLANKEVENT2 = ::core::option::Option<unsafe extern "system" fn(param0: *const D3DKMT_WAITFORVERTICALBLANKEVENT2) -> super::super::super::Win32::Foundation::NTSTATUS>;
pub type PFND3DNTPARSEUNKNOWNCOMMAND = ::core::option::Option<unsafe extern "system" fn(lpvcommands: *mut ::core::ffi::c_void, lplpvreturnedcommand: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT>;
pub type PFND3DPARSEUNKNOWNCOMMAND = ::core::option::Option<unsafe extern "system" fn(lpvcommands: *mut ::core::ffi::c_void, lplpvreturnedcommand: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT>;